diff --git a/install/fileflows-install.sh b/install/fileflows-install.sh index cd4b8f978..b6b7ed654 100644 --- a/install/fileflows-install.sh +++ b/install/fileflows-install.sh @@ -21,27 +21,7 @@ $STD apt-get install -y \ imagemagick msg_ok "Installed Dependencies" -read -r -p "${TAB3}Do you need the intel-media-va-driver-non-free driver for HW encoding (Debian 12 only)? " prompt -if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then - msg_info "Installing Intel Hardware Acceleration (non-free)" - cat </etc/apt/sources.list.d/non-free.list - -deb http://deb.debian.org/debian bookworm non-free non-free-firmware -deb-src http://deb.debian.org/debian bookworm non-free non-free-firmware - -deb http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware -deb-src http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware - -deb http://deb.debian.org/debian bookworm-updates non-free non-free-firmware -deb-src http://deb.debian.org/debian bookworm-updates non-free non-free-firmware -EOF - $STD apt-get update - $STD apt-get -y install {intel-media-va-driver-non-free,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} -else - msg_info "Installing Intel Hardware Acceleration" - $STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools} -fi -msg_ok "Installed and Set Up Intel Hardware Acceleration" +setup_hwaccel msg_info "Installing ASP.NET Core Runtime" curl -fsSL https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -o packages-microsoft-prod.deb diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 2be6290ec..4d8d74276 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -17,6 +17,8 @@ msg_info "Installing Dependencies" $STD apt install -y ffmpeg msg_ok "Installed Dependencies" +setup_hwaccel + PYTHON_VERSION="3.12" setup_uv msg_info "Installing Open WebUI" diff --git a/install/tunarr-install.sh b/install/tunarr-install.sh index 924803a6f..e18b98077 100644 --- a/install/tunarr-install.sh +++ b/install/tunarr-install.sh @@ -13,53 +13,7 @@ setting_up_container network_check update_os -msg_info "Setting Up Hardware Acceleration" -if [[ "$CTTYPE" == "0" ]]; then - $STD adduser "$(id -un)" video - $STD adduser "$(id -un)" render -fi -msg_ok "Base Hardware Acceleration Set Up" - -read -r -p "${TAB3}Do you need the intel-media-va-driver-non-free driver for HW encoding (Debian 13 only)? " prompt -if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then - msg_info "Installing Intel Hardware Acceleration (non-free)" - cat <<'EOF' >/etc/apt/sources.list.d/non-free.sources -Types: deb deb-src -URIs: http://deb.debian.org/debian -Suites: trixie -Components: non-free non-free-firmware - -Types: deb deb-src -URIs: http://deb.debian.org/debian-security -Suites: trixie-security -Components: non-free non-free-firmware - -Types: deb deb-src -URIs: http://deb.debian.org/debian -Suites: trixie-updates -Components: non-free non-free-firmware -EOF - - $STD apt update - $STD apt -y install \ - intel-media-va-driver-non-free \ - ocl-icd-libopencl1 \ - mesa-opencl-icd \ - mesa-va-drivers \ - libvpl2 \ - vainfo \ - intel-gpu-tools -else - msg_info "Installing Intel Hardware Acceleration (open packages)" - $STD apt -y install \ - va-driver-all \ - ocl-icd-libopencl1 \ - mesa-opencl-icd \ - mesa-va-drivers \ - vainfo \ - intel-gpu-tools -fi -msg_ok "Installed and Set Up Intel Hardware Acceleration" +setup_hwaccel fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz" cd /opt/tunarr