cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nose_gnome
Making moves
Status: New idea

I would appreciate if it would be possible to add hardware decoding out of the box for Firefox running on NVIDIA Linux machines, rather than having to jump through a load of hoops and installing the third-party nvidia-vaapi-driver

This would help reduce CPU consumption  and improve performance when watching online videos

2 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

hz1
New member

This seems to be caused by two issues:

1. Blacklisting ( Blocklisted by gfxInfo. Failure code FEATURE_HARDWARE_VIDEO_DECODING_NO_LINUX_NVIDIA in about:support). Workaround is to set media.hardware-video-decoding.force-enabled=true
2. RDD sandbox blocking the nvidia driver. Workaround is to start Firefox with MOZ_DISABLE_RDD_SANDBOX=1 to disable the sandbox.

Updating this feature suggestion to remove the blacklist and update the RDD sandbox so it doesn't need to be disabled.

Using above workaround, AV1 and VP9 encoded Youtube videos were played successfully using Firefox 146 with nvidia-open 590.48 + libva-nvidia-driver  (nvidia-vaapi-driver) 0.0.14 on Linux (Assuming user has set up vaapi correctly)