Open iDigitalFlame opened 1 month ago
I can reproduce this issue. I've taken to switching to an unused TTY before turning the monitor off, and switching back to sway after turning the monitor on
I'm heading out to a friend's wedding tomorrow; I'll do a git bisect when I get back if nobody's taken a closer look by then :)
Background:
I used SwayFx and after the upgrade from
0.3.2
to0.4
, two of my displays (out of three, 1 HDMI, 1 DP, 1 VGA), the DP and HDMI, would not return after aswaymsg "output * power off"
command. Only the VGA display would come back up (as well as the built-in display, but that's disabled 99% of the time).Debugging this issue, I uninstalled SwayFx and installed Sway, and with Sway
1.9
the issue exists and does NOT exist in1.8
(which makes sense, SwayFX 0.32 is 1.8 and 0.4 is 1.9).Reverting to the older version (1.8) solves the issue completely, but once on 1.9 it happens 100% of the time when the displays are powered off.
I've tried every display config (one off, two off, each display at a time) with the same results. In order to get the displays to work, I have to disable and re-enable all the displays using a command like the one below. (Which honestly does not work 100% of the time either).
(I'm using custom resolutions as the docking station I use won't allow two monitors over 30Hz, it's weird, that's a hardware not a sway issue tho, and worked fine in 1.8 anyway)
Doing some debugging myself and parsing through the log files, I noticed these snippets that may help in figuring out what's going on.
DP-6
is the VGA,DP-4
is the DP andDP-5
is the HDMI.Also went through the issues list to see if anyone else had something similar. Tried the fix
WLR_DRM_NO_MODIFIERS=1
, and installedwlroots-git
but no luck.Links to Gists of the logs (sway -d/dmesg -w) below and my config also.
Thanks in advance for the help and thanks for making and maintaining Sway <3
Please fill out the following:
Sway Version::
sway version 1.9
Debug Log::
Configuration File:: Config Additional config (separate file)
Stack Trace:: n/a
Description:
swaymsg "output * power off" && sleep 5 && swaymsg "output * power on"
will cause it everytime.