You are not logged in.
I have a laptop+monitor setup; currently, when I suspend my machine via swayidle, the secondary monitor will not wake up, and will remain a black screen even when I unplug and plug in the HDMI cable connecting it.
For context, my laptop has Ryzen/NVIDIA hybrid GPUs. I suspect the HDMI port is on the NVIDIA GPU and suspending is causing some problem with the NVIDIA card, but I'm not certain.
What's going wrong?
Cheers!
Offline
Only recently installed wayland & sway on my laptop, so I don't have a lot of experience with the dual monitor setup. But my guess would first start looking into what the swaymanager outputs when you run:
swaymsg -t get_outputsFurthermore, are there any messages in the sway output / logfiles?
Offline
00:00:00.000 [common/ipc-client.c:67] Unable to connect to /run/user/1000/sway-ipc.1000.563.sock
This is what I get from swaymsg get_outputs, after the secondary monitor has died.
As for the sway logs, I'm not sure where to find them. The error when sway crashes (it crashes a few seconds after waking from suspend) seems to be related to Nouveau, so I'm wondering if it has to do with the NVIDIA GPU being turned off when the machine suspends and not switching back on again (I think this might be likely). Do you know of a way to prevent the discrete GPU from shutting down upon suspending?
Offline
btw, the Nouveau error says:
../libdrm-2.4.108/nouveau/pushbuf.c:730: nouveau_pushbuf_data: Assertion 'kref'failed.000 i2_create_image_khr_texture'ESKTOP=Unityd '72'b.com/wmww/gtk-layer-shell/blob/master/compatibility.md
Offline