Public bug reported:

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?

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to