Closed ignamartinoli closed 2 years ago
After updating Gentoo to kernel 5.18.1-r1
I can confirm this is a bug on swayidle
side.
If I disable swayidle
, after closing and opening the lid everything works fine.
If I have swayidle
enabled with the options mentioned in the previous comment, after reopening the lid I am greeted by swaylock
, but it flickers and behaves unresponsive
I can confirm this issue, it's maddening. Seemingly randomly, instead of shutting off my monitors, swayidle will just blank them out. No mouse cursor, no keyboard control, nothing. The monitors are on, but are just displaying black. I can't escape to a TTY or do absolutely anything, so I have to restart my PC entirely, losing my work.
I attempted to pull up journalctl from before the restart, but it didn't keep the record. I haven't found a way to consistently trigger the issue yet.
Arch Linux, Kernel 5.18.2.
I don't have swaylock in my config, I just blank my monitors after five minutes:
exec swayidle -w timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
Actually, if you disable swayidle
, at least on kernel 5.18.2, the problem persist. This is an example running cmatrix
I just updated to the latest kernel version
5.18.0
. When I close my laptop lid, reopen it and unlockswaylock
, the screen remains black with only the cursor visible. Sometimes when reopening the lid, evenswaylock
would not be visible and after typing my password on screen I would see the cursor in the black screen. This is my idle configuration: