Bug 103788

Summary: [DC] Screen goes blank after screen sleep and will not come back on
Product: DRI Reporter: coolo1mc
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high CC: coolo1mc, harry.wentland, jordan.lazare
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
glxinfo
none
xorg log after issue
none
dmesg after issue none

Description coolo1mc 2017-11-17 05:35:43 UTC
Created attachment 135536 [details]
glxinfo

Works fine until screen sleeps, after screen sleeps it will not wake up again. System is still alive as I can ssh in, but I cannot switch VT, and keyboard input seems to cause the GPU fan to spin faster.
I also seem unable to kill Xorg via ssh, no matter what I try.

MSI Vega 56, Artix Linux x86_64, linux-amd-staging-drm-next-git 4.14.0-rc3-26c860d55796
Comment 1 Michel Dänzer 2017-11-17 09:08:51 UTC
Please attach the corresponding dmesg output and Xorg log file.
Comment 2 coolo1mc 2017-11-18 05:12:12 UTC
Created attachment 135571 [details]
xorg log after issue
Comment 3 coolo1mc 2017-11-18 05:12:42 UTC
Created attachment 135572 [details]
dmesg after issue
Comment 4 Hin-Tak Leung 2017-11-22 10:03:22 UTC
I seem to have a similar problem. Laptop working fine under fedora 26; since ungraded to fedora 27 a few days ago; when the screen sleeps, it won't wake.

For other reasons I am still using the fedora 26 kernel (4.12.x) - so the problem seems to be entirely due to changes in userland, or at least, outside the kernel, in libdrm or x driver.

Am running gnome classic in x11 if that matters.
Comment 5 Michel Dänzer 2017-11-22 17:09:55 UTC
(In reply to Hin-Tak Leung from comment #4)
> For other reasons I am still using the fedora 26 kernel (4.12.x) - so the
> problem seems to be entirely due to changes in userland, or at least,
> outside the kernel, in libdrm or x driver.

Please file your own report, then. The dmesg attached here looks clearly like a DC (or possibly ATOM BIOS) issue.
Comment 6 Harry Wentland 2017-12-01 15:04:30 UTC
This should be fixed in Dave Airlie's drm-fixes-for-v4.15-rc2 branch.
Comment 7 oschowa 2017-12-04 10:49:11 UTC
I have a similar issue which is still present in 4.15-rc2. Though, in my case the system completly hangs after the screen wakes up from sleep and I can't even ssh in and there is nothing in the logs after a forced reboot.
My GPU is a RX560.
Comment 8 Michel Dänzer 2017-12-04 11:43:32 UTC
(In reply to oschowa from comment #7)
> I have a similar issue which is still present in 4.15-rc2. Though, in my
> case the system completly hangs after the screen wakes up from sleep and I
> can't even ssh in and there is nothing in the logs after a forced reboot.

In other words, an almost completely different issue. ;) Please file your own report.
Comment 9 coolo1mc 2018-01-02 15:14:26 UTC
Appears to be fixed, at least on the latest mesa-git

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.