Snap/X11/Ubuntu 22.04: llvmpipe is unexpectedly the primary GPU and AMD is secondary and unused. There is no glxtest failure.
Categories
(Firefox Build System :: Third Party Packaging, defect)
Tracking
(Not tracked)
People
(Reporter: juanmart, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
31.03 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Steps to reproduce:
- Launch Firefox (snap) on Ubuntu 22.04
- Visit earth.google.com
- Interact with the Google Earth application
FYI, here is the snap info firefox
on my installation:
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
commands:
- firefox
- firefox.geckodriver
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
tracking: latest/stable
refresh-date: today at 14:05 CDT
channels:
latest/stable: 112.0-2 2023-04-11 (2559) 253MB -
latest/candidate: 112.0-2 2023-04-11 (2559) 253MB -
latest/beta: 113.0b3-1 2023-04-14 (2575) 254MB -
latest/edge: 114.0a1 2023-04-13 (2573) 259MB -
esr/stable: 102.10.0esr-1 2023-04-11 (2558) 186MB -
esr/candidate: 102.10.0esr-1 2023-04-11 (2558) 186MB -
esr/beta: ↑
esr/edge: ↑
installed: 112.0-2 (2559) 253MB -
Actual results:
Note that interacting with the app results in massive CPU spikes and low FPS (~5fps)
Expected results:
CPU should have remained low (<10% CPU utilization in non-snap Firefox)
FPS should be visibly smoother/modern
Reporter | ||
Comment 1•2 years ago
|
||
FYI necessary factory Radeon drivers are present:
root@themachine:~# ls /usr/lib/x86_64-linux-gnu/dri
crocus_dri.so i915_dri.so kms_swrast_dri.so r200_dri.so radeon_dri.so virtio_gpu_dri.so
d3d12_dri.so i965_dri.so nouveau_dri.so r300_dri.so radeonsi_dri.so vmwgfx_dri.so
i830_dri.so iris_dri.so nouveau_vieux_dri.so r600_dri.so swrast_dri.so zink_dri.so
Non-snap Firefox does not exhibit the same behavior on same machine / OS install
Comment 2•2 years ago
|
||
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.
Comment 3•2 years ago
|
||
Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.
Reporter | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Might or might not be related: bug 1758473 (103) caused bug 1813500 (hotfix merged in 111 and fully fixed by bug 1787182 in 114).
Comment 6•2 years ago
|
||
(In reply to Juan Martinez from comment #1)
Non-snap Firefox does not exhibit the same behavior on same machine / OS install
Please also attach about:support of that non-snap Firefox. Thanks!
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Juan, could you share about:support
from non snap? Also, can you give a test to MOZ_ENABLE_WAYLAND=1 firefox
to check if Xwayland / Wayland has a play? Upstream issue linked might be a dupe.
And by any chance, can you test core22
base? I think you need snap refresh --channel=candidate/core22 firefox
Comment 8•1 year ago
|
||
This might have evolved a lot since the switch to core22
, can we get an update ? Otherwise we should consider RESOLVED:WORKSFORME
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:gerard-majax, since the bug has recent activity, could you please find another way to get the information or close the bug as INCOMPLETE
if it is not actionable?
For more information, please visit BugBot documentation.
Comment 10•1 year ago
|
||
Based on lack of other reports and that my AMD hardware properly reports GPU now on core22
and Google Earth is smooth and GPU properly reported, I'm going to close as WORKSFORME
. Please file a new bug if you experience this with about:support
, snap info firefox
as well as snap connections firefox
at least.
Description
•