[bisected] Rembrandt laptop freezes when attempting to suspend with Linux 6.7
Brief summary of the problem:
The laptop consistently fails to suspend with Linux 6.7, freezing/crashing the system, while it works reliably with 6.6 and older kernel versions.
Hardware description:
- Lenovo ThinkPad T14 Gen 3
- CPU: AMD Ryzen 7 PRO 6850U
- GPU: 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1681] (rev d1)
- System Memory: RAM width 128bits LPDDR5
- Display(s): internal panel
- Type of Display Connection: eDP
System information:
- Kernel version: Linux 6.7.3 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
- Custom kernel: N/A (vanilla kernel from stable tree)
- AMD official driver version: N/A
- GNOME 45 (Wayland)
How to reproduce the issue:
- Attempt to suspend (s2idle), e.g., by pressing the power button or closing the lid
- Display turns black but power LED remains active and laptop no longer reacts to any input and is no longer accessible via SSH
- Only way out seems to be hard shutdown via long press of power button
This happens consistently with Linux 6.7.3 but Linux 6.6.10 has been working fine. git bisect points to
commit ab4750332dbe535243def5dcebc24ca00c1f98ac
Author: Alex Deucher <alexander.deucher@amd.com>
Date: Thu Dec 7 10:14:41 2023 -0500
drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
which is a fix for #2220 (closed).
Reverting this commit on top of 6.7.3 fixes (or works around) the issue for me. I've been running this for a couple of days now with 8 suspend cycles without any issues.
Curiously, it seems that the above commit was backported to 6.6.10 where it doesn't cause any issues for me. So it might be the combination of that commit with another change in 6.7 that triggers the issue.
Attached files:
Log files (for system lockups / game freezes / crash
Edited by Jürg Billeter