Monitors won't come back on after wake (but only sometimes!)

asked 2018-11-05 10:35:27 -0600

updated 2018-11-07 11:19:58 -0600

I'm running F28 (kernel 4.18.16-200.fc28.x86_64) on a Dell Precision T1700, which means:

$ sudo lspci | grep -i graphic
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)

I have two monitors attached:

$ xrandr  | grep ' connected'
DP-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm
DP-2 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 546mm x 352mm

I have these configured as a single screen. I'm running X11, not Wayland.

Sometimes, when I return to the computer and wake the displays from sleep, only one of the displays will come on. I'm usually able to resolve this by running:

xrandr --output DP-1 --off

Although sometimes this either:

  • fails to work at all
  • causes a monitor to wake but at the wrong resolution
  • ends up disabling both monitors

This originally cropped up while running F27, so it has persisted through several kernel package updates.

I'm hoping someone can suggest a solution to this problem.

EDIT

The problem occurs under Wayland as well, although attempts to recover yield the error:

$ xrandr --output XWAYLAND0  --auto
xrandr: Configure crtc 0 failed
edit retag flag offensive close merge delete