From ffb58a51111ba9aba26ad388724ca415de499a72 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 22 Feb 2024 13:52:27 -0500 Subject: [PATCH] Update emby-install.sh - add vainfo and intel-gpu-tools - code refactoring --- install/emby-install.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/install/emby-install.sh b/install/emby-install.sh index b4f6684b..72158183 100644 --- a/install/emby-install.sh +++ b/install/emby-install.sh @@ -21,14 +21,7 @@ msg_ok "Installed Dependencies" if [[ "$CTTYPE" == "0" ]]; then msg_info "Setting Up Hardware Acceleration" - $STD apt-get -y install \ - va-driver-all \ - ocl-icd-libopencl1 - if [[ ${PCT_OSVERSION} == "20.04" ]]; then - $STD apt-get install -y beignet-opencl-icd - else - $STD apt-get install -y intel-opencl-icd - fi + $STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} chgrp video /dev/dri chmod 755 /dev/dri chmod 660 /dev/dri/*