Hardware accelerated video decoding not working on Chromium on Arch Linux.

Debian_SuperUser

Active Member
Joined
Mar 18, 2024
Messages
126
Reaction score
31
Credits
1,438
So I am back on Arch Linux. A while ago when I was on Arch, I was using Thorium, and had found a way to get GPU video decoding working. And all this time when I was on Ubuntu, I think I just used this command -
chromium --disable-gpu-driver-bug-workarounds --enable-native-gpu-memory-buffers --enable-gpu-rasterization --enable-oop-rasterization --disable-gpu-vsync --enable-zero-copy --use-gl=desktop --enable-accelerated-video-decode --enable-accelerated-video-encode --ignore-gpu-blocklist --enable-gpu-compositing --enable-smooth-scrolling --disable-gpu-driver-workarounds --disable-font-subpixel-positioning --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder
or this one, I don't remember -
chromium --enable-features=VaapiVideoDecodeLinuxGL --disable-features=UseChromeOSDirectVideoDecoder --ignore-gpu-blacklist --enable-zero-copy

I monitored though intel_gpu_top, and video acceleration was working, now on Arch, it doesn't work.

First I tried installing libva-vdpau-driver 0.7.4-7, and running Chromium with the above 2 commands. Then, I tried installing libva-vdpau-driver-vp9 (from AUR), and had to uninstall the previous driver due to conflicts, but that to still didn't work and also with the above commands. Then I realized there is also a libva-vdpau-driver-wayland, and currently I am actually on sway, a wayland compositor. So I quickly hopped on to i3 (Xorg window manager), but it still didn't work. And now when I tried to build the wayland driver from the AUR, I get this error -

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.
==> ERROR: Failure while downloading https://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-0.7.4.tar.bz2
Aborting...

Firstly, why the hell is video acceleration on Chromium so bad, complicated, and unsupported on Linux? And has somebody got it working right now on Arch, or y'all just running Firefox?
 


Not sure about Arch and how to configure it but yesterday I was reading about this on the link below:

Not an answer but should give you some hints for further research.
I followed the Arch Wiki. I just had to install the intel-media-driver, and run chromium with the second command stated in my post. It works!
 

Members online


Latest posts

Top