amdgpu on Ryzen 5 3400G has trouble waking up Dell P2720D
Brief summary of the problem:
When a Dell P2720D is woken from sleep on an amdgpu Ryzen 5 3400G, frequently it starts cycling through full-screen black/white/red/green/blue; or less frequently shows a corrupt display. Both issues are resolved by power-cycling the display.
Hardware description:
- CPU: Ryzen 5 3400G
- System Memory: 16GiB
- Display(s): Dell P2720D
- Type of Diplay Connection: HDMI, 1440p @ 60Hz
System information:
- Distro name and Version: Fedora 32
- Kernel version: 5.7.14
- AMD package version: mesa-dri-drivers-20.1.5-1.fc32.x86_64
Issue in detail:
Lock the screen in Gnome, and leave it so that the display turns off. The P2720D monitor goes blank, then briefly back on to display messages that there's no HDMI signal and it's going into power-save mode.
Next, wake the display (move the mouse, press a key). Frequently the monitor enters some weird mode where it cycles through full-screen black, white, red, green, then blue. It won't respond to pressing the menu button or changing to a VT.
More rarely, sometimes the display wakes up with visual corruption -- notice the two smeared vertical bands (th e one to the right of the screen is harder to see): The fact that the monitor's built-in menu gets mixed up in the corruption seems to hint more of a problem on the monitor's end.
Both these states can be fixed by power-cycling the monitor, again suggesting to me that this might be more the monitor's problem.
I can't see anything obviously incriminating in either dmesg output or Xorg logs.
Additional points to note:
- This seems to happen more frequently after the system has been running for some time (a few hours).
- Not been able to reproduce this with the other HDMI/DVI monitors/TVs to which I have access.
- I've not been able to reproduce this on then same monitor attached to Intel graphics, hence why I'm reporting this to amdgpu. (I've no other AMD graphics cards to test.) So for now this appears to be a peculiar interaction between the two.