Skip to content

core: eglReleaseThread when no outputs and egl error logging#994

Merged
PointerDilemma merged 3 commits intohyprwm:mainfrom
PointerDilemma:main
Apr 17, 2026
Merged

core: eglReleaseThread when no outputs and egl error logging#994
PointerDilemma merged 3 commits intohyprwm:mainfrom
PointerDilemma:main

Conversation

@PointerDilemma
Copy link
Copy Markdown
Collaborator

To try to reproduce #991, I plugged in a old GTX 980 card into my computer and installed the nvidia 580 drivers.
I was able to reproduce a very similar type of error, but I have no idea if it is the same.

On this setupeglSwapSurface returned EGL_NOT_INITIALIZED after the monitor was turned on again and stuff was successfully initialized.
What fixed that was 84aa55d, which calls eglReleaseThread when we have no outputs and makes sure we do eglMakeCurrent in the asyncResourceManager.

I also added some logging, which might be helpful with those types of bugs in the future.

This fixes monitor on/off on the somewhat broken nvidia 580 drivers
and potentially other nvidia drivers as well.
@PointerDilemma PointerDilemma requested a review from vaxerski April 17, 2026 09:20
@PointerDilemma PointerDilemma merged commit a466de1 into hyprwm:main Apr 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant