External HDMI monitor goes blank when conected to the USBC dock
Brief summary of the problem:
Firstly, I am new here so I hoped I filled everything correctly, if not I will happily add more information on request.
Secondly, the problem itself, when I connect my external display, I lose the image after a while (i.e the external monitor goes blank). Interestingly when this happens the issue persists on reboot. Plugging the monitor directly to the laptop and then back to the dock seams to temporally resolve the problem. Connecting the monitor directly to the laptop using HDMI works fine.
I find the problem strangely similar to the one on the intel platform intel#2579
Lastly, I tried to google for a solution but I couldn't find anything that would help/solve the problem.
Hardware description:
- Laptop: Thinkpad T14 with AMD CPU
- CPU: AMD Ryzen 5 pro 4650u
- GPU: integreted(AMD Radeon RX Vega 6)
- System Memory: 8 GB soldered, 16 GB installed in SODIMM slot
- Display(s): Integrated laptop display, external HDMI display
- Type of Display Connection: The HDMI display is connected to USB-C hub, I presume the dock uses MST to transport the signal from laptop to the dock
System infomration:
- Distro name and Version: Ubuntu 20.10
- Kernel version: 5.8, 5.9.2, 5.9.6
- AMD package version: amdgpu 3.39.0
- BIOS: Updated to R1BET58W(1.27) from stock one (did not solved the issue)
How to reproduce the issue:
Happens randomly. Edit: However, it seems that it is more likely to happen after waking up from suspend or sleep mode.
Attached files:
The output of sudo dmesg | grep drm
right after the display goes black:
[ 7286.157713] [drm] free PSP TMR buffer
[ 7286.944766] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[ 7286.944832] [drm] PSP is resuming...
[ 7286.964711] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
[ 7287.172748] [drm] kiq ring mec 2 pipe 1 q 0
[ 7287.187127] [drm] DMUB hardware initialized: version=0x01000000
[ 7287.460033] [drm] DP Alt mode state on HPD: 1
[ 7287.517600] [drm] DM_MST: starting TM on aconnector: 00000000ab93abce [id: 88]
[ 7287.531215] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 7287.531632] [drm] JPEG decode initialized successfully.
[ 7288.111784] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7288.398154] [drm] Failed to add display topology, DTM TA is not initialized.
[ 7381.437310] [drm] amdgpu_dm_irq_schedule_work FAILED src 10
[ 7386.821722] [drm] enabling link 3 failed: 15
[ 7389.891216] [drm:drm_dp_check_act_status [drm_kms_helper]] *ERROR* Failed to get ACT after 3000ms, last status: 00
[ 7390.685996] [drm] enabling link 3 failed: 15