Open markpopham opened 2 years ago
same issue here, once the swayidle is activated and dpms is off for more than 60s, both laptop and monitor doesnt wake up. In rare case, sometimes sway crash and reload itself, but then monitor is recognized as an input device until I restart sway.
I have an amd igpu and nvidia dgpu with nouveau
edit: sees like problem for me was the nouveau driver power management. Adding nouveau.runpm=0
to kernel params solved the problem. @markpopham see if it works for you
I've had the same issue, in some cases I could switch to another VT or ssh in and call SWAYSOCK=/run/user/1000/sway-ipc.1000.xxxxxx.sock swaymsg output '*' dpms on
, but it doesn't always work.
Edit: just to clarify, it always happens on all monitors in my case.
I now have a script I launch from a second VT when that (regularly) happens:
sleep 5; for sck in /run/user/$UID/sway-ipc.$UID.*.sock; do SWAYSOCK=$sck swaymsg output '*' dpms on; done
The sleep 5
gives me some time to switch back to the first VT. I think I'll make a keyboard shortcut to turn screens on (executable on the lock screen) and see if that works.
Still, that's annoying.
Bumping an old thread here, but I'm getting this issue too I think. If I can share anything that would track it down, let me know
Sway Version: sway version 1.7
Configuration File: Please find my configuration file as well as the clamshell config file attached. clamshell.txt default.txt
Description I have my laptop set up with clamshell version so that I use it as a desktop machine with an external monitor. However, after swayidle activates and the machine goes to sleep I cannot wake it back up, even after unplugging the external monitor. Previously I had used kanshi to manage the monitors and workspace but had the same problem there. Thank you!