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
.