Just had one of my computers running so I got curious and checked this - and indeed hardware decoding is not working!
First video shows just an empty box, second video works but uses ~90% CPU @4k (although not 200 or more as reported here - how is more than 100% even a thing?)
Now the funny thing is that brave://gpu says “video decoding: hardware accelerated” but it’s obviously not.
The config file mentioned here isn’t even there on my system so I guess I would have to create it?
But nvm, I never watch videos on the computer anyway and on Android it works perfectly. And if I really want to watch a video on the laptop I can use FF.
Still, a bit disappointed by Brave/Chromium now I mean, srsly, it’s 2025, I don’t even want to think about hw acceleration for videos, especially for an old codec like HEVC, that’s just something that has to work IMO.
I started vivaldi with this commandline: vivaldi --enable-features=DefaultANGLEVulkan,VaapiIgnoreDriverChecks,Vulkan,VulkanFromANGLE
It also works when I put this commandline into the config file: ~/.config/vivaldi-stable.conf
(By the way, for brave the correct config file is ~/.config/brave-flags.conf)
Note: There is no “general” set of features for Chromium-based browsers that works for everyone.
It depends very much on
the graphics hardware you have (Intel, NVIDIA, AMD)
the type of display server (X11, Wayland)
the API used (i.e., VAAPI, Vulkan, ANGLE, eGL, …)
That’s why I mentioned “RTFM” (Read The Freakin’ Manual) above. Unfortunately, you might even have to experiment a little, until you find the right settings for your system. (But these should then be the same for Chromium, Vivaldi, Brave, etc.) Fortunately, we can at least check inside the browser if it works, using about:support or the various …://gpu URIs.
Blindly copying others’ settings will in most cases not work. For example, @mbod uses a Vulkan/ANGLE-based setup, while I only have an integrated Intel i915 graphics and thus use VAAPI.
It appears Firefox does a much better job figuring all this out by itself. Arch added the possibility of the .conf files just because people were having problems with Chromium-based browsers, so the options line can be added automatically.