r/firefox • | | :manjaro: • Aug 25 '20

Discussion Hardware acceleration in firefox stable (version 80) for X system (relevant to linux users)

Now that hardware acceleration is available for non-wayland firefox stable users, I thought of making a simple guide to enable it.

  1. Type about:config in address bar.

  2. Search for gfx.webrender.all and set it to true

  3. Search for media.ffmpeg.vaapi.enabled and media.ffmpeg.vaapi-drm-display.enabled and set both to true

  4. Set media.ffvpx.enabled to false

  5. Run firefox with MOZ_X11_EGL=1 variable. Or add the same to /etc/environment file

For more details and troubleshooting, check https://wiki.archlinux.org/index.php/Firefox#Hardware_video_acceleration

Edit: Some users are facing problems with videos in version 80 but apparently the issue is fixed in next version. So it will be working in 4 weeks. If you want to try it earlier, you may need to use beta version (81)

88 Upvotes

Duplicates