Amdgpu crashes on usb-c dock?


Which Linux distro are you using?
fedora

Which release version?
41/42

Which kernel are you using?
6.14.6-300

Which BIOS version are you using?
3.09

Which Framework Laptop 13 model are you using?
AMD Ryzen™ 7040 Series

i had a a similar issue a couple of month ago - my desktop display (connected via an anker usb-c dock with pd) kept turning off, then on again, basically “losing signal” for a second and then coming back.

i tested all cables, switched every component in the loop and tried several combinations of usb-c cables, hdmi cable, even different docks. nothing helped. i then found some kernel logs complaining about amdgpu timeouts. i then updated the firmware to 3.07, and this resolved the issue.

yesterday, i did the usual dnf upgrade, and the first thing i noticed that my laptop was no longer going to sleep normally. if actively switched to “standby”, it would turn back on after a few seconds. i also noticed occasional glitches on the external display (again, briefly disappearing and then coming back.

today, i did a dist upgrade to f42, along with a BIOS upgrade to 3.09, but instead of solving the issue, it got much, much worse, with the laptop randomly going to sleep, plus the display disconnects.

i currently have the display connected directly via HDMI:

     ---- hinge -----------------
[  ]|      keyboard             |[ HDMI ]
[  ]|                           |[ USB PD ]

and it seems stable. but this is not really a solution, as i need to be mobile, so i really want to have a single cable to deal with there.

kernel logs says:

amdgpu 0000:c1:00.0: [drm] REG_WAIT timeout 1us * 100 tries - dcn31_program_compbuf_size line:142

what can i do to fix this? how does this happen?

.rm