Hibernate not working - full reboot

I have a strange issues with hibernate/sleep in my recent installation. If I go into hibernate or sleep, I have to turn the laptop on again using the powerbutton and the system makes a full reboot, no restore.

The swap partition is there

cat /etc/fstab 
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=546A-1485                            /efi           vfat    fmask=0137,dmask=0027 0 2
UUID=7bdc983a-1e6b-45c5-8b33-1f8722e715d5 /              btrfs   subvol=/@,noatime,compress=zstd 0 0
UUID=7bdc983a-1e6b-45c5-8b33-1f8722e715d5 /var/cache     btrfs   subvol=/@cache,noatime,compress=zstd 0 0
UUID=7bdc983a-1e6b-45c5-8b33-1f8722e715d5 /var/log       btrfs   subvol=/@log,noatime,compress=zstd 0 0
UUID=8a896795-6e8a-4d67-92e1-7b9e12e5e6a6 swap           swap    defaults   0 0
UUID=1c3887f4-d902-490c-835f-b64d080739e9 /home          btrfs   noatime,compress=zstd 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

The dracut module was already present

[daniel@fs0ciety ~]$ cat /etc/dracut.conf.d/resume.conf 
add_dracutmodules+=" resume "

And also the kernel parameters look good to me

[daniel@fs0ciety ~]$ cat /etc/kernel/cmdline 
nvme_load=YES nowatchdog rw rootflags=subvol=/@ root=UUID=7bdc983a-1e6b-45c5-8b33-1f8722e715d5 resume=UUID=8a896795-6e8a-4d67-92e1-7b9e12e5e6a6 nvidia-drm.modeset=1

I also enabled the Nvidia services

[daniel@fs0ciety ~]$ systemctl status nvidia-hibernate.service nvidia-resume.service nvidia-suspend.service 
○ nvidia-hibernate.service - NVIDIA system hibernate actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
     Active: inactive (dead)

○ nvidia-resume.service - NVIDIA system resume actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-resume.service; enabled; preset: disabled)
     Active: inactive (dead)

○ nvidia-suspend.service - NVIDIA system suspend actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
     Active: inactive (dead)

Hardware info:

[daniel@fs0ciety ~]$ inxi -Fxxc0z
  Kernel: 6.7.4-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
  Type: Laptop System: Dell product: Precision 5560 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0G06MM v: A00 serial: <superuser required> part-nu: 0A62
    UEFI: Dell v: 1.24.0 date: 09/12/2023
  ID-1: BAT0 charge: 31.6 Wh (53.9%) condition: 58.6/84.3 Wh (69.5%)
    volts: 11.1 min: 11.4 model: BYD DELL M59JH19 serial: <filter>
    status: discharging
  Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  Speed (MHz): avg: 812 high: 993 min/max: 800/4600 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 800 14: 800 15: 800 16: 993 bogomips: 73744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1,DP-2,DP-3
    bus-ID: 00:02.0 chip-ID: 8086:9a60
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] vendor: Dell driver: nvidia
    v: 545.29.06 arch: Ampere pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:25b8
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-11:3 chip-ID: 0c45:672e
  Display: x11 server: X.Org v: 21.1.11 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96
  Monitor-1: eDP-1 model: LG Display 0x06b3 res: 1920x1200 dpi: 145
    diag: 396mm (15.6")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: iris
    device: 3 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11:
    drv: iris inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.3.5-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1)
    device-ID: 8086:9a60
  API: Vulkan v: 1.3.276 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:25b8
  Device-1: Intel Tiger Lake-H HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:43c8
  API: ALSA v: k6.7.4-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-14:4 chip-ID: 8087:0026
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
  Local Storage: total: 3.96 TiB used: 659.64 GiB (16.3%)
  ID-1: /dev/nvme0n1 vendor: Lexar model: SSD NM790 4TB size: 3.73 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 35.9 C
  ID-2: /dev/nvme1n1 model: PCIe SSD size: 238.47 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 24.9 C
  ID-1: / size: 500 GiB used: 38.19 GiB (7.6%) fs: btrfs dev: /dev/nvme0n1p1
  ID-2: /home size: 3.21 TiB used: 621.13 GiB (18.9%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-3: /var/log size: 500 GiB used: 38.19 GiB (7.6%) fs: btrfs
    dev: /dev/nvme0n1p1
  ID-1: swap-1 type: partition size: 32.23 GiB used: 43.2 MiB (0.1%)
    priority: -2 dev: /dev/nvme0n1p2
  Src: /sys System Temperatures: cpu: 39.0 C mobo: 30.0 C sodimm: SODIMM C
  Fan Speeds (rpm): N/A
  Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
  Memory: total: 32 GiB note: est. available: 31.08 GiB used: 6.1 GiB (19.6%)
  Processes: 394 Power: uptime: 10m wakeups: 0 Init: systemd v: 255
    default: graphical
  Packages: 1571 pm: pacman pkgs: 1555 pm: flatpak pkgs: 16 Compilers:
    clang: 16.0.6 gcc: 13.2.1 Shell: Bash v: 5.2.26 running-in: konsole
    inxi: 3.3.33

Any more ideas what I should check/whats going on here?

This has been an issue with the current version of dracut. It should be fixed in the next release of the package if I have understood the matter correctly.

In the meantime, add also the line below to /etc/dracut.conf.d/resume.conf

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

Then rebuild your initramfs:

sudo reinstall-kernels

That did the trick, thanks so much. Will wait for a new release then and remove it

1 Like

You are welcome! Glad you got it working!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.