System will not suspend after BIOS update

While trying to fix a known problem with my motherboard (Intel Ethernet Controller I225-V stops working), I updated the BIOS and ever since I can’t use suspend. The system begins shutting down as expected, then starts up again immediately, whatever options is chosen — Cinnamon menu: Suspend (suspend-to-ram?), Sleep (suspend-to-idle?), Hibernate; systemctl suspend, systemctl hibernate, systemctl sleep.

I reset BIOS options to “optimized defaults” after updating and I have the same settings as before — nothing exotic, no overclocking. There seem to be very few power-related settings available anyway: you can toggle ErP (EU power reduction when shut down), you can toggle USB power (when shut down), LED states (I don’t use any LEDs) in different power states. There may be some AMD settings related to power, but I’ve never changed them. [ASUS ROG STRIX X670E-F GAMING WIFI (manual)]

This looks right:

$ cat /sys/power/mem_sleep
s2idle [deep]

In Cinnamon power settings, power button is set to suspend; Hybrid Sleep and Hibernate after suspend are off.

I’ve double-checked that the resume parameter in GRUB points to the swap partition.

When using suspend I see this in dmesg:

[ 5874.024279] NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
[ 5874.024282] nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
[ 5874.024408] nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
[ 5874.024412] nvidia 0000:01:00.0: PM: failed to suspend async: error -5
[ 5874.321862] PM: Some devices failed to suspend, or early wake event detected
[ 5874.322476] [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
[ 5874.322493] amdgpu 0000:12:00.0: amdgpu: PSP is resuming...

This is not something I’ve knowingly ever set up, but I see somewhere else that you can find details in Chapter 21 of the driver readme.

The systemd services mentioned (nvidia-suspend, nvidia-hibernate, nividia-resume) are all present & enabled; the scripts are in the right places.

hibernate shows a different error in dmesg:

[ 6045.462516] xhci_hcd 0000:10:00.0: PM: pci_pm_freeze(): hcd_pci_suspend returns -16
[ 6045.462524] xhci_hcd 0000:10:00.0: PM: dpm_run_callback(): pci_pm_freeze returns -16
[ 6045.462528] xhci_hcd 0000:10:00.0: PM: failed to freeze async: error -16

Maybe I need to check the XHCI Handoff setting in BIOS as well? Any other suggestions on how to diagnose this?

inxi -zv8
System:
  Kernel: 6.12.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12-x86_64
    root=UUID=67b88b14-c229-4711-aafa-0fb8e882fccd rw quiet apparmor=1
    security=apparmor udev.log_priority=3 atkbd.reset
    resume=UUID=dc86e40b-8923-49c0-8c24-f2a39e4c7dc8
  Desktop: Cinnamon v: 6.4.6 tk: GTK v: 3.24.43 wm: Muffin v: 6.4.1
    with: albert,plank tools: avail: cinnamon-screensaver vt: 7 dm: LightDM
    v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX X670E-F GAMING WIFI v: Rev 1.xx
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 2704 date: 01/17/2025
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Vertical Advanced Ergonomic
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 64 GiB available: 61.96 GiB used: 14.97 GiB (24.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Channel-A DIMM 0 type: no module installed
  Device-2: Channel-A DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK64GX5M2B6400C32 serial: N/A
  Device-3: Channel-B DIMM 0 type: no module installed
  Device-4: Channel-B DIMM 1 type: DDR5 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 4800 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK64GX5M2B6400C32 serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 9 7900X3D bits: 64 type: MT MCP arch: Zen 4 gen: 4
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA60120C
  Topology: cpus: 1x dies: 2 clusters: 2x1 cores: 12 threads: 24 tpc: 2
    smt: enabled cache: L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB
    desc: 12x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
  Speed (MHz): avg: 545 min/max: 545/5660 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 545 2: 545 3: 545
    4: 545 5: 545 6: 545 7: 545 8: 545 9: 545 10: 545 11: 545 12: 545 13: 545
    14: 545 15: 545 16: 545 17: 545 18: 545 19: 545 20: 545 21: 545 22: 545
    23: 545 24: 545 bogomips: 210864
  Flags: 3dnowprefetch abm adx aes amd_lbr_pmc_freeze amd_lbr_v2 aperfmperf
    apic arat avic avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2
    avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f
    avx512ifma avx512vbmi avx512vl bmi1 bmi2 bpext cat_l3 cdp_l3 clflush
    clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cppc cpuid cqm
    cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de
    decodeassists erms extapic extd_apicid f16c flush_l1d flushbyasid fma fpu
    fsgsbase fsrm fxsr fxsr_opt gfni ht hw_pstate ibpb ibrs ibrs_enhanced ibs
    invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
    movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
    overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
    perfctr_llc perfctr_nb perfmon_v2 pfthreshold pge pku pni popcnt pse
    pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp
    succor svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk
    v_spec_ctrl vaes vgif vmcb_clean vme vmmcall vnmi vpclmulqdq wbnoinvd wdt
    x2avic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected;
    BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA AD104 [GeForce RTX 4070 SUPER] vendor: Micro-Star MSI
    driver: nvidia v: 550.144.03 alternate: nouveau,nvidia_drm
    non-free: 550/565.xx+ status: current (as of 2025-01) arch: Lovelace
    code: AD1xx process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2783 class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: HDMI-A-1 empty: DP-1,Writeback-1 bus-ID: 12:00.0
    chip-ID: 1002:164e class-ID: 0300 temp: 49.0 C
  Device-3: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4.3.2:7
    chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4 driver: X:
    loaded: N/A failed: nvidia gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
    s-diag: 692mm (27.26")
  Monitor-1: DP-0 res: mode: 2560x1440 hz: 144 scale: 100% (1) dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi gbm: drv: radeonsi surfaceless:
    drv: nvidia x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: nvidia mesa v: 550.144.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070
    SUPER/PCIe/SSE2 memory: 11.71 GiB
  API: Vulkan v: 1.4.303 layers: 11 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4070 SUPER driver: N/A device-ID: 10de:2783 surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: xfce4-display-settings
    gpu: nvidia-settings,nvidia-smi x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA AD104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:22bc class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-3: C-Media Antlion USB adapter
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-3:2 chip-ID: 0d8c:002b class-ID: 0300
    serial: <filter>
  Device-4: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4.3.2:7
    chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
  Device-5: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:3
    chip-ID: 0b05:1a52 class-ID: 0300
  API: ALSA v: k6.12.11-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    vendor: Foxconn driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 09:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp9s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0a:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> virtual: proto kernel_ll scope: link
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:5 chip-ID: 0489:e0e2
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 10.01 TiB used: 6.82 TiB (68.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT2000T700SSD3
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 126 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: PACR5103 temp: 49.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST8000DM004-2U9188
    size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 0001 scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-5: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 850 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
    fw-rev: 3B6Q scheme: MBR
  SMART Message: A mandatory SMART command failed. Various possible causes.
  Optical-1: /dev/sr0 vendor: PIONEER model: BD-RW BDR-209M rev: 1.30
    dev-links: cdrom
  Features: speed: 125 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 250 GiB size: 245.77 GiB (98.31%) used: 180.33 GiB (73.4%)
    fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p6 maj-min: 259:6 label: Mangie
    uuid: 67b88b14-c229-4711-aafa-0fb8e882fccd
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 467.8 MiB (91.5%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: ESP uuid: 9A12-FA87
  ID-3: /home raw-size: 250 GiB size: 245.89 GiB (98.36%)
    used: 152.88 GiB (62.2%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p7
    maj-min: 259:7 label: Latty uuid: 105a7867-e1bc-4889-baf2-c98e4e296414
  ID-4: /home/<filter>/Cluichí/Minecraft/Bedrock Server raw-size: N/A
    size: 108.98 GiB used: 27.13 GiB (24.9%) fs: nfs4
    remote: cluifi:/home/sean/minecraft-server

[many mounts snipped]

  ID-30: /run/media/sean/FEAAD5D2AAD58813 raw-size: 149 GiB
    size: 149 GiB (100.00%) used: 37.53 GiB (25.2%) fs: ntfs block-size: 4096 B
    dev: /dev/sdd1 maj-min: 8:49 label: N/A uuid: FEAAD5D2AAD58813
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 65 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdb1 maj-min: 8:17 label: swap
    uuid: dc86e40b-8923-49c0-8c24-f2a39e4c7dc8
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 249.93 GiB fs: ntfs label: N/A
    uuid: B80E820D0E81C53A
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 578 MiB fs: ntfs label: N/A
    uuid: 1A808F34808F1603
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 450 MiB fs: ntfs label: N/A
    uuid: 2E2C84552C841A4B
  ID-5: /dev/nvme0n1p9 maj-min: 259:9 size: 44.74 GiB fs: ext4
    label: AntelopePlay uuid: b31d8bee-4f0f-45d6-8d4b-c887a1178222
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: C-Media Antlion USB adapter type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 0d8c:002b class-ID: 0300 serial: <filter>
  Device-2: 1-6:3 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-3: 1-7:4 info: Microsoft Wireless Receiver 1461C
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 045e:07a5 class-ID: 0300
  Device-4: 1-9:5 info: Foxconn / Hon Hai Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0489:e0e2 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-2:2 info: Norelsys NS1068/NS1068X SATA Bridge Controller
    type: mass storage driver: usb-storage interfaces: 1 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 8mA
    chip-ID: 2537:1068 class-ID: 0806 serial: <filter>
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 3-4:2 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0451:8142
    class-ID: 0900
  Hub-5: 3-4.3:4 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-4.3.1:6 info: Keyboardio Model 100
    type: abstract (modem),CDC-data,keyboard,HID
    driver: cdc_acm,hid-generic,usbhid interfaces: 5 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 3496:0006 class-ID: 0300 serial: <filter>
  Device-2: 3-4.3.2:7 info: Logitech C920 HD Pro Webcam type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
  Hub-6: 3-4.3.4:8 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-4.3.4.2:12 info: ROCCAT Kone Pure Military Mouse
    type: mouse,keyboard driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 1e7d:2dbf class-ID: 0301
  Device-2: 3-4.4:5 info: LG USA 27UP850 - WK.AEUDCSN External Monitor 4K
    type: HID driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 043e:9a39
    class-ID: 0300 serial: <filter>
  Device-3: 3-6:3 info: ASUSTek USB Audio type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0b05:1a52 class-ID: 0300
  Device-4: 3-7:9 info: ASUSTek AURA LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Hub-7: 4-0:1 info: super-speed hub ports: 5 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 4-4:2 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0451:8140
    class-ID: 0900
  Hub-9: 4-4.3:3 info: Genesys Logic Hub ports: 4 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 05e3:0626
    class-ID: 0900
  Hub-10: 4-4.3.4:4 info: Genesys Logic Hub ports: 4 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 05e3:0626
    class-ID: 0900
  Hub-11: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-12: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-13: 7-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-14: 8-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-15: 9-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-16: 10-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 57.0 C mobo: 54.0 C
  Fan Speeds (rpm): N/A
  GPU: device: nvidia screen: :0.0 temp: 44 C fan: 32% device: amdgpu
    temp: 50.0 C
Repos:
  Packages: 3680 pm: pacman pkgs: 3560 libs: 655 tools: pamac,yay,yup
    pm: flatpak pkgs: 90 pm: snap pkgs: 30
  Active pacman repo servers in: /etc/pacman.conf
    1: https://download.sublimetext.com/arch/stable/x86_64
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://gsl-syd.mm.fcix.net/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 557
  1: cpu: 41.6% command: nemo pid: 8967 mem: 1393.5 MiB (2.1%)
  2: cpu: 8.4% command: firefox pid: 4989 mem: 1115.7 MiB (1.7%)
  3: cpu: 4.1% command: thunderbird pid: 4915 mem: 1036.2 MiB (1.6%)
  4: cpu: 3.8% command: cinnamon pid: 3620 mem: 513.0 MiB (0.8%)
  5: cpu: 2.6% command: caribou pid: 3728 mem: 107.5 MiB (0.1%)
  Memory top: 5 of 557
  1: mem: 2449.7 MiB (3.8%) command: pamac-manager pid: 29099 cpu: 0.3%
  2: mem: 1393.5 MiB (2.1%) command: nemo pid: 8967 cpu: 41.6%
  3: mem: 1252.4 MiB (1.9%) command: sublime_text pid: 59371 cpu: 0.2%
  4: mem: 1115.7 MiB (1.7%) command: firefox pid: 4989 cpu: 8.4%
  5: mem: 1036.2 MiB (1.6%) command: thunderbird pid: 4915 cpu: 4.1%
Info:
  Processes: 557 Power: uptime: 3h 3m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 fails: 6 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 24.75 GiB services: csd-power,upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Compilers: clang: 19.1.7 gcc: 14.2.1 alt: 8/9/13 Shell: Bash v: 5.2.37
    running-in: gnome-terminal inxi: 3.3.37

When it comes to AMD (CPU/APU) powered systems it is a good plan to keep up with the vendors firmware.

That said - I have yet to encounter issues with the various powersave features - perhaps I am just lucky :man_shrugging: :slight_smile:

You are having s2idle - this provides the modern sleep, which is the **bare minimum to keep the system alive and provides an almost instant wakeup.

I use this on my laptops - they can stay alive for days - I tested my AMD powered laptop - it lasted a week in this mode.

The Power management - ArchWiki is comprehensive knowledge base on power management.

You can test the various methods using systemctl command

 $ systemctl --help --no-pager
[...]
System Commands:
  is-system-running                   Check whether system is fully running
  default                             Enter system default mode
  rescue                              Enter system rescue mode
  emergency                           Enter system emergency mode
  halt                                Shut down and halt the system
  poweroff                            Shut down and power-off the system
  reboot                              Shut down and reboot the system
  kexec                               Shut down and reboot the system with kexec
  soft-reboot                         Shut down and reboot userspace
  exit [EXIT_CODE]                    Request user instance or container exit
  switch-root [ROOT [INIT]]           Change to a different root file system
  sleep                               Put the system to sleep (through one of
                                      the operations below)
  suspend                             Suspend the system
  hibernate                           Hibernate the system
  hybrid-sleep                        Hibernate and suspend the system
  suspend-then-hibernate              Suspend the system, wake after a period of
                                      time, and hibernate

[...]

I have already tried using all the systemd options directly with the same result and I’ve already been to the Arch Power management page. It was all working fine before the BIOS upgrade and not at all after.

I thought that this…

$ cat /sys/power/mem_sleep
s2idle [deep]

…meant that deep was the default, i.e. suspend-to-ram, and s2idle was also available. Either way it immediately resumes.

It does - what I meant is that s2idle is the better choice - usability wise - as it provides instant wakeup compared to reading a huge amount of data from disk.

Yes I noted that from your original topic

For the sake of testing - could you remove the hibernation configuration?

  • resume= from cmdline in /etc/default/grub
  • resume from HOOKS= array in /etc/mkinitcpio.conf

The rebuild init and grub (in that order)

sudo minitcpio -P
sudo grub-mkconfig -o /boot/grub/grub.cfg

Aren’t there are two kinds of suspend though, the S3 “suspend-to-RAM” (what I have been using) AKA deep and the newer “suspend-to-idle” AKA s2idle? Neither of these involve reading from disk.

I notice that despite what /sys/power/mem_sleep says, dmesg shows PM: suspend entry (s2idle) so maybe that’s what it’s trying to do.

I’ve just seen a different message…

[   83.099693] amdgpu 0000:12:00.0: amdgpu: Power consumption will be higher as BIOS has not been configured for suspend-to-idle.
               To use suspend-to-idle change the sleep mode in BIOS setup.

…but it’s not clear to me what I can change in the BIOS. There is nothing under APM and nothing I can see for the onboard GPU (which I only use to send HDMI audio).

Maybe I could have been clearer. Although I have hibernate set up, I never use it.

did that message appear because you changed the configuration (removing the hibernate config)?

No. I changed the ErP setting (which should only affect ‘soft off state’, i.e. when shut down) and I enabled XHCI Handoff.

With that in mind - I won’t spend more time on this.

Changed CPU PCIE ASPM Mode Control to Auto.

Suspend fails with no obvious error:

[  261.013536] PM: suspend entry (deep)
[  261.106016] Filesystems sync: 0.092 seconds
[  261.107269] Freezing user space processes
[  261.111375] Freezing user space processes completed (elapsed 0.004 seconds)
[  261.111378] OOM killer disabled.
[  261.111379] Freezing remaining freezable tasks
[  264.257385] Freezing remaining freezable tasks completed (elapsed 3.146 seconds)
[  264.257419] printk: Suspending console(s) (use no_console_suspend to debug)
[  264.270979] queueing ieee80211 work while going to suspend
[  264.290277] sd 6:0:0:0: [sda] Synchronizing SCSI cache
[  264.290302] sd 8:0:0:0: [sdc] Synchronizing SCSI cache
[  264.290302] sd 7:0:0:0: [sdb] Synchronizing SCSI cache
[  264.293133] ata9.00: Entering standby power mode
[  264.294988] ata7.00: Entering standby power mode
[  264.519946] ata8.00: Entering standby power mode
[  265.746389] ACPI: EC: interrupt blocked
[  265.822162] ACPI: PM: Preparing to enter system sleep state S3
[  266.334021] ACPI: EC: event blocked
[  266.334026] ACPI: EC: EC stopped
[  266.334026] ACPI: PM: Saving platform NVS memory
[  266.334297] Disabling non-boot CPUs ...
[  266.334298] Wakeup pending. Abort CPU freeze
[  266.334299] Non-boot CPUs are not disabled
[  266.334300] ACPI: EC: EC started
[  266.334324] ACPI: PM: Waking up from system sleep state S3
[  266.450669] ACPI: EC: interrupt unblocked

You need to obtain the docs/release notes for the new BIOS, and go over them. The manual that came with my ASUS board was pretty detailed with each BIOS setting.

A few years ago, I encountered a similar situation (with somewhat similar logs).

Solved it by disconnecting single (USB connected) items at a time, and then attempting a suspend. When I disconnected the keyboard, it went right to sleep. Swapped keyboard, and viola!

Epilogue: a little electrolytic capacitor on the keyboard’s controller board had burned up, causing enough noise that the USB controller interpreted as a keypress, keeping the machine awake.

4 Likes

I note that your quoted post was marked as the solution.

Are we to assume that you having;

is what caused your issue?

If so, please add a summary to that effect, so that the information might also benefit others who find this topic later.

A little clarification. :smile_cat:

Regards.

1 Like

No, I didn’t intentionally mark anything as a solution and I can’t see anything marked as a solution now.

Thanks for the suggestion merlock. It looked like a powered USB hub was the culprit, but it turned out to be more stupid and weird. Disconnecting a gaming mouse (only used once a week) connected to that hub allowed suspend to work, but it wasn’t the mouse itself. It had some cable under it so that it wasn’t flat on the desk. After a bit of testing, that turned out to be what stopped suspend. When it’s flat everything works.

Somehow detected as motion or in use?
At least simple+silly is good for a chuckle.

Good to know.

I gave you the opportunity to correct it, if you had.

The post in question wasn’t even remotely a solution, which is why I queried it, and you;

because I unmarked it; easy logic, right?

Regards.