Bug 99281

Summary: GPU HANG: ecode 9:0:0x5bca7be0 after wakeup from hibernate
Product: DRI Reporter: Robert <bugs.freedesktop.org>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features:
Attachments:
Description Flags
dmesg output after wakeup
none
xorg.log (resume from wakeup from line 407)
none
content of /sys/class/drm/card0/error none

Description Robert 2017-01-05 10:49:05 UTC
Created attachment 128766 [details]
dmesg output after wakeup

When waking up from hibernate (suspend-to-disk), the computer is frozen for a few minutes. Then the screen turns black and the computer unfreezes. This is reproducible for me.

I'm on a Lenovo ThinkPad T460p with Intel GPU running Gentoo Linux.

Software versions:
* Linux Kernel 4.9.0
* xf86-video-intel from git (2016-12-06)
* Xorg 1.18.4

Attachments:
* Excerpt from dmesg
* Xorg.log
* GPU crash dump from /sys/class/drm/card0/error
Comment 1 Robert 2017-01-05 10:49:54 UTC
Created attachment 128767 [details]
xorg.log (resume from wakeup from line 407)
Comment 2 Robert 2017-01-05 10:50:16 UTC
Created attachment 128768 [details]
content of /sys/class/drm/card0/error
Comment 3 Chris Wilson 2017-01-05 14:17:44 UTC
It's not much help, but 4.10 (drm-intel-nightly preferrably) catpures more information to debug these situations. Any chance you can grab drm-intel-nightly for testing?
Comment 4 Robert 2017-01-07 15:35:00 UTC
As suggested, I just installed the drm-intel kernel from git (version 4.10.0-rc2-gb42a13d). I haven't been able to reproduce the problem with this kernel, but I'll keep an eye on it in the next days and will report back on it.
Comment 5 Robert 2017-01-08 17:35:01 UTC
After having no problems for the last 3-4 resumes from suspend-to-disk, I just had an issue:

The secondary screen was blank and the computer was frozen for a few seconds after the last wakeup.

/sys/class/drm/card0/error says no error state collected. Xorg.0.log has nothing regarding the video card. The only thing I could find was these messages in dmesg:

[35582.632419] [drm] GuC firmware load skipped
[35582.632522] [drm:intel_display_resume] *ERROR* Restoring old state failed with -22
[35583.753334] [drm] RC6 on
Comment 6 Chris Wilson 2017-02-05 17:26:10 UTC

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

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.