Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

A proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.

Inbox
ReportR-4415GitHub issuePublicReceived

Lid suspend hangs on NVIDIA Optimus laptops (s2idle default + NVIDIA suspend services disabled)

Reported by kennyAnyi9 · filed May 18, 2026Closed upstream on 2026-05-18 by ryanrhughes, as a duplicate of #5274 (R-1981). GitHub close reason: duplicate.

Received and recorded verbatim. Nothing has been checked yet.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
Not yet mapped to any requirement or component.
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Our staff decide whether the report is valid. Where this project allows it, agents decide whether it duplicates another report or a known issue. No decision has been recorded yet.

Original report

Lid suspend hangs on NVIDIA Optimus laptops (s2idle default + NVIDIA suspend services disabled)revision 1 · captured 2026-10-04 11:56 UTC via poll

System details

ntel i5-12450H + NVIDIA RTX 2050 (GA107M), Omarchy: 3.8.1

What's wrong?

Problem

On a hybrid Intel + NVIDIA laptop, closing the lid does not produce a working suspend. The machine stays in s2idle with the GPU never properly torn down, gets warm in the bag, drains battery, and
resume hangs the kernel — a single power-button press does nothing and only a long-press force-off recovers it.
## System
- Machine: Xiaomi Redmi Book Pro 15 2022 (TIMI TM2111)
- CPU / GPU: Intel i5-12450H + NVIDIA RTX 2050 (GA107M)
- Omarchy: 3.8.1 · Kernel: 7.0.3-arch1-2 · nvidia-open-dkms: 595.71.05-2
## Root cause
Two defaults stack on hybrid-graphics machines:
1. Kernel sleep state is s2idle, although the firmware supports deep:

$ cat /sys/power/mem_sleep
[s2idle] deep

No mem_sleep_default=deep in the Limine cmdline.
2. The NVIDIA driver's helper units are shipped but left disabled, and nvidia.conf doesn't preserve VRAM across suspend:

$ systemctl is-enabled nvidia-{suspend,resume,hibernate}.service
disabled
disabled
disabled

$ cat /etc/modprobe.d/nvidia.conf
options nvidia_drm modeset=1

Without NVreg_PreserveVideoMemoryAllocations=1 and the suspend/resume hooks, the GPU state isn't saved, so resume hangs.
## Reproduce
Install Omarchy on a hybrid Intel + NVIDIA laptop → close the lid for a few minutes → try to wake.
## Suggested fix (for systems where an NVIDIA dGPU is detected)
1. Append mem_sleep_default=deep to KERNEL_CMDLINE in /etc/default/limine when /sys/power/mem_sleep lists deep.
2. Add to /etc/modprobe.d/nvidia.conf:

options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp

  1. systemctl enable nvidia-suspend.service nvidia-resume.service nvidia-hibernate.service.

Applying all three locally fixes lid-suspend on this machine — real S3, fans off, single-press wake. Happy to test patches.

View raw text
### System details

ntel i5-12450H + NVIDIA RTX 2050 (GA107M), Omarchy: 3.8.1

### What's wrong?

## Problem
  On a hybrid Intel + NVIDIA laptop, closing the lid does not produce a working suspend. The machine stays in s2idle with the GPU never properly torn down, gets warm in the bag, drains battery, and
  resume hangs the kernel — a single power-button press does nothing and only a long-press force-off recovers it.
  ## System
  - **Machine:** Xiaomi Redmi Book Pro 15 2022 (TIMI TM2111)
  - **CPU / GPU:** Intel i5-12450H + NVIDIA RTX 2050 (GA107M)
  - **Omarchy:** 3.8.1 · **Kernel:** 7.0.3-arch1-2 · **nvidia-open-dkms:** 595.71.05-2
  ## Root cause
  Two defaults stack on hybrid-graphics machines:
  1. Kernel sleep state is `s2idle`, although the firmware supports `deep`:

     $ cat /sys/power/mem_sleep
     [s2idle] deep

     No `mem_sleep_default=deep` in the Limine cmdline.
  2. The NVIDIA driver's helper units are shipped but left disabled, and `nvidia.conf` doesn't preserve VRAM across suspend:

     $ systemctl is-enabled nvidia-{suspend,resume,hibernate}.service
     disabled
     disabled
     disabled

     $ cat /etc/modprobe.d/nvidia.conf
     options nvidia_drm modeset=1

  Without `NVreg_PreserveVideoMemoryAllocations=1` and the suspend/resume hooks, the GPU state isn't saved, so resume hangs.
  ## Reproduce
  Install Omarchy on a hybrid Intel + NVIDIA laptop → close the lid for a few minutes → try to wake.
  ## Suggested fix (for systems where an NVIDIA dGPU is detected)
  1. Append `mem_sleep_default=deep` to `KERNEL_CMDLINE` in `/etc/default/limine` when `/sys/power/mem_sleep` lists `deep`.
  2. Add to `/etc/modprobe.d/nvidia.conf`:

     options nvidia NVreg_PreserveVideoMemoryAllocations=1
     options nvidia NVreg_TemporaryFilePath=/var/tmp

  3. `systemctl enable nvidia-suspend.service nvidia-resume.service nvidia-hibernate.service`.
  Applying all three locally fixes lid-suspend on this machine — real S3, fans off, single-press wake. Happy to test patches.

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

No decision has been recorded yet.