Resuming from hibernate don't work

Hi,

I installed cachyOS
1000MB - /boot/efi
40GB - SWAP
rest of space - btrfs root

resume hook in grub with UUID from SWAP-Partition is there

GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES quite splash resume=UUID=7e15f45a-46ac-4256-949d-00a79224564b loglevel=3'

resume hook in /etc/mkninitcpio.conf is there

HOOKS=(base udev autodetect microcode kms modconf block keyboard keymap consolefont plymouth resume filesystems)

I removed zram0 with running

systemctl stop systemd-zram-setup@zram0.service
systemctl mask systemd-zram-setup@zram0.service

swapon --show NAME TYPE SIZE USED PRIO /dev/nvme1n1p2 partition 39,1G 40K -2

Log after resuming from hibernation:

journalctl -b | grep -A2 resume
Sep 15 14:04:55 LOQ kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos-lts root=UUID=c9a974f0-52cf-4a82-8669-28c5b0499a89 rw rootflags=subvol=@ nowatchdog nvme_load=YES quite splash resume=UUID=7e15f45a-46ac-4256-949d-00a792
24564b loglevel=3
Sep 15 14:04:55 LOQ kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
Sep 15 14:04:55 LOQ kernel: BIOS-provided physical RAM map:
--
Sep 15 14:04:55 LOQ kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos-lts root=UUID=c9a974f0-52cf-4a82-8669-28c5b0499a89 rw rootflags=subvol=@ nowatchdog nvme_load=YES quite splash resume=UUID=7e15f45a-46ac-4256-949d
-00a79224564b loglevel=3
Sep 15 14:04:55 LOQ kernel: Unknown kernel command line parameters "quite splash BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos-lts nvme_load=YES", will be passed to user space.
Sep 15 14:04:55 LOQ kernel: Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
--
Sep 15 14:04:55 LOQ kernel: PM: hibernation: resume from hibernation
Sep 15 14:04:55 LOQ kernel: random: crng reseeded on system resumption
Sep 15 14:04:55 LOQ kernel: Freezing user space processes
--
Sep 15 14:04:55 LOQ kernel: PM: hibernation: resume failed (-5)
Sep 15 14:04:55 LOQ kernel: BTRFS info (device nvme1n1p3): first mount of filesystem c9a974f0-52cf-4a82-8669-28c5b0499a89
Sep 15 14:04:55 LOQ kernel: BTRFS info (device nvme1n1p3): using crc32c (crc32c-intel) checksum algorithm
--
Sep 15 16:09:38 LOQ kernel: ACPI: PM: Low-level resume complete
Sep 15 16:09:38 LOQ kernel: ACPI: EC: EC started
Sep 15 16:09:38 LOQ kernel: ACPI: PM: Restoring platform NVS memory
--
Sep 15 16:09:38 LOQ systemd[1]: Starting NVIDIA system resume actions...
Sep 15 16:09:38 LOQ systemd[1]: Stopped target Suspend.
Sep 15 16:09:38 LOQ kdeconnectd[1242]: 2024-09-15T16:09:38 kdeconnect.core: No local bluetooth adapter found
--
Sep 15 16:09:38 LOQ suspend[1794]: nvidia-resume.service
Sep 15 16:09:38 LOQ logger[1794]: <13>Sep 15 16:09:38 suspend: nvidia-resume.service
Sep 15 16:09:38 LOQ systemd[1]: nvidia-resume.service: Deactivated successfully.
Sep 15 16:09:38 LOQ systemd[1]: Finished NVIDIA system resume actions.
Sep 15 16:09:38 LOQ kdeconnectd[1242]: 2024-09-15T16:09:38 kdeconnect.core: Failed to open any MDNS client sockets
Sep 15 16:09:38 LOQ kernel: r8169 0000:08:00.0 enp8s0: Link is Down

I tried with lts kernel also.

Hm thanks for the replay.

Tried it out real quick:
disabled swap partition and created swap file, but resuming still don’t work.

After more research i guess this seems to be a nvidia related problem.
Adding *nvidia.NVreg_PreserveVideoMemoryAllocations=0* to *GRUB_CMDLINE_LINUX_DEFAULT* resuming works directly. But this seems to bring some issues e.g. Networking don’t work properly.