Repository navigation
Make lock display blanking configurable - #11072
garymeyerca wants to merge 1 commit into
Conversation
Additional reproduction data for PR #11072Thanks for working on this. I have a closely related reproducible case on an AMD HawkPoint laptop with two 4K external displays. The following data is from the initial failure before applying any local lock-plugin workaround. Hardware and software
The failure was observed with the laptop lid closed while on AC power. Reproduction and result
After the first lock/blank/wake cycle, one external output can remain black and does not receive the pointer. The affected output is not stable: in different attempts it was The failure is not limited to a particular left/right position or one connector. Both external displays worked before the idle-lock transition, and the affected connector varied between HDMI and DisplayPort. Kernel evidenceThe clearest reproduction occurred on 2026-09-14: The kernel warning stack includes: After the output became unusable, userspace also logged repeated There was no system suspend event at the time of this reproduction: the journal shows the Omarchy idle-lock path followed by Configuration comparisonThe idle timings and the lock/DPMS command were stock for the installed Omarchy package. The monitor layout is customized: it names There are also local user changes unrelated to the initial reproduction: a clamshell logind drop-in and a cloned lock plugin. The cloned lock plugin was created only after reproducing the failure; its only relevant change is to keep the keyboard backlight command and skip With display DPMS skipped, the secure lock remains usable and the three outputs remain available in subsequent manual checks. This confirms the DPMS transition as a useful trigger for the workaround, but it does not establish a proper physical standby/wake fix. This appears related to #8863, #9078, and the earlier AMD Phoenix/HawkPoint report in #5910. In particular, a recovery path should not treat an output as healthy solely because it has a valid mode list or Requested diagnostic/fix directionCould this case be used to distinguish the user-facing opt-out from the underlying failure? The opt-out is valuable for affected machines, but the logs suggest a failed AMD DCN atomic modeset during the DPMS-off transition. A complete fix should ideally preserve secure locking and physical display standby while recovering from, or avoiding, the invalid atomic transition without requiring a reboot or cable reconnection. |
|
Since the description already says not to merge this as the fix for #11066, and the failure there has since been traced to hyprwm/aquamarine#386 (fixed by aquamarine#410, which shipped in aquamarine 0.15.1, see #11019), is this PR still needed? If a configurable lock blank is still wanted on its own merits, a rebase with that framing would help. Otherwise it may be simplest to close it. |
Status: rework required, not a standby/wake fix
Local testing showed that this implementation avoids the failing DPMS transition by leaving the monitor powered on. That is not the required outcome. This PR must preserve Omarchy's existing idle, secure-lock, physical display-power-down, and wake behavior. A permanently visible lock screen or a black software surface with the backlight still on is not an equivalent fix.
Do not merge this implementation as the resolution of #11066. It remains a draft while the failure and a behavior-preserving fix are investigated.
Aquamarine progress: local dpmsfix3, not hardware-approved
See the detailed investigation and verification update on #11066.
drmDisconnect,attachments,outputandcommitThreadtests pass. The actual packaged library also passes the regression in a sandbox without real DRM devices or desktop sockets. SONAME remainslibaquamarine.so.14.This PR's code is unchanged and remains the original opt-out. Keep it in draft/rework status; do not treat the Aquamarine offline results as validation of this PR or resolution of #11066.
Required behavior
Based on the unmodified Omarchy baseline
8ea51516390320f8e768808b230098e67bdaa82c:idle.screensaver: 150andidle.lock: 300, both measured from the start of user inactivity.References:
Current implementation, retained for review history
idle.blankDisplay, defaulting totrue.falsestops the blank timer and skips the DPMS-off transition.This is an opt-out workaround, not a repair of the MST/atomic-modeset wake failure. A separate local Aquamarine candidate now has offline regression coverage, but it is not part of this PR and has not been installed or validated on the affected hardware.
Verification limits and acceptance gates
Previous focused/full-suite and QML lint results validate the opt-out implementation only. They do not prove the intended standby/wake cycle.
Local manual tests observed a mapped screensaver, a secure lock, a monitor that stayed powered on, and one user-confirmed successful authentication. The repeated test did not receive an unlock confirmation. These are not successful physical-standby/wake tests.
A further read-only audit found a split local test environment: Quickshell ran from the PR checkout, while the automatic idle service's
bash -lcchildren resetOMARCHY_PATHthrough/etc/omarchy.confto the packaged path. A probe in the running shell's environment returnedomarchy-shell is not runningfor that child path. Manual checkout IPC bypassed this problem. The local environment must be made consistent before another end-to-end test; this is a test-deployment flaw, not evidence of an upstream idle regression.Required before claiming resolution:
Related: #11066