mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "ffb58a51111ba9aba26ad388724ca415de499a72" and "03fbdbe74fed56a77bff1d2c9043b6a40433753f" have entirely different histories.
ffb58a5111
...
03fbdbe74f
|
@ -21,7 +21,14 @@ msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
msg_info "Setting Up Hardware Acceleration"
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
|
$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
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
|
|
|
@ -22,7 +22,14 @@ msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
msg_info "Setting Up Hardware Acceleration"
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
|
$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
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
|
|
|
@ -21,7 +21,14 @@ msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
msg_info "Setting Up Hardware Acceleration"
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
|
$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
|
||||||
chgrp video /dev/dri
|
chgrp video /dev/dri
|
||||||
chmod 755 /dev/dri
|
chmod 755 /dev/dri
|
||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
|
|
Loading…
Reference in New Issue