From 9fb3ab26b8ad0d70748bb4d780754cffd7b37dad Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Sun, 6 Feb 2022 22:59:05 +0100 Subject: [PATCH] Added Hardware Acceleration to emby_setup.sh --- setup_files/emby_setup.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/setup_files/emby_setup.sh b/setup_files/emby_setup.sh index 438bcaf..15b37bf 100644 --- a/setup_files/emby_setup.sh +++ b/setup_files/emby_setup.sh @@ -38,7 +38,16 @@ apt -qqy install \ curl \ sudo \ apt-transport-https \ - 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 Emby Server... \e[0m" wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb &>/dev/null @@ -60,4 +69,4 @@ EOF systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" -rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* +rm -rf /emby_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*