So this article describes how to utilize your gpu to decode videos in chromium.
I’ve also installed the proprietary drivers via this howto as well as the vaapi stuff.
I checked the entries like described in the arch wiki.
I’m using a nvidia gtx 1060.
The vdpau driver is located under /usr/lib64/dri/ but the default path of LIBVA_DRIVER links to /usr/lib/dri/ - I then changed the environment var in my zshconfig.
I want to get “gpuVideoDecoder” under chrome://media-internals as in the linked post described. But even after all the steps and searching the state still persists, chromium seems to be using software rendering and doesn’t utilizes the gpu for video decoding.
I have no idea what is missing or if it’s even possible to get this working with an nvidia gpu.
So my question is, is there anyone with a working setup, having a nvidia gpu?
Any suggestions what I could have missed are appreciated as well.
You do have chromium or chromium-vaapi?
sudo dnf info chromium
sudo dnf info chromium-vaapi # you need rpmfusion
Thanks for your reply.
I thought the default chromium in fedora is already the patched one with VAAPI support
I’m using the default chromium, not the VAAPI-version you are also referring to.
Out of curiosity I’ve just installed the vaapi-version next to the default one but it doesn’t make a difference…
still the same decoder and around the same cpu usage.
I’m sorry I do not know a solution to the problem, but if you have chromium and chromium-vaapi make sure you are running chromium-vaapi.
I did run both of them. Unfortunately no difference at all.
Unfortunately, hw video acceleration with chromium (either Fedora or RPM Fusion chromium-vaapi, both have vaapi support enabled at this time) doesn’t work with the proprietary NVIDIA driver. Even when using the vdpau->vaapi bridge that might work with others software.
It’s also sometimes broken with intel vaapi backend. I don’t know about AMD vaapi.
At least, this is the current situation as of today 2019/06/28.
This is not a specific distro behavior (it should be working/broken for all distros). If you have more information or can provide help, feel free to report issue to bugzilla.redhat.com or bugzilla.rpmfusion.org or use the upstream chromium bug tracker.
Thanks for your response.
Good to know that this doesn’t even work with intel graphics all the time for others, because that has been the case with my integrated gpu before installing the nvidia card.
I’ll definitely report back to one of the platforms as soon as I get the impression it might be of use to anyone.
Hi. Can you test the “chromium-freeworld” in UnitedRPMs? the chromium here is different compared to Fedora and others third-party repositories…
Nvidia libva driver which is a vaapi—> vdpau translation driver doesn’t support VPP (video post processing) i.e VAProfileNone, so I’m trying to disable it in the next update and enable vaapi for Nvidia users.
Please note that,
- vdpau is not supported on wayland.
- vdpau doesn’t support vp9 decoding even if the card supports it.
- We don’t have vaapi —> nvdec driver
I tested it. Doesn’t make a difference.
Thanks for your reply.
I’m using Xserver.
What a bummer.
Hmm, so it’s currently only possible to use it with ffmpeg like described here and here ??
You still need someone to run tests on nvidia gpu?
Yes. Also I forgot, you need a patched libva-vdpau-driver as well.
Ok. Then please text me detailed instructions.
I will probably do it in this week if I get time. I will send you the details then.
You can now test it from RPMFusion koji here.
Override software rendering list flag in chrome://flags for testing.
Okay, I’ve just installed it and tested it with some YT video.
Unfortunately no difference in my case.
Where do you want me to post my output to?
I did enable “Override software rendering list”.
As I said before vp9 is not supported. Please use h264ify extension.
Please send chrome://gpu.(entirely)