Skip to content

Instantly share code, notes, and snippets.

@p2ndemic
Forked from sar/firefox.webgpu.md
Created January 8, 2026 20:02
Show Gist options
  • Select an option

  • Save p2ndemic/93aab57150e3e3c9d455a653ca2cec8a to your computer and use it in GitHub Desktop.

Select an option

Save p2ndemic/93aab57150e3e3c9d455a653ca2cec8a to your computer and use it in GitHub Desktop.
Enable Web GPU Video Decoding and DOM Acceleration on Firefox Linux

Firefox GPU Acceleration

Enable GPU accelerated content decoding and DOM compositor rendering on Linux. For more details refer to docs.

Properties can be set by navigating to about:config.

DOM

gfx.webrender.all=true
layers.mlgpu.enabled=true
layers.gpu-process.enabled=true
dom.webgpu.enabled=true

Media GPU Decode

media.gpu-process-decoder=true
media.ffmpeg.vaapi.enabled=true

Leave a comment down below if this worked for you and your config uname -a lspci -vvv | grep -E 'NVIDIA|Graphics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment