High battery drain (s0ix, Ryzen 6800U)
Very similar to #2248 (closed), but on 6800U instead of 5900HS.
Brief summary of the problem:
I have not been able to witness a successful suspend where battery drain is < 10% per hour. I just got the laptop so the sample size is small but I have these results from yesterday:
20:47 = 36.4%
22:01 = 27.9%
22:55 = 23.8%
23:18 = 21.5%
And then further from 23:18 to 00:23 I was using the laptop for some document editing and it went down to 12%.
Basically about 10% is lost per hour which is similar to the light-use battery drain.
Hardware description:
- CPU: Ryzen 7 6800U
- GPU: Radeon 680M
- System Memory: 16G
- Display(s): 2560x1600 @ 60.001 Hz
- Type of Display Connection: eDP
System information:
- Distro name and Version: Arch Linux
- Kernel version: 6.0.11
Log files (for system lockups / game freezes / crashes)
Based on the referenced issue I collected some logs with iommu=pt pm_debug_messages amd_pmc.dyndbg
. Under a 20s sleep session and a 5 minute one, both resulted in about 10s in the deepest sleep state. The 5 minute one is included below:
Dec 08 10:17:28 gold systemd-logind[1046]: Lid closed.
Dec 08 10:17:28 gold systemd-logind[1046]: Suspending...
Dec 08 10:17:31 gold systemd[1]: Reached target Sleep.
Dec 08 10:17:31 gold systemd[1]: Starting System Suspend...
Dec 08 10:17:31 gold systemd-sleep[2756]: Entering sleep state 'suspend'...
Dec 08 10:17:31 gold kernel: PM: suspend entry (s2idle)
Dec 08 10:17:31 gold kernel: Filesystems sync: 0.003 seconds
Dec 08 10:17:31 gold kernel: PM: Preparing system for sleep (s2idle)
Dec 08 10:22:37 gold kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
Dec 08 10:22:37 gold kernel: OOM killer disabled.
Dec 08 10:22:37 gold kernel: Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
Dec 08 10:22:37 gold kernel: PM: Suspending system (s2idle)
Dec 08 10:22:37 gold kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 08 10:22:37 gold kernel: wlan0: deauthenticating from 60:45:cb:ce:2e:04 by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 08 10:22:37 gold kernel: PM: suspend of devices complete after 302.314 msecs
Dec 08 10:22:37 gold kernel: PM: start suspend of devices complete after 304.131 msecs
Dec 08 10:22:37 gold kernel: PM: late suspend of devices complete after 0.839 msecs
Dec 08 10:22:37 gold kernel: ACPI: EC: interrupt blocked
Dec 08 10:22:37 gold kernel: PM: noirq suspend of devices complete after 73.886 msecs
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_RESPONSE:1
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_ARGUMENT:0
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_MESSAGE:7
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_RESPONSE:1
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_ARGUMENT:0
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_MESSAGE:6
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: SMU idlemask s0i3: 0x8fdf9eb5
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_RESPONSE:1
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_ARGUMENT:1
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_MESSAGE:3
Dec 08 10:22:37 gold kernel: PM: suspend-to-idle
Dec 08 10:22:37 gold kernel: Timekeeping suspended for 10.275 seconds
Dec 08 10:22:37 gold kernel: ACPI: EC: ACPI EC GPE status set
Dec 08 10:22:37 gold kernel: ACPI: PM: Rearming ACPI SCI for wakeup
Dec 08 10:22:37 gold kernel: Timekeeping suspended for 292.999 seconds
Dec 08 10:22:37 gold kernel: ACPI: EC: ACPI EC GPE status set
Dec 08 10:22:37 gold kernel: ACPI: EC: ACPI EC GPE dispatched
Dec 08 10:22:37 gold kernel: ACPI: EC: ACPI EC work flushed
Dec 08 10:22:37 gold kernel: ACPI: PM: Wakeup after ACPI Notify sync
Dec 08 10:22:37 gold kernel: PM: resume from suspend-to-idle
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_RESPONSE:1
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_ARGUMENT:0
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: AMD_PMC_REGISTER_MESSAGE:8
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: SMU idlemask s0i3: 0x8fdf9eb5
Dec 08 10:22:37 gold kernel: amd_pmc AMDI0007:00: Last suspend in deepest state for 10297149us
Dec 08 10:22:37 gold kernel: ACPI: EC: interrupt unblocked
Dec 08 10:22:37 gold kernel: PM: noirq resume of devices complete after 195.437 msecs
Dec 08 10:22:37 gold kernel: PM: early resume of devices complete after 1.215 msecs
Dec 08 10:22:37 gold kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F47FC00000).
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: SMU is resuming...
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: SMU is resumed successfully!
Dec 08 10:22:37 gold kernel: nvme nvme0: 15/0/0 default/read/poll queues
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm:dc_dmub_srv_wait_idle [amdgpu]] *ERROR* Error waiting for DMUB idle: status=3
Dec 08 10:22:37 gold kernel: [drm] Watermarks table not configured properly by SMU
Dec 08 10:22:37 gold kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Dec 08 10:22:37 gold kernel: [drm] JPEG decode initialized successfully.
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
Dec 08 10:22:37 gold kernel: amdgpu 0000:63:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
Dec 08 10:22:37 gold kernel: PM: resume of devices complete after 2049.272 msecs
Dec 08 10:22:37 gold kernel: PM: Finishing wakeup.
Dec 08 10:22:37 gold kernel: OOM killer enabled.
Dec 08 10:22:37 gold kernel: Restarting tasks ... done.
Dec 08 10:22:37 gold kernel: random: crng reseeded on system resumption
Dec 08 10:22:37 gold systemd-logind[1046]: Lid opened.
Dec 08 10:22:37 gold iwd[1045]: Received Deauthentication event, reason: 3, from_ap: false
Dec 08 10:22:37 gold systemd-resolved[1041]: Clock change detected. Flushing caches.
Dec 08 10:22:37 gold systemd-networkd[822]: wlan0: Lost carrier
Dec 08 10:22:37 gold systemd-sleep[2756]: System returned from sleep state.
Dec 08 10:22:37 gold kernel: PM: suspend exit
Dec 08 10:22:37 gold systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 08 10:22:37 gold systemd[1]: Finished System Suspend.
Dec 08 10:22:37 gold audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=>
Dec 08 10:22:37 gold audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=?>
Dec 08 10:22:37 gold systemd[1]: Stopped target Sleep.
Dec 08 10:22:37 gold systemd[1]: Reached target Suspend.
Dec 08 10:22:37 gold systemd[1]: Stopped target Suspend.
Dec 08 10:22:37 gold systemd-logind[1046]: Operation 'sleep' finished.