How to enable hibernation

System:
  Kernel: 6.7.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=34274c8f-f09d-47a9-8370-c63a8c4e2061 rw rootflags=subvol=@ quiet
    rd.luks.uuid=f22f7b6f-7978-4c85-ad77-634ab3c30562 quiet rd.udev.log_priority=3
    vt.global_cursor_default=0 loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks v: 5.115.0 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Predator PH315-52 v: V1.12 serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: CFL model: Covini_CFS v: V1.12 serial: <superuser required> part-nu: 0000000000000000
    uuid: <superuser required> UEFI: Insyde v: 1.12 date: 07/28/2020
Battery:
  ID-1: BAT0 charge: 41.3 Wh (100.0%) condition: 41.3/41.3 Wh (100.0%) volts: 16.5 min: 15.4
    model: SMP KT00407009 AP18E7M type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Coffee Lake gen: core 9 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3999 high: 4001 min/max: 800/4100 scaling: driver: intel_pstate
    governor: powersave cores: 1: 3994 2: 4000 3: 4000 4: 4000 5: 4000 6: 4000 7: 4000 8: 4001
    bogomips: 38400
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Acer Incorporated ALI driver: nvidia
    v: 550.54.14 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of 2024-02;
    EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: none empty: DP-4,HDMI-A-3 bus-ID: 01:00.0
    chip-ID: 10de:1f11 class-ID: 0300
  Device-3: Quanta HD User Facing driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-7:2 chip-ID: 0408:a061 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0xd0ed built: 2019 res: 1920x1080 hz: 120 dpi: 142
    gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia 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: 24.0.1-arch1.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL GT2) device-ID: 8086:3e9b
    memory: 30.45 GiB unified: yes
  API: Vulkan v: 1.3.276 layers: 14 device: 0 type: integrated-gpu name: Intel UHD Graphics 630
    (CFL GT2) driver: mesa intel v: 24.0.1-arch1.1 device-ID: 8086:3e9b surfaces: xcb,xlib
    device: 1 type: discrete-gpu name: NVIDIA GeForce RTX 2060 driver: nvidia v: 550.54.14
    device-ID: 10de:1f11 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe (LLVM 16.0.6 256
    bits) driver: mesa llvmpipe v: 24.0.1-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI driver: snd_hda_intel
    v: kernel al
ternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348
    class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10f9 class-ID: 0403
  API: ALSA v: k6.7.6-zen1-1-zen status: kernel-api with: aoss type: oss-emulator tools: N/A
  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
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Acer Incorporated ALI
    driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 08:00.0
    chip-ID: 1969:e0b1 class-ID: 0200
  IF: enp8s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer driver: iwlwifi v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 09:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp9s0 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  IF-ID-2: virbr1 state: down mac: <filter>
  IF-ID-3: virbr2 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    mode: 1.1 bus-ID: 1-14:4 chip-ID: 8087:0029 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 5.2 lmp-v: 11 status:
    discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 3.7 TiB used: 2.25 TiB (60.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:3 model: NX-2TB 2280 size: 1.86 TiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: SN09843 temp: 40.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Asgard model: AN3 1TNVMe-M.2 80 size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 42A7T36A temp: 30.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: A3J0 scheme: GPT
Partition:
  ID-1: / raw-size: 358.16 GiB size: 358.16 GiB (100.00%) used: 244.03 GiB (68.1%) fs: btrfs
    dev: /dev/dm-0 maj-min: 254:0 mapped: luks-f22f7b6f-7978-4c85-ad77-634ab3c30562
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 27 MiB (28.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:4
  ID-3: /home raw-size: 358.16 GiB size: 358.16 GiB (100.00%) used: 244.03 GiB (68.1%) fs: btrfs
    dev: /dev/dm-0 maj-min: 254:0 mapped: luks-f22f7b6f-7978-4c85-ad77-634ab3c30562
  ID-4: /var/log raw-size: 358.16 GiB size: 358.16 GiB (100.00%) used: 244.03 GiB (68.1%)
    fs: btrfs dev: /dev/dm-0 maj-min: 254:0 mapped: luks-f22f7b6f-7978-4c85-ad77-634ab3c30562
  ID-5: /var/tmp raw-size: 358.16 GiB size: 358.16 GiB (100.00%) used: 244.03 GiB (68.1%)
    fs: btrfs dev: /dev/dm-0 maj-min: 254:0 mapped: luks-f22f7b6f-7978-4c85-ad77-634ab3c30562
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.19 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 41.0 C pch: 55.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.19 GiB used: 6.17 GiB (19.8%)
  Processes: 370 Power: uptime: 1h 18m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 12.41 GiB
    services: org_kde_powerdevil, power-profiles-daemon, upowerd Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 2270 libs: 615 tools: octopi,paru,yay pm: flatpak pkgs: 0 Compilers:
    cl
ang: 16.0.6 gcc: 13.2.1 Client: shell wrapper v: 5.2.26-release inxi: 3.3.33
Garuda (2.6.23-1):
  System install date:     2023-10-15
  Last full system update: 2024-02-29
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            swapfile.swap 

https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation
Please note that for the initramfs we use dracut, not mkinitcpio, so consider this:
https://wiki.archlinux.org/title/Dracut#Hibernation
And rebuild the initramfs with sudo dracut-rebuild.

2 Likes

Yup not the first time I seen that… This is an issue I been trying to solve for weeks now on my own… I created the zram swap, updated the grub config, but nothing has worked for me so far. Im only reaching because I have already used these resources and am still stuck

… Actually just noticed the following file you mentioned /etc/dracut.conf.d/resume-from-hibernate.conf does not exist in the folder

You have to create that file (whatever the name, of course).
A normal swap partition should be used, not zram.
Anyway, although I’m not an nVidia user, I’ve read recently about some troubles with their drivers in realtion to hibernation/resume (but I might be wrong here).

4 Likes

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