Starting from 78, Firefox supports VA-API (starting from 80, if you are using Xorg), but the feature is not enabled by default.
To turn on VA-API capability:
- Make sure VA-API is working in the first place. You can check VA-API status via installing
libva-utils
and runvainfo
. - Enable
WebRender
. Go toabout:config
and search forgfx.webrender.all
, set it totrue
. If it doesn’t work, you can openOpenGL compositor
, Go toabout:config
and search forlayers.acceleration.force-enabled
, set it totrue
. - Also in
about:config
, setmedia.ffmpeg.vaapi.enabled
totrue
. - Also in
about:config
, setmedia.ffvpx.enabled
tofalse
. - If you are using Xorg, set environmental variable
MOZ_X11_EGL=1
- If you are using Wayland, set environmental variable
MOZ_ENABLE_WAYLAND=1
.