mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-24 13:35:29 +00:00
Update plex-install.sh
- add vainfo and intel-gpu-tools - code refactoring
This commit is contained in:
parent
57fca777b6
commit
c6b13d0a36
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user