Windows - Linux - Powershell
Warning
This article is under construction and may be missing important information
Install type: Bare MetalProxmox LXC Container
Source: https://jellyfin.org/docs/general/installation/linux#repository-manual
sudo apt install -y curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg
/etc/apt/sources.list.d/jellyfin.sources
export VERSION_OS="$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release )"
export VERSION_CODENAME="$( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release )"
export DPKG_ARCHITECTURE="$( dpkg --print-architecture )"
cat <<EOF | sudo tee /etc/apt/sources.list.d/jellyfin.sources
Types: deb
URIs: https://repo.jellyfin.org/${VERSION_OS}
Suites: ${VERSION_CODENAME}
Components: main
Architectures: ${DPKG_ARCHITECTURE}
Signed-By: /etc/apt/keyrings/jellyfin.gpg
EOF
sudo apt update
sudo apt install -y jellyfin-server jellyfin-web jellyfin-ffmpeg6
systemctl status --no-pager jellyfin
echo 'fs.inotify.max_user_watches=524288' | sudo tee -a /etc/sysctl.d/99-jellyfin.conf && sudo sysctl --system
max_user_watches
cat /proc/sys/fs/inotify/max_user_watches
524288
sudo crontab -e
to edit the crontab and add the following to the bottom:
# Update jellyfin
0 6 * * * apt-get update >/dev/null 2>&1; apt-get -y --with-new-pkgs upgrade jellyfin jellyfin-server >/dev/null 2>&1;
0 6
in the command indicate 6:00 AM and can be adjusted30 20 * * *
. The thee *
s indicate the command runs every day at the time specifiedsudo crontab -l
…
Resources: https://jellyfin.org/docs/general/administration/hardware-acceleration/ https://jellyfin.org/docs/general/administration/hardware-acceleration/amd#configure-on-linux-host
Make sure at least one renderD*
device exists in /dev/dri
ls -l /dev/dri
Check the supported VA-API codecs:
sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
vainfo: Supported profile and entrypoints
Check the Vulkan runtime status:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vulkan@dr
GPU listing:
Install prerequisites
sudo apt install -y va-driver-all ocl-icd-libopencl1 intel-opencl-icd vainfo intel-gpu-tools radeontop
Add the jellyfin
user to the render
and video
group, then restart the jellyfin
service:
sudo usermod -aG render jellyfin
sudo usermod -aG video jellyfin
sudo systemctl restart jellyfin
Enable hardware transcoding
There is no reliable way to read the occupancy of the VCE/UVD/VCN engines on AMD GPU on Linux. But you can still verify this by reading other engines with the radeontop
or intel_gpu_top
radeontop
or intel_gpu_top
command to check the occupancy of 3D engines.