Wakeup from hibernation works only sometimes

Hi,

For a long time I have had an issue that wakeup from Hibernation works only sometimes. I haven’t yet been able to figure out if it correlates with something like updates, but I surely know it has gotten worse lately.

To clarify, suspend (to RAM) works without issues. Also, unlike other people, when resume fails, I never get to a login/unlock screen - not even for a second.

If wakeup fails, all seems normal until the GRUB screen - after that, the screen goes dark but the LED stays green as if there still was a signal. Nothing else seems to happen until I power off/do a hard reboot via the PC’s reset button.

My system:

inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.10.70-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=a4cadd5c-5f85-426d-bb33-c39fcbbb1d70 rw quiet apparmor=1
security=apparmor resume=UUID=b8f505e7-2fa4-46c3-966c-85e854adabe9
udev.log_priority=3
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7A33 v: 2.0 serial: <filter>
Mobo: MSI model: X370 GAMING PRO (MS-7A33) v: 2.0 serial: <filter>
UEFI: American Megatrends v: 4.G0 date: 01/22/2019
Battery:
Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: Discharging
Memory:
RAM: total: 15.64 GiB used: 6.75 GiB (43.1%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 8-Core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP arch: Zen
family: 17 (23) model-id: 1 stepping: 1 microcode: 8001137 cache: L2: 4 MiB
bogomips: 96017
Speed: 2561 MHz min/max: 1550/3000 MHz boost: enabled Core speeds (MHz):
1: 2561 2: 2461 3: 1525 4: 1378 5: 1366 6: 1377 7: 1368 8: 1378 9: 1352
10: 1369 11: 1312 12: 1312 13: 1311 14: 1282 15: 1361 16: 1370
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca
mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl
npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca sme smep ssbd
sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext
tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave
xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: Micro-Star MSI
driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 26:00.0
chip-ID: 10de:1d01 class-ID: 0300
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver:
loaded: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 4480x1440 s-dpi: 93 s-size: 1224x385mm (48.2x15.2")
s-diag: 1283mm (50.5")
Monitor-1: DP-0.8 res: 2560x1440 hz: 60 dpi: 109
size: 597x336mm (23.5x13.2") diag: 685mm (27")
Monitor-2: DP-0.1 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
diag: 611mm (24.1")
OpenGL: renderer: NVIDIA GeForce GT 1030/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01
direct render: Yes
Audio:
Device-1: NVIDIA GP108 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 26:00.1 chip-ID: 10de:0fb8
class-ID: 0403
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 28:00.3 chip-ID: 1022:1457
class-ID: 0403
Sound Server-1: ALSA v: k5.10.70-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 21:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp33s0 state: down mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 6-2.4.1.2:6 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 1-9:2 chip-ID: 0a12:0001 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 3.42 TiB used: 852.78 GiB (24.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 3B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: HD103SJ size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: 0001 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Crucial model: CT256MX100SSD1
size: 238.47 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: MU03 scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: HD203WI size: 1.82 TiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD
rpm: 5400 serial: <filter> rev: 0003 scheme: MBR
Optical-1: /dev/sr0 vendor: HL-DT-ST model: BD-RE BH08LS20 rev: 2.00
dev-links: cdrom
Features: speed: 40 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / raw-size: 448.25 GiB size: 440.2 GiB (98.20%)
used: 205.32 GiB (46.6%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: a4cadd5c-5f85-426d-bb33-c39fcbbb1d70
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 25B0-9682
ID-3: /run/timeshift/backup raw-size: 931.51 GiB size: 915.89 GiB (98.32%)
used: 647.46 GiB (70.7%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17
label: Backup Linux uuid: 07b3ac14-41fe-4683-a2fb-8c3975d869f9
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.22 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3 label: N/A
uuid: b8f505e7-2fa4-46c3-966c-85e854adabe9
Unmounted:
ID-1: /dev/sdc1 maj-min: 8:33 size: 499 MiB fs: ntfs label: Recovery
uuid: C2C88B5EC88B4F99
ID-2: /dev/sdc2 maj-min: 8:34 size: 100 MiB fs: vfat label: N/A
uuid: F48F-D5F2
ID-3: /dev/sdc3 maj-min: 8:35 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-4: /dev/sdc4 maj-min: 8:36 size: 237.87 GiB fs: ntfs label: Windows 10
uuid: E23A94E53A94B7CD
ID-5: /dev/sdd1 maj-min: 8:49 size: 1.82 TiB fs: ntfs label: Backup Windows
uuid: 501ECBF81ECBD55E
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-9:2 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 0a12:0001 class-ID: e001
Device-2: 1-10:3 info: Genesys Logic Multislot Card Reader/Writer
type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0
speed: 480 Mb/s power: 500mA chip-ID: 05e3:0716 class-ID: 0806
serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-5: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-6: 5-2:2 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1
speed: 480 Mb/s power: 100mA chip-ID: 174c:2074 class-ID: 0900
Hub-7: 5-2.2:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0610 class-ID: 0900
Hub-8: 5-2.4:4 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 2109:2817 class-ID: 0900
Hub-9: 5-2.4.1:5 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 2109:2817 class-ID: 0900
Hub-10: 5-2.4.1.3:8 info: Genesys Logic Hub ports: 4 rev: 2.0
speed: 480 Mb/s power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 5-2.4.1.3.1:9 info: STMicro Solo 4.0.0 type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 0483:a2ca class-ID: 0300 serial: <filter>
Device-2: 5-2.4.1.3.2:10 info: Itron iONE Gaming keyboard type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 195d:2029 class-ID: 0300
Device-3: 5-2.4.1.3.3:11 info: Logitech Unifying Receiver
type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
rev: 2.0 speed: 12 Mb/s power: 98mA chip-ID: 046d:c52b class-ID: 0300
Device-4: 5-2.4.3:6 info: Fujitsu Siemens s USB 2.0 BILLBOARD
type: Billboard driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
power: 100mA chip-ID: 0bf8:103c class-ID: 1100 serial: <filter>
Device-5: 5-2.4.4:7 info: VIA Labs type: Keyboard driver: hid-generic,usbhid
interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 100mA chip-ID: 2109:8888
class-ID: 0301
Hub-11: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-12: 6-2:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0
speed: 5 Gb/s power: 8mA chip-ID: 174c:3074 class-ID: 0900
Hub-13: 6-2.2:3 info: Genesys Logic Hub ports: 4 rev: 3.1 speed: 5 Gb/s
chip-ID: 05e3:0612 class-ID: 0900
Hub-14: 6-2.4:4 info: VIA Labs USB3.0 Hub ports: 3 rev: 3.2 speed: 5 Gb/s
chip-ID: 2109:0817 class-ID: 0900
Hub-15: 6-2.4.1:5 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.2 speed: 5 Gb/s
chip-ID: 2109:0817 class-ID: 0900
Device-1: 6-2.4.1.2:6 info: Realtek RTL8153 Gigabit Ethernet Adapter
type: Network driver: r8152 interfaces: 1 rev: 3.0 speed: 5 Gb/s
power: 288mA chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
Sensors:
System Temperatures: cpu: 36.1 C mobo: N/A gpu: nvidia temp: 43 C
Fan Speeds (RPM): N/A
Info:
Processes: 428 Uptime: 1h 10m wakeups: 2 Init: systemd v: 249
tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 1826
pacman: 1810 lib: 503 flatpak: 0 snap: 16 Shell: Zsh v: 5.8
running-in: yakuake inxi: 3.3.07

I tried checking journalctl, but it seems like there is the last message from when I suspend, and then no entries until my next “fresh” boot. The wakeup from suspend seems to be totally missing:

Oct 17 10:29:47 nurunet-manjaro kded5[2702]: bluedevil: About to suspend
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7376] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Oct 17 10:29:47 nurunet-manjaro ModemManager[1391]: <info>  [sleep-monitor] system is about to suspend
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7377] device (enp33s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7453] device (08:00:00:B0:ED:FA): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7458] manager: NetworkManager state is now ASLEEP
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7462] device (eth0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Oct 17 10:29:47 nurunet-manjaro kded5[2702]: plasma-nm: Unhandled active connection state change:  3
Oct 17 10:29:47 nurunet-manjaro dbus-daemon[1115]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=1127 comm="/usr/bin/NetworkManager --no-daemon ")
Oct 17 10:29:47 nurunet-manjaro systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 17 10:29:47 nurunet-manjaro dbus-daemon[1115]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 17 10:29:47 nurunet-manjaro systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 17 10:29:47 nurunet-manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7673] device (eth0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Oct 17 10:29:47 nurunet-manjaro kernel: audit: type=1130 audit(1634459387.763:132): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Withdrawing address record for xxxx::xxxx:xxxx:xxxx:xxxx on eth0.
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Leaving mDNS multicast group on interface eth0.IPv6 with address xxxx::xxxx:xxxx:xxxx:xxxx.
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Interface eth0.IPv6 no longer relevant for mDNS.
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7910] dhcp4 (eth0): canceled DHCP transaction
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.7910] dhcp4 (eth0): state changed bound -> terminated
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Withdrawing address record for 192.168.178.21 on eth0.
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.178.21.
Oct 17 10:29:47 nurunet-manjaro avahi-daemon[1105]: Interface eth0.IPv4 no longer relevant for mDNS.
Oct 17 10:29:47 nurunet-manjaro NetworkManager[1127]: <info>  [1634459387.8023] device (eth0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 17 10:29:47 nurunet-manjaro kded5[2702]: plasma-nm: Not emitting connection deactivated notification as we're about to suspend
Oct 17 10:29:47 nurunet-manjaro kded5[2702]: plasma-nm: Network connectivity limited, scheduling notification
Oct 17 10:29:47 nurunet-manjaro kscreenlocker_greet[20042]: Qt: Session management error: networkIdsList argument is NULL
Oct 17 10:29:48 nurunet-manjaro kscreenlocker_greet[20042]: Icon theme "elementary" not found.
Oct 17 10:29:48 nurunet-manjaro kscreenlocker_greet[20042]: libpng warning: iCCP: known incorrect sRGB profile
Oct 17 10:29:48 nurunet-manjaro kscreenlocker_greet[20042]: libpng warning: iCCP: known incorrect sRGB profile
Oct 17 10:29:48 nurunet-manjaro systemd[1]: Reached target Sleep.
Oct 17 10:29:48 nurunet-manjaro systemd[1]: Starting Hibernate...
Oct 17 10:29:48 nurunet-manjaro systemd-sleep[20055]: Entering sleep state 'hibernate'...
Oct 17 10:29:48 nurunet-manjaro kernel: PM: hibernation: hibernation entry
-- Boot cd404e2aeb4d4ab5a06ae9ed52d6af36 --
Oct 17 10:55:20 nurunet-manjaro kernel: Linux version 5.10.70-1-MANJARO (builduser@fv-az72-704) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021

Does that mean that in the instances where resuming fails, something very fundamental fails right after GRUB? Any ideas how to solve this? I have searched the forum but most people’s wakeup issues seem quite different from mine.