sudo apt-get install i965-va-driver vainfo ffmpeg
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 h264ify
or 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: