The gnome platform snap, which the firefox snap relies on for libva
drivers, comes with both drivers (i965 and iHD):
$ ls -1 /snap/gnome-3-38-2004/current/usr/lib/x86_64-linux-gnu/dri/ | grep
_drv_video.so
i965_drv_video.so
iHD_drv_video.so
nouveau_drv_video.so
r600_drv_video.so
radeonsi_drv_video.so
Can you share the output of:
MOZ_LOG="PlatformDecoderModule:5" snap run firefox
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1947115
Title:
VAAPI / HW-acceleration not working Snap-packaged Firefox
Status in firefox package in Ubuntu:
Fix Released
Bug description:
I just installed Ubuntu 21.10, which packages Firefox in snap in
contrary to the old .deb package way.
Now neither of my laptops (with snap packaged firefox and Ubuntu 21.10) can
play videos hardware accelerated using VAAPI anymore. This means my laptops get
hotter and use battery faster. It was working perfectly in Ubuntu 21.04.
I can see that the about:config has stayed untouched since the upgrade, so I
have my doubts that this is related to an updated about:config.
vainfo shows full support (nothing appears broken) and I am also able
to play videos in VLC using hardware acceleration, VAAPI.
The reason why I can see it is not using VAAPI is intel_gpu_top. In
previous versions of Ubuntu with Firefox, I could monitor the video
decoder when watching videos in Firefox. Before the upgrade it was
always utilized. Now it only shows that the GPU is being used, so the
video decoder is not in use.
I can't see any switch in the Application/Firefox menu regarding
allowing access to video decoding hardware, so I am wondering if it
simply cannot access that part of the GPU inside a snap environment?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1947115/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp