omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Hibernation is not working

Open Tsurgcom opened this issue 10 months ago • 14 comments

System details

┌──────────────────────Hardware──────────────────────┐
 PC: Tsurg
│ ├: Intel(R) Core(TM) i7-14700F (16+12) @ 5.40 GHz
│ ├: NVIDIA GeForce RTX 5070 [Discrete]
│ ├󱄄: 1920x1080 in 23", 60 Hz [External]
│ ├󰋊: 111.19 GiB / 929.50 GiB (12%) - btrfs
│ ├: 2.39 GiB / 15.37 GiB (16%)
└ └󰓡 : 0 B / 19.37 GiB (0%)
└────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐
 OS: Omarchy 3.3.1
│ ├󰘬: master
│ ├󰔫: stable
│ ├: Linux 6.18.3-arch1-1
│ ├: Hyprland 0.53.1 (Wayland)
│ ├: ghostty 1.2.3-arch2
│ ├󰏖: 1158 (pacman)
│ ├󰸌: Mars ●●●●●●●●
└ └: JetBrainsMono Nerd Font (9pt)
└────────────────────────────────────────────────────┘

┌────────────────Age / Uptime / Update───────────────┐
󱦟 OS Age: 6 days
󱫐 Uptime: 9 mins
 Update: Wednesday, January 07 2026 at 21:41
└────────────────────────────────────────────────────┘

What's wrong?

I have enabled hibernation in Setup > System Sleep > Enable Hibernation and it seems like when I hibernate my computer and power it on again, It is having difficulty with loading the state before hibernating. I get to limine, enter my password in, press esc to hide loading screen, and it says something along the lines of unable to load from swap

Tsurgcom avatar Jan 08 '26 16:01 Tsurgcom

I have a similar issue. Hibernation works fine the first time but if I try to hibernate once again my laptop stays on (fans running and keyboard backlight on) and enters an unwakeable state. I tried pressing every keys and buttons but nothing works. I have to force it to shutdown.

It might also come from bad support for my type of cpu by the kernel because I was impacted by #3413 RDSEED32 error and since then suspend stopped working for me.

System details

┌──────────────────────Hardware──────────────────────┐
 PC: 21TBCTO1WW (ThinkPad T14s Gen 6)
│ ├: AMD Ryzen AI 7 PRO 350 (8+8) @ 5.09 GHz
│ ├: AMD Radeon 860M Graphics [Integrated]
│ ├󱄄: 1920x1080 in 24", 60 Hz [External]
│ ├󱄄: 1920x1200 @ 1.25x in 14", 60 Hz [Built-in]
│ ├󰋊: 144.47 GiB / 951.85 GiB (15%) - btrfs
│ ├: 2.35 GiB / 30.49 GiB (8%)
└ └󰓡 : 0 B / 34.49 GiB (0%)
└────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐
 OS: Omarchy 3.3.1
│ ├󰘬: master
│ ├󰔫: edge
│ ├: Linux 6.18.3-arch1-1
│ ├: Hyprland 0.53.1 (Wayland)
│ ├: ghostty 1.2.3-arch2
│ ├󰏖: 1045 (pacman), 6 (flatpak-user)
│ ├󰸌: Osaka Jade ●●●●●●●●
└ └: JetBrainsMono Nerd Font (11pt)
└────────────────────────────────────────────────────┘

┌────────────────Age / Uptime / Update───────────────┐
󱦟 OS Age: 78 days
󱫐 Uptime: 8 mins
 Update: Thursday, January 08 2026 at 22:01
└────────────────────────────────────────────────────┘

Tigid0u avatar Jan 08 '26 21:01 Tigid0u

It might also come from bad support for my type of cpu

Possibly, but it is strange that chips from Intel, Nvidia, and AMD are affected.

It could be that some migrations failed...

Tsurgcom avatar Jan 09 '26 00:01 Tsurgcom

maybe this is an issue? I am going to enable these and see how it goes.

~ ✗ sudo systemctl status nvidia-hibernate.service
○ nvidia-hibernate.service - NVIDIA system hibernate actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
     Active: inactive (dead)

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

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

~ ✗ sudo systemctl status nvidia-suspend-then-hibernate.service
○ nvidia-suspend-then-hibernate.service - NVIDIA actions for suspend-then-hibernate
     Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend-then-hibernate.service; disabled; preset: disabled)
     Active: inactive (dead)

~ ✗ sudo systemctl status nvidia-powerd.service
○ nvidia-powerd.service - nvidia-powerd service
     Loaded: loaded (/usr/lib/systemd/system/nvidia-powerd.service; disabled; preset: disabled)
     Active: inactive (dead)

~ ✗ sudo systemctl status nvidia-persistenced.service
● nvidia-persistenced.service - NVIDIA Persistence Daemon
     Loaded: loaded (/usr/lib/systemd/system/nvidia-persistenced.service; enabled; preset: disabled)
     Active: active (running) since Thu 2026-01-08 15:48:55 GMT; 8h ago
 Invocation: 607ab556d5144758b63b717d59f781c6
   Main PID: 1289 (nvidia-persiste)
      Tasks: 1 (limit: 18623)
     Memory: 584K (peak: 3.2M, swap: 4K, swap peak: 4K)
        CPU: 7ms
     CGroup: /system.slice/nvidia-persistenced.service
             └─1289 /usr/bin/nvidia-persistenced --user nvidia-persistenced

Jan 08 15:48:55 bolshoy systemd[1]: Starting NVIDIA Persistence Daemon...
Jan 08 15:48:55 bolshoy nvidia-persistenced[1289]: Started (1289)
Jan 08 15:48:55 bolshoy systemd[1]: Started NVIDIA Persistence Daemon.

Tsurgcom avatar Jan 09 '26 00:01 Tsurgcom

I have a similar issue. Hibernation works fine the first time but if I try to hibernate once again my laptop stays on (fans running and keyboard backlight on) and enters an unwakeable state. I tried pressing every keys and buttons but nothing works. I have to force it to shutdown.

It might also come from bad support for my type of cpu by the kernel because I was impacted by #3413 RDSEED32 error and since then suspend stopped working for me.

System details

┌──────────────────────Hardware──────────────────────┐
 PC: 21TBCTO1WW (ThinkPad T14s Gen 6)
│ ├: AMD Ryzen AI 7 PRO 350 (8+8) @ 5.09 GHz
│ ├: AMD Radeon 860M Graphics [Integrated]
│ ├󱄄: 1920x1080 in 24", 60 Hz [External]
│ ├󱄄: 1920x1200 @ 1.25x in 14", 60 Hz [Built-in]
│ ├󰋊: 144.47 GiB / 951.85 GiB (15%) - btrfs
│ ├: 2.35 GiB / 30.49 GiB (8%)
└ └󰓡 : 0 B / 34.49 GiB (0%)
└────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐
 OS: Omarchy 3.3.1
│ ├󰘬: master
│ ├󰔫: edge
│ ├: Linux 6.18.3-arch1-1
│ ├: Hyprland 0.53.1 (Wayland)
│ ├: ghostty 1.2.3-arch2
│ ├󰏖: 1045 (pacman), 6 (flatpak-user)
│ ├󰸌: Osaka Jade ●●●●●●●●
└ └: JetBrainsMono Nerd Font (11pt)
└────────────────────────────────────────────────────┘

┌────────────────Age / Uptime / Update───────────────┐
󱦟 OS Age: 78 days
󱫐 Uptime: 8 mins
 Update: Thursday, January 08 2026 at 22:01
└────────────────────────────────────────────────────┘

I have the same exact problem. First time hibernation is fine, the second time it's unwakeable. The power button light also remains on the second time which makes me think that it's unable to write the hibernation image (hangs) so we never actually go into the hibernation state

I'm on Omarchy 3.3.3 AMD Radeon integrated graphics

tameravci avatar Jan 09 '26 08:01 tameravci

Image

I’m experiencing a similar issue with suspend. When I enter suspend mode, the LED on my laptop’s power button dims and flickers. However, when I move the mouse or use the keyboard, the display does not turn back on, although the power button LED lights up, indicating that the laptop is responding to input. Interestingly, when I connect an external monitor, it turns on, but the laptop’s primary screen remains dark.

R2D2ar avatar Jan 09 '26 17:01 R2D2ar

I have a similar issue. Hibernation works fine the first time but if I try to hibernate once again my laptop stays on (fans running and keyboard backlight on) and enters an unwakeable state. I tried pressing every keys and buttons but nothing works. I have to force it to shutdown. It might also come from bad support for my type of cpu by the kernel because I was impacted by #3413 RDSEED32 error and since then suspend stopped working for me.

System details

┌──────────────────────Hardware──────────────────────┐
 PC: 21TBCTO1WW (ThinkPad T14s Gen 6)
│ ├: AMD Ryzen AI 7 PRO 350 (8+8) @ 5.09 GHz
│ ├: AMD Radeon 860M Graphics [Integrated]
│ ├󱄄: 1920x1080 in 24", 60 Hz [External]
│ ├󱄄: 1920x1200 @ 1.25x in 14", 60 Hz [Built-in]
│ ├󰋊: 144.47 GiB / 951.85 GiB (15%) - btrfs
│ ├: 2.35 GiB / 30.49 GiB (8%)
└ └󰓡 : 0 B / 34.49 GiB (0%)
└────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐
 OS: Omarchy 3.3.1
│ ├󰘬: master
│ ├󰔫: edge
│ ├: Linux 6.18.3-arch1-1
│ ├: Hyprland 0.53.1 (Wayland)
│ ├: ghostty 1.2.3-arch2
│ ├󰏖: 1045 (pacman), 6 (flatpak-user)
│ ├󰸌: Osaka Jade ●●●●●●●●
└ └: JetBrainsMono Nerd Font (11pt)
└────────────────────────────────────────────────────┘

┌────────────────Age / Uptime / Update───────────────┐
󱦟 OS Age: 78 days
󱫐 Uptime: 8 mins
 Update: Thursday, January 08 2026 at 22:01
└────────────────────────────────────────────────────┘

I have the same exact problem. First time hibernation is fine, the second time it's unwakeable. The power button light also remains on the second time which makes me think that it's unable to write the hibernation image (hangs) so we never actually go into the hibernation state

I'm on Omarchy 3.3.3 AMD Radeon integrated graphics

Two more things to add:

  • Suspend is working for me despite the RDSEED32 error
  • While I was testing hibernate, I noticed that my fingerprint reader wouldn't work after the first successful wake post hibernate

tameravci avatar Jan 11 '26 08:01 tameravci

This seems to have solved Hibernation for me and the identified issue of Missing kernel resume parameters. Your kernel cmdline has NO resume= or resume_offset= parameters.:

  • https://github.com/basecamp/omarchy/issues/4259#issuecomment-3804954054

sspaeti avatar Jan 27 '26 12:01 sspaeti

In addition to @sspaeti's fix, I also had to add amdgpu.ip_block_mask=0xfffff7ff to /etc/default/limine to fix the subsequent hibernation issues. Source

Cliffback avatar Jan 29 '26 18:01 Cliffback

In addition to @sspaeti's fix, I also had to add amdgpu.ip_block_mask=0xfffff7ff to /etc/default/limine to fix the subsequent hibernation issues. Source

Wow, thanks so MUCH. This totally solved my problem, too. I had VPE errors all the time after each Hibernate. I even wrote a script to check whether I need to reboot (https://github.com/sspaeti/dotfiles/blob/master/hypr/.config/hypr/sspaeti/gpu-health-check) 😅. I can confirm that I just hibernated and suspended, and no more VPE errors were found. That saves me a lot of headaches. Thanks so much!

sspaeti avatar Jan 29 '26 19:01 sspaeti

@sspaeti keep an eye on #4184 - proper fix might come in kernel driver, requiring no more workarounds

GMichu avatar Jan 30 '26 10:01 GMichu

There might be several issues at play, but on https://github.com/basecamp/omarchy/issues/4974 I identified two issues:

  1. Invalid resume_offset= in /etc/limine-entry-tool.d/resume.conf due to permission issue.
  2. /etc/default/limine overriding the drop-in because it uses KERNEL_CMDLINE[default]= instead of KERNEL_CMDLINE[default]+=

I am still crashing though

NicolasDorier avatar Mar 11 '26 03:03 NicolasDorier

I am still crashing though

@NicolasDorier What machine do you have? If you have AMD, this is what solves it for me (works since ~3 weeks, no crashes whatsoever): https://github.com/basecamp/omarchy/issues/4259#issuecomment-4010179550 (see also the linked comments from me to get the full picture).

Main things for me were fixing hibernation and enabling amdgpu.cwsr_enable=0.

sspaeti avatar Mar 11 '26 07:03 sspaeti

@sspaeti yes I've seen your suggestion, but I don't think this is the issue as I use Intel, not AMD. My crash is a kernel panic after entering the password to unlock omarchy on wake up.

┌──────────────────────Hardware──────────────────────┐  PC: 21KCCTO1WW (ThinkPad X1 Carbon Gen 12) │ ├: Intel(R) Core(TM) Ultra 5 125H (8+10) @ 4.50 GHz │ ├: Intel Arc Graphics @ 2.20 GHz [Integrated] │ ├󱄄: 2880x1800 @ 2x in 14", 120 Hz [Built-in] │ ├󰋊: 246.72 GiB / 951.85 GiB (26%) - btrfs │ ├: 17.60 GiB / 30.85 GiB (57%) └ └󰓡 : 36.00 KiB / 79.43 GiB (0%) └────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐  OS: Omarchy 3.4.2 │ ├󰘬: master │ ├󰔫: stable │ ├: Linux 6.19.6-arch1-1 │ ├: Hyprland 0.54.1 (Wayland) │ ├: ghostty 1.2.3-arch3 │ ├󰏖: 1310 (pacman) │ ├󰸌: Catppuccin Latte ●●●●●●●● └ └: JetBrainsMono Nerd Font (9pt) └────────────────────────────────────────────────────┘

┌────────────────Age / Uptime / Update───────────────┐ 󱦟 OS Age: 150 days 󱫐 Uptime: 1 hour, 59 mins  Update: Tuesday, March 10 2026 at 17:11 └────────────────────────────────────────────────────┘

NicolasDorier avatar Mar 11 '26 08:03 NicolasDorier

After some distro-hopping, I have come back to omarchy to stay. I have not had this problem since.

(My previous install drive had omarchy ~3.1, but this time I burned a fresh iso.)

Tsurgcom avatar Apr 17 '26 19:04 Tsurgcom