Chrome in Ubuntu 21.10 only achieves video acceleration with VP9, not with H.264, resulting in higher CPU usage

I'm checking with the developers tools, and with VP9 on youtube, I get Vpx decode, but with H264, I get FFMpeg only.

I'm launching with the flags:

--ignore-gpu-blocklist --use-gl=desktop --enable-features=VaapiVideoDecoder 
6

2 Answers

I achieved both VP9 and H.264 (lower CPU load), in Chrome 99 with:

/usr/bin/google-chrome-stable --ignore-gpu-blocklist --disable-features=UseChromeOSDirectVideoDecoder --use-gl=desktop --enable-features=VaapiVideoDecoder %U

Thanks Michal.

2

Don't be confused by the several decoder names.

VpxVideoDecoder is software decoding as well. You can easily verify this by pressing F12 while a VP9 video is played, to open Development Tools. Let it show the "Media" tab, and you will see "Hardware decoder: False" when VpxVideoDecoder is used.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like