Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#71123 - [xscreensaver] GL hacks broken on (older?) nvidia drivers

Attached to Project: Arch Linux
Opened by Thomas Lübking (luebking) - Friday, 04 June 2021, 08:20 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 05 June 2022, 23:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


For the records because there might come further reports.

The reason is the switch to EGL and eglCreatePlatformWindowSurface being broken in at least the legacy nvidia blob (there's no other explanation, the EGL_BAD_DISPLAY error is nonsense and display and config work otherwise. Also the MESA implementation works)

Switching to eglCreateWindowSurface is a one-line fixing patch, but upstream has shown reluctant (Jamie says he used the API for a specific reason, but could not recall it at hand. Could also be "because nvidia" ;-)

Upstream suggested "--without-egl" but w/ the caveat that this would likely break GLSL hacks (ie. that's not a solution either)

Proper fix would happen in nvidias EGL implementation, but until then xscerensaver GL hacks will be broken for their users.

Notice: 46xxx status currently unknown. 340 doesn't even export the symbols (but also requires a dated X11 server, so this doesn't really count)

See also
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 05 June 2022, 23:31 GMT
Reason for closing:  Won't fix
Additional comments about closing:  This bug is old and there's no actionable information on it. Feel free to reopen if there's new interesting stuff on it that or a working patch or something.
Comment by Thomas Lübking (luebking) - Sunday, 06 June 2021, 21:13 GMT
Update: the 465xx drivers are reported to be not affected.
Comment by Martin Schnitkemper (Martin-MS) - Tuesday, 02 November 2021, 10:43 GMT
Same issue with on-board-graphics on a Lenovo-T400, Chipset GM45 with GMA X4500MHD. Since the release of version 6 I get after try to activate i.e. the "Hypertorus"-screensaver

| hypertorus: eglChooseConfig: no configs found
Comment by Thomas Lübking (luebking) - Tuesday, 02 November 2021, 12:50 GMT
What's the output of "eglinfo" and does the patch in work for you?
Comment by Martin Schnitkemper (Martin-MS) - Wednesday, 03 November 2021, 08:13 GMT
Attached the output of "eglinfo".

Rebuilt the package using the provided patch on xlock-gl-utils.c does not change anything; I still got the message mentioned in the previous comment and the screensaver does not start.

Btw.: the preview in the settings dialog is also broken on the current release for every screensaver.
Comment by Thomas Lübking (luebking) - Wednesday, 03 November 2021, 10:24 GMT
Different problem then (too bad, I thought I could convince upstream into acception the patch because non-nvidia platforms are affected)
The eglinfo looks… limited. There're few configurations and supported surfaces - you might be using software emulation.

Since for now it's off-topic on this bug I'd suggest to post a thread in the forum, add glxinfo and your xorg log next to the eglinfo output.