DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Hyprland lockscreen crash after sleep

Open Sajeg opened this issue 3 months ago • 10 comments

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

  1. Have a Fedora 42 Workstation Laptop with sddm
  2. Close the lid or put the laptop to sleep another way
  3. Open the lid again or get it out of the sleep another way

Error Messages/Logs

See below

Screenshots/Recordings

Image

Sajeg avatar Oct 09 '25 08:10 Sajeg

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.

bbedward avatar Oct 09 '25 15:10 bbedward

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

}

Vantesh avatar Oct 09 '25 18:10 Vantesh

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)

Sajeg avatar Oct 09 '25 18:10 Sajeg

Try adding it, i don't face any of the said issued when i have it set to true

Vantesh avatar Oct 09 '25 19:10 Vantesh

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.

Sajeg avatar Oct 09 '25 23:10 Sajeg

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

Image

niri is unaffected by it, no crashes there.

bbedward avatar Oct 10 '25 16:10 bbedward

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

mandarvaze avatar Nov 07 '25 11:11 mandarvaze

@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)

mandarvaze avatar Nov 07 '25 11:11 mandarvaze

They worked sometimes. But other times I just rebooted my laptop.

Sajeg avatar Nov 07 '25 12:11 Sajeg

I had the issue with every quickshell lock screen on hyprland so I also determined it was something in quickshell or hyprland

bbedward avatar Nov 07 '25 13:11 bbedward

Cant reproduce anymore, think it was a hyprland bug

bbedward avatar Dec 05 '25 05:12 bbedward