omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

After login, instantly suspends/hibernates

Open bbishdotdev opened this issue 1 year ago • 4 comments

System details

Razer Blade Stealth 13 (2019, GTX 1650 hybrid GPU), nvidia-dkms 550.82.09

What's wrong?

I've tried everything...

  1. Initial install: Booted ISO, base system installed fine. On login → black screen, suspend.

  2. Drivers: Installed nvidia-dkms, linux-headers, rebuilt initramfs (limine-mkinitcpio). Confirmed nvidia-smi works. Suspend persists.

  3. Systemd targets:

  • multi-user.target (TTY only) = stable.
  • graphical.target = immediate suspend.
  • Masked sleep.target, hibernate.target, suspend.target and edited logind.conf to ignore lid events → no change.
  1. Display managers:
  • GDM → failed to start, suspend loop.
  • SDDM + GNOME/Plasma → stable desktop, but double-login when Omarchy seamless-login is enabled.
  1. Omarchy script (curl -fsSL https://omarchy.org/install | bash) installs configs, but Hyprland sessions (via seamless-login or dbus-run-session Hyprland) instantly suspend.

Observations:

  • GNOME/Plasma sessions on Intel GPU are stable.
  • Only Hyprland/Omarchy sessions trigger immediate suspend.
  • Blacklisting NVIDIA modules does not help.
  • Issue appears tied to ACPI/EC events on this Razer model + Wayland/Hyprland startup.

Expected: Hyprland session should launch normally. Actual: System instantly suspends/hibernates at Hyprland startup.

bbishdotdev avatar Sep 27 '25 17:09 bbishdotdev

I think the system only installs to vanilla arch: see ./install/preflight/guard.sh. This should only prevent installation, though it may cause issues later.

The script in ./install/login/plymouth.sh sets up the seemless-login. It may be possible to override that service from loading straight into uwsm and Hyprland using systemctl edit from a live ISO (or something). IDK about editing it directly unless you restore it exactly.

Also, I'm unsure exactly how to edit that to get a shell. That service conflicts with [email protected] which is disabled. I can jump between vty's on my system, but i haven't tried without the autologin.

If you can set some environment variables and control the hyprland startup process, then you can get it to log if it's hyprland that's failing. See Environment Variables on wiki.hypr.land. You'd probably change stuff in ~/.config/uwms/env* files

Hyprland's going to want to log to $XDG_RUNTIME_DIR/hypr though, so you'll have to configure it to avoid that

There are also possibly crash reports in $XDG_CACHE_HOME , but that var needs to be set. See Hyprland Crash Report. There are some crash reports there for me on my nixos system.

dcunited001 avatar Oct 01 '25 08:10 dcunited001

There may be an omarchy-doctor script #2026 that's maybe getting merged in with #1860

dcunited001 avatar Oct 01 '25 08:10 dcunited001

I have a similar bug, can't do anything after login, tty works, acpi error on a asus rog-strix

ShouryaUpadhyaya avatar Oct 15 '25 02:10 ShouryaUpadhyaya

Given your notes and our move to SDDM in 3.1.0, this should be resolved. However, should you need additional assistance; Since this is support related and not really indicative of a repeatable bug with Omarchy, please utilize the Discord to seek help from the community there.

Join Discord at https://omarchy.org/discord and create a thread in #omarchy-help for assistance.

ryanrhughes avatar Oct 26 '25 03:10 ryanrhughes