this post was submitted on 05 Apr 2025
13 points (93.3% liked)
Firefox
19347 readers
43 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
note i have 1080ti so i don't have hardware acceleration for av1. also the only time a problem when I turn off hardware decdoing on firefox is when I watch a HEVC stream on twitch for some reason i get drop frames every second.
Firefox V137.0 Linux | Codec Name | Software Decoding | Hardware Decoding | |
|
|
| | H264 | Supported | Supported | | VP9 | Supported | Supported | | VP8 | Supported | Unsupported | | AV1 | Supported | Unsupported | | HEVC | Supported | Supported | | AAC | Supported | Unsupported | | MP3 | Supported | Unsupported | | Opus | Supported | Unsupported | | Vorbis | Supported | Unsupported | | FLAC | Supported | Unsupported | | Wave | Supported | Unsupported |
Librewolf V136.0.4 (HEVC decoding is only add support on Firefox 137.0 on linux) | Codec Name | Software Decoding | Hardware Decoding | |
|
|
| | H264 | Supported | Supported | | VP9 | Supported | Supported | | VP8 | Supported | Unsupported | | AV1 | Supported | Unsupported | | HEVC | Unsupported | Unsupported | | AAC | Supported | Unsupported | | MP3 | Supported | Unsupported | | Opus | Supported | Unsupported | | Vorbis | Supported | Unsupported | | FLAC | Supported | Unsupported | | Wave | Supported | Unsupported |
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.
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."