From 33fc73868e9bdee4d31613166d16539888d95546 Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Sun, 6 Feb 2022 22:56:34 +0100 Subject: [PATCH] Added Hardware Acceleration to jellyfin_setup.sh --- setup_files/jellyfin_setup.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup_files/jellyfin_setup.sh b/setup_files/jellyfin_setup.sh index 4b8af41..2e4ba4e 100644 --- a/setup_files/jellyfin_setup.sh +++ b/setup_files/jellyfin_setup.sh @@ -40,7 +40,16 @@ apt-get -qqy install \ apt-transport-https \ at \ libfl2 \ - gnupg &>/dev/null + gnupg \ + va-driver-all \ + ocl-icd-libopencl1 \ + beignet-opencl-icd &>/dev/null + +echo -e "${CHECKMARK} \e[1;92m Configure Hardware Acceleration... \e[0m" + +/bin/chgrp video /dev/dri +/bin/chmod 755 /dev/dri +/bin/chmod 660 /dev/dri/* echo -e "${CHECKMARK} \e[1;92m Downloading Jellyfin Server... \e[0m" wget https://repo.jellyfin.org/releases/server/debian/versions/stable/server/10.7.7/jellyfin-server_10.7.7-1_amd64.deb &>/dev/null