Skip to content

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).

2 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
ex36et

Author

4
posts
39
comments
2
media
View profile

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.

1 points

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.

1 points

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.

1 points

That is something I'll explore. I also experienced it with i3lock and not just light-locker.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.