Waking from suspend while having switched displays crashes and logs out (i3wm, lightdm+light-locker)
Anyone else experienced anything like this?
I'm using standard kernel on a Lenovo T580. I have installed i3-gaps, lightdm, lightdm-gtk-greeter, light-locker, nvidia (proprietary) all from main repo. I'm also using autorandr and optimus-manager.
If I suspend and wake up while keeping the same displays, it works fine. But suspending at work, while docked in to my ultrawide via USB-C, and then coming home to resume, something crashes and I'm simply logged out (or my Xorg session just dies).
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- ex36et
4 comments
I have this on Qtile as well. The only solution I found is to turn off manually in arandr or whatever you use additional displays and then suspend.
Damn, that's my current workaround as well.
Edit: Or more precisely, since I use autorandr I just unplug and then suspend. And the other way around when coming to work.
I use some particular elements of Xfce underneath i.e. to support Power Management and I discovered slightly different case but can be connected. I had turned on setting in Xfce Power Manager to lock screen when computer is going to suspend and it happened all the time when I closed a lid in my laptop. It was causing xorg and SlimLock crash, I was able to jump into tty but wasn't able to start X. When I switched off setting with locking screen during suspend now it doesn't crash.
That is something I'll explore. I also experienced it with i3lock and not just light-locker.