Hyprland: Hyprland crashes when the monitor is turned off.
Hyprland crashes whenever I turn off my monitor, or from what I understand it crashes exactly when it’s powered back on.
The monitor is properly configured in config, plugged via HDMI. Other HDMI monitor works fine.
$ hyprctl monitors
Monitor HDMI-A-1 (ID 0):
1920x1080@60.000000 at 0x0
description: ASUSTek COMPUTER INC ASUS VP249 R1LMTF049118 (HDMI-A-1)
make: ASUSTek COMPUTER INC
model: ASUS VP249
serial: R1LMTF049118
active workspace: 1 (1)
special workspace: 0 ()
reserved: 64 0 0 0
scale: 1.00
transform: 0
focused: yes
dpmsStatus: 1
vrr: 0
According to the crashlog, the monitor is removed once it’s powered off.
[LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Removed monitor HDMI-A-1!
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 8
- Comments: 51 (20 by maintainers)
To add another data point, I’m suffering from the same issue. When I
hyprctl dpms off
and go to bed, 10/10 times when I wake my computer up in the morning I’m back at my login manager. For some reason the backtrace in my crash report has less information than the ones posted in the thread however.hyprlandCrashReport2635.txt
Building master fixes the crash back to TTY for me but then I get back a desktop with the default wallpaper, no waybar, and no response (except for the Super+m to quit).
The issue appears to be resolved for me, no longer crashes when I turn my monitors off and back on.
brother b156a965 is 2 days old
@vaxerski:
git bisect
shows:Also after reverting this commit from v0.27.0, the issue can no longer be reproduced.
I use the package in the Arch archive, and started to see the same issue after updating to 0.27.0-1 earlier today. My monitor connects to DP instead of HDMI, so the problem is even worse… DPMS off/on triggers the issue as well.