Linux 6.1 instantly wakes up from suspend

While running linux60 (version 6.0.19-3) suspend and hibernate work just fine.
At the same time linux61 (version 6.1.7-1), instantly wakes up from suspend and hibernate with no useful info in the logs.

Similar posts like this and this suggest to fully update the system. Didn’t work for me

Testing branch, the software is up to date, rebooting does not solve the issue

System:
  Kernel: 6.0.19-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=bbf95c74-e749-412e-b50f-fb355ed661e9 rw quiet
    cryptdevice=UUID=045bb0d2-10a2-4f19-ad6b-4f3a68e0d579:luks-045bb0d2-10a2-4f19-ad6b-4f3a68e0d579
    root=/dev/mapper/luks-045bb0d2-10a2-4f19-ad6b-4f3a68e0d579 splash
    apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82KD v: Lenovo V15 G2 ALC
    serial: <superuser required> Chassis: type: 10 v: Lenovo V15 G2 ALC
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    UEFI: LENOVO v: GLCN51WW date: 09/28/2022
Battery:
  ID-1: BAT0 charge: 37.7 Wh (97.4%) condition: 38.7/38.0 Wh (101.9%)
    volts: 8.6 min: 7.7 model: LGC L20L2PF0 type: Li-poly serial: <filter>
    status: not charging cycles: 145
CPU:
  Info: model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x68 (104) stepping: 1
    microcode: 0x8608103
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1839 high: 4342 min/max: 400/4372 boost: enabled scaling:
    driver: amd-pstate governor: schedutil cores: 1: 4342 2: 4342 3: 2087 4: 1930
    5: 1929 6: 1929 7: 1930 8: 1930 9: 1098 10: 1098 11: 1029 12: 1240 13: 1098
    14: 1261 15: 1098 16: 1098 bogomips: 57508
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  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: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  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: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1
    code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:164c class-ID: 0300
    temp: 38.0 C
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 13d3:56ff class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15f5 built: 2019 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (renoir LLVM
    14.0.6 DRM 3.48 6.0.19-2-MANJARO) direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k6.0.19-2-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wg0 state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:3
    chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.14 TiB used: 794.25 GiB (67.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo
    model: UMIS RPJTJ256MEE1OWX size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2.1C0628 temp: 28.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10JPVX-60JC3T0
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 1A01 scheme: GPT
Partition:
  ID-1: / raw-size: 190.72 GiB size: 187.17 GiB (98.14%)
    used: 66.12 GiB (35.3%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-045bb0d2-10a2-4f19-ad6b-4f3a68e0d579
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%)
    used: 58 MiB (11.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 45.5 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 400 Uptime: 3m wakeups: 1 Memory: 13.5 GiB used: 3.05 GiB (22.6%)
  Init: systemd v: 252 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 clang: 14.0.6 Packages: 1913 pm: dpkg pkgs: 0 pm: pacman
  pkgs: 1885 libs: 440 tools: gnome-software,pamac,yay pm: flatpak pkgs: 28
  Shell: Zsh v: 5.9 running-in: guake inxi: 3.3.24

Output of journalctl -b 1 -g suspend

Jan 16 14:27:39 Wraith systemd-logind[889]: The system will suspend now!
Jan 16 14:27:39 Wraith ModemManager[910]: <info>  [sleep-monitor-systemd] system is about to suspend
Jan 16 14:27:40 Wraith systemd[1]: Starting System Suspend...
Jan 16 14:27:40 Wraith systemd-sleep[1045483]: Entering sleep state 'suspend'...
Jan 16 14:27:40 Wraith kernel: PM: suspend entry (deep)
Jan 16 14:27:44 Wraith kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jan 16 14:27:44 Wraith kernel: PM: suspend exit
Jan 16 14:27:44 Wraith systemd[1]: systemd-suspend.service: Deactivated successfully.
Jan 16 14:27:44 Wraith systemd[1]: Finished System Suspend.
Jan 16 14:27:44 Wraith audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 16 14:27:44 Wraith audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 16 14:27:44 Wraith systemd[1]: Reached target Suspend.
Jan 16 14:27:44 Wraith systemd[1]: Stopped target Suspend.
Jan 16 14:27:44 Wraith kernel: audit: type=1130 audit(1673857664.959:1555): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 16 14:27:44 Wraith kernel: audit: type=1131 audit(1673857664.959:1556): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

I second this. I’d repost my logs, but I’m on the same kernel with a Lenovo laptop with an 5800H. Same behaviour, same log entries. I’ve reverted to shutting down more often, but it’s a mystery to me where this originates.

You can revert to linux60 for working suspend for now

I noticed the same behavior too.

I would, but 6.0 has some other issues for me. For others that might be a temporary fix though, so thanks :slight_smile:

Workaround:

echo disabled > /sys/bus/i2c/devices/i2c-MSFT0001:00/power/wakeup

Fixes suspend for me on later 6.0 kernels, as well as 6.1 and 6.2. Seems to work for Ryzen 4xxx-chips too.

Source: arch bbs topic 282293 (don’t have rights to post links here, sadly)

1 Like

Interesting, would give it a go and report back