omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

HIBERNATION AND SUSPEND NOT WORKING.

Open Divyanshu-kumar14 opened this issue 9 months ago • 2 comments

System details

Intel i5-13450HX, RTX 3050, Omarchy 3.4.0

What's wrong?

System details

Dell-G15 5530

What's wrong?

Hi,

I'm running Omarchy (Linux 6.18.13-arch1-1) on a laptop with an NVIDIA GPU and I've been unable to get suspend or hibernate working.


System:

  • Kernel:Linux 6.18.13-arch1-1
  • NVIDIA GPU (proprietary drivers)
  • External USB hub connected

Issue 1: Suspend (systemctl suspend) fails

The system attempts to suspend but immediately wakes back up with the following errors in journalctl:

usb usb1: PM: dpm_run_callback(): usb_dev_suspend returns -16 usb usb1: PM: failed to suspend async: error -16 usb usb2: PM: dpm_run_callback(): usb_dev_suspend returns -16 usb usb2: PM: failed to suspend async: error -16 PM: Some devices failed to suspend, or early wake event detected systemd-sleep: Failed to put system to sleep. System resumed again: Device or resource busy

The system only supports s2idle (Low-power S0 idle used by default for system suspend), not S3 deep sleep. The xhci_hcd USB controller fails to suspend, immediately aborting the sleep attempt. Bluetooth also triggers an immediate wake event.

The kernel parameter usbcore.autosuspend=1 and a udev rule disabling USB wakeup did not resolve the issue. The freeze sleep state also fails with 'Device or resource busy'.


Issue 2: Hibernate (systemctl hibernate) fails with invalid resume config

Hibernate is potentially a viable workaround since the system has a 20GB swapfile and resume_offset=67118336 (verified with btrfs inspect-internal map-swapfile). However, hibernate fails with:

Call to Hibernate failed: Invalid resume config: resume= is not populated yet resume_offset= is

The reason is that the auto-generated cmdline in /boot/limine.conf contains a malformed resume= parameter:

resume=UUID=/dev/mapper/root ← broken, mixes UUID= prefix with a device path

The correct value should be:

resume=/dev/mapper/root

This appears to be generated by limine-entry-tool. Manually editing /boot/limine.conf to fix the resume= parameter does allow hibernate to work, but the fix gets overwritten on kernel updates since /boot/limine.conf is auto-generated.


Thanks for all the work on Omarchy — happy to provide any additional logs or testing if helpful. @dhh please help

Divyanshu-kumar14 avatar Feb 27 '26 13:02 Divyanshu-kumar14

This is your third ticket for the same issue. That's just not how we work around here. One more of this, and I'll have to ban you.

dhh avatar Feb 27 '26 13:02 dhh

@dhh Hi DHH, I sincerely apologize for opening multiple tickets on the same issue — I understand that's not how things work here and I should have been more patient and thorough before posting again.

I've been trying to fix suspend/hibernate on my laptop. I've made progress — the resume= parameter is now correctly set to UUID=ec2a3ed3-aefd-4233-afbb-95fde4086c29 with resume_offset=67118336 — but systemd is still rejecting the hibernate config with 'Invalid resume config: resume= is not populated yet resume_offset= is'.

I completely understand if you'd rather not help given the history. I just wanted to apologize and let you know I'm taking the issue seriously because I am using OMARCHY from last 4 month so it is my daily driver.

Sorry for opening multiple tickets.

Divyanshu-kumar14 avatar Feb 27 '26 14:02 Divyanshu-kumar14