System lock up after monitors wake from DPMS on Ryzen 3 2200g
Submitted by Kertesz Laszlo
Assigned to Default DRI bug account
Link to original bug (#106317)
Description
I have a Ryzen 3 2200g CPU on a Gigabyte AB350M-HD3 mobo. I have 2 monitors connected (same model), one via HDMI, the other via DVI.
OS: Debian Testing, kernel compiled from mainline git (rc2+ now, after the rc3 DRM fixes patches merge). But this issue is present even with the kernel from
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.18-wip
The issue i encounter is the when the monitors enter dpms and tries to wake, the system freezes.
This is not happening always, but it can be reproduced reliably with running
"DISPLAY=:0 xset dpms force off"
Repeatedly. It will eventually lock up (minimum tries was 1, max 9).
One of the monitors (HDMI) will have the signal still cut, the other (DVI) will have a blank signal (this behavior seems consistent).
The system freezes totally (no ssh access, ping, magic keys etc). Also no usable logs. This is compounded by the issue of having to reboot repeatedly after this issue since the system will freeze at reboot when the KMS mode is enabled.
Maybe unrelated but i have this line in dmesg after each boot:
[ 5.312547] [drm:construct [amdgpu]] ERROR construct: Invalid Connector ObjectID from Adapter Service for connector index:2! type 0 expected 3
xrandr output:
HDMI-A-0 connected primary 1440x900+1440+0 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89+ 74.98
1280x1024 75.02 60.02
1280x800 59.89
1152x864 75.00
1280x720 59.89
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DVI-D-0 connected 1440x900+0+0 (normal left inverted right x axis y axis) 408mm x 255mm
1440x900 59.89+ 74.98
1280x1024 75.02 60.02
1280x800 59.89
1152x864 75.00
1280x720 59.89
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DisplayPort-0 disconnected (normal left inverted right x axis y axis)