Hardware video acceleration in Firefox with NVIDIA GeForce 16 series GPU

I have an NVIDIA GPU from the GeForce 16 series (Turing). How do I enable hardware video acceleration in Firefox?

Typically I’d install the proprietary/semiopen NVIDIA driver and nvidia-vaapi-driver, but I couldn’t find the nvidia-vaapi-driver package for openSUSE Tumbleweed.

What do you see in about:support in section Graphics.
For me hardware acceleration has been blocked (since FF137), because my video card is too old.

env	blocklisted	Blocklisted by gfxInfo	Blockiert; Fehlercode FEATURE_HARDWARE_VIDEO_DECODING_NO_R600

I forced it with media.hardware-video-decoding.force-enabled set to true in about:config

You can also search https://searchfox.org/mozilla-release/source/widget/gtk/GfxInfo.cpp for some hints.

For me it says “Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED”, even with media.hardware-video-decoding.force-enabled enabled. Should I have a VA-API driver in place? Here’s vainfo:

Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I see that the source code you link to also references support for v4l2 (Video4Linux?). Should I install something for that?

Sorry, I can’t help with Nvidia. Never used it and most likely never will.

Found it: if I manually compile GitHub - elFarto/nvidia-vaapi-driver: A VA-API implemention using NVIDIA's NVDEC (which doesn’t seem to be in openSUSE’s official repos) it works.

https://software.opensuse.org/package/libva-nvidia-driver

The Tumbleweed package is marked as experimental, so for now I’ll stick with the version I compiled straight from the original author.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.