Hardware acceleration on by default? Hell yes.
Although manjaro decided to kill HW acceleration for certain codecs in mesa, I still would like manjaro to include vaapi patches to Firefox by default.
With the current Manjaro default firefox package I get in about:support: FEATURE_HARDWARE_VIDEO_DECODING_DISABLE ( Firefox - ArchWiki ) so I am always forced to compile firefox myself from AUR firefox-vaapi. Could you please include those vaapi patches to Manjaro default build? Please?
while on the subject of Firefox, another quality of life thing I would like to ask is some sort of … MOZ_ENABLE_WAYLAND=1 introduced to some default profile, if you are using wayland session… https://wiki.archlinux.org/title/Firefox#Wayland
maybe add somewhere some part of this script that comes with either wayland-session of firefox:
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
When I compile the firefox-vaapi from AUR, I don’t have this problem. apparently also firefox in Arch does not have those patches included, thus the AUR firefox-vaapi exists in the first place…
Compositing: Websrender was present already by default yes. Meaning firefox itself was using some kind of HW acceleration, sure.
By default in addition to this I had this FEATURE_HARDWARE_VIDEO_DECODING_DISABLE present at the same time. Meaning video decoding from youtube and the likes, did not actually use HW decoding.
How does your about:support show this section?
Mine now with firefox-vaapi does look like this (where it’s not blocked/disabled):
No such thing. Like with most packages available in the Manjaro repos, firefox is inherited from Arch. Occasionally it may be rebuilt for the Manjaro testing or stable branch if there is a security update. Other than that, the package is identical.
Thing is … I just compiled firefox-vaapi, made sure to flip that media.hardware-video-decoding.force-enabled switch… and …
sure the webrender output is now missing the stated error (though unsure whether if previously it was being overridden by the config option as is supposedly the design)
But the option missing by the user there and used to ‘fix’ this no longer exists …
EDIT… re-investigated switches. layers.acceleration.force-enabled=true with firefox-vaapi appeared to get it going again. (on top of the current vaapi/webrender/etc options)
For some reason it seems the big browsers are always making this a moving target on linux.
+if you have AMD GPU, then mesa with hardware decoders actually enabled (Manjaro default are disabled as far as I know) – mesa-git from AUR for example.
+if you are on Wayland, then somewhere in environment variables set MOZ_ENABLE_WAYLAND=1 ( can be in /etc/environment or just run firefox from command line with MOZ_ENABLE_WAYLAND=1 firefox (or edit the Firefox launch icon accordingly on your desktop/menu) )