Update emby-v5-install.sh

install beignet-opencl-icd only on 20.04
This commit is contained in:
tteckster 2023-01-18 13:08:22 -05:00 committed by GitHub
parent f2a02a2914
commit 220c436e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install \
va-driver-all \
ocl-icd-libopencl1 \
beignet-opencl-icd
ocl-icd-libopencl1
if [[ ${PCT_OSVERSION} == "20.04" ]]; then $STD apt-get -y install beignet-opencl-icd; fi
/bin/chgrp video /dev/dri
/bin/chmod 755 /dev/dri