this post was submitted on 05 Apr 2025
13 points (93.3% liked)

Firefox

19347 readers
77 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] theselfhoster@sopuli.xyz 2 points 1 day ago (1 children)
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib64/dri-nonfree/i965_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/i965_drv_video.so
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit```

This is what I got, I still dunno what it means. 
[–] notanapple@lemm.ee 1 points 1 day ago (1 children)

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 variable LIBVA_DRIVER_NAME set to i965.

See also https://wiki.archlinux.org/title/Hardware_video_acceleration#VA-API_drivers.

[–] theselfhoster@sopuli.xyz 1 points 1 day ago* (last edited 1 day ago)

According to fastfetch it's a "Intel Xeon E3-1200 v2/3rd gen core processor"

When I tried to run "LIBVA_DRIVER_NAME=i965 firefox" it spat out "restorecon: SELinux: Could not get canonical path for /home/[myusername]/.mozilla/firefox//gmp-widevinecdm/ restorecon: No such file or directory."