Open Bug 1850318 Opened 1 month ago Updated 19 days ago

Firefox using llvmpipe instead of hardware GPU on Wayland

Categories

(Core :: Graphics, defect, P3)

Firefox 117
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: iris, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

34.89 KB, text/plain
Details
1.04 KB, text/plain
Details
Attached file about_support.txt

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Installed version 117 from the mozillateam PPA, and opened Firefox with MOZ_ENABLE_WAYLAND set.

Actual results:

In about:support, it shows that Firefox is using llvmpipe as its GPU for WebGL, instead of the builtin one.

Expected results:

Firefox would prioritize the hardware GPU correctly.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core
Flags: needinfo?(stransky)

Good. Please:

  1. test Mozilla binaries:
    https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries

  2. Run Firefox with MOZ_GFX_DEBUG env variable and attach the log here:

MOZ_GFX_DEBUG=1 firefox > log.txt 2>&1

Thanks.

Flags: needinfo?(stransky) → needinfo?(iris)
Priority: -- → P3
Attached file log.txt

The Mozilla binary seems to work fine - it detects the GPU correctly. I've attached the log.txt for the Firefox I have installed currently.

Flags: needinfo?(iris)
Severity: -- → S3
Blocks: snap
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
See Also: → 1847175
Blocks: wayland
No longer blocks: snap

mozillateam PPA is not maintained by us as much as I can tell, and it's deb package not snap

at best it could impact snap packaging with wayland

Blocks: snap-wayland

Looks like mozillateam PPA is missing some gfx libraries so GL is not detected properly.

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