Firefox snap disables AMD hardware decode by blocklist
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: superm1, Unassigned)
Details
Attachments
(1 file)
36.81 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Steps to reproduce:
- Enable media.ffmpeg.vaapi.enabled to true.
- Try to play back content using hardware accelerated decoding in firefox snap.
- Try same thing in non-snap (firefox-esr)
Actual results:
No hardware accelerated video decode in snap.
Hardware accelerated video decode outside of snap.
Expected results:
Hardware accelerated video decode should work everywhere.
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
I notice the mesa version in the snap doesn't match what's in the host OS.
Snap (from that log):
WebGL 1 Driver Version: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OS (from glxinfo):
$ glxinfo | grep "OpenGL core profile version string"
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.0-2ubuntu3
Maybe that's the issue and the snap needs a newer mesa for AMD decoding to keep working.
https://searchfox.org/mozilla-central/source/widget/gtk/GfxInfo.cpp#1113
Comment 3•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Not sure our protocols for getting snaps updated. We'll discuss in triage.
Comment 5•1 years ago
|
||
How are you checking whether hardware accelerated decode is working?
Reporter | ||
Comment 6•1 years ago
|
||
I was checking by using nvtop
. When HW accelerated graphics is working it will show usage information in one of the graphs.
Comment 7•1 years ago
|
||
Reaching out to Joel to see if we are doing our own snap builds.
Comment 8•1 years ago
|
||
Snap builds appear to be showing up on CI as tier-2, so maybe this is our path forward?
e.g. https://treeherder.mozilla.org/jobs?repo=try&revision=6cfb1cf0d7b3da3d619fdf523c534e0d37d78772
Comment 9•1 years ago
|
||
The severity field is not set for this bug.
:bhood, could you have a look please?
For more information, please visit BugBot documentation.
Comment 10•1 years ago
|
||
Unfortunately, until mesa gets updated on 22.04 there wont be an updated version of it available to the Firefox Snap.
Updated•1 years ago
|
Reporter | ||
Comment 11•1 years ago
|
||
I don't think it will be updated again. They tend to only do it a few times between LTS releases. With 2404 around the corner probably won't again.
What's to stop the Firefox snap.yaml from building and using the newer mesa? It would sure help hardware support and bugs going forward.
Description
•