Whenever my machine goes idle and the lockscreen displays, hypridle.conf has a configuration listener to turn off dpms.
This puts the screen to sleep, and for my LG ultrawide monitor when the light goes from white to amber when it doesn't detect input, this seems to be consistently crashing hyprlock each time.
Repro Instructions: Simulating the commands in omarchy-lock-screen allows me to repro this at will.
loginctl lock-session;sleep 3;hyprctl dispatch dpms off;sleep 10;hyprctl dispatch dpms on && brightnessctl -r
(Really what seems to be doing it is the hyprctl dispatch dpms off and having the monitor off for long enough that it doesn't detect input, if I do this with shorter intervals the issues doesn't repro since the monitor hasn't lost input detection)
Workaround: Comment out the listener in ~/.config/hypr/hypridle.conf that runs hyprctl dispatch dpms off
#listener {
# timeout = 330 # 5.5min
# on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
# on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
#}
While this will lead to the screen locking but next turning off the monitor, it's better than crashing.
Proposed Omarchy Workaround: Provide a setting in Omarchy to allow the user to choose if their screen should turn off or not when idle. This is really a hyprlock issue, but since it's provided by Omarchy we should improve the UX.
Whenever my machine goes idle and the lockscreen displays, hypridle.conf has a configuration listener to turn off dpms.
This puts the screen to sleep, and for my LG ultrawide monitor when the light goes from white to amber when it doesn't detect input, this seems to be consistently crashing hyprlock each time.
Repro Instructions: Simulating the commands in omarchy-lock-screen allows me to repro this at will.
loginctl lock-session;sleep 3;hyprctl dispatch dpms off;sleep 10;hyprctl dispatch dpms on && brightnessctl -r(Really what seems to be doing it is the hyprctl dispatch dpms off and having the monitor off for long enough that it doesn't detect input, if I do this with shorter intervals the issues doesn't repro since the monitor hasn't lost input detection)
Workaround: Comment out the listener in ~/.config/hypr/hypridle.conf that runs hyprctl dispatch dpms off
While this will lead to the screen locking but next turning off the monitor, it's better than crashing.
Proposed Omarchy Workaround: Provide a setting in Omarchy to allow the user to choose if their screen should turn off or not when idle. This is really a hyprlock issue, but since it's provided by Omarchy we should improve the UX.