EGL/X11/Nvidia 470.74: "MESA-LOADER: failed to open nouveau" (likely a Gbm/Dmabuf warning because it's not driver 495)
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: ausaitis, Assigned: rmader)
References
(Blocks 1 open bug)
Details
(Whiteboard: QA-not-reproducible)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Steps to reproduce:
I have no idea if this is a problem. I'm running openSUSE Tumbleweed with the proprietary Nvidia 470.74 drivers, however when I start nightly in a console get the message displayed below.
Actual results:
The message
MESA-LOADER: failed to open nouveau: /usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) failed to load driver: nouveau ATTENTION: default value of option mesa_glthread overridden by environment.
Is diaplayed
Expected results:
Why is it looking for nouveau
I am unable to reproduce this on Firefox nightly 95 but i have ubuntu 20 64bit.
Comment 2•3 years ago
|
||
Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.
(In reply to Darkspirit from comment #2)
Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.
As requested - https://pastebin.com/TLVEA3ze
Comment 4•3 years ago
|
||
I assume the warning could be prevented by not trying to initialize Gbm/Dmabuf on proprietary Nvidia driver below 495.
Assignee | ||
Comment 5•3 years ago
|
||
Why is it looking for nouveau
Good question - but what's certain is that this is not our fault or job to fix :)
For whatever reason MESA-LOADER is involved, this is because something is messed up with your GL setup. Firefox does not ask for specific GL drivers - it just takes whatever the system gives it. To me it smells like a bug in libglvnd
, maybe similar to bug 1731480.
Thus closing as there's nothing actionable from our side.
P.S.: you may want to check if other EGL applications such as glmark2-es2
show the same warning - I'd assume they do.
Comment 6•3 years ago
•
|
||
No, IIUC, this is not a bug.
Unless the proprietary Nvidia driver is registered as Gbm backend, Gbm tries to use Nouveau and fails as expected.
loader_get_driver_for_fd (?)
I left this bug open in case there is a desire to add a DMABUF blacklist rule for <495 to prevent the warning.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
It causes unnecessary error messages - and we do have the blocklist
already, so make use of it.
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Well, I'd still see it as a bug in other components and I'd hope that it gets fixed by an updated loader eventually, but you're right that we could blocklist GBM/DMABUF initialization on older Nvidia drivers.
Pulse (or anybody else), could you give https://treeherder.mozilla.org/jobs?repo=try&revision=47718d60a34e6c26cbfd35cf9f399e03f8bd8d2c a try? You can download the build via Linux x64 opt
-> B
-> Artifacts ...
-> target.tar.bz2
A quick confirmation that the patch silences the warning would be great. Thanks!
Comment 10•3 years ago
|
||
bugherder |
Assignee | ||
Comment 11•3 years ago
|
||
Pulse: would be great if you could give the upcoming nightly a try and confirm the message is gone. Thanks :)
Reporter | ||
Comment 12•3 years ago
|
||
(In reply to Robert Mader [:rmader] (back on ~23. Nov) from comment #11)
Pulse: would be great if you could give the upcoming nightly a try and confirm the message is gone. Thanks :)
On build 20211103213618 the error no longer appears.
Thank you
Comment 13•3 years ago
|
||
I am getting this error from Firefox 94.0 on Fedora. firefox-94.0-1.fc34.x86_64
I'm running X11 not wayland because in wayland the clipboard doesn't work between firefox and the command prompt......
I installed and ran glmark2-es2 and did not get the error. I'm reporting this because it seemingly contradicts @rmader's hypothesis that other gl apps might report the same error.
Comment 14•3 years ago
|
||
(In reply to p9j43 from comment #13)
Please open about:support, click on "Copy text to clipboard" and paste it here. Thanks!
Comment 15•3 years ago
|
||
Comment 16•3 years ago
|
||
(In reply to p9j43 from comment #15)
Are you sure you get the exact phrase "MESA-LOADER: failed to open nouveau"?
Do you have an Nvidia graphics card that is not displayed on about:support?
Do you have the proprietary Nvidia driver installed?
Comment 17•3 years ago
|
||
Oh no. The message I get is ATTENTION: default value of option mesa_glthread overridden by environment.
I found this bug searching for that string which google found in the ticket body and my eyes gravitated to. But i suspect now that "ATTENTION: default value of option mesa_glthread overridden by environment." is secondary to what the OP was reporting. Sorry for having added noise to the signal here.
Comment 18•3 years ago
|
||
(In reply to p9j43 from comment #17)
Oh no. The message I get is ATTENTION: default value of option mesa_glthread overridden by environment.
Firefox forcibly disables the mesa_glthread env var for itself so that users can't accidentally enable it because otherwise they would get a crash (bug 1670545). The message comes from Mesa. In theory it could be suppressed with MESA_DEBUG=silent env var, but it might not be desirable.
Description
•