You are not logged in.

#1 2020-04-30 17:02:22

affy
Member
Registered: 2018-11-12
Posts: 10
Website

Display corruption with SwayWM but not Gnome if display goes to sleep

I have a really weird issue with my external display. I am using a USB-C to DisplayPort adapter to plug into a 4K monitor. If the monitor goes to sleep, or if I unplug from the monitor with Sway, when the monitor wakes up or if I plug back into it, the display is corrupted, it looks like what I'd expect from some sort of GPU issue. Here are some pictures of what my monitor looks like: https://imgur.com/a/FWbvCr1

I use GDM with Sway, and one thing I noticed was that if I logged out of Sway and logged back in, my display would be back to normal. I suspect that GDM is doing something to rectify my issue, but I'm not sure what. To further test this, I used Gnome for a day, and the monitor was totally fine -- no issues at all. I'm betting Gnome does something to handle the display, possibly something to do with the color profile, or maybe even thunderbolt/USB-C? I'm not sure, but I was hoping someone else would have some insight.

Offline

#2 2020-04-30 17:03:15

affy
Member
Registered: 2018-11-12
Posts: 10
Website

Re: Display corruption with SwayWM but not Gnome if display goes to sleep

Some other info: I'm using a Dell XPS 13 and a USB-C to DisplayPort adapter, and another USB-C -> USB2 hub with power supply so I can plug my keyboard in.

Offline

#3 2020-05-01 21:57:48

krystiancha
Member
Registered: 2020-02-28
Posts: 15

Re: Display corruption with SwayWM but not Gnome if display goes to sleep

Exactly the same problem here. See my issue in sway github repo.

Could you also check if Weston freezes for you when you connect your external display?

Last edited by krystiancha (2020-05-01 22:00:19)

Offline

#4 2020-05-02 11:36:23

krystiancha
Member
Registered: 2020-02-28
Posts: 15

Re: Display corruption with SwayWM but not Gnome if display goes to sleep

Just an update from the github issue I linked above.

Try sway-git. It solves this particular issue for me.

Unfortunately, there's a second issue that keeps me from using sway right now. It may not happen to you, sway-git is worth a try.

Offline

#5 2020-05-02 19:38:14

affy
Member
Registered: 2018-11-12
Posts: 10
Website

Re: Display corruption with SwayWM but not Gnome if display goes to sleep

Yeah I'm in the same boat. sway-git fixed the issue with garbled output/bad gamma values. Right now it seems like displays won't be re-enabled.

Offline

Board footer

Powered by FluxBB