Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.32 KB

firefox-video-acceleration-x11.md

File metadata and controls

38 lines (32 loc) · 1.32 KB

How to enable X11 GPU acceleration in Firefox (intel)

Install the below in Debian:

sudo apt-get install i965-va-driver vainfo ffmpeg

Set the below in about:config:

gfx.webrender.all = true
gfx.webrender.compositor.force-enabled = true
media.ffmpeg.vaapi-drm-display.enabled = true
media.ffmpeg.vaapi.enabled = true
media.ffvpx.enabled = false

Install h264ifyor enhanced-h264ify Firefox extension.
Untick what codecs you would like to use in enhanced-h264ify extension.

Run MOZ_X11_EGL=1 firefox.

Run this to debug:

MOZ_X11_EGL=1 MOZ_LOG="PlatformDecoderModule:5" firefox 2>&1

Use sudo intel_gpu_top, check Video/0 field, it should display 8-10% utilisation.


          ENGINE      BUSY           MI_SEMA MI_WAIT
       Render/3D/0    11.15% |    |      0%      0%
         Blitter/0     0.00% |    |      0%      0%
           Video/0    11.00% |    |      0%      0%
    VideoEnhance/0     0.00% |    |      0%      0%      
  

More info: