From 93aace027adccefcc3f4cd7a0647eea54980dc9b Mon Sep 17 00:00:00 2001 From: BtbN Date: Sun, 15 Dec 2024 17:54:08 +0100 Subject: [PATCH] Disable vvenc due to hard avx2 requirement --- scripts.d/50-vvenc.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts.d/50-vvenc.sh b/scripts.d/50-vvenc.sh index 7871ca4..ad46410 100755 --- a/scripts.d/50-vvenc.sh +++ b/scripts.d/50-vvenc.sh @@ -6,7 +6,10 @@ SCRIPT_COMMIT="7cf1e5ffc5aeb33b81fa9401df9fd53ef1dae6d1" ffbuild_enabled() { [[ $TARGET != *32 ]] || return -1 (( $(ffbuild_ffver) > 700 )) || return -1 - return 0 + # vvenc force-enabled avx2 and equivalent compiler options, and uses a static initializer that promptly + # runs such instructions. Making resulting binaries malfunction on any but the very latest CPUs. + # Until upstream fixes this behaviour, force-disable vvenc. + return -1 } ffbuild_dockerbuild() {