FS#48805 - [linux] External monitor (miniDP) does not resume when waking up

Attached to Project: Arch Linux
Opened by Victor Trac (victortrac) - Monday, 04 April 2016, 04:36 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 01 March 2022, 21:08 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I have a Lenovo X1 Carbon (3rd Gen) that is plugged into a Dell P2715Q 4K monitor via miniDP. Everythings great until the laptop goes to sleep. When I try to resume from sleep, the laptop LCD activates without any problems. However, the Dell P2715Q screen activates as if they'll wake, but then the screen says it's going into sleep mode. It's as if the monitor detected activity via the miniDP cable, but the laptop doesn't quite tell it to wake up. This broken behavior happens nearly consistently, but every once and a while the laptop manages to wake up the monitor.

To fix the problem, I can sometimes start the Gnome Settings Display applet, which will do 1 of 2 things:
1. As soon as the Displays applet starts, the Dell monitor wakes and everything works fine
2. Sometimes, it will instead detect the Dell as "Off".. at which point if I select the Dell and make it the primary monitor, it wakes up the Dell monitor immediately, but the system forgets my arrangement (it makes the Dell a secondary screen and on the wrong side).

I can also pull out the miniDP cable and reconnect it, which will fix the problem immediately until the next time the laptop goes into sleep.


Additional info:
* package version(s)
extra/xf86-video-intel 1:2.99.917+587+gc186d4d-1 (xorg-drivers xorg) [installed]
extra/xorg-server 1.18.2-4 (xorg) [installed]
core/linux 4.4.5-1 (base) [installed]
extra/gnome-shell 3.18.4-1 (gnome) [installed]

* config and/or log files etc.
There doesn't seem anything related in dmesg.

Steps to reproduce:
* Put laptop into sleep mode and wait for external monitor to sleep
* Wake laptop
* Notice that external monitor does not turn on.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 01 March 2022, 21:08 GMT
Reason for closing:  None
Additional comments about closing:  No longer reproducible.

Comment by mattia (nTia89) - Monday, 02 October 2017, 20:42 GMT
is this issue still valid?
Comment by Victor Trac (victortrac) - Monday, 02 October 2017, 20:58 GMT
Yeah, it's still happening, on two different laptops since I reported this issue. I used a Dell XPS 13 9350 followed by my current machine (X1 Carbon 5th Gen) after this, but connected via USB-C -> Kensington SD4600P usb-c powered hub -> 4k via DisplayPort -> Dell P2715Q. Both the XPS13 and X1C 5th Gen act the same way.

From a sleep, moving the mouse/keyboard to wake up from sleep would result in the laptop screen coming on right away but the Dell would only 25% of the time wake up, but based on the placement of the gdm login window (I have the Dell as the primary monitor), I am certain that xorg thinks the dell is on. I have to power-cycle the Dell Monitor via the power button to be able to see the gdm login screen.

Comment by mattia (nTia89) - Tuesday, 03 October 2017, 19:48 GMT
are you on the latest software version?
Comment by Victor Trac (victortrac) - Tuesday, 03 October 2017, 20:06 GMT
It's kind of hard to NOT be on the "latest software version" across 3 laptops when running Arch.
Comment by mattia (nTia89) - Tuesday, 03 October 2017, 20:16 GMT
I think you should report this bug upstream, because I cannot reproduce the issue on my hardware (external monitor connected via miniDP, directly to an XPS 9343).

Does it happen also with other external monitor? connected in other ways?
Comment by Victor Trac (victortrac) - Tuesday, 03 October 2017, 20:20 GMT
I don't have any other external monitors that I use on a daily basis to test, so it might just be the Dell P2715Q. In any case, if no one else can reproduce, then I suppose I can just deal with it and close this ticket.
Comment by mattia (nTia89) - Tuesday, 03 October 2017, 20:25 GMT
I hope you understand this is an odd case: external monitor connected via an hub, that's a brand new hardware (usb-c).
At the moment it's a "your" problem, since I cannot reproduce, so you have to make the test to exclude which part of the chain is does not work well...
Comment by Micah Yoder (yodermk) - Tuesday, 18 February 2020, 01:43 GMT
For the record, this problem just started happening for me. Laptop is a Dell Precision 7530 with nVidia graphics and monitor is an LG 34BK95U-W (yeah the 5K x 2K one). It is connected directly to the miniDP port, no hub. This setup was working fine for a year+, and just started manifesting itself about the time of the 5.5 kernel release.
Comment by Niklas Beierl (LoNaAleim) - Sunday, 16 August 2020, 08:14 GMT
I would like to add that I am experiencing the same issue alongside others. Most of my odyssey is documented here:
https://bbs.archlinux.org/viewtopic.php?pid=1906124
Comment by mattia (nTia89) - Sunday, 27 February 2022, 08:30 GMT
I have had the same issue (with a very similar hardware combination: Dell XPS 9343 + FullHD HDMI monitor + miniDP<->HDMI cable) but it has been fixed years ago.
Is it still valid for you?
Comment by Victor Trac (victortrac) - Tuesday, 01 March 2022, 17:55 GMT
This is no longer happening to be because I no longer have this hardware. :) I'll close this ticket.

Loading...