Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add troubleshooting for hardware video decoding on chromium based browsers (intel) #680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/config/graphical-session/graphics-drivers/intel.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ 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.

Note that for video with less resolution than 480p on youtube you may not see use of
hardware acceleration and CPU might bump the load instead, to fix this you might
be interested in using
[enhanced-h264ify](https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlk)
extension, for disabling VPx/AV1 video codecs.