From 017618894408d5561ca27ddc0d1cfe314160fbbb Mon Sep 17 00:00:00 2001 From: Animesh Sahu Date: Sun, 29 May 2022 19:51:07 +0530 Subject: [PATCH] config/graphical-session/graphics-drivers/intel.md: Add troubleshooting hardware video decoding on chromium based browsers --- src/config/graphical-session/graphics-drivers/intel.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/config/graphical-session/graphics-drivers/intel.md b/src/config/graphical-session/graphics-drivers/intel.md index 40e7a5094..6013f2519 100644 --- a/src/config/graphical-session/graphics-drivers/intel.md +++ b/src/config/graphical-session/graphics-drivers/intel.md @@ -46,3 +46,13 @@ For newer Intel chipsets, the [DDX](../xorg.md#ddx) drivers may interfere with correct operation. This is characterized by graphical acceleration not working and general graphical instability. If this is the case, try removing all `xf86-video-*` packages. + +On chromium based browsers, even with flags `--enable-features=VaapiVideoDecoder +--disable-features=UseChromeOSDirectVideoDecoder`, and hardware acceleration +reported to be enabled in `chrome://gpu` you might be able to see that the +iGPU is not being selected/used with "VDA Error 4" on `chrome://media-internals` +and `VpxVideoDecoder` is being selected instead. In that case, you have to build +the `intel-media-driver` package with `nonfree` option from the +[void-packages](https://github.com/void-linux/void-packages) source repository. +Check the Media panel in the inspector while playing a video on the web +to confirm that hardware decoding is working.