AMD 680M black screen on sleep resume when connected to USB-4 dock - amdgpu 0000:33:00.0: [drm] *ERROR* No payload for [MST PORT:000000001fc4910c] found in mst state 00000000d8f04ea2
Brief summary of the problem:
I installed a new Lenovo T14s with AMD 6850U / AMD 680M and amdgpu
drivers on archlinux / linux 6..0. Most things worked out of the box appart some displaying glitched (tearing), and getting out of sleep when the laptop is connected to an USB-C/thunderbolt 3 Dell monitor (that also does dock).
When not connected to the dock when suspend is done, I can get out of sleep and a long-press on power buttun is needed.
(I didn't test "suspend connected, unplug, try to resume" nor "suspend not connected, plug, try to resume" - can do if it matters).
After reboot, journalctl -b-1
contains this messages after resume (and before hard reboot):
(info) kernel: ACPI: EC: interrupt blocked
(error) kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP5], AE_NOT_FOUND (20220331/psargs-330)
(error) kernel: ACPI Error: Aborting method \_SB.PEP._DSM due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
(info) kernel: ACPI: EC: interrupt unblocked
(warning) kernel: ACPI: button: The lid device is not compliant to SW_LID.
(info) kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F400A00000).
(info) kernel: amdgpu 0000:33:00.0: amdgpu: SMU is resuming...
(info) kernel: amdgpu 0000:33:00.0: amdgpu: SMU is resumed successfully!
(warning) kernel: [drm] Watermarks table not configured properly by SMU
(info) kernel: nvme nvme0: Shutdown timeout set to 10 seconds
(info) kernel: nvme nvme0: 16/0/0 default/read/poll queues
(info) kernel: [drm] DM_MST: stopping TM on aconnector: 00000000f9908278 [id: 94]
(info) kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
(info) kernel: [drm] JPEG decode initialized successfully.
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
(info) kernel: amdgpu 0000:33:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
(error) kernel: [drm:dm_late_init [amdgpu]] *ERROR* DM_MST: Failed to start MST
(error) kernel: [drm:amdgpu_device_ip_late_init [amdgpu]] *ERROR* late_init of IP block <dm> failed -110
(error) kernel: amdgpu 0000:33:00.0: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -110
(error) kernel: amdgpu 0000:33:00.0: PM: failed to resume async: error -110
...
...
(warning) kernel: ------------[ cut here ]------------
(warning) kernel: WARNING: CPU: 15 PID: 4008 at drivers/gpu/drm/display/drm_dp_mst_topology.c:4319 drm_dp_atomic_release_time_slots+0x1c6/0x1f0 [drm_display_helper]
(warning) kernel: Modules linked in: ccm michael_mic btusb btrtl btbcm btintel btmtk bluetooth qrtr_mhi ecdh_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common snd_usbmidi_>
(warning) kernel: snd_soc_acpi snd_hwdep typec_ucsi think_lmi irqbypass snd_pcm rapl psmouse typec firmware_attributes_class wmi_bmof thunderbolt k10temp i2c_piix4 mhi snd_timer snd_pci_acp3x roles i2c_hid_acpi i2c_hid>
(warning) kernel: CPU: 15 PID: 4008 Comm: Xorg Tainted: G W 6.1.0-arch1-1 #1 98e76e81dd179fc38d537dc4a431a3521f84ec06
(warning) kernel: Hardware name: LENOVO 21CQCTO1WW/21CQCTO1WW, BIOS R22ET55W (1.25 ) 09/14/2022
(warning) kernel: RIP: 0010:drm_dp_atomic_release_time_slots+0x1c6/0x1f0 [drm_display_helper]
(warning) kernel: Code: c1 2d 7b 54 c0 ba 04 00 00 00 48 c7 c7 00 13 55 c0 e8 5e d3 c6 ea eb 85 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc <0f> 0b 49 8b 44 24 58 4c 89 e9 48 89 ea 48 c7 c6 00 64 54 c0 48 8b
(warning) kernel: RSP: 0018:ffffa802427279c8 EFLAGS: 00010246
(warning) kernel: RAX: ffff9c3253a17278 RBX: ffff9c3253a17260 RCX: 0000000000000001
(warning) kernel: RDX: ffff9c3253a17278 RSI: ffff9c3253a17240 RDI: ffff9c324cde6540
(warning) kernel: RBP: ffff9c324b328000 R08: ffffa802427278b8 R09: ffff9c3253a17240
(warning) kernel: R10: ffff9c3247cba400 R11: 0000000000000000 R12: ffff9c324cde6540
(warning) kernel: R13: ffff9c3253a17240 R14: ffff9c3249725500 R15: ffff9c3247c5bb00
(warning) kernel: FS: 00007fab686e7400(0000) GS:ffff9c395f1c0000(0000) knlGS:0000000000000000
(warning) kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
(warning) kernel: CR2: 00007fab55819000 CR3: 000000013faae000 CR4: 0000000000750ee0
(warning) kernel: PKRU: 55555554
(warning) kernel: Call Trace:
(warning) kernel: <TASK>
(warning) kernel: drm_atomic_helper_check_modeset+0x339/0xdc0
(warning) kernel: ? amdgpu_vm_update_range+0x35e/0x770 [amdgpu f9d1ba60718ec390f1dc22dd49b701394228343f]
(warning) kernel: amdgpu_dm_atomic_check+0x65/0x1230 [amdgpu f9d1ba60718ec390f1dc22dd49b701394228343f]
(warning) kernel: ? __kmem_cache_alloc_node+0x1a5/0x2d0
(warning) kernel: drm_atomic_check_only+0x537/0xba0
(warning) kernel: drm_atomic_commit+0x5c/0x100
(warning) kernel: ? drm_plane_get_damage_clips.cold+0x1c/0x1c
(warning) kernel: drm_atomic_helper_set_config+0x74/0xb0
(warning) kernel: drm_mode_setcrtc+0x43d/0x860
(warning) kernel: ? drm_mode_getcrtc+0x180/0x180
(warning) kernel: drm_ioctl_kernel+0xcd/0x170
(warning) kernel: drm_ioctl+0x1eb/0x450
(warning) kernel: ? drm_mode_getcrtc+0x180/0x180
(warning) kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu f9d1ba60718ec390f1dc22dd49b701394228343f]
(warning) kernel: __x64_sys_ioctl+0x94/0xd0
(warning) kernel: do_syscall_64+0x5f/0x90
(warning) kernel: ? do_syscall_64+0x6b/0x90
(warning) kernel: ? syscall_exit_to_user_mode+0x1b/0x40
(warning) kernel: ? do_syscall_64+0x6b/0x90
(warning) kernel: ? exc_page_fault+0x74/0x170
(warning) kernel: entry_SYSCALL_64_after_hwframe+0x63/0xcd
(warning) kernel: RIP: 0033:0x7fab69064c0f
(warning) kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
(warning) kernel: RSP: 002b:00007fff28c172c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
(warning) kernel: RAX: ffffffffffffffda RBX: 00005624b7a7f710 RCX: 00007fab69064c0f
(warning) kernel: RDX: 00007fff28c17350 RSI: 00000000c06864a2 RDI: 0000000000000010
(warning) kernel: RBP: 00007fff28c17350 R08: 0000000000000000 R09: 0000000000000000
(warning) kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c06864a2
(warning) kernel: R13: 0000000000000010 R14: 00005624b7a795e0 R15: 00005624b6a4edf0
(warning) kernel: </TASK>
(warning) kernel: ---[ end trace 0000000000000000 ]---
(error) kernel: amdgpu 0000:33:00.0: [drm] *ERROR* No payload for [MST PORT:000000001fc4910c] found in mst state 00000000d8f04ea2
Other potentially relevant errors/warnings during boot:
....
kernel: ACPI: \_SB_.PCI0.GP11: Overriding _PRW sleep state (S4) by S0 from power resources
...
kernel: ACPI: \_SB_.PCI0.GP12: Overriding _PRW sleep state (S4) by S0 from power resources
...
kernel: ACPI: \_SB_.PCI0.GP19.NHI0: Overriding _PRW sleep state (S3) by S0 from power resources
...
kernel: ACPI: \_SB_.PCI0.GP19.NHI1: Overriding _PRW sleep state (S3) by S0 from power resources
kernel: Expanded resource Reserved due to conflict with PCI Bus 0000:00
kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
kernel: pci 0000:00:00.2: PCI INT A: not connected
kernel: amdgpu 0000:33:00.0: amdgpu: PSP runtime database doesn't exist
kernel: amdgpu 0000:33:00.0: amdgpu: PSP runtime database doesn't exist
...
kernel: [drm] DP Alt mode state on HPD: 1
...
kernel: amdgpu: SRAT table not found
Hardware description:
- CPU: (
/proc/cpuinfo
)AMD Ryzen 7 PRO 6850U with Radeon Graphics
- GPU: (
lspci -nn | grep VGA
)33:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev d1)
- System Memory: total 31591948 (32 Go DDR5, soldered, fully checked) ; available: 27272376
- Display(s) internal: (
/var/log/Xorg.0.log
) (eDP):Manufacturer: CSO Model: 1404 Serial#: 0
- Display(s) external: (
/var/log/Xorg.0.log
)AMDGPU(0): Monitor name: DELL P2419HC // Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
- Type of Display Connection (laptop external monitor): USC-4
System information:
- Archlinux
Linux lalande21185 6.1.0-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Dec 2022 23:35:00 +0000 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
- Xorg
- wm: enlightenment.
Tested with linux 6.0
and 6.1
with latest corresponding linux-firmware
, mesa 22.3.1-1
, xf86-video-amdgpu 22.0.0-1
and 22.0.0.r10.g2ec854d-1
How to reproduce the issue:
- connect the lenovo t14s Gen 3 to an usb-c / thunderbold dock
- suspend, for ex with
sudo systemctl suspend
- (wait for suspend to complete)
- resume, for ex by strocking a key - notice that the usb keyboard connected to the dock can trigger resume.