lately I had been trying if I can get the GPU acceleration working on my machine when watching videos in the browser, but unfortunately I couldn’t figure this one out.
I tried several recommendations for chromium based browsers, starting with special flags, … , but none of them changed the current situation.
Is there any dependency, which is required to get GPU acceleration working for chromium browsers in combination with amdgpu driver?
Some details about my installation:
Laptop with AMD Ryzen 9 5900HX with Radeon Graphics
Fedora 35 GNOME
amdgpu as displaydriver
browser: BRAVE or Chrome
If you had been able to get it working, please let me know what steps had been required.
yes had been trying this before but lets check it again.
relaunch browser with your given parameters
when opening from command line i found this messages being displayed:
$ brave-browser --use-gl=desktop --enable-features=VaapiVideoDecoder
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[156435:156435:0210/182455.725781:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is desktop, ANGLE is
[156435:156435:0210/182455.743609:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Failed to parse JSON adblock resources: EOF while parsing a value at line 1 column 0
OK, but browser did open and it showed some different setting in the gpu screen
I had been playing around the last days with this problem, but still couldn’t get it working.
--use-gl=egl --enable-features=VaapiVideoDecoder chrome://gpu shows Video Decode: Hardware accelerated
When playing a video in VP9 Video in Youtube, media tab still shows the VpxVideoDecoder and experienced extreme stutter.
--use-gl=desktop --enable-features=VaapiVideoDecoder chrome://gpu shows Video Decode: Hardware accelerated
When playing a video in VP9 Video in Youtube, media tab still shows the VpxVideoDecoder. No stutter in video playback
same result as #2
I was unable to get this working on chromium freeworld this morning unless I ran Gnome X11 for the session.
I was able to get it working with h264ify enhanced extension with the ungoogled-chromium flatpak with the following flags running a wayland session (sway):