You are not logged in.

#1 2024-01-09 10:28:59

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Suspend and Hibernate don't work

I've been trying to fix this issue ever since I started using Arch, and I'm pretty sure I visited every corner of the internet trying to fix it.

Setup
  • pacman -Syu: there is nothing to do

  • Kernel: linux 6.6.10.arch1-1

  • Device: HP Victus 15-fa0032dx (Intel Core i7, NVIDIA RTX 3050 Ti, 16GB RAM, 500GB SSD)

  • Partitions: 1G /boot (FAT32), 64G / (root, ext4), 312G /home (EXT4), 100G /windows (ntfs)

  • Swap: 20G (/swapfile)

  • Graphics Driver: nvidia 545.29.06-9 installed following this guide

  • Bootloader: GRUB

  • Kernel Parameters:

    loglevel=3 quiet splash nvidia_drm.modeset=1 resume=UUID=7c3a87ca-0005-4268-a1df-1e7d32f5aaaf resume_offset=567296
  • mkinitcpio.conf:

    MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm), HOOKS=(base udev plymouth autodetect modconf keyboard keymap numlock consolefont block filesystems resume fsck)
  • cat /sys/power/mem_sleep:

    [s2idle]
  • dmesg | grep -i acpi | grep supports:

    [    0.213840] ACPI: PM: (supports S0 S4 S5)
  • journalctl -b: here you go

  • lsblk -fm:

    NAME        FSTYPE FSVER LABEL     UUID                                 FSAVAIL FSUSE% MOUNTPOINTS   SIZE OWNER GROUP MODE
    mmcblk0                                                                                            232.2G root  disk  brw-rw----
    └─mmcblk0p1 ext4   1.0             d114a5ae-2042-4c0e-965e-298901230a66                            232.2G root  disk  brw-rw----
    nvme0n1                                                                                            476.9G root  disk  brw-rw----
    ├─nvme0n1p1 vfat   FAT32 SYSTEM    2AD8-9F2D                             729.3M    29% /boot           1G root  disk  brw-rw----
    ├─nvme0n1p2 ext4   1.0             7c3a87ca-0005-4268-a1df-1e7d32f5aaaf   22.5G    59% /            64.4G root  disk  brw-rw----
    ├─nvme0n1p3 ext4   1.0   arch home 5b9d21ef-79c8-4bd2-ae37-5b005423551a  140.4G    49% /home       311.5G root  disk  brw-rw----
    └─nvme0n1p4 ntfs                   122C65B22C659211                       56.8G    43% /windows      100G root  disk  brw-rw----
  • cat /etc/fstab:

    # Static information about the filesystems.
    # See fstab(5) for details.
    
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/nvme0n1p2
    UUID=7c3a87ca-0005-4268-a1df-1e7d32f5aaaf	/         	ext4      	rw,relatime	0 1
    
    # /dev/nvme0n1p1 LABEL=SYSTEM
    UUID=2AD8-9F2D      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2
    
    # /dev/nvme0n1p3 LABEL=arch\134x20home
    UUID=5b9d21ef-79c8-4bd2-ae37-5b005423551a	/home     	ext4      	rw,relatime	0 2
    
    # /dev/nvme0n1p4
    UUID=122C65B22C659211	/windows  	ntfs      	rw,nosuid,nodev,user_id=0,group_id=0,allow_other,	0 0
    
    # swap
    /swapfile none swap defaults 0 0
  • mount -l:

    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=7957668k,nr_inodes=1989417,mode=755,inode64)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    /dev/nvme0n1p2 on / type ext4 (rw,relatime)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
    cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11711)
    debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
    mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
    tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
    configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
    /dev/nvme0n1p4 on /windows type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
    /dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) [SYSTEM]
    /dev/nvme0n1p3 on /home type ext4 (rw,relatime) [arch home]
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1603456k,nr_inodes=400864,mode=700,uid=1000,gid=1000,inode64)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
  • swapon --show:

    NAME      TYPE SIZE USED PRIO
    /swapfile file  20G   0B   -2
Issues
  • sudo systemctl suspend: Screen blanks for a few seconds and goes back to normal
    (lines 2012-2102 in pastebin)

    Jan 09 12:16:14 cap-arch dbus-daemon[534]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.62' (uid=0 pid=9969 comm="sudo pacman -S -y --config /etc/pacman.conf --")
    Jan 09 12:16:14 cap-arch dbus-daemon[534]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
    Jan 09 12:16:16 cap-arch sudo[9969]:      cap : TTY=pts/0 ; PWD=/home/cap ; USER=root ; COMMAND=/usr/bin/pacman -S -y --config /etc/pacman.conf --
    Jan 09 12:16:16 cap-arch sudo[9969]: pam_unix(sudo:session): session opened for user root(uid=0) by cap(uid=1000)
    Jan 09 12:16:18 cap-arch sudo[9969]: pam_unix(sudo:session): session closed for user root
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: No handler for Region [CMS0] (000000002843497b) [SystemCMOS] (20230628/evregion-130)
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: Region SystemCMOS (ID=5) has no handler (20230628/exfldio-261)
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q33 due to previous error (AE_NOT_EXIST) (20230628/psparse-529)
    Jan 09 12:25:25 cap-arch dbus-daemon[534]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.63' (uid=0 pid=13486 comm="sudo systemctl hibernate")
    Jan 09 12:25:25 cap-arch dbus-daemon[534]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
    Jan 09 12:25:25 cap-arch sudo[13486]:      cap : TTY=pts/0 ; PWD=/home/cap ; USER=root ; COMMAND=/usr/bin/systemctl hibernate
    Jan 09 12:25:25 cap-arch sudo[13486]: pam_unix(sudo:session): session opened for user root(uid=0) by cap(uid=1000)
    Jan 09 12:25:25 cap-arch systemd[1]: Reached target Sleep.
    Jan 09 12:25:25 cap-arch systemd[1]: Starting Hibernate...
    Jan 09 12:25:25 cap-arch sudo[13486]: pam_unix(sudo:session): session closed for user root
    Jan 09 12:25:25 cap-arch systemd-sleep[13490]: Failed to find location to hibernate to: Invalid argument
    Jan 09 12:25:25 cap-arch systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
    Jan 09 12:25:25 cap-arch systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
    Jan 09 12:25:25 cap-arch systemd[1]: Failed to start Hibernate.
    Jan 09 12:25:25 cap-arch systemd[1]: Dependency failed for System Hibernation.
    Jan 09 12:25:25 cap-arch systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
    Jan 09 12:25:25 cap-arch systemd[1]: Stopped target Sleep.
    Jan 09 12:28:08 cap-arch dbus-daemon[534]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.66' (uid=0 pid=14544 comm="sudo systemctl suspend")
    Jan 09 12:28:08 cap-arch dbus-daemon[534]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
    Jan 09 12:28:38 cap-arch sudo[14544]:      cap : TTY=pts/0 ; PWD=/home/cap ; USER=root ; COMMAND=/usr/bin/systemctl suspend
    Jan 09 12:28:38 cap-arch sudo[14544]: pam_unix(sudo:session): session opened for user root(uid=0) by cap(uid=1000)
    Jan 09 12:28:38 cap-arch systemd-logind[535]: The system will suspend now!
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.6878] manager: sleep: sleep requested (sleeping: no  enabled: yes)
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.6878] device (eno1): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
    Jan 09 12:28:38 cap-arch sudo[14544]: pam_unix(sudo:session): session closed for user root
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.7015] device (p2p-dev-wlp4s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.7016] manager: NetworkManager state is now ASLEEP
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.7017] device (wlp4s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
    Jan 09 12:28:38 cap-arch dbus-daemon[534]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.2' (uid=0 pid=537 comm="/usr/bin/NetworkManager --no-daemon")
    Jan 09 12:28:38 cap-arch systemd[1]: Starting Network Manager Script Dispatcher Service...
    Jan 09 12:28:38 cap-arch dbus-daemon[534]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Jan 09 12:28:38 cap-arch systemd[1]: Started Network Manager Script Dispatcher Service.
    Jan 09 12:28:38 cap-arch kernel: wlp4s0: deauthenticating from e8:01:8d:ff:74:60 by local choice (Reason: 3=DEAUTH_LEAVING)
    Jan 09 12:28:38 cap-arch wpa_supplicant[586]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=e8:01:8d:ff:74:60 reason=3 locally_generated=1
    Jan 09 12:28:38 cap-arch wpa_supplicant[586]: wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
    Jan 09 12:28:38 cap-arch wpa_supplicant[586]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.8918] device (wlp4s0): supplicant interface state: completed -> disconnected
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.8919] device (wlp4s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.8920] dhcp4 (wlp4s0): canceled DHCP transaction
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.8920] dhcp4 (wlp4s0): activation: beginning transaction (timeout in 45 seconds)
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.8920] dhcp4 (wlp4s0): state changed no lease
    Jan 09 12:28:38 cap-arch NetworkManager[537]: <info>  [1704792518.9467] device (wlp4s0): set-hw-addr: set MAC address to 26:80:FB:D3:47:B0 (scanning)
    Jan 09 12:28:39 cap-arch NetworkManager[537]: <info>  [1704792519.0353] device (wlp4s0): supplicant interface state: disconnected -> interface_disabled
    Jan 09 12:28:39 cap-arch NetworkManager[537]: <info>  [1704792519.0353] device (wlp4s0): supplicant interface state: interface_disabled -> disconnected
    Jan 09 12:28:39 cap-arch NetworkManager[537]: <info>  [1704792519.0354] device (wlp4s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
    Jan 09 12:28:39 cap-arch NetworkManager[537]: <info>  [1704792519.1159] device (wlp4s0): set-hw-addr: reset MAC address to B4:8C:9D:14:29:3D (unmanage)
    Jan 09 12:28:39 cap-arch wpa_supplicant[586]: wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
    Jan 09 12:28:39 cap-arch systemd[1]: Reached target Sleep.
    Jan 09 12:28:39 cap-arch systemd[1]: Starting System Suspend...
    Jan 09 12:28:39 cap-arch systemd-sleep[14772]: Failed to lock home directories: Unknown object '/org/freedesktop/home1'.
    Jan 09 12:28:39 cap-arch systemd-sleep[14772]: Performing sleep operation 'suspend'...
    Jan 09 12:28:39 cap-arch kernel: PM: suspend entry (s2idle)
    Jan 09 12:28:39 cap-arch kernel: Filesystems sync: 0.008 seconds
    Jan 09 12:28:39 cap-arch wpa_supplicant[586]: wlp4s0: CTRL-EVENT-DSCP-POLICY clear_all
    Jan 09 12:28:39 cap-arch wpa_supplicant[586]: nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
    Jan 09 12:28:40 cap-arch kernel: Freezing user space processes
    Jan 09 12:28:40 cap-arch kernel: Freezing user space processes completed (elapsed 0.001 seconds)
    Jan 09 12:28:40 cap-arch kernel: OOM killer disabled.
    Jan 09 12:28:40 cap-arch kernel: Freezing remaining freezable tasks
    Jan 09 12:28:40 cap-arch kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
    Jan 09 12:28:40 cap-arch kernel: printk: Suspending console(s) (use no_console_suspend to debug)
    Jan 09 12:28:40 cap-arch kernel: queueing ieee80211 work while going to suspend
    Jan 09 12:28:40 cap-arch kernel: NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
    Jan 09 12:28:40 cap-arch kernel: nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
    Jan 09 12:28:40 cap-arch kernel: nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -5
    Jan 09 12:28:40 cap-arch kernel: nvidia 0000:01:00.0: PM: failed to suspend async: error -5
    Jan 09 12:28:40 cap-arch kernel: PM: Some devices failed to suspend, or early wake event detected
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.13.1
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
    Jan 09 12:28:40 cap-arch kernel: nvme nvme0: 16/0/0 default/read/poll queues
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: HuC: authenticated for all workloads
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
    Jan 09 12:28:40 cap-arch kernel: i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
    Jan 09 12:28:40 cap-arch kernel: OOM killer enabled.
    Jan 09 12:28:40 cap-arch kernel: Restarting tasks ... done.
    Jan 09 12:28:40 cap-arch kernel: random: crng reseeded on system resumption
    Jan 09 12:28:40 cap-arch kernel: PM: suspend exit
    Jan 09 12:28:40 cap-arch kernel: PM: suspend entry (s2idle)
    Jan 09 12:28:40 cap-arch kernel: Filesystems sync: 0.024 seconds
    Jan 09 12:28:41 cap-arch kernel: mmc0: cannot verify signal voltage switch
    Jan 09 12:28:41 cap-arch wireplumber[683]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
    Jan 09 12:28:41 cap-arch wireplumber[683]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
    Jan 09 12:28:42 cap-arch kernel: Freezing user space processes
    Jan 09 12:28:42 cap-arch kernel: Freezing user space processes completed (elapsed 0.001 seconds)
    Jan 09 12:28:42 cap-arch kernel: OOM killer disabled.
    Jan 09 12:28:42 cap-arch kernel: Freezing remaining freezable tasks
    Jan 09 12:28:42 cap-arch kernel: Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
    Jan 09 12:28:42 cap-arch kernel: printk: Suspending console(s) (use no_console_suspend to debug)
    Jan 09 12:28:42 cap-arch kernel: queueing ieee80211 work while going to suspend
    Jan 09 12:28:42 cap-arch kernel: NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
    Jan 09 12:28:42 cap-arch kernel: nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
    Jan 09 12:28:42 cap-arch kernel: nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -5
    Jan 09 12:28:42 cap-arch kernel: nvidia 0000:01:00.0: PM: failed to suspend async: error -5
    Jan 09 12:28:42 cap-arch kernel: PM: Some devices failed to suspend, or early wake event detected
    Jan 09 12:28:42 cap-arch kernel: nvme nvme0: 16/0/0 default/read/poll queues
    Jan 09 12:28:42 cap-arch kernel: OOM killer enabled.
    Jan 09 12:28:42 cap-arch kernel: Restarting tasks ... done.
    Jan 09 12:28:42 cap-arch kernel: random: crng reseeded on system resumption
    Jan 09 12:28:42 cap-arch systemd-sleep[14772]: Failed to put system to sleep. System resumed again: Input/output error
    Jan 09 12:28:42 cap-arch systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
    Jan 09 12:28:42 cap-arch kernel: PM: suspend exit
    Jan 09 12:28:42 cap-arch systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
    Jan 09 12:28:42 cap-arch systemd[1]: Failed to start System Suspend.
    Jan 09 12:28:42 cap-arch systemd[1]: Dependency failed for Suspend.
    Jan 09 12:28:42 cap-arch systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
    Jan 09 12:28:42 cap-arch systemd-logind[535]: Operation 'sleep' finished.
    Jan 09 12:28:42 cap-arch systemd[1]: Stopped target Sleep.
  • sudo systemctl hibernate: error "Call to Hibernate failed: Invalid argument"
    (lines 1992-2011 in pastebin)

    Jan 09 12:16:16 cap-arch sudo[9969]:      cap : TTY=pts/0 ; PWD=/home/cap ; USER=root ; COMMAND=/usr/bin/pacman -S -y --config /etc/pacman.conf --
    Jan 09 12:16:16 cap-arch sudo[9969]: pam_unix(sudo:session): session opened for user root(uid=0) by cap(uid=1000)
    Jan 09 12:16:18 cap-arch sudo[9969]: pam_unix(sudo:session): session closed for user root
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: No handler for Region [CMS0] (000000002843497b) [SystemCMOS] (20230628/evregion-130)
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: Region SystemCMOS (ID=5) has no handler (20230628/exfldio-261)
    Jan 09 12:23:55 cap-arch kernel: ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q33 due to previous error (AE_NOT_EXIST) (20230628/psparse-529)
    Jan 09 12:25:25 cap-arch dbus-daemon[534]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.63' (uid=0 pid=13486 comm="sudo systemctl hibernate")
    Jan 09 12:25:25 cap-arch dbus-daemon[534]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
    Jan 09 12:25:25 cap-arch sudo[13486]:      cap : TTY=pts/0 ; PWD=/home/cap ; USER=root ; COMMAND=/usr/bin/systemctl hibernate
    Jan 09 12:25:25 cap-arch sudo[13486]: pam_unix(sudo:session): session opened for user root(uid=0) by cap(uid=1000)
    Jan 09 12:25:25 cap-arch systemd[1]: Reached target Sleep.
    Jan 09 12:25:25 cap-arch systemd[1]: Starting Hibernate...
    Jan 09 12:25:25 cap-arch sudo[13486]: pam_unix(sudo:session): session closed for user root
    Jan 09 12:25:25 cap-arch systemd-sleep[13490]: Failed to find location to hibernate to: Invalid argument
    Jan 09 12:25:25 cap-arch systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
    Jan 09 12:25:25 cap-arch systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
    Jan 09 12:25:25 cap-arch systemd[1]: Failed to start Hibernate.
    Jan 09 12:25:25 cap-arch systemd[1]: Dependency failed for System Hibernation.
    Jan 09 12:25:25 cap-arch systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
    Jan 09 12:25:25 cap-arch systemd[1]: Stopped target Sleep.
Fixes I tried
  • First and foremost, disabling Fast Startup in Windows using powercfg /H off and shutting down

  • Enabling the NVIDIA resume, sleep, hibernate, powerd and persistenced services with systemctl

  • Disabling the NVIDIA resume, sleep, hibernate, powerd and persistenced services with systemctl

  • Following the Hibernation section in this Arch Wiki page

  • Trying every fix in the Troubleshooting section (even the AMD fixes)

  • Trying every fix in this NVIDIA forum

  • Trying multiple Linux kernels and their corresponding NVIDIA driver packages (linux, linux-lts, linux-zen) (nvidia, nvidia-lts, nvidia-dkms)

  • Ditching the NVIDIA driver and using nouveau instead

  • Using different display managers (sddm, lightdm, lemurs, ly)

  • Disabling the display manager, logging in to tty1 and suspending that way

  • Calling swapoff and swapon on /swapfile

  • Trying random fixes I found in a LOT of forums

Is there anything I missed?

Last edited by m0tholith (2024-01-09 13:42:51)

Offline

#2 2024-01-09 11:23:30

dogknowsnx
Guest

Re: Suspend and Hibernate don't work

I'm not using hibernation myself, but

maybe also post the outputs of

cat /etc/fstab
mount -l
swapon --show

Also, did you try hibernation using the 'systemd' hook?

EDIT: Hi, and welcome to the forums!

Last edited by dogknowsnx (2024-01-09 11:25:44)

#3 2024-01-09 11:31:47

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

Of course,

  • cat /etc/fstab:

    # Static information about the filesystems.
    # See fstab(5) for details.
    
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/nvme0n1p2
    UUID=7c3a87ca-0005-4268-a1df-1e7d32f5aaaf	/         	ext4      	rw,relatime	0 1
    
    # /dev/nvme0n1p1 LABEL=SYSTEM
    UUID=2AD8-9F2D      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2
    
    # /dev/nvme0n1p3 LABEL=arch\134x20home
    UUID=5b9d21ef-79c8-4bd2-ae37-5b005423551a	/home     	ext4      	rw,relatime	0 2
    
    # /dev/nvme0n1p4
    UUID=122C65B22C659211	/windows  	ntfs      	rw,nosuid,nodev,user_id=0,group_id=0,allow_other,	0 0
    
    # swap
    /swapfile swap swap defaults 0 0
  • mount -l:

    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    dev on /dev type devtmpfs (rw,nosuid,relatime,size=7957668k,nr_inodes=1989417,mode=755,inode64)
    run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    /dev/nvme0n1p2 on / type ext4 (rw,relatime)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
    cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=11711)
    debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
    mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
    tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
    configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
    /dev/nvme0n1p4 on /windows type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
    /dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) [SYSTEM]
    /dev/nvme0n1p3 on /home type ext4 (rw,relatime) [arch home]
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1603456k,nr_inodes=400864,mode=700,uid=1000,gid=1000,inode64)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
  • swapon --show:

    NAME      TYPE SIZE USED PRIO
    /swapfile file  20G   0B   -2

Also, hello!

Offline

#4 2024-01-09 11:42:03

dogknowsnx
Guest

Re: Suspend and Hibernate don't work

You're using 'swap' as mount point:

# swap
/swapfile swap swap defaults 0 0

Try

# swap
/swapfile none swap defaults 0 0

instead...

#5 2024-01-09 11:45:55

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

That's awkward...
I fixed that error and rebooted my system, but the same symptoms when hibernating and suspending still appear.
Here's the output of journalctl -b (after rebooting)

Last edited by m0tholith (2024-01-09 11:59:09)

Offline

#6 2024-01-09 12:11:46

dogknowsnx
Guest

Re: Suspend and Hibernate don't work

In OP your '/etc/fstab' still shows '/swapfile swap swap defaults 0 0' - or is that the old output? EDIT: Nevermind, the timestamp of your edit is older then my post - maybe update that part for the next guy/gal...

Last edited by dogknowsnx (2024-01-09 12:14:28)

#7 2024-01-09 12:16:05

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

it appears my reply didn't get sent
Sorry, I forgot to edit that. It's fixed now.

Offline

#8 2024-01-09 12:25:26

dogknowsnx
Guest

Re: Suspend and Hibernate don't work

resume=UUID=7c3a87ca-0005-4268-a1df-1e7d32f5aaaf

Are you using the correct UUID?

lsblk -f

#9 2024-01-09 12:27:42

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

Yes:

NAME        FSTYPE FSVER LABEL     UUID                                 FSAVAIL FSUSE% MOUNTPOINTS   SIZE OWNER GROUP MODE
nvme0n1                                                                                            476.9G root  disk  brw-rw----
├─nvme0n1p1 vfat   FAT32 SYSTEM    2AD8-9F2D                             729.3M    29% /boot           1G root  disk  brw-rw----
├─nvme0n1p2 ext4   1.0             7c3a87ca-0005-4268-a1df-1e7d32f5aaaf   22.5G    59% /            64.4G root  disk  brw-rw----
├─nvme0n1p3 ext4   1.0   arch home 5b9d21ef-79c8-4bd2-ae37-5b005423551a  140.4G    49% /home       311.5G root  disk  brw-rw----
└─nvme0n1p4 ntfs                   122C65B22C659211                       56.8G    43% /windows      100G root  disk  brw-rw----

Last edited by m0tholith (2024-01-09 12:29:02)

Offline

#10 2024-01-09 12:30:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,231

Re: Suspend and Hibernate don't work

@m0tholith your pressing report instead of reply, which pops up a notification on moderator feeds, please try to not do that.

Offline

#11 2024-01-09 12:31:47

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

sorry...

Offline

#12 2024-01-09 13:01:24

dogknowsnx
Guest

Re: Suspend and Hibernate don't work

Could be worth trying:

# swapoff /swapfile
# swapon /swapfile

#13 2024-01-09 13:41:34

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

I tried this fix after I saw it in another forum, no luck.
I'll add it to the list of fixes for good measure.

Offline

#14 2024-01-09 15:39:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: Suspend and Hibernate don't work

Focus on S3, ignore hibernation for the moment.
There're multiple reports indicating S3/S4 issues w/ the 6.6.9+ kernels and the 545xx nvidia drivers.
=> Try the behavior w/ an older kernel (lts will no longer work because it's now the 6.6.x series…) and the 535xx versions of nvidia-dkms and nvidia-utils
https://wiki.archlinux.org/title/Arch_Linux_Archive
https://wiki.archlinux.org/title/Dkms

Offline

#15 2024-01-09 16:28:52

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

After some mixups of package versions and booting into emergency mode... I downgraded to kernel 6.5.5 and NVIDIA driver 535.113.01, the last driver in the 535xx release cycle. Suspend now blanks twice? Hibernate gets called and blanks once. I noticed that in both commands my network connection gets disconnected before going back online.
Here's a paste for journalctl -b. Worth noting that the output of:

  • dmesg | grep -i acpi | grep supports

  • cat /sys/power/mem_sleep

are unchanged.

Last edited by m0tholith (2024-01-09 16:30:42)

Offline

#16 2024-01-09 22:11:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: Suspend and Hibernate don't work

You fucked up the PreserveVideoMemoryAllocations

Jan 09 19:24:28 cap-arch kernel: NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
Jan 09 19:24:28 cap-arch kernel: nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
Jan 09 19:24:28 cap-arch kernel: nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x170 returns -5
Jan 09 19:24:28 cap-arch kernel: nvidia 0000:01:00.0: PM: failed to suspend async: error -5
Jan 09 19:24:28 cap-arch kernel: PM: Some devices failed to suspend, or early wake event detected

https://download.nvidia.com/XFree86/Lin … ement.html
nvidia-suspend.service and nvidia-hibernate.service seem not to be running?

Offline

#17 2024-01-10 08:41:45

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

Suspend actually makes my laptop go to sleep, but it doesn't come back (which is the problem I had back when first installing Arch), here's journalctl for the session. I continuously held the power button and released right before I hard reset the machine, just to test if systemd handles that ACPI event (seems like it doesn't).
Hibernate shuts down my computer though, but I think I know why, and will try to fix it. Here's journalctl for that session.

EDIT: One of my fixes for hibernation was modifying /etc/systemd/sleep.conf.d/hibernatemode.conf:

[Sleep]
# allowed set of values: shutdown reboot suspend test_resume
HibernateMode=shutdown

I tried shutdown and suspend, shutdown simply shut down the machine without saving anything to disk, and suspend was pretty much the same as calling systemctl suspend.

Last edited by m0tholith (2024-01-10 08:59:24)

Offline

#18 2024-01-10 08:58:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: Suspend and Hibernate don't work

The system wake up and resumes, but i915 crashes:

Jan 10 11:30:55 cap-arch kernel: ------------[ cut here ]------------
Jan 10 11:30:55 cap-arch kernel: i915 0000:00:02.0: i915 raw-wakerefs=1 wakelocks=1 on cleanup
Jan 10 11:30:55 cap-arch kernel: WARNING: CPU: 0 PID: 1189 at drivers/gpu/drm/i915/intel_runtime_pm.c:638 intel_runtime_pm_driver_release+0x61/0x70 [i915]
Jan 10 11:30:55 cap-arch kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio hid_logitech_hidpp mousedev joydev intel_uncore_frequency snd_soc_dmic intel_uncore_frequency_common snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp x86_pkg_temp_thermal snd_sof intel_powerclamp snd_sof_utils coretemp snd_soc_hdac_hda snd_hda_ext_core kvm_intel snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation soundwire_bus kvm snd_soc_core mt7921e snd_hda_codec_hdmi snd_compress ac97_bus mt7921_common irqbypass snd_pcm_dmaengine mt76_connac_lib btusb crct10dif_pclmul uvcvideo snd_hda_intel crc32_pclmul btrtl mt76 snd_intel_dspcfg videobuf2_vmalloc polyval_clmulni btbcm uvc snd_intel_sdw_acpi polyval_generic gf128mul btintel ghash_clmulni_intel i915 snd_hda_codec
Jan 10 11:30:55 cap-arch kernel:  btmtk sha512_ssse3 videobuf2_memops mac80211 aesni_intel snd_hda_core videobuf2_v4l2 bluetooth crypto_simd snd_hwdep videodev cryptd drm_buddy processor_thermal_device_pci hid_multitouch hid_logitech_dj snd_pcm rapl i2c_algo_bit iTCO_wdt processor_thermal_device r8169 videobuf2_common ttm intel_cstate libarc4 vfat uas ucsi_acpi hp_wmi processor_thermal_rfim intel_pmc_bxt fat mei_pxp mei_hdcp ee1004 iTCO_vendor_support intel_rapl_msr cfg80211 ecdh_generic drm_display_helper mc usbhid spi_nor snd_timer typec_ucsi processor_thermal_mbox realtek intel_uncore usb_storage platform_profile processor_thermal_rapl intel_lpss_pci mdio_devres snd mei_me cec pcspkr i2c_i801 wmi_bmof typec intel_rapl_common libphy mtd rfkill intel_lpss intel_gtt soundcore mei i2c_smbus int340x_thermal_zone idma64 i2c_hid_acpi roles i2c_hid intel_hid acpi_tad acpi_pad sparse_keymap soc_button_array mac_hid mmc_block crypto_user dm_mod fuse loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc serio_raw
Jan 10 11:30:55 cap-arch kernel:  mmc_core atkbd nvme libps2 crc32c_intel vivaldi_fmap nvme_core rtsx_pci spi_intel_pci xhci_pci spi_intel nvme_common xhci_pci_renesas i8042 serio nvidia_drm(POE) nvidia_uvm(POE) nvidia_modeset(POE) video wmi nvidia(POE)
Jan 10 11:30:55 cap-arch kernel: CPU: 0 PID: 1189 Comm: kworker/u32:9 Tainted: P        W  OE      6.5.5-arch1-1 #1 d82a0f532dd8cfe67d5795c1738d9c01059a0c62
Jan 10 11:30:55 cap-arch kernel: Hardware name: HP Victus by HP Gaming Laptop 15-fa0xxx/8A4F, BIOS F.11 10/17/2022
Jan 10 11:30:55 cap-arch kernel: Workqueue: events_unbound async_run_entry_fn
Jan 10 11:30:55 cap-arch kernel: RIP: 0010:intel_runtime_pm_driver_release+0x61/0x70 [i915]
Jan 10 11:30:55 cap-arch kernel: Code: fc 10 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 a6 1c 35 e6 45 89 e0 89 e9 48 89 da 48 89 c6 48 c7 c7 70 f6 89 c5 e8 1f 93 af e5 <0f> 0b 5b 5d 41 5c c3 cc cc cc cc 0f 1f 40 00 90 90 90 90 90 90 90
Jan 10 11:30:55 cap-arch kernel: RSP: 0018:ffffb88b45547da0 EFLAGS: 00010286
Jan 10 11:30:55 cap-arch kernel: RAX: 0000000000000000 RBX: ffff8b0a42af8f20 RCX: 0000000000000027
Jan 10 11:30:55 cap-arch kernel: RDX: ffff8b0daf8216c8 RSI: 0000000000000001 RDI: ffff8b0daf8216c0
Jan 10 11:30:55 cap-arch kernel: RBP: 0000000000000001 R08: fffffffface5a020 R09: 0000000000ffff0a
Jan 10 11:30:55 cap-arch kernel: R10: 0000000000000000 R11: ffffffffabd47520 R12: 0000000000000001
Jan 10 11:30:55 cap-arch kernel: R13: ffff8b0a42b4d000 R14: ffff8b0a4a54a440 R15: ffff8b0a42305508
Jan 10 11:30:55 cap-arch kernel: FS:  0000000000000000(0000) GS:ffff8b0daf800000(0000) knlGS:0000000000000000
Jan 10 11:30:55 cap-arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 10 11:30:55 cap-arch kernel: CR2: 0000557e616d60d6 CR3: 0000000281220000 CR4: 0000000000f50ef0
Jan 10 11:30:55 cap-arch kernel: PKRU: 55555554
Jan 10 11:30:55 cap-arch kernel: Call Trace:
Jan 10 11:30:55 cap-arch kernel:  <TASK>
Jan 10 11:30:55 cap-arch kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 c62d49fa53167f90a3280a66c63ec0fbf9e6a292]
Jan 10 11:30:55 cap-arch kernel:  ? __warn+0x81/0x130
Jan 10 11:30:55 cap-arch kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 c62d49fa53167f90a3280a66c63ec0fbf9e6a292]
Jan 10 11:30:55 cap-arch kernel:  ? report_bug+0x171/0x1a0
Jan 10 11:30:55 cap-arch kernel:  ? handle_bug+0x3c/0x80
Jan 10 11:30:55 cap-arch kernel:  ? exc_invalid_op+0x17/0x70
Jan 10 11:30:55 cap-arch kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jan 10 11:30:55 cap-arch kernel:  ? __pfx_pci_conf1_read+0x10/0x10
Jan 10 11:30:55 cap-arch kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 c62d49fa53167f90a3280a66c63ec0fbf9e6a292]
Jan 10 11:30:55 cap-arch kernel:  i915_drm_suspend_late+0x117/0x130 [i915 c62d49fa53167f90a3280a66c63ec0fbf9e6a292]
Jan 10 11:30:55 cap-arch kernel:  ? __pfx_pci_pm_suspend_late+0x10/0x10
Jan 10 11:30:55 cap-arch kernel:  dpm_run_callback+0x89/0x1e0
Jan 10 11:30:55 cap-arch kernel:  __device_suspend_late+0xb7/0x230
Jan 10 11:30:55 cap-arch kernel:  async_suspend_late+0x1e/0x70
Jan 10 11:30:55 cap-arch kernel:  async_run_entry_fn+0x31/0x130
Jan 10 11:30:55 cap-arch kernel:  process_one_work+0x1de/0x3f0
Jan 10 11:30:55 cap-arch kernel:  worker_thread+0x51/0x390
Jan 10 11:30:55 cap-arch kernel:  ? __pfx_worker_thread+0x10/0x10
Jan 10 11:30:55 cap-arch kernel:  kthread+0xe5/0x120
Jan 10 11:30:55 cap-arch kernel:  ? __pfx_kthread+0x10/0x10
Jan 10 11:30:55 cap-arch kernel:  ret_from_fork+0x31/0x50
Jan 10 11:30:55 cap-arch kernel:  ? __pfx_kthread+0x10/0x10
Jan 10 11:30:55 cap-arch kernel:  ret_from_fork_asm+0x1b/0x30
Jan 10 11:30:55 cap-arch kernel:  </TASK>
Jan 10 11:30:55 cap-arch kernel: ---[ end trace 0000000000000000 ]---
Jan 10 11:30:55 cap-arch kernel: ACPI: EC: interrupt blocked
Jan 10 11:30:55 cap-arch kernel: ACPI: EC: interrupt unblocked

And before

Jan 10 11:28:03 cap-arch kernel: i915 0000:00:02.0: [drm] [ENCODER:244:DDI B/PHY B] failed to retrieve link info, disabling eDP

what might be a problem w/ the AlderLake support in the older kernel - or "BIOS F.11 10/17/2022" the older BIOS?

Does this also happen when you only boot the multi-user.target (2nd link below, no SDDM, no i3)
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#19 2024-01-10 09:19:13

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

I set the default target to multi-user and tried to suspend and hibernate. Similar results unfortunately, except for hibernation.
Here's the journal for the session in which I suspended (and couldn't come back to; alternating between black screen and turned off display).
Here's the journal for the session in which I hibernated (shut down the machine, and when turned on again it was stuck at the boot logo (journal for boot after hibernation, i915 trace seems to still be there. note to self: disable plymouth).
As for the Xorg log, do you want a specific log for when I hibernate/suspend, or for a normal session?

Last edited by m0tholith (2024-01-10 09:20:32)

Offline

#20 2024-01-10 09:36:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: Suspend and Hibernate don't work

normal session, though not relevant if the saame applies on the multi-user.target.
Actually the i915 crash happened even before the suspend.

Jan 10 12:01:04 cap-arch ntfs-3g[491]: Mounted /dev/nvme0n1p4 (Read-Write, label "", NTFS 3.1)

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#21 2024-01-10 09:47:17

m0tholith
Member
Registered: 2024-01-09
Posts: 13

Re: Suspend and Hibernate don't work

Hm, I thought I already did that, I guess I have to shutdown both systems twice. Anyhow, here's Xorg.0.log.

Offline

#22 2024-02-25 09:48:05

emiltb
Member
Registered: 2024-02-25
Posts: 1

Re: Suspend and Hibernate don't work

DId you manage to resolve this issue? I was having the exact same "Call to Hibernate failed: Invalid argument" error when trying to hibernate.

I managed to resolve it by adding "resume" to the initramfs hooks in /etc/mkinitcpio.conf (as described in https://wiki.archlinux.org/title/Power_ … hibernate) and then running 'mkinitcpio -P' (https://wiki.archlinux.org/title/Mkinit … activation). After that hibernation works as expected.

Suspend still does not work (it fails to wake to the resumed that), but that has always been weird on my laptop with all the distros and setups I have tried.

Offline

#23 2024-02-25 15:06:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: Suspend and Hibernate don't work

Sorry, I missed #21
The xorg log is actually not relevant since the same happens on the multi-user.target and also all outputs are on the intel IGP.

The hibernation actually fails *because*

Jan 10 12:05:20 cap-arch kernel: NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
Jan 10 12:05:20 cap-arch kernel: nvidia 0000:01:00.0: PM: pci_pm_freeze(): nv_pmops_freeze+0x0/0x20 [nvidia] returns -5
Jan 10 12:05:20 cap-arch kernel: nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xc0 returns -5
Jan 10 12:05:20 cap-arch kernel: nvidia 0000:01:00.0: PM: failed to quiesce async: error -5
Jan 10 12:05:20 cap-arch kernel: PM: hibernation: Failed to load image, recovering.

and you've the nvidia modules in the initramfs
=> https://bbs.archlinux.org/viewtopic.php?id=285508

Doesn't tell us about the S2idle issues, though.

Offline

Board footer

Powered by FluxBB