Jump to content

Firefox 104? meh (aka VA-API not supported for nvidia drivers)


sunrat

Recommended Posts

Last night I spent some time setting up Firefox 104, the latest, in ~/bin/ after reading it support video hardware acceleration using VA-API. After failure, some searching, and ultimate frustration I stumble across the fact it doesn't work with nvidia drivers, only nouveau for Nvidia cards. Actually found that in the last place I looked, Debian wiki, which is usually one of the first places I look. 🙄

Can I have my hour back, please? 😁

There is work under way to make VA-API for nvidia drivers however - https://forums.developer.nvidia.com/t/nvidia-va-api-implementation-v0-0-1-release/199437

 

Also I've been using Firefox-ESR 91 for ages in Debian and still will be using it. I perceived no difference in function or performance with the newer version. Also I created a new profile for 104 and can't be bothered resetting the plethora of config tweaks I made in FF-ESR.

 

On the upside, I got MPV to use VA-API in my old buster install on ThinkPad Yoga notebook which had been bugging me for ages with glitchy playback for some videos whereas VLC would play them fine. It's not set by default for MPV so a simple entry in MPV's conf file did it. I did go with a more complete conf suggestion from https://linuxreviews.org/Mpv#mpv.conf_for_typical_Intel_iGPU_systems_and_AMD_APUs but I think all that is needed is hwdec=vaapi

 

Link to comment
Share on other sites

securitybreach

Well there is a nvidia-vaapi-driver available on Archlinux: https://wiki.archlinux.org/title/Hardware_video_acceleration#NVIDIA

 

Source: https://github.com/elFarto/nvidia-vaapi-driver/

 

Quote

This is an VA-API implementation that uses NVDEC as a backend. This implementation is specifically designed to be used by Firefox for accelerated decode of web content, and may not operate correctly in other applications. This library requires that the nvidia_drm kernel module is configured with the parameter nvidia-drm.modeset=1

Link to comment
Share on other sites

4 hours ago, securitybreach said:

Well there is a nvidia-vaapi-driver available on Archlinux: https://wiki.archlinux.org/title/Hardware_video_acceleration#NVIDIA

 

Source: https://github.com/elFarto/nvidia-vaapi-driver/

 

 

It is available in Debian Testing and Unstable. I'm using Stable. I have patience, it's only higher CPU usage without it and Firefox videos don't overload my CPU anyway. Was mainly an exercise in curiosity. 😁

That Github link is actually the project referenced in the Nvidia dev forum post I linked in my post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...