From d6ebd6880b5885f5a9fcaecae0d056351af8c470 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 8 Nov 2024 13:50:38 +0100 Subject: [kiosk-chromium] Add support for forcing hw video decode --- .../kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium index d952563e..7c1ec57c 100644 --- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium +++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium @@ -149,6 +149,9 @@ fi if is_on "$SLX_BROWSER_INSECURE"; then chromium_args+=( "--allow-running-insecure-content" "--ignore-certificate-errors" ) fi +if is_on "$SLX_BROWSER_HWVIDEO"; then + chromium_args+=( "--enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,VaapiVideoDecodeLinuxGL" ) +fi # Wait until cert store is fully populated wait $nss_pid -- cgit v1.2.3-55-g7522