VAAPI / HW-acceleration not working Snap-packaged Firefox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
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?
Changed in firefox (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → Confirmed |
Thank you for your bug report. Which desktop environment and session do you use? it sounds like it could be the same issue than https:/ /bugzilla. mozilla. org/show_ bug.cgi? id=1732580 which has a fix recently landing upstream and should make it to beta next