this post was submitted on 28 Jun 2023
20 points (100.0% liked)
Linux
48077 readers
716 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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
I have working hardware acceleration with the ESR version and media.ffmpeg.vaapi.enabled in about:config, works out of the box.
Did you verify that you get hardware acceleration with a tool like MVP outside of the browser? You can use vainfo and intel-gpu-tools to verify supported codecs and hardware utilization. The intel-media-va-driver-non-free drivers might also work.
Finally, youtube is a good site to test hardware acceleration, Netflix doesn't support hardware acceleration in Linux.
VLC and mpv are working just fine with hardware acceleration, confirmed it with
intel_gpu_top
.Still nothing on Firefox. Launched it with
MOZ_X11_EGL=1
,media.ffmpeg.vaapi.enabled
is set totrue
. Tested with YouTube, still nothing. 😑Sorry, I am out of ideas. I am running Firefox via Gnome on Wayland. The only thing I changed was the media.ffmpeg.vaapi.enabled flag within Firefox-ESR, everything else should be default (plus Firefox plugins which should not be relevant). Perhaps you could try to run Firefox-ESR with a new/default profile were you only change the media.ffmpeg.vaapi.enabled flag? Or a Debian live-cd with Gnome/Wayland?
Well, looks like I have found the cause: the
TearFree
set totrue
appears to block HW compositing / acceleration in Firefox: https://wiki.archlinux.org/title/intel_graphics#Tearing I have now removed the config file and hardware accelerated video decoding now works just fine while running both Xfce and KDE Plasma.Thanks for all the input!