I don’t know what to do. I’ve tried searching through google and all the answers don’t seem to work. When I use Firefox (this is librewolf but it’s the same on Firefox), games like Tetr.io or Friday Night Funkin lag real bad but they’re buttery smooth on Chrome or Chromium. I have an iGPU and a “Cedar” AMD GPU according to lspci. Someone please help me, I don’t wanna use Chromium just to get good performance. Please tell me if I need to provide more information.
Firefox Hardware video acceleration
Also make sure that in
about:support
Compositing
in the Features table under Graphics is set toWebRender
if it is not than setgfx.webrender.all
inabout:config
totrue
.I had the same issue but I have a NVIDIA gpu. but I just had to install libva-nvidia-driver and edit Kernel parameters and Environment Variables . I got this to work with both Firefox and Librewolf but only some video codecs.
Firefox V137.0 Linux
Librewolf V136.0.4 (HEVC decoding is only add support on Firefox 137.0 on linux)
Did all that but it’s still the same. I really don’t know what’s the root cause of this.
I sure you have but have you tried checking the out put of
vainfo
Arch wiki since Firefox only supports Hardware acceleration with VA-API.which gen is your igpu? Older intel igpus need
libva-intel-driver
pkg installed (on Arch, not sure whats the Fedora equivalent) and the env variableLIBVA_DRIVER_NAME
set toi965
.See also https://wiki.archlinux.org/title/Hardware_video_acceleration#VA-API_drivers.