On Tumbleweed KDE, updated, I am trying to use Chromium but I see that it lacks the hardware acceleration (Intel, 13th gen).
Firefox has it automatically.
I used opi and then “opi codecs” to get everything directly and then ran “chromium --use-gl=desktop --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder”, but the system never uses the hardware acceleration. Any suggestion? I’ve already tried to enable the gpu flags and to install intel-media-driver first.
I’ve tried the flatpak version of Chromium too, but it doesn’t work.
Seems that the right flag to launch Chromium and Microsoft Edge is: --enable-features=VaapiVideoDecodeLinuxGL
So the terminal command is: chromium (or microsoft-edge) --enable-features=VaapiVideoDecodeLinuxGL
In the end, from /usr/share/applications, copy the .desktop file of the app and paste it in /home/youruserhere/.local/share/applications and edit with nano or kate or your favourite text editor. Search for every “exec” and modify the line “chromium” with the command above (chromium --enable-features=VaapiVideoDecodeLinuxGL).
Now you can launch the app automatically with the hardware acceleration enabled. Sigh.
Thanks! This cannot resolve though, and it’s enabled already.
With Intel, we can check with intel-gpu-tools app and use sudo intel_gpu_top. We can see that video acceleration is not used, unless we launch Chromium based browsers with the command chromium-browser --enable-features=VaapiVideoDecodeLinuxGL