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.
gfx.webrender.all=true
layers.mlgpu.enabled=true
layers.gpu-process.enabled=true
dom.webgpu.enabled=true
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
.
Mozilla Firefox 135.0b4 (64-bit)
Microsoft Windows 10.0.19045.5247
Nvidia GeForce RTX 3070 Ti
GeForce Game Ready Driver 566.36 (Dec 05, 2024)
After making the changes (and adding the missing flags) and restarting the browser, the demos on webgpu.github.io and willusher.io still don't show up. Mozilla Firefox still supports WebGPU only in nightly builds even after changing settings? Developer.mozilla.org reports that the technology is not supported at all in Firefox, but Bugzilla has dozens of tickets reporting that something is already working.