On Sun, 3 Nov 2019, Matthieu Herrb wrote: > On Sun, Nov 03, 2019 at 12:50:07AM +0100, Klemens Nanni wrote: > > My workstation consists of a X230 with docking station featuring two > > DisplayPort as well as two DVI-D connectors. I used to use one external > > monitor over DVI-D with a resolution of 2560x1440 next to the internal > > 1366x768 LVDS monitor just fine; while docked, suspend and resume works > > and X keeps its screen configured without problems. > > > > Now I set up an new external 3840x2160 (UHD) monitor to be used alone > > with the internal one being turned off while docked. This in itself > > works: due to hardware limitations, 4K over a single link is not > > possible, so the external monitor exports two logical monitors of > > 1920x2160 each which eventually plug into both DisplayPort connectors. ... > If xenodm restarts, it means that the X server crashed (or decided to > terminate itself for some reason...).
Yeah, my experience is that if your monitor setup in X at suspend time references displays that aren't present at resume time then X will crash in resume. Disconnecting the displays and running "xrandr --auto" before suspending apparently clears the state in the server that causes it to otherwise crash at resume. Philip
