Open a PRIVILIGED container with Ubuntu 22.04
Commands:
"apt update"
"apt upgrade -y"
"curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash"
Jellyfin is now installed!
PRIVILIGED CONTAINER IS REQUIRED
Ubuntu 23.04 may not work, tested on 22.04
Commands:
"ls -l /dev/dri"
//Note renderDxxx and numbers
"nano /etc/pve/lxc/"container id".conf"
//Add in the followiing text between the dots at the bottom of the file:
..............................................................................................................
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/renderD129 none bind,optional,create=file
..............................................................................................................
save and exit the file
Reboot the CT
Open the shell of the CT
Commands:
"apt update && sudo apt install -y jellyfin-ffmpeg5 intel-media-va-driver-non-free -y"
"ls -l /dev/dri"
//note the groups associated to RenderDxx and cardx
"usermod -aG group1 jellyfin"
"usermod -aG group2 jellyfin"
"systemctl restart jellyfin"
//Enable QSV in dashboard of jellyfin!!