From c6b13d0a36112f1d3906a2c5004c4f202b013f86 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 22 Feb 2024 13:46:23 -0500 Subject: [PATCH] Update plex-install.sh - add vainfo and intel-gpu-tools - code refactoring --- install/plex-install.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/install/plex-install.sh b/install/plex-install.sh index 88ea2aca..fd6f0089 100644 --- a/install/plex-install.sh +++ b/install/plex-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/*