On Fri Jun 21, 2024 at 12:35 AM JST, Mark Pearson wrote: > >> - Get a report from running the Intel S0ix test tool - https://github.com/intel/S0ixSelftestTool. Run it with the -S option > > > > It may not work as my machine is not Intel, but here's the output: > <snip> > > Yeah - that won't work. The AMD test tool is here: > https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py > Can you try that please? Sure. I've tried with/without the kernel parameter `acpi.ec_no_wakeup=1`. Booting with the kernel parameter: ``` $ sudo python3 amd_s2idle.py Location of log file (default s2idle_report-2024-06-21.txt)? Debugging script for s2idle on AMD systems 💻 LENOVO 21MCCTO1WW (ThinkPad T14 Gen 5) running BIOS 1.4 (R2LET23W (1.04 )) released 04/01/2024 and EC 1.1 🐧 Arch Linux 🐧 Kernel 6.9.5-arch1-1 🔋 Battery BAT0 (SMP 5B11H56415) is operating at 101.22% of design Checking prerequisites for s2idle ✅ Logs are provided via systemd ✅ AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (family 19 model 75) ✅ SMT enabled ✅ LPS0 _DSM enabled ✅ ACPI FADT supports Low-power S0 idle ✅ HSMP driver `amd_hsmp` not detected (blocked: False) ✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 76.83.0) ✅ USB4 driver `thunderbolt` bound to 0000:c6:00.5 ✅ USB4 driver `thunderbolt` bound to 0000:c6:00.6 ✅ GPU driver `amdgpu` bound to 0000:c4:00.0 ✅ System is configured for s2idle ✅ NVME KIOXIA Corporation NVMe SSD Controller XG8 is configured for s2idle in BIOS ✅ GPIO driver `pinctrl_amd` available 🚦 Device firmware checks unavailable without gobject introspection ✅ WCN6855 WLAN (fw build id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37) How long should suspend cycles last in seconds (default 10)? How long to wait in between suspend cycles in seconds (default 4)? How many suspend cycles to run (default 1)? Started at 2024-06-21 01:05:15.386691 (cycle finish expected @ 2024-06-21 01:05:29.386714) Results from last s2idle cycle ○ Suspend count: 1 ○ Hardware sleep cycle count: 1 ○ Wakeup triggered from IRQ 9: ACPI SCI ○ Woke up from IRQ 9: ACPI SCI ○ gpe07 increased from 9957 to 10219 ✅ Userspace suspended for 0:00:12.386591 ✅ In a hardware sleep state for 0:00:08.692840 (70.18%) 🔋 Battery BAT0 lost 10000 µWh (0.02%) [Average rate 0.29W] ``` Booting without the kernel parameter: ``` $ sudo python3 ./amd_s2idle.py Location of log file (default s2idle_report-2024-06-21.txt)? Debugging script for s2idle on AMD systems 💻 LENOVO 21MCCTO1WW (ThinkPad T14 Gen 5) running BIOS 1.4 (R2LET23W (1.04 )) released 04/01/2024 and EC 1.1 🐧 Arch Linux 🐧 Kernel 6.9.5-arch1-1 🔋 Battery BAT0 (SMP 5B11H56415) is operating at 101.22% of design Checking prerequisites for s2idle ✅ Logs are provided via systemd ✅ AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics (family 19 model 75) ✅ SMT enabled ✅ LPS0 _DSM enabled ✅ ACPI FADT supports Low-power S0 idle ✅ HSMP driver `amd_hsmp` not detected (blocked: False) ✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 76.83.0) ✅ USB4 driver `thunderbolt` bound to 0000:c6:00.5 ✅ USB4 driver `thunderbolt` bound to 0000:c6:00.6 ✅ GPU driver `amdgpu` bound to 0000:c4:00.0 ✅ System is configured for s2idle ✅ NVME KIOXIA Corporation NVMe SSD Controller XG8 is configured for s2idle in BIOS ✅ GPIO driver `pinctrl_amd` available 🚦 Device firmware checks unavailable without gobject introspection ✅ WCN6855 WLAN (fw build id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37) How long should suspend cycles last in seconds (default 10)? How long to wait in between suspend cycles in seconds (default 4)? How many suspend cycles to run (default 1)? Started at 2024-06-21 01:16:58.754215 (cycle finish expected @ 2024-06-21 01:17:12.754238) Results from last s2idle cycle ○ Suspend count: 1 ○ Hardware sleep cycle count: 10 ○ Wakeup triggered from IRQ 9: ACPI SCI ○ Woke up from IRQ 9: ACPI SCI ○ gpe07 increased from 1823 to 2085 ✅ Userspace suspended for 0:00:12.962868 ✅ In a hardware sleep state for 0:00:01.672448 (12.90%) 🔋 Battery BAT0 lost 30000 µWh (0.06%) [Average rate 0.83W] ``` > One more question - which Wifi module do you have? The Qualcomm NCM825 Wifi7 device still has a lot of problems (it's currently the main thing gating our Linux certification of the platform).