VAAPI not working on Firefox

OS: Manjaro KDE Testing
Device: Helios 300 GTX1060 (the laptop screen it’s connected to the iGPU)

VAAPI it’s not working on Firefox after enabling the required flags and installing h264ify, vainfo output down here

vainfo: VA-API version: 1.9 (libva 2.9.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSlice
      VAProfileVP9Profile2            : VAEntrypointVLD

Firefox outputs the following error

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

VLC uses VAAPI without problems


:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  • An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
  • The output to mhwd --listinstalled would be helpful as well.


1 Like

Thanks, anyways I installed Kubuntu 20.04 and Firefox VAAPI it’s now working correctly even with VP9 4K@60 videos.

Too bad, it would probably only have taken a prime-run firefox to make it work…


No way, VAAPI it’s not supported by Nvidia

Disregarding the fact Firefox only supports the i965 va-api driver, there is libva-vdpau-driver which could technically work.

Nobody understood my point, I’m on a laptop so the Intel iGPU renders everything, I only use the Nvidia for gaming. This setup used to work some months ago on Manjaro and Chromium with VAAPI used my iGPU flawlessly, now it doesn’t but Ubuntu derivatives do.

If you still don’t have a solution and this is very Firefox-specific, why don’t you open a thread on the Firefox or Intel forum?

They will be able to guide you because from a Firefox perspective it looks like VA-API is not installed whereas from a Manjaro perspective it is…

If you then are given a solution, come back here and post it!


I apologize, I wasn’t directly replying to your issue, but rather the


OK, so why not use chromium and wait for firefox sorting out problems ?

LIBVA_DRIVER_NAME="the_name_of_the_driver_in_use_on_your_system" firefox and it surely worked.

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