omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Hibernation won't work anyway

Open Underday opened this issue 7 months ago • 17 comments

System details

Acer An515-57 omarchy 3.5.1

What's wrong?

According to the changelog, the hibernation issue has been resolved, but the feature is still not functioning. I attempted to disable and re-enable it without success. 🥲

Underday avatar Apr 17 '26 07:04 Underday

There are many issues with hibernation on Linux depending on the hardware you use. Unfortunately there is no universal fix that will work for all machines.

pomartel avatar Apr 17 '26 13:04 pomartel

There are many issues with hibernation on Linux depending on the hardware you use. Unfortunately there is no universal fix that will work for all machines.

Thank you for ur reply! I understand that but before 3.4 or something it works perfectly so it just break and i cant hibernate now.

Underday avatar Apr 17 '26 14:04 Underday

Got it! Did you try to disable it and re-enable it from the Omarchy menu?

pomartel avatar Apr 17 '26 14:04 pomartel

Got it! Did you try to disable it and re-enable it from the Omarchy menu?

it says already set up but no button on system menu too, idk maybe its a bug or i just messed up something. when i try with omarchy commands (hibernation remove) and set it up: button dosent work anyways after that I try systemctl hibernation and it give me an error: Call to Hibernate failed: Specified resume device is missing or is not an active swap device

Underday avatar Apr 17 '26 14:04 Underday

Yeah, I don't know. Personally I would just open Codex or Claude Code CLI and ask it to investigate the issue. Hibernation is tricky!

pomartel avatar Apr 17 '26 15:04 pomartel

Can you take a look at this thread?

Omarchy Discord Help Post

sean-imus avatar Apr 17 '26 21:04 sean-imus

I had a similar issue, after updating to 3.5.1 my hibernate stopped working. In my case the resume_offset value in both /etc/default/limine and /etc/limine-entry-tool.d/resume.conf was not the correct value (you can find the correct value using sudo btrfs inspect-internal map-swapfile -r /swap/swapfile).

After I updated both files with the correct value I ran:

sudo limine-mkinitcpio
sudo limine-update

Now my hibernate works again

jorgeholguin avatar Apr 20 '26 05:04 jorgeholguin

I had a similar issue, after updating to 3.5.1 my hibernate stopped working. In my case the resume_offset value in both /etc/default/limine and /etc/limine-entry-tool.d/resume.conf was not the correct value (you can find the correct value using sudo btrfs inspect-internal map-swapfile -r /swap/swapfile).

After I updated both files with the correct value I ran:

sudo limine-mkinitcpio
sudo limine-update

Now my hibernate works again

Thnx for reply, I try this already but it wont work. Plus, when I try to hibernate and power on my pc my wifi is break too. IDK

Underday avatar Apr 22 '26 10:04 Underday

@Underday you may have run in same issue as me https://github.com/basecamp/omarchy/discussions/5500

NicolasDorier avatar Apr 30 '26 05:04 NicolasDorier

@Underday you may have run in same issue as me https://github.com/basecamp/omarchy/discussions/5500

I just try first nvidia thing, and idk how but system is broken now,default keyring not working and btrfs is go crazy (this delete home backing up system and delete all home backups :D). I guess I'm done with this. Thnx for answer.

Underday avatar May 02 '26 11:05 Underday

For the default keyring, it's a different problem. I've gave up on that, I don't remember details but it wasn't really omarchy's fault, but was a weird edge case making things complicated caused by autologin. If you need keyring for the browser, you can disable it by changing the browser flags for --password-store basic. And I just don't use apps requiring a keyring... :(

For the home backup, if I remember it has been removed purposefully on https://github.com/basecamp/omarchy/commit/24ad7c7abada7d78b5baf1cb294415c37a2ab59d

NicolasDorier avatar May 03 '26 04:05 NicolasDorier

For the default keyring, it's a different problem. I've gave up on that, I don't remember details but it wasn't really omarchy's fault, but was a weird edge case making things complicated caused by autologin. If you need keyring for the browser, you can disable it by changing the browser flags for --password-store basic. And I just don't use apps requiring a keyring... :(

For the home backup, if I remember it has been removed purposefully on https://github.com/basecamp/omarchy/commit/24ad7c7abada7d78b5baf1cb294415c37a2ab59d

I used an app called Seahorse to configure it, and the keys are working. However, no matter what I do, deep sleep never works. I've given up trying, but it's still very frustrating.

Underday avatar May 12 '26 05:05 Underday

@Underday can you try https://github.com/basecamp/omarchy/pull/5519 ? It may or may not fix your hibernation issue.

Go to /etc/modprobe.d/nvidia.conf and add

options nvidia NVreg_PreserveVideoMemoryAllocations=0
options nvidia NVreg_UseKernelSuspendNotifiers=1

Then

sudo limine-update

reboot. If that works, comment on https://github.com/basecamp/omarchy/issues/5554

NicolasDorier avatar May 12 '26 08:05 NicolasDorier

@Underday can you try #5519 ? It may or may not fix your hibernation issue.

Go to /etc/modprobe.d/nvidia.conf and add

options nvidia NVreg_PreserveVideoMemoryAllocations=0
options nvidia NVreg_UseKernelSuspendNotifiers=1

Then

sudo limine-update

reboot. If that works, comment on #5554

This approach worked when I adjusted the resume offset settings at the same time.

Underday avatar May 13 '26 12:05 Underday

@Underday do you know if the resume offset fixed the issue, or this, or both were needed?

NicolasDorier avatar May 14 '26 06:05 NicolasDorier

@Underday do you know if the resume offset fixed the issue, or this, or both were needed?

@NicolasDorier I need both to work, each one is necessary for me. Maybe the offset is just broken for me, I don't know. And it should be noted that the Nvidia GPU was disabled by EnvyControl; I enabled it and tried again last time and it work (but dont work without offset and this fix ofc) .

Underday avatar May 14 '26 07:05 Underday

Thanks! The offset was broken due to an old buggy migration, it is fixed by now, but setup who ran the buggy migration probably stayed broken. Can you tell us about your config in https://github.com/basecamp/omarchy/pull/5554?

NicolasDorier avatar May 17 '26 09:05 NicolasDorier