Hyprland lockscreen crash after sleep
First of all thank you for your beautiful rice. It's really good. Except for one issue:
Compositor
- [ ] niri
- [x] Hyprland
- [ ] Other (specify)
Description
After sleep lockscreen crashes. However just locking and then unlocking works fine.
Expected Behavior
Show lockscreen to unlock the laptop.
Steps to Reproduce
- Have a Fedora 42 Workstation Laptop with sddm
- Close the lid or put the laptop to sleep another way
- Open the lid again or get it out of the sleep another way
Error Messages/Logs
See below
Screenshots/Recordings
I'm getting this on every quickshell lockscreen I tried with Hyprland, wonder what's going on. Even the example
Wonder if it's a quickshell thing, hyprland thing, or maybe needs some specific config setting idk.
Wonder if it's a quickshell thing, hyprland thing, or maybe needs some specific config setting idk.
Do you have this in your config ?
misc {
allow_session_lock_restore = true
}
Nope:
# ==================
# MISC
# ==================
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
vrr = 1
}
This is my quickshell --version output:
╰─$ quickshell --version
quickshell 0.2.0, revision %{commit}, distributed by: Fedora COPR (errornointernet/quickshell)
Try adding it, i don't face any of the said issued when i have it set to true
I added it, but still the same error. It's also no different if I use uwsm or not.
But updating on v1.8 fixed it for me at least.
I'm going to re-open this because I wasnt able to resolve it on hyprland for me.
- It happens to me on any quickshell-based lock surface (not just dms)
- I exclusively flipped to loginctl based signals on the lock triggers and it made no difference
- Removed WlSessionLock from any loaders that could potentially unload it - didnt matter
- the setting (allow_session_lock_restore) didnt make a difference for me in any scenario
I'm not really sure whats going on here - but it feels like either a quickshell issue, or a hyprland issue.
There's no logs, when it occurs that seem relevant.
The "workaround" (which I hate) is to disable loginctl lock integration and use a different lock screen until it gets figured out
niri is unaffected by it, no crashes there.
This could be unrelated to DMS I saw this on Omarchy as well, which uses only Hyprland
niri is unaffected because this is Hyprland specific bug.
See https://github.com/hyprwm/Hyprland/issues/8847 and https://github.com/hyprwm/Hyprland/issues/8847
unfortunately, no fix/workaround
@Sajeg Do the instructions shown on Oopsie Daisy screen work for you ?
Instructions did not work for me (when I had similar problem on Omarchy)
They worked sometimes. But other times I just rebooted my laptop.
I had the issue with every quickshell lock screen on hyprland so I also determined it was something in quickshell or hyprland
Cant reproduce anymore, think it was a hyprland bug