Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit e140642

Browse files
authored
Update ersatztv-install.sh
tweak
1 parent 61b0ca6 commit e140642

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

install/ersatztv-install.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ $STD apt-get install -y sudo
2121
$STD apt-get install -y mc
2222
msg_ok "Installed Dependencies"
2323

24-
msg_info "Setting Up Hardware Acceleration"
25-
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
26-
if [[ "$CTTYPE" == "0" ]]; then
27-
chgrp video /dev/dri
28-
chmod 755 /dev/dri
29-
chmod 660 /dev/dri/*
30-
$STD adduser $(id -u -n) video
31-
$STD adduser $(id -u -n) render
32-
fi
33-
msg_ok "Set Up Hardware Acceleration"
34-
3524
msg_info "Installing FFmpeg (Patience)"
3625
wget -q https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb
3726
$STD dpkg -i deb-multimedia-keyring_2016.8.1_all.deb
@@ -45,6 +34,17 @@ rm -rf /etc/apt/sources.list.d/backports.list deb-multimedia-keyring_2016.8.1_al
4534
$STD apt update
4635
msg_ok "Installed FFmpeg"
4736

37+
msg_info "Setting Up Hardware Acceleration"
38+
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
39+
if [[ "$CTTYPE" == "0" ]]; then
40+
chgrp video /dev/dri
41+
chmod 755 /dev/dri
42+
chmod 660 /dev/dri/*
43+
$STD adduser $(id -u -n) video
44+
$STD adduser $(id -u -n) render
45+
fi
46+
msg_ok "Set Up Hardware Acceleration"
47+
4848
msg_info "Installing ErsatzTV"
4949
RELEASE=$(curl -s https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1)
5050
wget -qO- "https://github.com/ErsatzTV/ErsatzTV/releases/download/${RELEASE}/ErsatzTV-${RELEASE}-linux-x64.tar.gz" | tar -xz -C /opt

0 commit comments

Comments
 (0)