omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Lock screen re-blanks a slow-waking external monitor before it shows a picture (5 s blank timer), so wake needs several tries

Open nearcritical opened this issue 2 months ago • 2 comments

System details

Omarchy 4.0.4-1, Hyprland 0.56.2-2, Quickshell 0.3.1-1. AMD Radeon 680M (Rembrandt). Dell U2725QE at 3840x2160@120 over DisplayPort; the same happened earlier over USB-C (DP Alt Mode).

What's wrong?

After the idle lock has blanked the display, a key press wakes it, but the monitor only shows "no DisplayPort signal", or shows the lock screen for a moment, and then goes dark again. It usually takes several key presses to get a picture that stays. Every one of those key presses is typed into the password field, so the first unlock attempt fails unless the field is cleared with Escape first.

Expected: One key press wakes the monitor and the lock screen stays visible long enough to type the password.

Evidence: The Hyprland log for a single wake shows the output being switched off and on three times in a row:

drm: Disabling output DP-2
drm: Connector DP-2 enabledState changed true -> false
drm: Modesetting DP-2 with [email protected]
drm: Connector DP-2 enabledState changed false -> true
drm: Disabling output DP-2
drm: Connector DP-2 enabledState changed true -> false
drm: Modesetting DP-2 with [email protected]
drm: Connector DP-2 enabledState changed false -> true
drm: Disabling output DP-2
drm: Connector DP-2 enabledState changed true -> false
drm: Modesetting DP-2 with [email protected]
drm: Connector DP-2 enabledState changed false -> true

The machine did not suspend (no suspend or resume in the journal); this is the lock screen's own blank. There was no hotplug or disconnect during these cycles.

Cause (as far as I can tell): plugins/lock/Service.qml arms idleBlankTimer (5000 ms) on every key press or mouse move, and when it fire-display off`. The timer starts whenthe key is pressed, not when the monitor is actually showing a picture. This monitor seems to take roughly that long to come out of stan about 5 s against about 1 s on anolder UltraSharp), so the blank lands before or just as the picture appears.

Comparison: A Windows laptop on the same monitor wakes it from sleep reliably, every time.

Workaround: Press Escape (which wakes the display and clears the field), then type the password and press Enter blind. Each key press ress.

Possible fixes: A longer blank deuggests (30–60 s), or starting thecountdown only once the output has actually come back. A configurable delay would also cover it.

Related: #11411, #11066, #11072 (draft idle.blankDisplay opt-out), #12327.

nearcritical avatar Sep 23 '26 20:09 nearcritical

Thanks, great evidence. This is the same mechanism as #8847 ("Locked session re-arms a hardcoded 5s display-blank timer, so slow displays can never finish waking"), and #14227 is a newer duplicate. quattro still has idleBlankTimer { interval: 5000 } armed on input, in shell/plugins/lock/Service.qml. #11072 (configurable blanking) is the open PR closest to a fix. I'd suggest closing this as a duplicate of #8847 and adding your U2725QE data point there.

jandrusk avatar Oct 08 '26 13:10 jandrusk

Closing as a duplicate of #8847, where I have added the U2725QE data point. Thanks @jandrusk.

nearcritical avatar Oct 08 '26 15:10 nearcritical