Hibernating doesn't save state after update

When I try to hibernate, all programs close and no state is saved on reboot. I also started getting a PostgreSQL failed to start warning at startup with some blue Nvidia related text.

  Kernel: 6.6.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=8b5dad39-7bad-4f79-8a48-361ffb45159c rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=a6f142fa-98ba-4663-8088-23273caf01e8 loglevel=3 ibt=off
  Desktop: Cinnamon v: 6.0.1 tk: GTK v: 3.24.38 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401QM_GA401QM
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: GA401QM v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: GA401QM.412 date: 08/30/2022
Battery:
  ID-1: BAT0 charge: 56.3 Wh (99.3%) condition: 56.7/76.0 Wh (74.6%)
    volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: not charging
  ID-2: hidpp_battery_0 charge: 99% condition: N/A volts: 4.2 min: N/A
    model: Logitech G703 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
    serial: <filter> status: N/A
  ID-3: hidpp_battery_2 charge: 99% condition: N/A volts: 4.2 min: N/A
    model: Logitech G703 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
    serial: <filter> status: charging
CPU:
  Info: model: AMD Ryzen 9 5900HS with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1462 high: 2990 min/max: 400/4680 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1397 2: 400 3: 1640
    4: 2990 5: 2027 6: 1397 7: 1483 8: 1592 9: 400 10: 400 11: 1954 12: 2978
    13: 400 14: 400 15: 2080 16: 1868 bogomips: 105409
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
    driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
    status: current (as of 2023-10; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 04:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 48.0 C
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3 driver: X:
    loaded: amdgpu,nvidia dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5360x1440 s-dpi: 96 s-size: 1418x381mm (55.83x15.00")
    s-diag: 1468mm (57.81")
  Monitor-1: DP-0 pos: primary,top-right res: 3440x1440 dpi: 109
    size: 800x340mm (31.5x13.39") diag: 869mm (34.22") modes: N/A
  Monitor-2: eDP-1-0 pos: bottom-l res: 1920x1080 hz: 144 dpi: 158
    size: 309x174mm (12.17x6.85") diag: 355mm (13.96") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060 Laptop
    GPU/PCIe/SSE2 memory: 5.86 GiB
  API: Vulkan v: 1.3.269 layers: 8 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RENOIR) driver: mesa radv v: 23.2.1-arch1.2
    device-ID: 1002:1638 surfaces: xcb,xlib device: 1 type: discrete-gpu
    name: NVIDIA GeForce RTX 3060 Laptop GPU driver: nvidia v: 545.29.06
    device-ID: 10de:2520 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
    (LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
    16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228e class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Device-5: Realtek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1.1.1:21
    chip-ID: 0bda:4c3a class-ID: 0300
  API: ALSA v: k6.6.7-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.0.0 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: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-2.1:3
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp4s0f4u2u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:3 chip-ID: 13d3:3563
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
  Local Storage: total: 476.94 GiB used: 337.1 GiB (70.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLQ512HBLU-00B00 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: FXM7201Q temp: 35.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 460.11 GiB size: 460.11 GiB (100.00%)
    used: 337.1 GiB (73.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 460.11 GiB size: 460.11 GiB (100.00%)
    used: 337.1 GiB (73.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 460.11 GiB size: 460.11 GiB (100.00%)
    used: 337.1 GiB (73.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 460.11 GiB size: 460.11 GiB (100.00%)
    used: 337.1 GiB (73.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.03 GiB used: 870.8 MiB (5.7%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.53 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 59.2 C mobo: 46.0 C
  Fan Speeds (rpm): cpu: 2700
  GPU: device: nvidia screen: :0.0 temp: 48 C device: amdgpu temp: 51.0 C
Info:
  Processes: 426 Uptime: 18h 30m wakeups: 0 Memory: total: 16 GiB note: est.
  available: 15.03 GiB used: 6.79 GiB (45.2%) Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1876 libs: 535 tools: pamac,paru Shell: fish
  v: 3.6.4 default: Bash v: 5.2.21 running-in: gnome-terminal inxi: 3.3.31
Garuda (2.6.21-1):
  System install date:     2023-08-03
  Last full system update: 2023-12-17
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:            postgresql.service  ```

Have you added the resume module to dracut? See:
https://wiki.archlinux.org/title/Dracut#Hibernation
After that, regenerate with:

sudo dracut-rebuild
3 Likes

Before i tried this, I updated with garuda-update (or as I like to call it, gary).

And I got this

Proceeded to do sudo dracut-rebuild and there’s no change

Edit:

Now this happened

Please don’t use pictures for terminal text.
For those update errors you could try an

update remote fix

After that, for the resume problem, try also this:

4 Likes

The pacman issue seems to be solved.

The hibernate issue still persists after doing what that link said.

Not sure if related, but when I run sudo dkms status i get:

Error! Could not locate dkms.conf file.
File: /var/lib/dkms/nvidia/535.113.01/source/dkms.conf does not exist.

This is my dkms folder:

drwxr-xr-x - root 19 dez 20:20 ξ—Ώ .
drwxr-xr-x - root 13 ago 18:07 β”œβ”€β”€ ξ—Ώ 535.86.05
drwxr-xr-x - root  3 ago 13:18 β”‚  β”œβ”€β”€ ξ—Ώ 6.2.13-zen-1-zen
lrwxrwxrwx - root  3 ago 13:17 β”‚  └── ο€– source -> /usr/src/nvidia-535.86.05
drwxr-xr-x - root 24 ago 17:50 β”œβ”€β”€ ξ—Ώ 535.98
drwxr-xr-x - root 13 ago 18:08 β”‚  β”œβ”€β”€ ξ—Ώ 6.4.8-zen1-1-zen
lrwxrwxrwx - root 13 ago 18:08 β”‚  └── ο€– source -> /usr/src/nvidia-535.98
drwxr-xr-x - root 14 nov 14:21 β”œβ”€β”€ ξ—Ώ 535.113.01
drwxr-xr-x - root 27 set 14:52 β”‚  β”œβ”€β”€ ξ—Ώ 6.5.4-zen2-1-zen
lrwxrwxrwx - root 27 set 14:51 β”‚  └── ο€– source -> /usr/src/nvidia-535.113.01
drwxr-xr-x - root 28 nov 23:05 β”œβ”€β”€ ξ—Ώ 545.29.02
drwxr-xr-x - root 14 nov 14:23 β”‚  β”œβ”€β”€ ξ—Ώ 6.5.9-zen2-1-zen
lrwxrwxrwx - root 14 nov 14:21 β”‚  └── ο€– source -> /usr/src/nvidia-545.29.02
drwxr-xr-x - root 19 dez 20:20 β”œβ”€β”€ ξ—Ώ 545.29.06
drwxr-xr-x - root 19 dez 19:24 β”‚  β”œβ”€β”€ ξ—Ώ 6.1.68-1-lts
drwxr-xr-x - root 28 nov 23:07 β”‚  β”œβ”€β”€ ξ—Ώ 6.6.1-zen1-1-zen
drwxr-xr-x - root 19 dez 20:20 β”‚  β”œβ”€β”€ ξ—Ώ 6.6.7-arch1-1
drwxr-xr-x - root 19 dez 19:23 β”‚  β”œβ”€β”€ ξ—Ώ 6.6.7-zen1-1-zen
lrwxrwxrwx - root 28 nov 23:06 β”‚  └── ξ—Ώ source -> /usr/src/nvidia-545.29.06
lrwxrwxrwx - root 19 dez 19:24 β”œβ”€β”€ ξ—Ώ kernel-6.1.68-1-lts-x86_64 -> 545.29.06/6.1.68-1-lts/x86_64
lrwxrwxrwx - root  3 ago 13:18 β”œβ”€β”€ ξ—Ώ kernel-6.2.13-zen-1-zen-x86_64 -> 535.86.05/6.2.13-zen-1-zen/x86_64
lrwxrwxrwx - root 13 ago 18:08 β”œβ”€β”€ ξ—Ώ kernel-6.4.8-zen1-1-zen-x86_64 -> 535.98/6.4.8-zen1-1-zen/x86_64
lrwxrwxrwx - root 27 set 14:52 β”œβ”€β”€ ξ—Ώ kernel-6.5.4-zen2-1-zen-x86_64 -> 535.113.01/6.5.4-zen2-1-zen/x86_64
lrwxrwxrwx - root 14 nov 14:23 β”œβ”€β”€ ξ—Ώ kernel-6.5.9-zen2-1-zen-x86_64 -> 545.29.02/6.5.9-zen2-1-zen/x86_64
lrwxrwxrwx - root 28 nov 23:08 β”œβ”€β”€ ξ—Ώ kernel-6.6.1-zen1-1-zen-x86_64 -> 545.29.06/6.6.1-zen1-1-zen/x86_64
lrwxrwxrwx - root 19 dez 20:20 β”œβ”€β”€ ξ—Ώ kernel-6.6.7-arch1-1-x86_64 -> 545.29.06/6.6.7-arch1-1/x86_64
lrwxrwxrwx - root 19 dez 19:24 β”œβ”€β”€ ξ—Ώ kernel-6.6.7-zen1-1-zen-x86_64 -> 545.29.06/6.6.7-zen1-1-zen/x86_64
drwxr-xr-x - root 28 nov 23:08 └── ξ—Ώ original_module
drwxr-xr-x - root  3 ago 13:18    β”œβ”€β”€ ξ—Ώ 6.2.13-zen-1-zen
drwxr-xr-x - root 13 ago 18:08    β”œβ”€β”€ ξ—Ώ 6.4.8-zen1-1-zen
drwxr-xr-x - root 27 set 14:52    β”œβ”€β”€ ξ—Ώ 6.5.4-zen2-1-zen
drwxr-xr-x - root 14 nov 14:23    β”œβ”€β”€ ξ—Ώ 6.5.9-zen2-1-zen
drwxr-xr-x - root 28 nov 23:08    └── ξ—Ώ 6.6.1-zen1-1-zen

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