Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permanent black screen after waking up from sleep (s2idle) #125

Open
quantum9Innovation opened this issue Jan 1, 2025 · 0 comments
Open

Comments

@quantum9Innovation
Copy link

The recent aquamarine update from v0.5.0 to v0.5.1 has resulted in a critical failure when my laptop wakes up from s2idle sleep mode. The screen is black and it seems Hyprland is unable to restart, since I cannot find any errors from systemd services activated before and after the suspend action.

After analyzing all packages installed on my system, I've identified the error originates from this aquamarine update. I've also bisected the commits in the update and localized the issue to 4468981 (see #108 for discussion about the change and #107 for the issue that prompted it).

From my understanding, this commit was intended to prevent a segfault on startup which was occurring on certain systems. I am not aware if this was ever an issue on my system, but I do know that #107 suggested the fix that was eventually applied in #108 as a potential workaround and noted that a more complete solution would involve identifying calls to CDRMAtomicImpl::reset() and ensuring that a null pointer will not be dereferenced after the call.

I am not sure how this change results in a sleep mode failure, but my guess is that upon waking up from the sleep state, the fix in #108 prevents critical logic from executing because of a potential null pointer dereference and Hyprland is unable to start.

quantum9Innovation added a commit to quantum9Innovation/aquamarine that referenced this issue Jan 1, 2025
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 a pull request may close this issue.

1 participant