Bug 197851

Summary: Resume from suspend sometimes results in black screen on Radeon R5
Product: Drivers Reporter: Tyler McLean (sonarsoundapplications)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: high CC: alexdeucher, harry.wentland, sonarsoundapplications
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.15.0-041500rc2-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: Output from dmesg on a clean restart

Description Tyler McLean 2017-11-11 20:01:38 UTC
As stated in the description, resuming from suspend will occasionally result in the screen remaining black until hard reset. I have pressed all of the keys, clicked the mouse, and even held the power button for varying lengths of time. It isn't just limited to screen lid closing either. Screen timeouts and manual suspend also feature this issue. I saw a similar bug for a rx480 but figured since it's a different GPU, it may need its own bug report. Feel free to merge the issues if you think I am incorrect.
Comment 1 Alex Deucher 2017-11-13 15:15:17 UTC
Please attach your xorg log and dmesg output.
Comment 2 Tyler McLean 2017-11-13 20:52:59 UTC
Created attachment 260643 [details]
Output from dmesg on a clean restart

Attached the dmesg output. Can't get Xorg though as I'm running a Wayland environment
Comment 3 Harry Wentland 2017-12-14 15:32:00 UTC
Do you get different behavior if you enable the new DC display driver by passing amdgpu.dc=1 to the kernel?
Comment 4 Tyler McLean 2017-12-15 00:13:10 UTC
(In reply to Harry Wentland from comment #3)
> Do you get different behavior if you enable the new DC display driver by
> passing amdgpu.dc=1 to the kernel?

Enabling that on the kernel results in an error on boot

[drm:hwss_wait_for_blank_complete [amdgpu]] *ERROR* DC: failed to blank crtc!

causing Ubuntu to hang on the splash screen