Hibernation won't work anyway
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. 🥲
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.
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.
Got it! Did you try to disable it and re-enable it from the Omarchy menu?
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
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!
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
I had a similar issue, after updating to 3.5.1 my hibernate stopped working. In my case the
resume_offsetvalue in both/etc/default/limineand/etc/limine-entry-tool.d/resume.confwas not the correct value (you can find the correct value usingsudo btrfs inspect-internal map-swapfile -r /swap/swapfile).After I updated both files with the correct value I ran:
sudo limine-mkinitcpio sudo limine-updateNow 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 you may have run in same issue as me https://github.com/basecamp/omarchy/discussions/5500
@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.
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
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 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
@Underday can you try #5519 ? It may or may not fix your hibernation issue.
Go to
/etc/modprobe.d/nvidia.confand addoptions nvidia NVreg_PreserveVideoMemoryAllocations=0 options nvidia NVreg_UseKernelSuspendNotifiers=1Then
sudo limine-updatereboot. If that works, comment on #5554
This approach worked when I adjusted the resume offset settings at the same time.
@Underday do you know if the resume offset fixed the issue, or this, or both were needed?
@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) .
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?