Hardware Decoding in Firefox on Fedora 40

I can not for the life of me remember how I enabled hardware decoding before.

I have a Vega Frontier GPU

I installed ffmpeg from fusion and and set Media.ffmpeg.vaapi.enabled = true

Is there anything I’m missing? Thank you.

Have a look at this:


Configure VA-API Video decoding on AMD

Accelerated video decoding works well on AMD as free drivers are available. Free video formats (e.g. VP8/VP9/AV1) should be accelerated out of the box. You can add support for H.264 VA-API decode by these steps:

  • Install ffmpeg-free from Fedora, install libavcodec-freeworld and mesa-va-drivers-freeworld. See RPM Fusion howto (section Hardware codecs with AMD (mesa)) for instructions. It’s needed for VA-API H.264 decoding.
  • Run vainfo on terminal to verify that VA-API works.
  • Restart browser.

It got one going.
not real sure what’s going on with the rest.