Hi all,
tl;dr: Recently (since yesterday), my computer automatically resumes form suspend after ~20 minutes.
inxi -Fazy
inxi -Fazy
System:
Kernel: 6.9.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
root=UUID=5190e973-986c-4073-bc84-b61d3e4d0c7d rw quiet splash apparmor=1
security=apparmor udev.log_priority=3 usbcore.autosuspend=-1
Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell with: ulauncher
tools: gsd-screensaver-proxy dm: GDM v: 46.2 Distro: Manjaro base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <superuser required>
uuid: <superuser required> UEFI: American Megatrends v: P3.60
date: 07/31/2019
CPU:
Info: model: AMD Ryzen 5 3600 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: 0x71 (113) stepping: 0 microcode: 0x8701013
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
desc: 2x16 MiB
Speed (MHz): avg: 2357 high: 4093 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4093 2: 2200
3: 2200 4: 2195 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
12: 2200 bogomips: 86270
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
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 mitigation: untrained return thunk; SMT enabled with STIBP
protection
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: Retpolines; 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 TU104 [GeForce RTX 2070 SUPER] vendor: Gigabyte
driver: nvidia v: 550.90.07 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-06; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none off: DP-2
empty: DP-1,DP-3,HDMI-A-1 bus-ID: 07:00.0 chip-ID: 10de:1e84 class-ID: 0300
Display: x11 server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: gnome-shell driver: X: loaded: N/A failed: nvidia
gpu: nvidia,nvidia-nvswitch note: X driver n/a, try sudo/root
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3440x1440 s-size: <missing: xdpyinfo>
Monitor-1: DP-2 res: 3440x1440 dpi: 109 size: 800x340mm (31.5x13.39")
diag: 869mm (34.22") modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.90.07
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 2070
SUPER/PCIe/SSE2 memory: 7.81 GiB
API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu name: NVIDIA
GeForce RTX 2070 SUPER driver: nvidia v: 550.90.07 device-ID: 10de:1e84
surfaces: xcb,xlib
Audio:
Device-1: NVIDIA TU104 HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.1
chip-ID: 10de:10f8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 09:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Creative Pebble Pro driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-4.2.2:7
chip-ID: 041e:3287 class-ID: 0102 serial: <filter>
Device-4: Kingston HyperX Cloud Flight S
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 5-4.2.3:8 chip-ID: 0951:16ea class-ID: 0300
serial: <filter>
API: ALSA v: k6.9.5-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.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: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: TP-Link TP-Nink UB500 Adapter driver: btusb v: 0.8 type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3:2 chip-ID: 2357:0604
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
Local Storage: total: 2.33 TiB used: 333.71 GiB (14.0%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: SS0411B temp: 33.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT512MX100SSD1
size: 476.94 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: MU01 scheme: MBR
ID-3: /dev/sdb maj-min: 8:16 vendor: Intenso model: SSD size: 953.87 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
serial: <filter> fw-rev: 4A0 scheme: GPT
Partition:
ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
used: 333.71 GiB (35.6%) fs: ext4 dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 296 KiB (0.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 41.8 C mobo: N/A gpu: nvidia temp: 53 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
Memory: total: 32 GiB available: 31.27 GiB used: 4.69 GiB (15.0%)
Processes: 361 Power: uptime: 1h 7m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 1 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.48 GiB services: gsd-power,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: 1425 pm: pacman pkgs: 1401 libs: 400 tools: gnome-software,pamac
pm: flatpak pkgs: 15 pm: snap pkgs: 9 Compilers: gcc: 14.1.1 Shell: Zsh
v: 5.9 running-in: alacritty inxi: 3.3.35
journalctl | egrep ‘(suspend|resume)’
Jul 05 08:27:07 azeroth systemd-logind[881]: The system will suspend now!
Jul 05 08:27:07 azeroth ModemManager[939]: <msg> [sleep-monitor-systemd] system is about to suspend
Jul 05 08:27:07 azeroth systemd-sleep[284387]: in suspend-then-hibernate operations or setups with encrypted home directories.
Jul 05 08:27:07 azeroth systemd-sleep[284387]: Performing sleep operation 'suspend'...
Jul 05 08:27:07 azeroth kernel: PM: suspend entry (deep)
Jul 05 08:27:13 azeroth kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 05 08:27:13 azeroth kernel: ACPI: PM: Low-level resume complete
Jul 05 08:27:13 azeroth kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 08:27:13 azeroth kernel: xhci_hcd 0000:07:00.2: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 08:27:13 azeroth kernel: PM: suspend exit
Jul 05 08:27:13 azeroth systemd-sleep[284387]: System returned from sleep operation 'suspend'.
Jul 05 08:27:13 azeroth systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:88
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:90
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:65
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:67
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:68
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:85
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:84
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:83
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:64
Jul 05 08:27:13 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:89
Jul 05 08:27:14 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:78
Jul 05 08:27:14 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:87
Jul 05 08:27:14 azeroth systemd-logind[881]: Operation 'suspend' finished.
Jul 05 08:59:25 azeroth systemd-logind[881]: The system will suspend now!
Jul 05 08:59:25 azeroth ModemManager[939]: <msg> [sleep-monitor-systemd] system is about to suspend
Jul 05 08:59:25 azeroth systemd-sleep[300204]: in suspend-then-hibernate operations or setups with encrypted home directories.
Jul 05 08:59:25 azeroth systemd-sleep[300204]: Performing sleep operation 'suspend'...
Jul 05 08:59:25 azeroth kernel: PM: suspend entry (deep)
Jul 05 08:59:31 azeroth kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 05 08:59:31 azeroth kernel: ACPI: PM: Low-level resume complete
Jul 05 08:59:31 azeroth kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 08:59:31 azeroth kernel: xhci_hcd 0000:07:00.2: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 08:59:31 azeroth kernel: PM: suspend exit
Jul 05 08:59:31 azeroth systemd-sleep[300204]: System returned from sleep operation 'suspend'.
Jul 05 08:59:31 azeroth systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:88
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:90
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:65
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:67
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:68
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:85
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:84
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:83
Jul 05 08:59:31 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:64
Jul 05 08:59:32 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:89
Jul 05 08:59:32 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:78
Jul 05 08:59:32 azeroth systemd-logind[881]: Operation 'suspend' finished.
Jul 05 08:59:32 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:87
Jul 05 09:14:36 azeroth systemd-logind[881]: The system will suspend now!
Jul 05 09:14:36 azeroth ModemManager[939]: <msg> [sleep-monitor-systemd] system is about to suspend
Jul 05 09:14:36 azeroth systemd-sleep[306794]: in suspend-then-hibernate operations or setups with encrypted home directories.
Jul 05 09:14:36 azeroth systemd-sleep[306794]: Performing sleep operation 'suspend'...
Jul 05 09:14:36 azeroth kernel: PM: suspend entry (deep)
Jul 05 09:14:42 azeroth kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 05 09:14:42 azeroth kernel: ACPI: PM: Low-level resume complete
Jul 05 09:14:42 azeroth kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 09:14:42 azeroth kernel: xhci_hcd 0000:07:00.2: xHC error in resume, USBSTS 0x401, Reinit
Jul 05 09:14:42 azeroth kernel: PM: suspend exit
Jul 05 09:14:42 azeroth systemd-sleep[306794]: System returned from sleep operation 'suspend'.
Jul 05 09:14:42 azeroth systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 05 09:14:42 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:88
Jul 05 09:14:42 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:90
Jul 05 09:14:42 azeroth /usr/lib/gdm-x-session[1094]: (II) systemd-logind: got resume for 13:65
journalctl -b -g suspend
journalctl -b -g suspend
Jul 05 09:18:09 azeroth kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64 root=UUID=5190e973-986c-4073-bc84-b61d3e4d0c7d rw quiet splash apparmor=1 security=apparmor udev.log_priority=3 usbcore.autosuspend=-1
Jul 05 09:18:09 azeroth kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64 root=UUID=5190e973-986c-4073-bc84-b61d3e4d0c7d rw quiet splash apparmor=1 security=apparmor udev.log_priority=3 usbcore.autosuspend=-1
Jul 05 09:18:18 azeroth /usr/lib/gdm-x-session[1130]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64 root=UUID=5190e973-986c-4073-bc84-b61d3e4d0c7d rw quiet splash apparmor=1 security=apparmor udev.log_priority=3 usbcore.autosuspend=-1
Jul 05 09:54:49 azeroth systemd-logind[901]: The system will suspend now!
Jul 05 09:54:49 azeroth ModemManager[961]: <msg> [sleep-monitor-systemd] system is about to suspend
Jul 05 09:54:49 azeroth systemd[1]: Starting System Suspend...
Jul 05 09:54:49 azeroth systemd-sleep[6894]: in suspend-then-hibernate operations or setups with encrypted home directories.
Jul 05 09:54:49 azeroth systemd-sleep[6894]: Performing sleep operation 'suspend'...
Jul 05 09:54:49 azeroth kernel: PM: suspend entry (deep)
Jul 05 09:54:55 azeroth kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 05 09:54:55 azeroth kernel: PM: suspend exit
Jul 05 09:54:55 azeroth systemd-sleep[6894]: System returned from sleep operation 'suspend'.
Jul 05 09:54:55 azeroth systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 05 09:54:55 azeroth systemd[1]: Finished System Suspend.
Jul 05 09:54:55 azeroth systemd[1]: Reached target Suspend.
Jul 05 09:54:55 azeroth systemd[1]: Stopped target Suspend.
Jul 05 09:54:56 azeroth systemd-logind[901]: Operation 'suspend' finished.
I am not sure what is causing this, but I would love to fix it.
Would love a bit support on figuring out the actual cause.
Thank you all for your support!