Score:0

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

do flag

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 
David avatar
cn flag
Sounds like a Chrome question.
Kiernan Preve avatar
do flag
It is a Chrome question, in Ubuntu. Because I had no such a problem in others operating systems.
David avatar
cn flag
So the problem is the version of Chrome being used in Ubuntu still a question for the Chrome people I think.
Kiernan Preve avatar
do flag
Well, I used the same version via the official .deb in all of my systems. I'll ask in Chrome forums, but I don't have much hope that anyone care about linux to be honest.
Michal Przybylowicz avatar
eg flag
Check if adding this option helps: `--disable-features=UseChromeOSDirectVideoDecoder` I have added it to my `vivaldi` (chrome-based) and looks like it works.
Kiernan Preve avatar
do flag
Thanks! That did it, along with the usual flags.
Score:1
jp flag

@KPrv's answer almost worked for me, just had to replace --use-gl=desktop with --use-gl=egl

David avatar
cn flag
This does not provide an answer to the question. Once you have sufficient [reputation](https://askubuntu.com/help/whats-reputation) you will be able to [comment on any post](https://askubuntu.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/1288447)
RonJohn avatar
cn flag
@David it's as much of an answer as KPrv's.
Score:0
do flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.