Laptop not completing suspend, cannot restore

Another day, another Lenovo Legion post

  • No encrypted disks
  • No dual boot
  • systemd-boot + dracut
  • the system goes to sleep after 30 minutes when not using it (around 17:30 in the logs)
  • the screen goes black, fans do not slow down and maybe they even go faster
  • the system cannot be “awakened” anymore, a power cycle is needed
  • it happens 100% of the times if I leave it alone long enough, does not seem to happen after the first suspend

system info

inxi -FAZ --no-host

System:
  Kernel: 7.1.3-arch1-2 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.7.2 Distro: EndeavourOS
Machine:
  Type: Laptop System: LENOVO product: 82RG v: Legion 5 Pro 16ARH7H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    Firmware: UEFI vendor: LENOVO v: JUCN65WW date: 04/29/2024
Battery:
  ID-1: BAT0 charge: 70.1 Wh (99%) condition: 70.8/80 Wh (88.5%)
CPU:
  Info: 8-core model: AMD Ryzen 9 6900HX with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1100 min/max: 416/4937 cores: 1: 1100 2: 1100 3: 1100
    4: 1100 5: 1100 6: 1100 7: 1100 8: 1100 9: 1100 10: 1100 11: 1100 12: 1100
    13: 1100 14: 1100 15: 1100 16: 1100
Graphics:
  Device-1: NVIDIA GA104M [Geforce RTX 3070 Ti Laptop GPU] driver: nvidia
    v: 610.43.03
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    driver: amdgpu v: kernel
  Device-3: Chicony Integrated Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
    compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting dri: radeonsi
    gpu: nv_platform,nvidia,nvidia-nvswitch resolution: 1: 3840x2160~60Hz
    2: 2560x1600
  API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: nvidia mesa v: 610.43.03
    renderer: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2
  API: Vulkan v: 1.4.350 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor
    driver: snd_pci_acp6x
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio
    driver: snd_hda_intel
  API: ALSA v: k7.1.3-arch1-2 status: kernel-api
  Server-1: PipeWire v: 1.6.7 status: active
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlan0 state: up mac: f0:a6:54:ab:88:59
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp4s0 state: down mac: 9c:2d:cd:74:95:f0
Bluetooth:
  Device-1: Foxconn / Hon Hai Bluetooth 5.2 Adapter [MediaTek MT7922]
    driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: F0:A6:54:AB:88:5A bt-v: 5.3
Drives:
  Local Storage: total: 3.64 TiB used: 2.19 TiB (60.1%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 2TB
    size: 1.82 TiB
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
    size: 1.82 TiB
Partition:
  ID-1: / size: 1.76 TiB used: 690 GiB (38.4%) fs: ext4 dev: /dev/nvme1n1p2
Swap:
  ID-1: swap-1 type: partition size: 33.59 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme1n1p3
Sensors:
  System Temperatures: cpu: 57.2 C mobo: 46.5 C gpu: amdgpu temp: 48.0 C
  Fan Speeds (rpm): fan-1: 0 fan-2: 0
Info:
  Memory: total: 32 GiB note: est. available: 30.53 GiB used: 4.36 GiB (14.3%)
  Processes: 365 Uptime: 6m Shell: Zsh inxi: 3.3.41

nvidia info

sort /proc/driver/nvidia/params

CoherentGPUMemoryMode: "numa"
CreateImexChannel0: 0
DeviceFileGID: 0
DeviceFileMode: 438
DeviceFileUID: 0
DmaRemapPeerMmio: 1
DynamicPowerManagement: 3
DynamicPowerManagementVideoMemoryThreshold: 200
EnableDbgBreakpoint: 0
EnableDebuggerInterface: 0
EnableGpuFirmware: 18
EnableGpuFirmwareLogs: 2
EnableMSI: 1
EnablePCIeGen3: 0
EnablePCIERelaxedOrderingMode: 0
EnableResizableBar: 0
EnableS0ixPowerManagement: 0
EnableStreamMemOPs: 0
EnableSystemMemoryPools: 529
EnableUserNUMAManagement: 1
ExcludedGpus: ""
GpuBlacklist: ""
IgnoreMMIOCheck: 0
ImexChannelCount: 2048
InitializeSystemMemoryAllocations: 1
KMallocHeapMaxSize: 0
MemoryPoolSize: 0
ModifyDeviceFiles: 1
NvLinkDisable: 0
OpenRmEnableUnsupportedGpus: 1
OsEnableCxlSupport: 1
PreserveVideoMemoryAllocations: 2
RegisterPCIDriver: 1
RegistryDwords: ""
RegistryDwordsPerDevice: ""
ResmanDebugLevel: 4294967295
RmLogonRC: 1
RmMsg: ""
RmNvlinkBandwidthLinkCount: 0
RmProfilingAdminOnly: 1
S0ixPowerManagementVideoMemoryThreshold: 256
TegraGpuPgMask: 0
TemporaryFilePath: "/var/tmp"
UseKernelSuspendNotifiers: 1
VMallocHeapMaxSize: 0

nvidia-smi

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 610.43.03              KMD Version: 610.43.03     CUDA UMD Version: 13.3     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   46C    P8             11W /  115W |    1048MiB /   8192MiB |      7%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

logs

sudo journalctl --list-boots

   IDX  BOOT ID                          FIRST ENTRY                  LAST ENTRY  
   # crashed boot
  -1 b28213ce835441ceb2a5990367c833ce Fri 2026-07-03 10:29:44 CEST Fri 2026-07-03 18:27:07 CEST
  # current boot
   0 554af76c4f424d3fabe18c089d4c0a46 Fri 2026-07-03 18:28:20 CEST Fri 2026-07-03 19:11:01 CEST

sudo journalctl --no-pager --no-hostname -u systemd-hibernate-resume.service

-- Boot b28213ce835441ceb2a5990367c833ce --
lug 03 10:29:46 systemd[1]: Starting Resume from hibernation...
lug 03 10:29:46 systemd-hibernate-resume[391]: Unable to resume from device '/dev/disk/by-uuid/247dbc12-1b9a-4444-bd44-3f07d6650325' (259:3) offset 0, continuing boot process.
lug 03 10:29:46 systemd[1]: systemd-hibernate-resume.service: Deactivated successfully.
lug 03 10:29:46 systemd[1]: Finished Resume from hibernation.
-- Boot 554af76c4f424d3fabe18c089d4c0a46 --
lug 03 18:28:21 systemd[1]: Starting Resume from hibernation...
lug 03 18:28:21 systemd-hibernate-resume[407]: Unable to resume from device '/dev/disk/by-uuid/247dbc12-1b9a-4444-bd44-3f07d6650325' (259:3) offset 0, continuing boot process.
lug 03 18:28:21 systemd[1]: systemd-hibernate-resume.service: Deactivated successfully.
lug 03 18:28:21 systemd[1]: Finished Resume from hibernation.

That uuid is the swap partition:

lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
# main ssd
nvme0n1     259:0    0   1,8T  0 disk 
├─nvme0n1p1 259:1    0     2G  0 part /efi
├─nvme0n1p2 259:2    0   1,8T  0 part /
└─nvme0n1p3 259:3    0  33,6G  0 part [SWAP]
# secondary ssd
nvme1n1     259:4    0   1,8T  0 disk 
└─nvme1n1p1 259:5    0   1,8T  0 part /run/media/user

sudo journalctl --no-pager --no-hostname -b -1 -u systemd-logind.service

# this was a working suspend (I don't remember doing a power cycle)
lug 03 12:09:31 systemd-logind[809]: suspend requested from client PID 1411 ('org_kde_powerde') (unit user@1000.service)...
lug 03 12:09:31 systemd-logind[809]: The system will suspend now!
# 15 minutes to complete the suspend?
lug 03 12:23:16 systemd-logind[809]: Operation 'suspend' finished.
...
# left the pc around 16:50, this is the start of the broken suspend
lug 03 17:23:43 systemd-logind[809]: suspend requested from client PID 1411 ('org_kde_powerde') (unit user@1000.service)...
lug 03 17:23:43 systemd-logind[809]: The system will suspend now!
lug 03 17:26:34 systemd[1]: systemd-logind.service: Watchdog timeout (limit 3min)!
lug 03 17:26:34 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGABRT.
lug 03 17:28:04 systemd[1]: systemd-logind.service: State 'stop-watchdog' timed out. Killing.
lug 03 17:28:04 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.
lug 03 17:29:34 systemd[1]: systemd-logind.service: Processes still around after SIGKILL. Ignoring.
lug 03 17:31:04 systemd[1]: systemd-logind.service: State 'final-sigterm' timed out. Killing.
lug 03 17:31:04 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Processes still around after final SIGKILL. Entering failed mode.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Failed with result 'watchdog'.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Unit process 809 (systemd-logind) remains running after unit stopped.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Consumed 1.400s CPU time over 6h 49min 8.625s wall clock time, 7.5M memory peak.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 1.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Found left-over process 809 (systemd-logind) in control group while starting unit. Ignoring.
lug 03 17:32:35 systemd[1]: systemd-logind.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
lug 03 17:32:35 systemd[1]: Starting User Login Management...
lug 03 17:32:35 systemd-logind[105003]: New seat seat0.
lug 03 17:34:05 systemd[1]: systemd-logind.service: start operation timed out. Terminating.
lug 03 17:35:35 systemd[1]: systemd-logind.service: State 'stop-sigterm' timed out. Killing.
lug 03 17:35:35 systemd[1]: systemd-logind.service: Killing process 105003 (systemd-logind) with signal SIGKILL.
lug 03 17:35:35 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.
lug 03 17:37:05 systemd[1]: systemd-logind.service: Processes still around after SIGKILL. Ignoring.
lug 03 17:38:36 systemd[1]: systemd-logind.service: State 'final-sigterm' timed out. Killing.
lug 03 17:38:36 systemd[1]: systemd-logind.service: Killing process 105003 (systemd-logind) with signal SIGKILL.
lug 03 17:38:36 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Processes still around after final SIGKILL. Entering failed mode.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Failed with result 'timeout'.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Unit process 809 (systemd-logind) remains running after unit stopped.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Unit process 105003 (systemd-logind) remains running after unit stopped.
lug 03 17:40:06 systemd[1]: Failed to start User Login Management.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 2.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Found left-over process 809 (systemd-logind) in control group while starting unit. Ignoring.
lug 03 17:40:06 systemd[1]: systemd-logind.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
lug 03 17:40:06 systemd[1]: systemd-logind.service: Found left-over process 105003 (systemd-logind) in control group while starting unit. Ignoring.
lug 03 17:40:06 systemd[1]: systemd-logind.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
lug 03 17:40:06 systemd[1]: Starting User Login Management...
lug 03 17:40:06 systemd-logind[106098]: New seat seat0.
...
lug 03 18:25:12 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 8.
...
lug 03 18:25:12 systemd[1]: Starting User Login Management...
lug 03 18:25:12 systemd-logind[112298]: New seat seat0.
lug 03 18:26:42 systemd[1]: systemd-logind.service: start operation timed out. Terminating.

sudo journalctl -k -b -1 --no-pager --no-hostname (dmesg)

lug 03 12:09:32 kernel: PM: suspend entry (s2idle)
lug 03 12:09:32 kernel: Filesystems sync: 0.018 seconds
lug 03 12:23:13 kernel: Freezing user space processes
lug 03 12:23:13 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
lug 03 12:23:13 kernel: OOM killer disabled.
lug 03 12:23:13 kernel: Freezing remaining freezable tasks
lug 03 12:23:13 kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
lug 03 12:23:13 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
lug 03 12:23:13 kernel: queueing ieee80211 work while going to suspend
lug 03 12:23:13 kernel: pcieport 0000:00:08.3: quirk: disabling D3cold for suspend
lug 03 12:23:13 kernel: ACPI: EC: interrupt blocked
lug 03 12:23:13 kernel: ACPI: EC: interrupt unblocked
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: SMU is resuming...
lug 03 12:23:13 kernel: nvme nvme1: D3 entry latency set to 8 seconds
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: SMU is resumed successfully!
lug 03 12:23:13 kernel: ------------[ cut here ]------------
lug 03 12:23:13 kernel: !(link->link_enc)
lug 03 12:23:13 kernel: WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_hpd.c:74 at program_hpd_filter+0x7d/0x90 [amdgpu], CPU#11: kworker/u64:58/20671
...
# crashing suspend, I can see some nvidia in the stacktrace
lug 03 17:23:43 kernel: PM: suspend entry (s2idle)
lug 03 17:23:43 kernel: Filesystems sync: 0.018 seconds
lug 03 17:26:42 kernel: INFO: task systemd-logind:809 blocked for more than 122 seconds.
lug 03 17:26:42 kernel:       Tainted: G        W  OE       7.0.14-arch1-1 #1
lug 03 17:26:42 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
lug 03 17:26:42 kernel: task:systemd-logind  state:D stack:0     pid:809   tgid:809   ppid:1      task_flags:0x400100 flags:0x00080802
lug 03 17:26:42 kernel: Call Trace:
lug 03 17:26:42 kernel:  <TASK>
lug 03 17:26:42 kernel:  __schedule+0x453/0x1730
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  schedule+0x27/0xd0
lug 03 17:26:42 kernel:  schedule_timeout+0xdc/0x120
lug 03 17:26:42 kernel:  __down_common+0xeb/0x2d0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  down+0x53/0x70
lug 03 17:26:42 kernel:  console_lock+0x2f/0x50
lug 03 17:26:42 kernel:  rm_transition_dynamic_power+0xf5/0x18a [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? pci_bus_read_config_word+0x50/0xa0
lug 03 17:26:42 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
lug 03 17:26:42 kernel:  nvidia_transition_dynamic_power.isra.0+0x6d/0x120 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  nv_pmops_runtime_resume+0x26/0x70 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
lug 03 17:26:42 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
lug 03 17:26:42 kernel:  __rpm_callback+0x57/0x210
lug 03 17:26:42 kernel:  ? portSyncSpinlockAcquire+0x18/0x30 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
lug 03 17:26:42 kernel:  ? __update_runtime_status+0xa2/0xe0
lug 03 17:26:42 kernel:  rpm_callback+0x6d/0x80
lug 03 17:26:42 kernel:  rpm_resume+0x528/0x760
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? os_acquire_spinlock+0x12/0x30 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  __pm_runtime_resume+0x52/0x90
lug 03 17:26:42 kernel:  pci_device_shutdown+0x24/0x80
lug 03 17:26:42 kernel:  ? __pfx_pci_device_shutdown+0x10/0x10
lug 03 17:26:42 kernel:  nv_indicate_not_idle+0x2e/0x40 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  os_ref_dynamic_power+0x156/0x230 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  rmapiPrologue+0x9c/0x1f0 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  _rmapiRmControl+0x37a/0xa10 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  rmapiControlWithSecInfo+0x79/0x140 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  rmapiControlWithSecInfoTls+0x76/0xe0 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  _nv04ControlWithSecInfo.constprop.0+0x84/0x90 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? cpu_util+0x73/0xe0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? update_sd_lb_stats.constprop.0+0x19b/0xaa0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? sched_use_asym_prio.isra.0+0x6a/0xa0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? cpu_util+0x73/0xe0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? update_sd_lb_stats.constprop.0+0x19b/0xaa0
lug 03 17:26:42 kernel:  Nv04ControlKernel+0x60/0x70 [nvidia 5d5c1df23c02497a23659c49b065f866d3cb9283]
lug 03 17:26:42 kernel:  nvkms_call_rm+0x4c/0x80 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  nvRmApiControl+0x6e/0x80 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  nvRmSetGc6Allowed+0x85/0x180 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  nvSetDispModeEvo+0x40d/0x4260 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? vmap_small_pages_range_noflush+0x398/0x690
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? __vmalloc_node_range_noprof+0x471/0xa10
lug 03 17:26:42 kernel:  ? nvkms_alloc+0x94/0xa0 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  nvKmsIoctl+0x123/0x300 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  ? down+0x1e/0x70
lug 03 17:26:42 kernel:  nvkms_ioctl_from_kapi_try_pmlock+0x60/0xa0 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  ApplyModeSetConfig+0x169/0xda0 [nvidia_modeset 06b42e06b07647719e2d3492b9facdd827a207c5]
lug 03 17:26:42 kernel:  nv_drm_atomic_apply_modeset_config+0x7b0/0x890 [nvidia_drm 27ae8b6462fe75671b60203127717761bdfe8c4d]
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? drm_mode_to_nvkms_display_mode+0x16/0x140 [nvidia_drm 27ae8b6462fe75671b60203127717761bdfe8c4d]
lug 03 17:26:42 kernel:  ? nv_drm_crtc_atomic_check+0x4a6/0x8a0 [nvidia_drm 27ae8b6462fe75671b60203127717761bdfe8c4d]
lug 03 17:26:42 kernel:  ? nv_drm_plane_atomic_check+0x109/0x5a0 [nvidia_drm 27ae8b6462fe75671b60203127717761bdfe8c4d]
lug 03 17:26:42 kernel:  drm_atomic_check_only+0x5c4/0x9f0
lug 03 17:26:42 kernel:  drm_atomic_commit+0x71/0xe0
lug 03 17:26:42 kernel:  ? __pfx___drm_printfn_info+0x10/0x10
lug 03 17:26:42 kernel:  drm_client_modeset_commit_atomic+0x25f/0x2d0
lug 03 17:26:42 kernel:  drm_client_modeset_commit_locked+0x5a/0x170
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? drm_master_internal_acquire+0x1d/0x40
lug 03 17:26:42 kernel:  drm_client_modeset_commit+0x25/0x40
lug 03 17:26:42 kernel:  __drm_fb_helper_restore_fbdev_mode_unlocked.part.0+0x92/0xa0
lug 03 17:26:42 kernel:  drm_fb_helper_set_par+0x55/0x70
lug 03 17:26:42 kernel:  fb_set_var+0x2cf/0x5c0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? update_cfs_rq_load_avg+0x1a/0x240
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? psi_group_change+0x11f/0x2f0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? pick_eevdf+0x87/0x190
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? wakeup_preempt_fair+0x488/0x4b0
lug 03 17:26:42 kernel:  fbcon_switch+0x2c1/0x640
lug 03 17:26:42 kernel:  redraw_screen+0x10b/0x2b0
lug 03 17:26:42 kernel:  complete_change_console+0x3a/0x120
lug 03 17:26:42 kernel:  vt_ioctl+0x1409/0x14c0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? tty_mode_ioctl+0x6df/0x760
lug 03 17:26:42 kernel:  tty_ioctl+0xe4/0xa40
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? __seccomp_filter+0x86/0x6e0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  __x64_sys_ioctl+0xb9/0x100
lug 03 17:26:42 kernel:  do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? evdev_ioctl+0x5f/0x90
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? __x64_sys_ioctl+0xb9/0x100
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? do_syscall_64+0x119/0x1640
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  ? irqentry_exit+0x34f/0x7a0
lug 03 17:26:42 kernel:  ? exc_page_fault+0x90/0x1f0
lug 03 17:26:42 kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
lug 03 17:26:42 kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
lug 03 17:26:42 kernel: RIP: 0033:0x7fbbc9d17b9d
lug 03 17:26:42 kernel: RSP: 002b:00007fff675b3750 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
lug 03 17:26:42 kernel: RAX: ffffffffffffffda RBX: 000000000000001d RCX: 00007fbbc9d17b9d
lug 03 17:26:42 kernel: RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000001d
lug 03 17:26:42 kernel: RBP: 00007fff675b37a0 R08: 000055ce82c46090 R09: 0000000000000330
lug 03 17:26:42 kernel: R10: 0000000000000331 R11: 0000000000000246 R12: 000055ce82c480e0
lug 03 17:26:42 kernel: R13: 0000000000000006 R14: 0000000000000000 R15: 000055ce82c480e0
lug 03 17:26:42 kernel:  </TASK>
# now it's just a list of other things getting locked by systemd-logind
lug 03 17:26:42 kernel: INFO: task systemd-logind:809 blocked on a semaphore likely last held by task systemd-logind:809
lug 03 17:26:42 kernel: INFO: task github-desktop:6783 blocked for more than 122 seconds.
lug 03 17:26:42 kernel:       Tainted: G        W  OE       7.0.14-arch1-1 #1
lug 03 17:26:42 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
...
lug 03 17:26:42 kernel: INFO: task teamviewerd:15873 blocked on a semaphore likely last held by task systemd-logind:809
...
lug 03 17:28:45 kernel: INFO: task systemd-logind:809 blocked for more than 245 seconds.

sudo journalctl -b -1 -e --no-pager --no-hostname

lug 03 17:31:04 systemd[1]: systemd-logind.service: State 'final-sigterm' timed out. Killing.
lug 03 17:31:04 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.
# lot of these errors
lug 03 17:31:26 protonmail-bridge[1573]: WARN[Jul  3 17:31:26.174] Get "https://mail-api.proton.me/tests/ping": dial tcp: lookup mail-api.proton.me: Temporary failure in name resolution, Attempt 1  pkg=gpa/client
...
lug 03 17:32:35 systemd[1]: systemd-logind.service: Processes still around after final SIGKILL. Entering failed mode.
# possible watchdog restart issue?
lug 03 17:32:35 systemd[1]: systemd-logind.service: Failed with result 'watchdog'.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Unit process 809 (systemd-logind) remains running after unit stopped.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Consumed 1.400s CPU time over 6h 49min 8.625s wall clock time, 7.5M memory peak.
lug 03 17:32:35 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter is at 1.
lug 03 17:32:35 systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm
lug 03 17:32:35 systemd[1]: systemd-logind.service: Found left-over process 809 (systemd-logind) in control group while starting unit. Ignoring.
lug 03 17:32:35 systemd[1]: systemd-logind.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
lug 03 17:32:35 systemd[1]: Starting User Login Management...
lug 03 17:32:35 systemd-logind[105003]: New seat seat0.
...
lug 03 17:34:05 systemd[1]: systemd-logind.service: start operation timed out. Terminating.
...
lug 03 17:35:35 systemd[1]: systemd-logind.service: State 'stop-sigterm' timed out. Killing.
lug 03 17:35:35 systemd[1]: systemd-logind.service: Killing process 105003 (systemd-logind) with signal SIGKILL.
lug 03 17:35:35 systemd[1]: systemd-logind.service: Killing process 809 (systemd-logind) with signal SIGKILL.

Since the sleep taking 15 minutes was strange, I’m checking the full journal around that time:

# i2c issues, are they used to control the fans?
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.018998] Udev event detected
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085] Udev_Event_Detail
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_subsystem:  i2c-dev
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_action:     change
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_connector:  (null)
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_devname:    /dev/i2c-4
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_devmode:    (null)
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_hotplug:    (null)
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_major:      89
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    prop_minor:      4
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    sysname:         i2c-4
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    syspath:         /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/i2c-4/i2c-dev/i2c-4
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019085]    attr_name:       NVIDIA i2c adapter 5 at 1:00.0
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.019126] (dw_watch_display_connections) Time since last return from sleep = 5961960022683 ns = 5961960 ms
lug 03 12:09:33 kwin_wayland[1190]: Failed to open drm node: "/dev/dri/card0"
lug 03 12:09:33 kded6[1322]: No object for name "alsa_input.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 kded6[1322]: No object for name "alsa_output.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 kded6[1322]: No object for name "alsa_input.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 kded6[1322]: No object for name "@DEFAULT_SINK@"
lug 03 12:09:33 kded6[1322]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:33 plasmashell[1333]: No object for name "alsa_input.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 plasmashell[1333]: No object for name "alsa_output.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 plasmashell[1333]: No object for name "alsa_input.pci-0000_35_00.6.analog-stereo"
lug 03 12:09:33 plasmashell[1333]: No object for name "@DEFAULT_SINK@"
lug 03 12:09:33 plasmashell[1333]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:33 kded6[1322]: No object for name "@DEFAULT_SINK@"
lug 03 12:09:33 kded6[1322]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:33 plasmashell[1333]: No object for name "@DEFAULT_SINK@"
lug 03 12:09:33 plasmashell[1333]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032046] Open failed for /dev/i2c-1, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032057] Traced function stack 0x7fcf50000df0 for current thread [  8224]
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032061]    dw_watch_display_connections
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032063]    invoke_process_screen_change_event
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032065]    process_screen_change_event
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032067]    i2c_edid_exists
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032070]    i2c_open_bus
lug 03 12:09:33 org_kde_powerdevil[1411]: [  8224][5960.032072]    i2c_open_bus_basic
lug 03 12:09:33 plasmashell[1333]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:33 kded6[1322]: No object for name "@DEFAULT_SOURCE@"
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Open failed for /dev/i2c-1, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Elapsed time since start of program execution: 5960.032074 seconds
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Time since last resume from sleep: 5961.972 seconds = 5961973 millisec (5961972971956nanosec)
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    recently_returned_from_sleep() returned false
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     uid: 1000=user, euid: 1000=user, gid: 1000=user, egid: 1000=user
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Checking for group i2c...
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Group i2c exists
# could add the user to the group
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    WARNING: Current user user is NOT a member of group i2c
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Permissions for /dev/i2c-1:
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     file owner: 0=root, file group: 970=i2c
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    access(/dev/i2c-1) failed, errno=13
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    faccessat(0,/dev/i2c-1,R_OK|W_OK, AT_EADCESS) failed, errno=13
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Using command getfacl:
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    getfacl: Removing leading '/' from absolute path names
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    # file: dev/i2c-1
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    # owner: root
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    # group: i2c
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    user::rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    group::rw-        #effective:rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    mask::rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    other::---
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Using acl api:
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     user::rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     group::rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     mask::rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]     other::---
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    Using low level acl api:
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    ACL entries for /dev/i2c-1:
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]       user:: rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]       group:: rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]       mask:: rw-
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]       other:: ---
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    No open conflicts found for /dev/i2c-1
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224]    acl for user 1000: (null)
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.325068] open() EACCES failure, recently resumed from sleep: false
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.325077] User ACL is not RW
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.326344] Current user not in group i2c
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.326350] Current user has group i2c perms on /dev/i2c-1
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.326353] EACCES retry_ct=1: Sleeping for 100 milliseconds
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.426464] Open failed for /dev/i2c-1, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.426483] open() failed with 1 EACCES errors, total retry ms = 100
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427427] Open failed for /dev/i2c-2, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427434] Traced function stack 0x7fcf50000df0 for current thread [  8224]
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427438]    dw_watch_display_connections
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427440]    invoke_process_screen_change_event
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427443]    process_screen_change_event
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427446]    i2c_edid_exists
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427448]    i2c_open_bus
lug 03 12:09:34 org_kde_powerdevil[1411]: [  8224][5960.427450]    i2c_open_bus_basic
...
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.892546] open() EACCES failure, recently resumed from sleep: false
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.892554] User ACL is not RW
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.894211] Current user not in group i2c
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.894218] Current user has group i2c perms on /dev/i2c-5
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.894223] EACCES retry_ct=1: Sleeping for 100 milliseconds
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.994316] Open failed for /dev/i2c-5, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.994325] open() failed with 1 EACCES errors, total retry ms = 100
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995397] Open failed for /dev/i2c-9, errno=EACCES(-13): Permission denied in file i2c_bus_core.c near line 433
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995404] Traced function stack 0x7fcf50000df0 for current thread [  8224]
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995409]    dw_watch_display_connections
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995412]    invoke_process_screen_change_event
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995415]    process_screen_change_event
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995418]    i2c_edid_exists
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995420]    i2c_open_bus
lug 03 12:09:35 org_kde_powerdevil[1411]: [  8224][5961.995424]    i2c_open_bus_basic
# jump in time, no logs in the middle
lug 03 12:23:13 kernel: Freezing user space processes
lug 03 12:23:13 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
lug 03 12:23:13 kernel: OOM killer disabled.
lug 03 12:23:13 kernel: Freezing remaining freezable tasks
lug 03 12:23:13 kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
lug 03 12:23:13 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
lug 03 12:23:13 kernel: queueing ieee80211 work while going to suspend
lug 03 12:23:13 kernel: pcieport 0000:00:08.3: quirk: disabling D3cold for suspend
lug 03 12:23:13 kernel: ACPI: EC: interrupt blocked
lug 03 12:23:13 kernel: ACPI: EC: interrupt unblocked
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: SMU is resuming...
lug 03 12:23:13 kernel: nvme nvme1: D3 entry latency set to 8 seconds
lug 03 12:23:13 kernel: amdgpu 0000:35:00.0: SMU is resumed successfully!
lug 03 12:23:13 kernel: ------------[ cut here ]------------
lug 03 12:23:13 kernel: !(link->link_enc)
lug 03 12:23:13 kernel: WARNING: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_hpd.c:74 at program_hpd_filter+0x7d/0x90 [amdgpu], CPU#11: kworker/u64:58/20671
lug 03 12:23:13 kernel: 
...

I added the user to the i2c group and now there’s less logs about that but it still breaks, also maybe the fans are running less while the suspend is locked.

various config

cat /etc/dracut.conf.d/resume.conf

add_dracutmodules+=" resume "
install_items+=" /usr/lib/systemd/system/systemd-hibernate-resume.service "

I added install_items+=" /usr/lib/systemd/system/systemd-hibernate-resume.service " looking at some posts, but it didn’t work

cat /sys/power/mem_sleep

[s2idle]

cat /proc/cmdline

initrd=\88a8ae15471449b18a17530b0c3cc6f7\7.1.3-arch1-2\initrd nvme_load=YES nowatchdog rw root=UUID=1d56cfbc-daee-48e6-9961-d7966fffdffd resume=UUID=247dbc12-1b9a-4444-bd44-3f07d6650325 nvidia_drm.modeset=1 systemd.machine_id=88a8ae15471449b18a17530b0c3cc6f7

Notes

Running sudo systemctl start suspend.target correctly suspend and allow me to restore the state, I may try to set the suspend before the screen lock

I’ve got an Acer Aspire E5-576G laptop that I’ve had for about 8-9 years. And still to this day, no distro has ever given me reliable and stable suspend. Sometimes it works. Sometimes it doesn’t. It’s been so frustrating using suspend that I’ve just resorted to never using it. I know that’s not a solution, but if this thread could help us I’d be interested. But I don’t know if it’s even a fixable problem for me. I’d like to use suspend all the time, but I can’t if when I use it I end up with a black screen I can’t wake up or escape from.

as someone who disables all suspend and screensavers I must say all the voices who cry ‘but diminished screen quality’ and ‘burned out pixels’ and all this ‘conventional wisdom’…well I’ve never seen it ever. I’ve been disabling this stuff for years. I’ve seen no evidence for these claims.

By the same token I don’t keep them on 24/7. Computers sleep when I sleep.

Like you said: Linux doesn’t do that stuff very well

Like you also said: this doesn’t solve OP’s problem

I think your idea is great

Suspend used to work good some time ago (99% of the times), this is “new” behaviour.

In this case I think there’s a bug when suspending systemd-logind.service, from these links it seems to be a known problem, basically the watchdog assumes the clock is stopped when suspending, for some reason the clock advances and the watchdog restarts stuff

Some people had this bug where the watchdog got triggered because it did not receive “pings” from programs even with the system running (some kind of resource starvation)

Systemd people say this is a kernel bug

Possible info for a fix

Hi @Viera ,
This is my testbed.
\

<file system>             <mount point>  <type>  <options>  <dump>  <pass> 
UUID=B917-C9C1                            /efi           vfat    fmask=0137,dmask=0027 0 2 
UUID=ec53e944-22a5-46a0-9732-cad67c8041c9 swap           swap    defaults   0 0 
UUID=162c2fc0-77fc-4346-b9cc-0c5c8c42efa6 /              ext4    noatime    0 1
sudo nano /etc/dracut.conf.d/resume.conf                                      
add_dracutmodules+=" resume "
install_items+=" /usr/lib/systemd/system/systemd-hibernate-resume.service "

–
sudo blkid | grep swap

check loader entries if resume=UUID= are present

my Lenovo Keyboard needs this below see Keyboard summary
https://forum.endeavouros.com/t/about-immutable-and-atomic-systems/79170

sudo dracut -f --regenerate-all

testing suspend and hibernate

journalctl -b 0 | grep -E "hibernate|resume|suspend"
júl 13 17:03:57 a-83k7 kernel: Command line: initrd=\1ccc26640483427290f4109fccd228b9\6.18.38-2-lts\initrd nvme_load=YES nowatchdog rw root=UUID=162c2fc0-77fc-4346-b9cc-0c5c8c42efa6 resume=UUID=ec53e944-22a5-46a0-9732-cad67c8041c9 systemd.machine_id=1ccc26640483427290f4109fccd228b9
júl 13 17:03:57 a-83k7 kernel: Kernel command line: initrd=\1ccc26640483427290f4109fccd228b9\6.18.38-2-lts\initrd nvme_load=YES nowatchdog rw root=UUID=162c2fc0-77fc-4346-b9cc-0c5c8c42efa6 resume=UUID=ec53e944-22a5-46a0-9732-cad67c8041c9 systemd.machine_id=1ccc26640483427290f4109fccd228b9
júl 13 17:03:57 a-83k7 kernel: Low-power S0 idle used by default for system suspend
júl 13 17:03:57 a-83k7 dracut-cmdline[221]: Using kernel command line parameters:  rd.driver.pre=amdgpu resume=UUID=ec53e944-22a5-46a0-9732-cad67c8041c9 root=UUID=162c2fc0-77fc-4346-b9cc-0c5c8c42efa6 rootfstype=ext4 rootflags=rw,noatime   initrd=\1ccc26640483427290f4109fccd228b9\6.18.38-2-lts\initrd nvme_load=YES nowatchdog rw root=UUID=162c2fc0-77fc-4346-b9cc-0c5c8c42efa6 resume=UUID=ec53e944-22a5-46a0-9732-cad67c8041c9 systemd.machine_id=1ccc26640483427290f4109fccd228b9
júl 13 17:04:00 a-83k7 kernel: nvme 0000:01:00.0: platform quirk: setting simple suspend
júl 13 17:04:00 a-83k7 systemd-hibernate-resume[416]: Unable to resume from device '/dev/disk/by-uuid/ec53e944-22a5-46a0-9732-cad67c8041c9' (8:3) offset 0, continuing boot process.
júl 13 17:04:00 a-83k7 systemd[1]: systemd-hibernate-resume.service: Deactivated successfully.
júl 13 17:04:06 a-83k7 rtkit-daemon[859]: Handling system-suspend using logind.
júl 13 17:05:19 a-83k7 sudo[1826]:        a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=/usr/bin/systemctl suspend
júl 13 17:05:19 a-83k7 systemd-logind[669]: suspend requested from client PID 1831 ('systemctl') (unit user@1000.service)...
júl 13 17:05:19 a-83k7 systemd-logind[669]: The system will suspend now!
júl 13 17:05:20 a-83k7 systemd-sleep[1904]: Going to suspend...
júl 13 17:05:20 a-83k7 systemd-sleep[1902]: Performing sleep operation 'suspend'...
júl 13 17:05:20 a-83k7 kernel: PM: suspend entry (s2idle)
júl 13 17:05:28 a-83k7 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
júl 13 17:05:28 a-83k7 kernel: queueing ieee80211 work while going to suspend
júl 13 17:05:28 a-83k7 kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
júl 13 17:05:28 a-83k7 systemd-sleep[1902]: System returned from sleep operation 'suspend'.
júl 13 17:05:28 a-83k7 kernel: PM: suspend exit
júl 13 17:05:28 a-83k7 systemd-sleep[1969]: Waking up from suspend...
júl 13 17:05:28 a-83k7 systemd[1]: systemd-suspend.service: Deactivated successfully.
júl 13 17:05:28 a-83k7 systemd-logind[669]: Operation 'suspend' finished.
júl 13 17:05:28 a-83k7 org_kde_powerdevil[1276]: [  1330][ 75.653669] (ldbus_handle_message)Received dbus signal PrepareForSleep(false=resume)
júl 13 17:05:28 a-83k7 org_kde_powerdevil[1276]: [  1467][ 76.237626] (recently_resumed_from_sleep_by_clocktime) Resume from sleep detected by BOOTTIME/MONOTONIC
júl 13 17:05:28 a-83k7 org_kde_powerdevil[1276]: [  1467][ 76.237632] (dw_watch_display_connections) Recently resumed from sleep detected
júl 13 17:06:59 a-83k7 sudo[2020]:        a : TTY=pts/1 ; PWD=/home/a ; USER=root ; COMMAND=/usr/bin/systemctl hibernate
júl 13 17:06:59 a-83k7 systemd-logind[669]: hibernate requested from client PID 2023 ('systemctl') (unit user@1000.service)...
júl 13 17:06:59 a-83k7 systemd-logind[669]: The system will hibernate now!
júl 13 17:07:00 a-83k7 systemd-sleep[2097]: Going to hibernate...
júl 13 17:07:00 a-83k7 systemd-sleep[2095]: Performing sleep operation 'hibernate'...
júl 13 17:07:53 a-83k7 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
júl 13 17:07:53 a-83k7 kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
júl 13 17:07:53 a-83k7 systemd-sleep[2095]: System returned from sleep operation 'hibernate'.
júl 13 17:07:53 a-83k7 systemd-sleep[2156]: Waking up from hibernate...
júl 13 17:07:53 a-83k7 org_kde_powerdevil[1276]: [  1467][221.211039] (recently_resumed_from_sleep_by_clocktime) Resume from sleep detected by BOOTTIME/MONOTONIC
júl 13 17:07:53 a-83k7 org_kde_powerdevil[1276]: [  1467][221.211047] (dw_watch_display_connections) Recently resumed from sleep detected
júl 13 17:07:53 a-83k7 systemd[1]: systemd-hibernate.service: Deactivated successfully.
júl 13 17:07:53 a-83k7 systemd[1]: systemd-hibernate.service: Consumed 1.087s CPU time over 6.093s wall clock time, 2M memory peak.
júl 13 17:07:53 a-83k7 systemd-logind[669]: Operation 'hibernate' finished.
júl 13 17:07:53 a-83k7 org_kde_powerdevil[1276]: [  1330][221.216638] (ldbus_handle_message)Received dbus signal PrepareForSleep(false=resume)
júl 13 17:07:55 a-83k7 org_kde_powerdevil[1276]: [  1467][222.633021] (recently_resumed_from_sleep_by_clocktime) Called within 5 sec of reset
júl 13 17:07:55 a-83k7 org_kde_powerdevil[1276]: [  1467][222.633026] (dw_watch_display_connections) Recently resumed from sleep detected

IDK the number of Murphy’s Law at first they seems to work and I may have overlooked sg.
Should NVIDIA cause the issue
sudo nano /etc/modprobe.d/nvidia-power.conf
options nvidia NVreg_EnableS0ixPowerManager=1

@eso I don’t understand if you have this problem or another one? The logs look good to me? I could also check the keyboard fix but from my logs it seems the culprit is another one

Also I cannot find the link with some info I posted before, but it was on https://utcc.utoronto.ca/~cks

This 30 minutes is the default setting in Power management. Check it there.
If it cann’t be awakedend by keyboard this fixed it for me:
/usr/lib/systemd/system-sleep/my-kb.sh

#!/bin/sh
case $1/$2 in
  pre/*)
    echo "Going to $2..."
    # Commands to run BEFORE suspend
    echo i8042 > /sys/bus/platform/drivers/i8042/unbind
    ;;
  post/*)
    echo "Waking up from $2..."
    # Commands to run AFTER resume
    echo i8042 > /sys/bus/platform/drivers/i8042/bind
    ;;
esac

As far I understand suspend/hibernate and resume are not working for you.
I’m good in these respect. @Lenovo Ideapad Slim3 15ARP10