Bug 101849 - No display after coming back from suspend
Summary: No display after coming back from suspend
Status: CLOSED DUPLICATE of bug 100924
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 19:41 UTC by post+fdo
Modified: 2018-01-04 20:02 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: power/suspend-resume


Attachments

Description post+fdo 2017-07-19 19:41:51 UTC
Every now and then, when I wake up my laptop from suspend, the display stays black.  This seems happen when I start out working on an external screen (so the laptop screen is disabled), then suspend the machine and unplug the external screen (pretty much at the same time, I can't which happened first).  Using Ctrl-Alt-F<N> to switch to other terminals still works, but Ctrl-Alt-F7 always brings up just a black screen.

I tried debugging this further, but did not get very far. The logs (dmesg, journalctl, Xorg log) don't seem to contain anything useful, except for lots of kscreen output (attached).  I tried to interact with the still-running X session by setting DISPLAY and XAUTHORITY in another terminal.  "xrandr -q" showed my laptop screen, including all its resolutions, as being turned off.  I tried to turn it on ("xrandr --auto"), which failed saying

  xrandr: Configure crtc 0 failed

Again, I was unable to get any further details about this error from any logs.

Needless to say, this is an extremely disruptive bug; I lose my entire session state of all running applications.

I have no idea which product and component to assign this to, so I figured I'd start with the X server.
Comment 1 Chris Wilson 2017-07-20 22:40:28 UTC
You will want to capture drm.debug=0xe dmesg from across suspend (including the failure). xrandr --verbose of before/after suspend will be useful, and please attach Xorg.0.log.
Comment 2 post+fdo 2017-07-20 22:44:00 UTC
> You will want to capture drm.debug=0xe dmesg from across suspend (including the failure).

So you're saying I should just have this debug flag set on my kernel cmdline all the time?  How bad will that be in terms of degrading performance (this is my machine for productive work) and spamming the system logs?  The actual failure happens fairly rarely.
Comment 3 Elizabeth 2017-07-21 16:11:41 UTC
(In reply to post+fdo from comment #2)
> > You will want to capture drm.debug=0xe dmesg from across suspend (including the failure).
> 
> So you're saying I should just have this debug flag set on my kernel cmdline
> all the time?  How bad will that be in terms of degrading performance (this
> is my machine for productive work) and spamming the system logs?  The actual
> failure happens fairly rarely.
Hello,
This flag only adds information in the dmesg, it shouldn't affect any process nor the performance of your laptop. Could you please add more HW and SW information? It could be a related to this other bug https://bugs.freedesktop.org/show_bug.cgi?id=101865
Thanks.
Comment 4 post+fdo 2017-08-29 15:39:31 UTC
> Could you please add more HW and SW information?

Not sure what exactly you need. This is an Acer laptop, the CPU is "Intel(R) Core(TM) i7-6700HQ", and I am running Debian testing amd64. I have seen this issue with various kernel versions, including 4.10 and 4.11, and with Xorg 1.19.?.
Comment 5 Elizabeth 2017-10-26 20:56:13 UTC
Hello again, any luck getting a log with debug information Comment #1??
Comment 6 post+fdo 2017-10-27 08:21:07 UTC
Sorry, I am not using that laptop any more.
Comment 7 Elizabeth 2017-10-27 17:30:12 UTC
(In reply to post+fdo from comment #6)
> Sorry, I am not using that laptop any more.
Understood. Thank you for the time invested, if someone else can replicate with same HW please reopen. Meanwhile, similar bug 100924 was open with an APL platform, follow there. Thank you.

*** This bug has been marked as a duplicate of bug 100924 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.