Closed Bug 1932531 Opened 11 months ago Closed 10 months ago

Firefox snap package is not hardware accelerated

Categories

(Firefox Build System :: Third Party Packaging, defect)

Firefox 132
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: superm1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Steps to reproduce:

Installed Ubuntu 24.04
Ran all updates
Opened firefox
Check about:support

Actual results:

about:support shows that it's not using hardware acceleration

Expected results:

about:support shows that it's using hardware acceleration

This computer:

  • ASUSTeK COMPUTER INC. ASUS Zenbook S 16 UM5606WA_UM5606WA
  • AMD Ryzen™ AI 9 HX 370 w/ Radeon™ 890M × 24

To compare snap vs deb package I installed the deb package from packages.mozilla.org (instructions here: https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04)

To me it /looks/ like Firefox snap is not using the correct mesa version.

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Third Party Packaging' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Third Party Packaging
Product: Firefox → Firefox Build System

The severity field is not set for this bug.
:gerard-majax, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lissyx+mozillians)

I believe the mesa version of the snap package is correct here? HX370 is pretty recent, so maybe the version used by the snap is just too old for this hardware

Flags: needinfo?(lissyx+mozillians) → needinfo?(nathan.teodosio)

Indeed, the current firefox snap is still build on core22 and has mesa 23.2.1 when your deb system has 24.0.9.

Could try to
$ sudo snap refresh --channel=candidate/core24 firefox

and see if that makes a difference?

Sorry for delay. I confirmed that swapping channels hardware acceleration works.

Flags: needinfo?(nathan.teodosio)

Thanks, so I guess it's expected, too old mesa on the core22 build. Closing as invalid, but at least people looking for the issue can find it :)

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Resolution: --- → INVALID
Blocks: snap

Thanks, so I guess it's expected, too old mesa on the core22 build. Closing as invalid, but at least people looking for the issue can find it :)

If closing it here then where do we track the snap that is pre-installed in Ubuntu 24.04 getting fixed? It "sounds" like the proper solution is to preinstall the correct snap package for Ubuntu 24.04 that uses core24.

(In reply to Mario Limonciello from comment #9)

Thanks, so I guess it's expected, too old mesa on the core22 build. Closing as invalid, but at least people looking for the issue can find it :)

If closing it here then where do we track the snap that is pre-installed in Ubuntu 24.04 getting fixed? It "sounds" like the proper solution is to preinstall the correct snap package for Ubuntu 24.04 that uses core24.

It's not a about using the "correct" snap for ubuntu 24.04, core24 would be also used on older versions. It's about having it stable. It is already enabled for a few weeks on edge channel, and this triggered very nasty regressions (including breaking all hardware acceleration or even just video playback), so it was not yet ready to be default outside of nightly.

Got it - thanks for clarifying. If any of those are on AMD please CC Harry W.

(In reply to Mario Limonciello from comment #11)

Got it - thanks for clarifying. If any of those are on AMD please CC Harry W.

No they were fundamentals regressions, unrelated to hardware. Who is Harry W? I can't find a match here.

No they were fundamentals regressions, unrelated to hardware

Ah got it.

Who is Harry W? I can't find a match here.

[email protected].

And I should clarify; he's not a catch all for all things AMD, I was specifically meaning if they were AMD display hardware acceleration issues, he has been wanting to get VCN hardware acceleration enabled by default.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: