From c68bdf05a2230d40da1d05e4012d09b7ce0d31a8 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sun, 22 Mar 2026 20:46:11 +0100 Subject: [PATCH] fix(isponsorblocktv): add AVX CPU check before installation PyApp requires AVX support. CPUs without AVX (e.g. Intel N3160) crash with SIGILL. Exit early with clear error message. Fixes #13191. --- install/isponsorblocktv-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/isponsorblocktv-install.sh b/install/isponsorblocktv-install.sh index e660187af..fb85518ee 100644 --- a/install/isponsorblocktv-install.sh +++ b/install/isponsorblocktv-install.sh @@ -13,6 +13,11 @@ setting_up_container network_check update_os +if ! grep -q ' avx ' /proc/cpuinfo 2>/dev/null; then + msg_error "CPU does not support AVX instructions (required by iSponsorBlockTV/PyApp)" + exit 106 +fi + fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux" msg_info "Setting up iSponsorBlockTV"