Failed suspend-to-idle on a 4350G desktop
Brief summary of the problem:
Trying to suspend the system prints:
[ 3163.387568] amdgpu 0000:06:00.0: amdgpu: Power consumption will be higher as BIOS has not been configured for suspend-to-idle.
After it comes back from suspend, other errors are printed:
[ 3220.618126] amdgpu 0000:06:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] ERROR IB test failed on gfx (-110). [ 3220.618726] [drm:process_one_work] ERROR ib ring test failed (-110). [ 3220.618850] amdgpu 0000:06:00.0: [drm] Cannot find any crtc or sizes [ 3220.618858] amdgpu 0000:06:00.0: [drm] Cannot find any crtc or sizes
And starting sway fails with the attached sway.txt log.
Hardware description:
System information:
- Distro name and Version: arch
- Kernel version: 6.1.7-arch1-1
How to reproduce the issue:
suspend the machine.
Other
The full dmesg showing a suspend cycle is attached.dmesg.txt
I have tried a quick hack (hack.patch ) and with it the power consumption during suspend (measured with a revolt Energy Cost Meter) goes from 9.2W to 7.7W. With the hack the other errors are gone and I can start sway after the resumed. The full dmesg with the hack is: dmesg-hack.txt.
One issue that is left, not sure if related, is that before suspend the system was using 11.1W and after returning from suspend it is using 12.2W