I’m sorry, I don’t know about 22.04 on the same Intel hardware, I can’t try.
I have another Linux PC with NVidia, GPU can check it tomorrow.
PS more details to bugreport:
Tried different command-line options. Current ones (that allow acceleration for old version):
/usr/bin/brave-browser-stable --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder
I checked with (old) Brave 1.51.118 on 22.04 (powerful PC with Nvidia GPU) – Frankly speaking I don’t know how to make a fine check whether it uses GPU for video decoding or not.
But according to CPU usage it looks it doesn’t.
There are several important observations:
on desktop PC with NVidia for both versions (1.51.118 and 1.52.117) the options (–enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder) do not make any sense. The only difference could be observed if “Use hardware acceleration when available” is enabled (300% CPU average for brave process) or not (400%). Given the so high CPU usage for 4K video on powerful workstation (AMD Ryzen 3700X, GTX 2060) I make an assumption that hardware acceleration is used only for browser itself, not for video decoding.
On Intel laptop (that is relatively weak: Intel i7-1165G7, Iris Xe) the difference could be easily distinguished.
Old version of Brave 1.51.118:
With hardware acceleration disabled: ~25% (out of 100) of overall CPUs according to gkrellm
With hardware acceleration enabled, but w/o command line keys: ~20% CPU
With hardware acceleration enabled, with command-line options that enable accelerated video decoding (–enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder): ~7% CPU
Note: please don’t compare these 25%/20%/7% with values of PC workstation, they are calculated in a different way.
New version of Brave 1.52.117:
With hardware acceleration disabled: ~25% (out of 100) of overall CPUs according to gkrellm
With hardware acceleration enabled, but w/o command line keys: ~20% CPU
With hardware acceleration enabled, with command-line options that enable accelerated video decoding (–enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder): ~20% CPU
Hereby it means that hardware accelerated video decoding is broken in the new version.
Basically it’s very important for laptops, given the limited battery life and temperature. So I noticed this because my laptop started heating so much.
For me, I thought that Brave browser is safer and come with extra privacy like option for Tor with privacy mode.
Firefox on latest update and with linux mint on 22.04 version and HWA seem to work fine there. I’m using a chromebook with intel 620 graphic