GLX/xwayland/Nvidia: llvmpipe is shown as active GPU#1 although WebGL tells us it's running on Nvidia
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | wontfix |
People
(Reporter: Vash63, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(5 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
- Install xwayland-git or another branch including this patch: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/587
- Install Nvidia 470 or higher drivers
- Run Nightly in Xwayland (default)
Actual results:
Firefox runs fine, Compositing shows "WebRender" (no software) and WebGL shows Nvidia drivers loaded, however "GPU #1" shows the GPU as llvmpipe on mesa.
Expected results:
Firefox should run in XWayland with hardware GL acceleration.
I was able to get the exact commit that caused this with mozregression:
9:57.56 INFO: No more integration revisions, bisection finished.
9:57.56 INFO: Last good revision: 1c59701a68c9e52fcdc0bf02c02eb1dca962bc6f
9:57.56 INFO: First bad revision: c2a14298ecf313c001958c37d49cb5d9e6b7894a
9:57.56 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=1c59701a68c9e52fcdc0bf02c02eb1dca962bc6f&tochange=c2a14298ecf313c001958c37d49cb5d9e6b7894a
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
This looks similar to Bug 1714069.
:rmader, can you comment to the bug?
Comment 4•3 years ago
|
||
Vash63, once bug 1646135 has landed and a new nigthly was build (~12h from now), could you:
- provide a fresh
about:support
and check if the same issue is still the case - start FF with
MOZ_ENABLE_WAYLAND=1
, check if things work and post theabout:support
?
Thanks in advance!
There is a change - about:support now shows a second GPU entry which is disabled, vendor ID 0x10de which is Nvidia's. This is still in XWayland.
With native Wayland the issue is totally fixed, it only shows one GPU and it is the Nvidia one. Performance is also noticeably smoother when scrolling.
It looks like MOZ_X11_EGL on X11 is also fixed, which broke for me over a year ago.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Vash63: Does this still happen on more recent versions?
Updated•3 years ago
|
(In reply to Robert Mader [:rmader] from comment #8)
Vash63: Does this still happen on more recent versions?
Yes, in XWayland it does still happen. With native Wayland the Nvidia card shows up as GPU #1.
Reporter | ||
Comment 10•3 years ago
|
||
Oh, actually there is one change - now LLVMPIPE shows up as being used for WebGL also, the Nvidia driver isn't mentioned anywhere.
Comment 11•3 years ago
|
||
(In reply to Vash63 from comment #10)
Oh, actually there is one change - now LLVMPIPE shows up as being used for WebGL also, the Nvidia driver isn't mentioned anywhere.
Ah, this would be a expected outcome if some library is missing from the system, egl-wayland
or so. In any case, it's a setup error that Firefox does get llvmpipe
as GL driver on EGL.
Reporter | ||
Comment 12•3 years ago
|
||
(In reply to Robert Mader [:rmader] from comment #11)
(In reply to Vash63 from comment #10)
Oh, actually there is one change - now LLVMPIPE shows up as being used for WebGL also, the Nvidia driver isn't mentioned anywhere.
Ah, this would be a expected outcome if some library is missing from the system,
egl-wayland
or so. In any case, it's a setup error that Firefox does getllvmpipe
as GL driver on EGL.
Other GL and Vulkan applications do work under XWayland for me though (and I do have egl-wayland installed, specifically this package from Nvidia's latest driver: https://trekker.guru/custom/nvidia-egl-wayland-tkg-470.63.01-175-x86_64.pkg.tar.zst )
Comment 13•3 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Description
•