Garuda uses Dracut now, so to check what hooks are being used, run sudo lsinitrd /path/to/initramfs_or_uefi_image | less
(image should be in your /boot folder) as suggested here: dracut - ArchWiki in the tips and tricks section.
If you don’t have the resume
hook, look at the troubleshooting section further down the page to implement it.
However, unfortunately, I can’t guarantee that doing this will necessarily work for you, but it’s always worth a check just in case. I am also facing the same issue with shutting down instead of hibernating, and I have the resume hook as well. I’m a Qtile user now though, so idk whether I qualify to chime in here anymore :')
Hibernating used to work for me on my old setup with KDE (in fact it was safer than sleeping since i would get the mouse cursor on blank screen issue after waking from sleep sometimes), but I was using mkinitcpio and never tested it after I moved it to Dracut. The swap setup is basically identical to my current one, just ± a GB here and there. Both were made by the Garuda installer on the live ISO, and the KDE setup had hibernate working after I added the resume hook via mkinitpcio… I’ve been hibernating by directly running systemctl hibernate
and hitting my power button, which is set to hibernate.
garuda-inxi from old setup where hibernate was working
System:
Kernel: 5.15.79-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=c9f99daa-f49a-4d9f-a961-e0361c675eed
rw rootflags=subvol=@ splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=8d72c892-6d9c-4514-b2d6-398dc499ca0c loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 info: latte-dock wm: kwin_x11 vt: 2 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required> Chassis:
type: 10 serial: <superuser required>
Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
date: 08/10/2021
Battery:
ID-1: BAT0 charge: 26.7 Wh (32.3%) condition: 82.7/97.0 Wh (85.3%) volts: 11.2 min: 11.4
model: LGC-LGC8.33 DELL 5XJ28 type: Li-ion serial: <filter> status: discharging
CPU:
Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3
note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
microcode: 0xF0
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: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 900 min/max: 800/3800 scaling: driver: intel_pstate governor: powersave
cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900 8: 900 bogomips: 44798
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel arch: Gen-9.5
process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 520.56.06
alternate: nouveau,nvidia_drm non-free: 520.xx+ status: current (as of 2022-10) arch: Pascal
code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-12:7
chip-ID: 1bcf:2b95 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5 compositor: kwin_x11 driver: X:
loaded: intel dri: i965 gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 168 s-size: 580x326mm (22.83x12.83") s-diag: 665mm (26.19")
Monitor-1: eDP-1 mapped: eDP1 model: Sharp 0x1476 built: 2016 res: 3840x2160 hz: 60 dpi: 279
gamma: 1.2 size: 350x190mm (13.78x7.48") diag: 397mm (15.6") ratio: 16:9 modes: 3840x2160
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel HD Graphics 630 (KBL GT2)
direct render: Yes
Audio:
Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
chip-ID: 8086:a171 class-ID: 0403
Sound API: ALSA v: k5.15.79-1-lts running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Rivet Networks
Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 41.0 C
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb v: 0.8 bus-ID: 1-4:4
chip-ID: 0cf3:e300 class-ID: e001
Report: bt-adapter note: tool can't run ID: hci0 rfk-id: 1 state: down bt-service: disabled
rfk-block: hardware: no software: no address: N/A
Drives:
Local Storage: total: 476.94 GiB used: 587.04 GiB (123.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: AADA4106 temp: 31.9 C scheme: GPT
Partition:
ID-1: / raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 10.2 MiB (3.4%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 459.61 GiB size: 459.61 GiB (100.00%) used: 148.98 GiB (32.4%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.48 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.03 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 46.0 C pch: 43.5 C mobo: N/A
Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
Processes: 281 Uptime: 1h 30m wakeups: 3 Memory: 15.48 GiB used: 5.18 GiB (33.5%) Init: systemd
v: 252 default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1780
libs: 500 tools: octopi,pamac,paru pm: appimage pkgs: 0 Client: shell wrapper v: 5.1.16-release
inxi: 3.3.23
Garuda (2.6.9-1):
System install date: 2022-10-19
Last full system update: 2022-11-26
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: Probably (Run as root to verify)
Snapshots: Snapper
Failed units: systemd-vconsole-setup.service
Current garuda-inxi
System:
Kernel: 6.2.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=e34775a9-3a44-4cad-b4a1-7a4688cda7b4
rw rootflags=subvol=@ splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=fca2f0b8-fe12-4de7-b5ff-de54fd42afbb loglevel=3 ibt=off nvidia_drm.modeset=1
Desktop: Qtile v: 0.22.1 wm: LG3D vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required> Chassis:
type: 10 serial: <superuser required>
Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
date: 08/10/2021
Battery:
ID-1: BAT0 charge: 61.0 Wh (73.8%) condition: 82.7/97.0 Wh (85.3%) volts: 11.9 min: 11.4
model: LGC-LGC8.33 DELL 5XJ28 type: Li-ion serial: <filter> status: not charging
CPU:
Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 level: v3
note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
microcode: 0xF0
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: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 3469 high: 3556 min/max: 800/3800 scaling: driver: intel_pstate
governor: powersave cores: 1: 3488 2: 3400 3: 3444 4: 3556 5: 3556 6: 3421 7: 3479 8: 3415
bogomips: 44798
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel arch: Gen-9.5
process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 525.89.02
alternate: nouveau,nvidia_drm non-free: 525.xx+ status: current (as of 2023-02) arch: Pascal
code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max:
gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-12:7
chip-ID: 1bcf:2b95 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.7 compositor: Picom v: git-c4107 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: 3840x2160 s-dpi: 185 s-size: 527x296mm (20.75x11.65") s-diag: 604mm (23.8")
Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 hz: 60 dpi: 282 gamma: 1.2
size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9 modes: 3840x2160
API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel
alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403
Sound API: ALSA v: k6.2.7-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Rivet Networks
Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 02:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 38.0 C
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb v: 0.8 bus-ID: 1-4:4
chip-ID: 0cf3:e300 class-ID: e001
Report: bt-adapter note: tool can't run ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: no address: N/A
Drives:
Local Storage: total: 476.94 GiB used: 512.67 GiB (107.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: AADA4106 temp: 30.9 C scheme: GPT
Partition:
ID-1: / raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 77.32 GiB (16.8%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB (0.2%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 77.32 GiB (16.8%) fs: btrfs
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 77.32 GiB (16.8%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 459.62 GiB size: 459.62 GiB (100.00%) used: 77.32 GiB (16.8%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.47 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.02 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 45.0 C pch: 45.5 C mobo: 40.0 C
Fan Speeds (RPM): cpu: 2509 fan-2: 2520
Info:
Processes: 276 Uptime: 14h 51m wakeups: 2158 Memory: 15.47 GiB used: 4.49 GiB (29.0%)
Init: systemd v: 253 default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
Packages: pm: pacman pkgs: 1458 libs: 371 tools: paru Client: shell wrapper v: 5.1.16-release
inxi: 3.3.25
Garuda (2.6.15-1):
System install date: 2023-03-19
Last full system update: 2023-03-21
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: Probably (Run as root to verify)
Failed units: power.service systemd-vconsole-setup.service
I’ll also chuck in some other things that may be worth checking, as they’re related to this issue afaik.
Current /etc/systemd/sleep.conf
Output of lsinitrd
Current /etc/systemd/logind.conf
Current /etc/default/grub
On another note, this is normal btw
a hibernating machine generally looks like it’s shut off - the power button light turns off for most machines. Most of them don’t respond to key presses - that is the case if the machine is sleeping (suspend to ram).
What matters is whether your last session still comes back the way it was before. Iirc, you should land back on a lock screen, not the SDDM login manager.