mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-26 23:11:56 +00:00
Update tdarr-install.sh
Hardware Acceleration
This commit is contained in:
parent
58909e197a
commit
66aef55ab0
@ -20,6 +20,19 @@ $STD apt-get install -y mc
|
||||
$STD apt-get install -y unzip
|
||||
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 \
|
||||
intel-opencl-icd
|
||||
|
||||
/bin/chgrp video /dev/dri
|
||||
/bin/chmod 755 /dev/dri
|
||||
/bin/chmod 660 /dev/dri/*
|
||||
msg_ok "Set Up Hardware Acceleration"
|
||||
fi
|
||||
|
||||
msg_info "Installing Tdarr"
|
||||
mkdir -p /opt/tdarr
|
||||
cd /opt/tdarr
|
||||
|
Loading…
Reference in New Issue
Block a user