Lock screen blanking crashes the shell on single-monitor setups, causing a lock/relaunch loop
Summary
On a single-monitor setup, omarchy-brightness-display off DPMS-disables the only output. Quickshell cannot survive the output count reaching zero while an ext-session-lock is held, so the shell crashes and relaunches. The relaunched shell recovers a lock it does not own, re-locks, and blanks again five seconds later. This loops for as long as the session stays locked, and each relaunch repaints the bar and panels — which looks like the display flashing.
Environment
- Omarchy 4.0.0.alpha
- Hyprland 0.56.2
- Single DisplayPort monitor (Samsung LS24AG32x), NVIDIA RTX 5060 Ti, driver 610.57.04
- Lock plugin:
omarchy.lock(the third-partylock-explorerfork is affected identically — it is a clone ofomarchy.lockand inherits the same call)
The loop
plugins/lock/Service.qml:411 runs:
command: ["bash", "-c", "omarchy-brightness-keyboard off; omarchy-brightness-display off"]
omarchy-brightness-display off dispatches hl.dsp.dpms({ action = "disable" }), which takes the only output down. Journal from one cycle:
13:24:44 qt.qpa.wayland: There are no outputs - creating placeholder screen
13:24:46 quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
13:24:46 WARN: The Wayland connection experienced a fatal error: Invalid argument
13:24:46 Omarchy shell exited with status 255; relaunching.
13:24:48 omarchy lock ... lock-stranded: recovering
13:24:48 omarchy lock ... lock-requested
13:24:48 omarchy lock ... secure=true
Five seconds after secure=true the blank timer fires again and the cycle repeats, roughly every 67 seconds.
Measured impact
One locked session, 13:16 to 13:34 (18 minutes):
- 13 shell relaunches (
exited with status 255) - 12
lock-stranded: recoveringevents - 49
drm: Connector DP-1 disconnectedin the Hyprland log - 52 modesets
The lock is the variable, not the blank
Running the same omarchy-brightness-display off, waiting, then on, with the session unlocked:
- 3-second blank: shell PID unchanged, no fatal error
- 12-second blank: shell PID unchanged, no fatal error
The crash only reproduces while a session lock is held.
Steps to reproduce
- Single monitor, no second output.
- Lock the session (
omarchy-system-lock). - Wait past the blank timer and leave it locked for two minutes.
journalctl --user -b | grep -cE 'lock-stranded|exited with status 255'— non-zero.
Suggested fix
Do not cut the output while the session is locked. On a DDC-capable external monitor, dimming the backlight to its minimum gives a dark panel while keeping the output alive, so the shell survives. omarchy-hyprland-session-locked and omarchy-brightness-display-ddc already exist and are enough to build this inside omarchy-brightness-display's off/on branches, saving and restoring the user's brightness level around the blank.
Locally this took the same four-minute locked session from 3-4 crashes to zero crashes, zero stranded recoveries, and zero new connector disconnects.
I am happy to open a PR if that approach looks right, or if you would rather keep DPMS and guard elsewhere, I can adapt.
Confirming this on a third GPU/connector combination, which I think rules out the display vendor and the link type as the variable.
Environment
- Omarchy 4.0.3-1 (
omarchy-settings4.0.3-1), kernel 7.2.3-arch1-3 - Hyprland 0.56.2-2, quickshell 0.3.1-1
- Intel UHD Graphics 770 (Alder Lake-S,
i915) - Single monitor: BenQ GW2780 over HDMI-A-2
So across the reports so far the crash holds for NVIDIA + DisplayPort (this issue), NVIDIA + DisplayPort (#12554), AMD + HDMI (#12208) and now Intel + HDMI. The only invariant is "one output, and the panel drops hot-plug detect when DPMS takes it down".
Same signature
secure=true → the 5 s idleBlankTimer → omarchy-brightness-display off →
hl.dsp.dpms({ action = "disable" }), and ~7 s later the panel stops
asserting HPD. Hyprland log:
drm: Connector HDMI-A-2 disconnected
drm: Cannot commit a disconnected output
User journal, one cycle:
19:46:03 qml: omarchy lock ... lock-requested
19:46:03 qml: omarchy lock ... secure=true
19:46:15 qt.qpa.wayland: There are no outputs - creating placeholder screen
19:46:16 quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
19:46:16 WARN: The Wayland connection experienced a fatal error: Invalid argument
19:46:16 Omarchy shell exited with status 255; relaunching.
19:46:18 qml: omarchy lock ... lock-stranded: recovering
19:46:18 qml: omarchy lock ... secure=true
19:46:30 qt.qpa.wayland: There are no outputs - creating placeholder screen
Period is 15 s here (5 s blank timer + ~7 s for the BenQ to drop HPD + ~3 s to relaunch and re-lock), and it repeats for as long as the session stays locked. The user-visible result is Hyprland's "oopsie daisy … the lockscreen app died" failsafe, as in #12208.
A workaround that does not touch the shell
Your DDC suggestion is the right fix, and I would rather have that. In the meantime, giving Hyprland a permanent spare output keeps the output count from ever reaching zero, so DPMS still powers the real panel down and the shell survives the disconnect:
-- hypr/autostart.lua
o.exec_on_start('hyprctl monitors all -j | grep -q HEADLESS || hyprctl output create headless')
-- hypr/monitors.lua — parked diagonally so it shares no edge with the real
-- monitor (the cursor cannot cross into it) and leaves it at 0x0 under "auto"
hl.monitor({ output = "HEADLESS-1", mode = "1280x720@60", position = "-1280x2160", scale = 1 })
The cost is a phantom monitor in the layout that takes a workspace, plus a bar and background rendered onto it, so it is a stopgap rather than something to ship. But it does confirm the failure is purely "output count hits zero", not anything specific to the DPMS transition itself.
Happy to test a DDC-based patch on Intel + HDMI if that helps.
Another NVIDIA + DisplayPort single-monitor case. It adds a variant of the trigger and narrows down why the shell dies, which this thread hasn't covered yet.
Environment: Omarchy 4.0.4-1, kernel 7.2.5-3-omarchy, Hyprland 0.56.2-2, quickshell 0.3.1-1, Qt 6.11.2, wayland 1.26.0, RTX 4080 (driver 610.57.04), single LG 38GN950 on DP-2.
The shell relaunched 14 times in 3½ days. Every relaunch has the same signature, and every one lines up with Hyprland logging error in client communication (pid <shell pid>).
Variant: the panel drops HPD on wake, not on blank
My monitor stays connected overnight while DPMS is off. It drops hot-plug detect only when it is woken up. Hyprland log, in order:
drm: Disabling output DP-2 <- idle blank, hours earlier
drm: Modesetting DP-2 with [email protected] <- user input, DPMS on
drm: Connector DP-2 disconnected <- panel leaves deep standby and drops HPD
ERR drm: Cannot commit a disconnected output
Swapchain: Reconfigured a swapchain to 1920x1080 <- FALLBACK
drm: Connector DP-2 connected
The kernel also re-enumerates the monitor's built-in USB hub ("LG Monitor Controls") at that moment, so the panel really did power off. The result is one crash per wake instead of a loop, and it happens on the way back to the password prompt. This is the same event as #11213 ("on resume when FALLBACK monitor is removed"). The DDC-dimming fix proposed above should cover it too, because the panel never enters standby, but I haven't tested that.
Why the shell dies: the compositor drops it for an invalid object, and EGL and the IPC warning are not the cause
Timestamps from the journal (-o short-precise):
08:47:50.402374 omarchy-shell WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
08:47:50.409050 Hyprland error in client communication (pid 3474)
08:47:50.409448 omarchy-shell WARN qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
08:47:50.410072 omarchy-shell WARN qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
08:47:50.455592 omarchy-shell WARN: The Wayland connection experienced a fatal error: Invalid argument
- Hyprland disconnects the client before any EGL error. In libwayland-server,
error in client communicationcomes fromdestroy_client_with_error()(wayland-server.c:513-516), which runs after an error has been posted on the client. TheEGL_BAD_ALLOCandEGL_BAD_SURFACElines that follow are side effects of the dead connection. This exit-255 path is therefore separate from theqFatalabort in #12554. In #11213's log,error in client communicationis printed before thehyprland.ipcFALLBACK warning, so that warning isn't the cause either. It comes from the socket2 IPC, not Wayland. - "Invalid argument" means a generic core error, not a lock or layer-shell error. libwayland-client's
display_protocol_error()(wayland-client.c:175-201) turns awl_display.errorwith codeINVALID_OBJECTorINVALID_METHODintoEINVAL. Every interface-specific error (ext-session-lockduplicate_output, layer-shell errors, and so on) becomesEPROTO, which Qt would print as "Protocol error". So no Hyprland protocol handler rejected a request. libwayland-server's generic request validation did. - Which generic path it was. In
wl_client_connection_data(), the "invalid arguments for X#N.req" path always logsunknown object (N)orinvalid object (N), type (...)first, fromwl_closure_lookup_objects()(connection.c:1130/1139). Hyprland sends that output to stderr, the same placeerror in client communicationshows up, and it never appears in any of the 14 cases. What's left is"invalid object %u"(wayland-server.c:443-446): a request sent on an object whose server-side entry is gone. That happens when the compositor callswl_resource_destroy()on an object the client created, which leaves a NULL map entry.invalid method/invalid versionwould also give EINVAL, but those don't fit an error that only shows up with this timing. - In Hyprland, destroying a protocol wrapper destroys the client's resource (hyprwayland-scanner 0.4.6, the generated destructor at
src/main.cpp:891-900). The teardown happening at that moment is the FALLBACK one:FallbackState.cpp:136-139callsonDisconnect()and thenm_output->destroy(). The destroy listener (Monitor.cpp:202-213) runsonDisconnect(true)again and removes the monitor. The second call returns early past the scope guard, which re-postsmonitorremoved. That is why clients seemonitorremoved>>FALLBACKtwice; apart from that the double call is harmless.
Ruled out by reading the 0.56.2 source:
wl_output:retireOutputGlobal()keeps defunct globals alive until clients release them (ProtocolManager.cpp:90-107). Its comment describes exactly this failure mode forwl_output.zwlr_layer_surface_v1: Hyprland only sendsclosed(Monitor.cpp:452-457). The shell's full debug log showscloselayer>>omarchy-backgroundandcloselayer>>omarchy-barright before the death, but closing doesn't destroy the object.ext_session_lock_surface_v1: none were created on the placeholder screens (Not creating lock surface for screen QScreen(... name="") as it is not backed by a valid wayland output).- ext-workspace groups: Hyprland sends
removed, which is correct. - The doubled
CWLOutputProtocol::remove(): it is idempotent.
I haven't identified the object yet. A WAYLAND_DEBUG=client capture of the shell with the lock held, followed by a monitor unplug and replug, would show it: the fatal line is wl_display#1.error(..., 0, "invalid object N"), and searching backwards for #N gives the interface and the request that was sent on it. I can run that capture here if it would help.
As a stopgap until the lock path stops cutting the only output, the permanent headless output from @cvallejoec's comment above should also cover the wake-time flap, because it keeps the output count above zero.
Filed by Claude Opus 5.5 via Claude Code.
Independent reproduction + a likely one-line cause on the Omarchy side.
Environment: Omarchy 4.0.4-1, Hyprland 0.56.2, quickshell 0.3.1-1, AMD RX 550 (amdgpu), single monitor HDMI-A-1 (LG FULL HD, 1920x1080).
Symptom matches exactly. Each idle lock, blankProcess runs omarchy-brightness-display off. Journal:
omarchy lock ... secure=true
Received event: "monitorremoved>>HDMI-A-1"
Received event: "monitoradded>>FALLBACK"
Not creating lock surface for screen QScreen(name="") as it is not backed by a valid wayland output.
WARN qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000)
WARN qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
WARN: The Wayland connection experienced a fatal error: Invalid argument
Omarchy shell exited with status 255; relaunching.
4-6 shell relaunches per boot on this machine, all on the lock/DPMS path.
The action value looks like the trigger. omarchy-brightness-display off/on dispatch:
hl.dsp.dpms({ action = "disable" })
hl.dsp.dpms({ action = "enable" })
Hyprland's dpms dispatcher takes on / off / toggle. Empirically here, disable/enable behave as monitor disable/enable (remove + re-add the output), while off/on only change DPMS state and keep the output:
hyprctl dispatch 'hl.dsp.dpms({ action = "off" })'->HDMI-A-1 disabled=false dpms=false, held for 45 s, connector stayedconnected, no FALLBACK.hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'-> in the lock path this is followed bymonitorremoved>>HDMI-A-1+monitoradded>>FALLBACK.
Interesting wrinkle: unlocked, off and disable are indistinguishable — I held each for 60 s and HDMI-A-1 stayed disabled=false / connector connected for both. The difference only shows under an active lock, which is consistent with your "the lock is the variable" finding.
Test of a PATH shim that overrides only the two branches (off -> action off, on -> action on, everything else delegates to the real script):
- Stock (action
disable): crash ~39 s afteromarchy system lock, output removed, FALLBACK, shell relaunch. - Shim (action
off):omarchy system lock, waited 75 s. Result:realScreens:1,secure:true,HDMI-A-1 disabled=false dpmsStatus=false, connectorconnected, shell PID unchanged — nomonitorremoved, no FALLBACK, no fatal, no relaunch.
Suggested fix: in omarchy-brightness-display, use action = "off" / action = "on" for the off/on branches instead of "disable" / "enable" (or guard the lock blank so it cannot push the output count to zero). Happy to open a PR if that direction is right.
Note for the DDC suggestion: on this LG, DDC power (VCP 0xD6) is advertised but writes fail (Verification failed for feature d6 / DDCRC_VERIFY), so a DDC power-off workaround is not viable here; DDC brightness (VCP 0x10) reads fine and would be the alternative if DPMS can't be kept.
I can also add the exact shim and the before/after journal if useful.
I tested DPMS action = "off" in place of "disable" on amdgpu with DisplayPort. The change does not stop the loop on this hardware.
Change tested (/usr/share/omarchy/bin/omarchy-brightness-display):
- hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' >/dev/null 2>&1
+ hyprctl dispatch 'hl.dsp.dpms({ action = "off" })' >/dev/null 2>&1
- hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' >/dev/null 2>&1
+ hyprctl dispatch 'hl.dsp.dpms({ action = "on" })' >/dev/null 2>&1
Result: 1 lock, then 1 min 48 s without input, then unlock.
| Count | Value |
|---|---|
Shell restarts (exited with status 255) |
3 |
Monitor losses (There are no outputs) |
7 |
Stranded re-locks (lock-stranded: recovering) |
3 |
| Lock requests | 4 |
Journal:
09:21:27 lock-requested
09:21:48 qt.qpa.wayland: There are no outputs - creating placeholder screen
09:22:10 Omarchy shell exited with status 255; relaunching.
09:22:13 lock-stranded: recovering
09:22:34 qt.qpa.wayland: There are no outputs - creating placeholder screen
09:22:36 Omarchy shell exited with status 255; relaunching.
09:22:38 lock-stranded: recovering
09:23:02 qt.qpa.wayland: There are no outputs - creating placeholder screen
09:23:04 Omarchy shell exited with status 255; relaunching.
09:23:06 lock-stranded: recovering
09:23:15 unlocked
The cycle is the same as before the change: about 25 s from lock to shell exit. This monitor (BenQ RD320U) drops its hotplug signal in deep standby. The connector disconnects with either DPMS action, so Hyprland has zero outputs in both cases. A fix in the DPMS action alone does not cover monitors like this one. The shell must survive zero outputs, or stranded-lock recovery must not start the display-off timer again.
System: Omarchy 4.0.4-1, quickshell 0.3.1-1, Hyprland 0.56.2-2, kernel 7.2.5-3-omarchy, Mac Pro 2013 with 2x AMD Tahiti (amdgpu), Thunderbolt 2, BenQ RD320U on DP-10 (3840x2160@30).
I checked this against quattro at 9480d1b and Hyprland 0.56.2's source. The loop is real, and the code shows why it repeats.
Why it repeats. When a relaunched shell finds the lock stranded, recoverStrandedLock() calls beginLock() (shell/plugins/lock/Service.qml:134-135). beginLock() arms the 5-second idleBlankTimer (Service.qml:218, 244-246), and when that fires, runBlank() runs omarchy-brightness-display off (Service.qml:714, bin/omarchy-brightness-display:88). Nothing treats a recovered lock differently from a fresh one, and a wake re-arms the same timer (Service.qml:249-254). So on a panel that drops hot-plug when DPMS turns it off, every recovery powers the only output off again and sets up the next crash. The crash itself is the one reproduced on #6628 on a worker built from the Omarchy ISO. With the session locked, an output that appears and then disappears makes the shell request a lock surface Hyprland never creates (CSessionLockProtocol::onGetLockSurface in src/protocols/SessionLock.cpp, still the same on Hyprland main). Hyprland then disconnects the shell for an invalid object.
action = "off" is the same call as "disable". In Hyprland 0.56.2, parseToggleStr maps disable and off to the same action, and enable and on to the same action (src/config/lua/bindings/LuaBindingsInternal.cpp). Actions::dpms then does nothing but setDPMS(false). Changing the word in omarchy-brightness-display changes nothing, which matches @delisma's test. Whether the output disappears depends on whether the panel drops hot-plug, not on which word was dispatched.
How the loop ends. omarchy-launch-shell stops relaunching after more than five exits within a minute (bin/omarchy-launch-shell:86). A cycle short enough to hit that limit ends on Hyprland's failsafe screen and stays there, as described in #12208.
No pull request. Every way to stop the loop changes what a locked screen does, so it is the maintainer's call:
- Skip the blank for the rest of a recovered lock. This needs a check in
armBlankTimer()itself, because wake and the end of a password check re-arm the timer too. The cost is a lit lock screen until unlock. - Dim through DDC instead of powering off, as suggested above. That only covers monitors that accept DDC brightness, and it has to restore the user's level on wake.
- Make blanking optional, as #6642 does.
- Keep a headless output while locked.
None of these fixes the Hyprland race underneath. I did not reproduce this on a worker: a VM's virtual output does not drop hot-plug on DPMS off, and the crash was already reproduced on #6628.
Related: #12208 describes this same loop on a Dell over HDMI. #6628 has the crash mechanism. #9156 and #11213 are the same crash on wake, and #12554 is a different abort (qFatal on EGL) from the same blank.
Reviewed by Claude Opus 5.5, with Codex Medium as a second opinion. Codex traced the same re-arm path. It added the launcher's relaunch limit, and it pointed out that suppressing the blank only in beginLock() would not hold because wake re-arms the timer. It agreed that off and disable are identical, and that there is no fix in Omarchy that leaves locked-screen behaviour unchanged. Its independence from my reasoning is not guaranteed. This waits on the maintainer.
Another data point for this cluster, on NVIDIA + HDMI 2.1, with a different trigger and a worse ending: the output drops on wake rather than on blank, and the relauncher gives up, leaving the session with no bar and no launcher (Super+Space dead) until omarchy restart shell is run by hand.
System: Omarchy 4.0.4-1, Hyprland v0.56.2, Quickshell 0.3.1, kernel 7.2.5-3-omarchy, i9-13900KF, RTX 4090, driver 610.57.04 (open module). Single display: LG TV on HDMI-A-1, 3840x2160@60, scale 1.6.
Sequence: idle → lock → blank (omarchy-brightness-display off) → TV goes to standby. On key press, DPMS re-enables, HDMI 2.1 FRL link training fails, the only output disappears, Hyprland adds FALLBACK, and the shell dies the same way as in this issue. Every relaunch hits the same state within ~4 s, so it reaches the relaunch limit:
22:28:00 kernel: nvidia-modeset: WARNING: GPU:0: HDMI FRL link training failed.
22:28:00 omarchy-shell[1666]: DEBUG qml: omarchy idle ... idle-monitor: active
22:28:04 omarchy-shell[1666]: INFO qt.qpa.wayland: There are no outputs - creating placeholder screen
22:28:06 omarchy-shell[1666]: WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
22:28:06 uwsm_hyprland.desktop[1540]: error in client communication (pid 1666)
22:28:06 omarchy-shell[17419]: Omarchy shell exited with status 255; relaunching.
... same cycle every ~4 s ...
22:28:26 omarchy-shell[32803]: WARN: The Wayland connection experienced a fatal error: Invalid argument
22:28:26 omarchy-shell[36139]: Giving up on the Omarchy shell after 6 relaunches in under a minute.
The display came back a few seconds later, but the shell stayed down. In two cases (21:42:57 and 22:28:00) the FRL failure and idle-monitor: active are in the same second; there were 4 FRL failures in one day. The FRL failure itself is a driver/cable/TV matter, but it shows the shell doesn't need a blank-induced disconnect to hit this. Any transient loss of the only output can take it down for good once the relaunch budget is used up. A relaunch backoff that keeps retrying once a real output returns, rather than a hard give-up, would have recovered here. #6642 should avoid this particular trigger (no blank, so no link retrain on wake), but not other causes of a transient output loss.
@kirkmfreeman's report adds a second way into this, and I checked it against quattro at f5006bd. A loss of the only output on wake is enough to use up the launcher's relaunch budget on its own, without the blank's loop. Once that happens, nothing brings the shell back.
Nothing relaunches the shell after the launcher gives up. bin/omarchy-launch-shell:85-88 exits after the sixth failed launch within a minute, and test/shell.d/launch-shell-test.sh:133-136 asserts that on purpose. After that, the only things that start the shell again are session start (default/hypr/autostart.lua:14), omarchy restart shell, and commands that happen to restart it, such as an update or a font change. The monitoradded handler in bin/omarchy-hyprland-monitor-watch does not restart it, and neither does unlock. If the session is locked, it stays behind Hyprland's failsafe with no way to type a password until omarchy restart shell is run from a TTY or over SSH (bin/omarchy-restart-shell:21-27).
The launcher relaunches into an outage. Before relaunching, compositor_alive() (bin/omarchy-launch-shell:39-48) only checks that hyprctl -j monitors answers. It never looks at whether a real output exists, so every relaunch while only FALLBACK is up counts against the same budget.
That changes the options in my earlier comment. Making the blank optional (#6642) or skipping it after a recovered lock would stop the loop, but not this trigger. Hyprland drops the shell here when the panel or link drops the output on wake. A launcher that waits for a real output before relaunching, or before counting the attempt, would cover both triggers while keeping the limit for shells that crash for other reasons. Giving up is deliberate and tested, so changing it is the maintainer's decision, and I have not opened a pull request.
Reviewed by Claude Opus 5.5, with Codex Medium as a second opinion. Codex found the same callers and that the relaunch check never looks at outputs. It added that a launcher change still does not stop the recovered-lock → blank → crash cycle. Its independence from my reasoning is not guaranteed. This waits on the maintainer.
Clear diagnosis: blanking the sole output under ext-session-lock kills Quickshell and loops. Same family as #14378 / #12208 / #11330 (HDMI drop) and lid-dock #15207.
No extra info needed from my side — this looks ready for a lock/blank guard when output count would hit zero.
Same loop here: a single monitor over DisplayPort on an Intel iGPU.
Setup: Omarchy 4.0.5 · Hyprland 0.56.2-4 · aquamarine 0.15.1 · quickshell 0.3.2.r7.g2b4501a · kernel 7.2.8 · Intel UHD 630 (Dell OptiPlex 7070) · Dell P2422H on DP. The monitor drops hot-plug about 60 s after DPMS off. Stay-awake is on, so this only happens after a manual lock.
The chain, from journalctl --user (the first cycle after locking at 01:38:43):
01:38:43 omarchy lock … lock-requested / session-locked=true
(5 s later the lock blank runs omarchy-brightness-display off)
01:39:48 qt.qpa.wayland: There are no outputs - creating placeholder screen
01:39:49 error in client communication (pid <shell>)
01:39:49 quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
01:39:49 The Wayland connection experienced a fatal error: Invalid argument
01:39:49 Omarchy shell exited with status 255; relaunching.
01:39:51 omarchy lock … lock-stranded: recovering → lock-requested → session-locked=true
One cycle takes about 75–80 s: the 5 s blank, about 60 s until the monitor drops the link, then the relaunch. Over two days there were 1,256 shell restarts in two runs: Oct 18 23:27 to Oct 19 15:27 (it stopped when the session was unlocked), and Oct 20 01:38 to 14:13. Hyprland's debug log has about 1,300 drm: Connector DP-1 disconnected/connected lines. On Oct 17 the leftover quickshell/by-id/ dirs had already filled the 1.6 GB /run/user/1000 tmpfs, and the shell then stayed down for good.
Confirmed trigger: with the session still locked, re-enabling DPMS on its own (omarchy-brightness-display on) at 14:14 stopped the loop. There were 0 shell exits and 0 "no outputs" messages over the next 10+ minutes, against one crash every 75–80 s before.
Workaround we run until a Quickshell fix (quickshell-mirror/quickshell#1155) ships. It is a user service inside the Hyprland session and changes none of Omarchy's files. A PATH shim can't help here, because the shell's PATH starts with /usr/share/omarchy/bin, which links straight to /usr/bin. Every 10 s, if the session is locked and an enabled monitor is DPMS-off, it turns DPMS back on. The monitor never reaches deep sleep, so the link stays up. The cost is that the lock screen stays lit while locked, the same trade-off as #6642.
while sleep 10; do
omarchy-hyprland-session-locked || continue
hyprctl monitors -j | jq -e '[.[] | select(.disabled == false and .dpmsStatus == false)] | length > 0' >/dev/null || continue
hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' >/dev/null
done
Same loop on AMD integrated graphics over HDMI, with the 4.0.5 / quickshell 0.3.2.r7 builds.
Setup: Omarchy 4.0.5-1 · Hyprland 0.56.2-4 · aquamarine 0.15.1 · quickshell 0.3.2.r7.g2b4501a · Qt 6.12.0 · wayland 1.26.0 · kernel 7.2.8-9-omarchy · AMD Hawk Point iGPU (amdgpu) · single HP P244 on HDMI-A-1 (1920x1080@60).
Loop period: about 28 s. The P244 drops hot-plug roughly 20 s after DPMS off. On reconnect, Hyprland modesets the output and then disables it again:
drm: Disabling output HDMI-A-1 / enabledState changed true -> false
drm: Connector HDMI-A-1 disconnected
ERR from aquamarine ]: drm: Cannot commit a disconnected output
drm: HDMI-A-1 is not connected, clearing stale crtc 376
drm: Connector HDMI-A-1 connected / Connecting connector, CRTC 376
drm: Modesetting HDMI-A-1 with [email protected]
drm: Disabling output HDMI-A-1
Every Qt client (the shell, Sunshine, a tray app) sees each cycle as its own pair of There are no outputs - creating placeholder screen lines.
Shell deaths, one day:
| Time | Exit | Last lines |
|---|---|---|
| 10:06 | 255 | Layershell screen does not correspond to a real screen ×2 → Got removal for monitor "HDMI-A-1" / "FALLBACK" which was not previously tracked → The Wayland connection experienced a fatal error: Invalid argument |
| 21:29:59 | 255 | Same chain. Hyprland logs error in client communication (pid …) |
| 23:57:15 | 137 | No fatal error in that instance's log; SIGKILL, sender not identified (possibly #14136) |
| 00:06:13 | 255 | Same chain as 10:06 |
One full bounce at 22:49:34 went through the same warnings without dying, so it is a race and not deterministic (matches the ~23% in quickshell-mirror/quickshell#1155).
Practical impact: the session was being unlocked remotely (Moonlight). Each crash plus lock-stranded: recovering re-locked the session and re-armed the 5 s blank. This kept the loop going and made the lock screen look like it had reset to a fresh login prompt.
Workaround just deployed: a user service that re-enables DPMS every 3 s while omarchy-shell lock isLocked is true. This is the keep-alive @udiNur described above. The cost is that the display stays lit while locked. I haven't yet confirmed that it holds through a long lock here. hyprwm/Hyprland#15139 (deferring reconnect while DPMS is off) looks like the compositor-side fix for the modeset/disable churn shown above.
I read the three new reports against quattro at 82662dd. Two open pull requests now address parts of this. Neither has been reviewed yet.
Nothing on quattro has changed the loop. A recovered lock still calls beginLock() (shell/plugins/lock/Service.qml:143-148), which arms the 5-second blank (Service.qml:226-236), and the blank still runs omarchy-brightness-display off (Service.qml:801-803). Since my last comment, Service.qml changed only for fingerprint handling (765577331) and translations. bin/omarchy-brightness-display and bin/omarchy-launch-shell have not changed. @udiNur's and @Cabbala's reports show the crash still happens on quickshell 0.3.2.r7 and Qt 6.12.
#15439 proposes a different cause for the crash. @Cabbala's log has Layershell screen does not correspond to a real screen just before the fatal error. #15439 puts the crash on the shell's own per-output windows: the three bar Variants (shell/plugins/bar/Bar.qml:1494, 1506, 1519), the dock (shell/plugins/dock/Dock.qml:386), the background (shell/plugins/background/Background.qml:339), notification popups (shell/plugins/notifications/Service.qml:1756) and the startup covers (shell/services/BackgroundIntro.qml:237, 270) all map a window for every entry of Quickshell.screens. That includes the nameless placeholder screen Qt creates when there are no outputs. These models are unfiltered on quattro, so the shell does map windows there. The source alone does not show whether those windows are what Hyprland drops the shell for, or whether it is the lock surface I named earlier. Answering that needs a WAYLAND_DEBUG=client capture or a reproduction. If #15439 does stop the crash, the loop ends because nothing relaunches, but a recovered lock still blanks the display, so a panel that drops hot-plug keeps disconnecting and reconnecting while the session is locked.
#15441 handles the runtime directory filling up. @udiNur saw this on Oct 17 and #15438 reports it in full. Quickshell leaves each dead instance's directory under $XDG_RUNTIME_DIR/quickshell/by-id/, and nothing in Omarchy removes them today, so every relaunch in this loop leaves one behind. #15441 removes those directories before each launch. It treats the consequence, not the crash.
Both pull requests are being reviewed as items of their own, and each will be run on a worker there. I have not linked either one to this issue, because neither has been shown to fix it. I did not reproduce this on a worker. A VM's virtual output does not drop hot-plug the way these panels do.
Reviewed by Claude Opus 5.5, with Codex Medium as a second opinion. Codex couldn't reach GitHub, so it read only the quattro source and not these comments or #15439's diff. It confirmed each line cited above. It also found that the lock's wallpaper preload (Service.qml:657-668), which #15439 changes too, creates only hidden images and no windows. It agreed that the source alone can't settle which surface is the cause. Its independence from my reasoning is not guaranteed. This waits on the maintainer. The options in my earlier comments are unchanged, and #15439 and #15441 are now among them.
Same loop on 4.0.6, discrete AMD over HDMI. Adding one thing the thread doesn't have yet: on this monitor, setting the monitor's own input selection from Auto to a fixed HDMI port stopped the hotplug drop, and the loop with it.
Setup: Omarchy 4.0.6-1 · Hyprland 0.56.2-4 · aquamarine 0.15.1-1 · quickshell 0.3.2.r7.g2b4501a-1 · Qt 6.12.0 · wayland 1.26.0 · kernel 7.2.8-9-omarchy · AMD FX-8320 · Radeon RX 470/480/570/580 (Ellesmere, amdgpu) · single AOC 27G4 on HDMI-A-1, 1920x1080@60. Default idle settings (screensaver 150 s, lock 300 s).
What happened (one session, about 5 h):
Omarchy shell exited with status 255; relaunching.201 times. Every burst starts right afterlock-system: lock-timeoutand runs until unlock, with a relaunch about every 20–30 s.- Hyprland's log shows 881
drm: Got a hotplug event for /dev/dri/card1events, cyclingHDMI-A-1 is not connected, clearing stale crtc→Connector HDMI-A-1 connected→ modeset →Disabling output HDMI-A-1, with 440×Cannot commit a disconnected output. - Every exit has the same tail as the reports above:
Got removal for monitor "FALLBACK" which was not previously tracked.→The Wayland connection experienced a fatal error: Invalid argument. - Each
_exit()orphaned alocalPluginWatcherinotifywait: 201 of them, about 400 MB RSS, all reparented tosystemd --user(#7150, fixed by #11385).
Workaround (monitor side): the AOC's OSD Input Select was set to Auto. With Auto, the monitor drops HPD when it goes to standby after the lock blanks it, so it keeps cycling. After switching it to HDMI2 (the port in use) and locking again, the monitor powered down and stayed down. There have been no hotplug events or shell exits during the lock since then. That doesn't fix the shell side (it should survive zero outputs), but it may help people on monitors with auto input scanning until #6642 lands.
Another way around the output-count-reaching-zero trigger, for anyone whose monitor drops HPD in standby (here: NVIDIA RTX 5060 Mobile, HDMI, nvidia-open 615.78.08): force the connector on so the kernel ignores the drop. With echo on > /sys/class/drm/card0-HDMI-A-1/status (after pinning its EDID via debugfs edid_override), the stock DPMS-off blank ran for 5 locks over 6 h with no output removal and no shell crash. Details and the caveat (a forced port breaks lid-close suspend when unplugged) in https://github.com/omacom/omarchy/issues/13812.
Prepared with the help of Claude (Anthropic's AI assistant) from this machine's logs; reviewed and posted by me.
I observed the same lock/relaunch loop on Intel UHD 730 (i915) with a single Acer KG251Q connected over HDMI.
Versions
- Omarchy 4.0.6-1
- Hyprland 0.56.2-4
- Aquamarine 0.15.1-1
- Quickshell 0.3.2.r7.g2b4501a-1
In under 12 minutes, the journal recorded 37 shell exits with status 255 and 37 stranded-lock recoveries, with zero-output messages and fatal Wayland connection errors.
Test results
- Adding a persistent headless output stopped the observed restart loop, but the physical screen would not stay dark.
- Disabling
Auto Sourcein the monitor menu then allowed it to stay dark. Both changes remain enabled; I have not testedAuto Sourcedisabled on its own. - After wake/unlock, the cursor is invisible until I switch workspaces. Software cursor rendering did not resolve this.
Same loop on Omarchy 4.5.0 (tag v4.5.0; packages omarchy 4.5.0-1 and 4.5.0-2; 4.5.0-2 is the package the stable channel currently serves).
Setup: omarchy 4.5.0-1 → 4.5.0-2 · hyprland 0.56.2-4 · aquamarine 0.15.1-1 · quickshell 0.3.2.r7.g2b4501a-1 · qt6-base 6.12.0-3 · wayland 1.26.0-1 · linux-omarchy 7.2.15-1 · Intel Raptor Lake-P UHD Graphics (i915) · single HKC S24 PRO on HDMI-A-1, 1920x1080. Idle settings: screensaver 0, lock 300.
What happened: automatic locking was off (stay-awake) until 2026-11-04 18:13 local time, so I have no data for earlier versions on this machine.
- First idle lock, 18:45: the blank turned DPMS off and HDMI-A-1 dropped (
There are no outputs), but the shell survived. I unlocked 30 s later. - Second idle lock, 19:32: same sequence, and this time the shell crashed. From then on it crash-looped whenever the session was locked.
Shell exits in the journal (status 255 unless noted):
- 4.5.0-1 (installed 11-04 17:56): 1,020
- 4.5.0-2 (installed 11-05 09:23, until 11:06): 64
- plus 18 exits with status 137 in the same window, at the same point in the cycle, with no reason logged
The relaunches came every 17 s while locked, up to 214 an hour. Hyprland itself never crashed. Several times I saw Hyprland's "Oopsie daisy … the lockscreen app died" screen; Hyprland's log does not record it.
One crash cycle (the same every time; offsets are from one cycle on 4.5.0-2):
0.0 s omarchy lock … secure=true
5.8 s owed: policy pause=1 poster=0 reason=dpms-off # wallpaper daemon seeing the blank timer's
# omarchy-brightness-display off -> hl.dsp.dpms disable
12.4 s qt.qpa.wayland: There are no outputs - creating placeholder screen # monitor dropped HDMI
wayvnc: Selected output HDMI-A-1 went away
quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
WARN: attempted to use dangling screen object
uwsm_hyprland.desktop: error in client communication (pid
Side effect: a running wayvnc 0.10.2 exits on every cycle (No fallback outputs left. Exiting...) and is restarted by systemd.
This matches the description in the first post; #6642 would avoid it here.
Same loop on Omarchy 4.5.0-3, on an AMD APU over HDMI.
Setup: omarchy 4.5.0-3 · hyprland 0.56.2-4 · aquamarine 0.15.1-1 · quickshell 0.3.2.r7.g2b4501a-1 · qt6-wayland 6.12.0-1 · kernel 7.2.15-1-omarchy · AMD Ryzen 5 5600G (Cezanne, integrated Radeon Vega, amdgpu) · single Acer VG240Y on HDMI-A-1, 1920x1080. Idle settings: screensaver 150, lock 300.
One locked session, 13:18 to 13:50 (about 32 minutes):
- 85 ×
Omarchy shell exited with status 255; relaunching. - 85 ×
lock-stranded: recovering - 85 ×
The Wayland connection experienced a fatal error - 86 × DPMS off
- Average of 22.9 s between relaunches
- No coredump for Hyprland or quickshell, and Hyprland stayed up. The session stayed locked throughout, and the loop stopped on unlock.
One cycle:
13:18:05 session-locked=true
13:18:11 DPMS off
13:18:23 qt.qpa.wayland: There are no outputs - creating placeholder screen
13:18:25 quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
13:18:25 WARN: The Wayland connection experienced a fatal error: Argumento inválido
13:18:25 Omarchy shell exited with status 255; relaunching.
13:18:34 DPMS off (next cycle)
The Hyprland log for the same boot shows 86 drm: Connector HDMI-A-1 disconnected and 87 connected, including ERR from aquamarine ]: drm: Cannot commit a disconnected output.
The output disappears about 12 s after DPMS off. That is shorter than the roughly 67 s cycle in the original report, so the cycle length here seems to come from when this monitor drops HPD.
amdgpu.hdmi_hpd_debounce_delay_ms is available on this kernel and reads 0, so this machine looks like a candidate for #13129. I have not tested that parameter or changing the monitor's input selection yet.
Prepared with the help of Claude (Anthropic's AI assistant) from this machine's logs; reviewed and posted by me.
I captured the WAYLAND_DEBUG trace suggested earlier in this thread, and it names the invalid object: a session lock surface that Hyprland 0.56.2 never created. This looks like the race fixed upstream in Hyprland #16784, which is in v0.57.1. I haven't tested 0.57.1 myself.
Setup: Omarchy 4.5.0-3, Hyprland 0.56.2-4, quickshell 0.3.2.r7.g2b4501a-1, qt6-wayland 6.12.0-1, wayland 1.26.0-1, kernel 7.2.15-1-omarchy. AMD Ryzen 7 2700X, Radeon Navi 10 (RX 5600/5700 series, amdgpu), single Acer KG271U on HDMI-A-1.
The trace (one capture, lock held, monitor dropping HPD after DPMS off):
18:32:41.459805 -> ext_session_lock_v1#48.get_lock_surface(new id ext_session_lock_surface_v1#143, wl_surface#140, wl_output#135)
18:32:41.526078 wl_registry#2.global_remove(210)
18:32:41.985671 -> wl_output#135.release()
18:32:42.583167 -> ext_session_lock_v1#48.get_lock_surface(new id ext_session_lock_surface_v1#180, wl_surface#177, wl_output#146)
18:32:43.121047 ext_session_lock_surface_v1#180.configure(182076, 2048, 1152)
18:32:43.688990 -> ext_session_lock_surface_v1#143.destroy()
18:32:43.702902 wl_display#1.error(wl_display#1, 0, "invalid object 143")
WARN: The Wayland connection experienced a fatal error: Invalid argument
What it shows:
- The shell requests lock surface
#143on the real outputwl_output#135just as that output is being removed. - In 0.56.2,
onGetLockSurfacereturns early when the output's monitor is gone, so the resource is never created and the client isn't told. #143never receives aconfigure, while its replacement#180gets one straight away.- When the shell later sends the valid
destroyfor#143, Hyprland has no such object and postsinvalid object 143, which disconnects the shell.
Hyprland's logging was off (debug:disable_logs is true), so I didn't see its "monitor is gone" message directly. Step 2 is inferred from the source and the missing configure.
How this fits the earlier analysis:
- The 2026-09-27 comment ruled out
ext_session_lock_surface_v1because no lock surfaces are created on the placeholder screens. This one was requested on the outgoing real output, not a placeholder, which is why it doesn't show up that way. - #15439 puts the crash on the shell's per-output windows. In this capture the invalid object is the lock surface, not a layer surface. This is only one capture, so other paths may exist.
Upstream fix: hyprwm/Hyprland@8b6f432 (#16784), "protocols/session-lock: fix removed output causing a protocol error". It creates an inert surface that can still be destroyed, and its test covers this sequence: remove the monitor, call get_lock_surface, then destroy. The fix is in v0.57.1 but not v0.56.2.
Caveats for moving to 0.57.x: #17045 reports the compositor dying at the same DPMS-off step on 0.57.0 with NVIDIA, so 0.57.1 needs testing before anyone treats this as closed. The fix also wouldn't stop the panel relighting or the bar being rebuilt when HPD drops, which #6642 and #13129 address.
Workaround that held here: echo on | sudo tee /sys/class/drm/card1-HDMI-A-1/status keeps the connector marked as connected. On one lock, the display stayed off for about 92 seconds with no disconnects, no fatal error, and the same shell PID. Without the force, the capture above crashed about 16 seconds after locking. I've also added video=HDMI-A-1:e to the kernel command line to make it permanent, but I haven't tested that across a reboot yet.
Prepared with the help of Claude Code from this machine's logs and trace; reviewed and posted by me.
Same loop here after updating 4.0.6 → 4.5.0-3, single HDMI monitor.
System: Omarchy 4.5.0-3, linux-omarchy 7.2.15-1, Intel Iris Xe (TigerLake-LP GT2, i915), Philips 271S7Q on HDMI-A-1 (1920x1080@60), hyprland 0.56.2-4, aquamarine 0.15.1-1, quickshell 0.3.2.r7.g2b4501a-1, qt6-base 6.12.0-3. Stock idle settings (screensaver 150, lock 300), stay-awake enabled.
What happens: after a lock, the lock's blank timer runs omarchy-brightness-display off 5 s later. This monitor then really drops HPD (it is not only the wl_output going away). Hyprland's log shows on every cycle:
drm: Got a hotplug event for /dev/dri/card1
drm: Connector HDMI-A-1 disconnected
drm: Cannot commit a disconnected output
The shell then logs There are no outputs - creating placeholder screen → Got removal for monitor "FALLBACK" which was not previously tracked → Could not create EGL surface (EGL error 0x3000) → The Wayland connection experienced a fatal error: Invalid argument → exited with status 255; relaunching → lock-stranded: recovering → lock → blank → repeat.
Rate: 38 relaunches in ~11 minutes (one every ~17 s) until the user unlocked. Unlock itself still worked.
Trying next: video=HDMI-A-1:e on the kernel command line, so that the connector stays connected while the monitor sleeps. Given the report above in #7478 that the crash also happens with no kernel connector event, I expect this only removes the HPD part, not the underlying crash when Hyprland has zero outputs. I'll report back whether it helps.
@JamesMConroy, I checked your trace against Hyprland 0.56.2 and the 0.57.1/0.57.2 source. Object 143 is requested as an ext_session_lock_surface_v1, and its later destroy gets invalid object 143. In 0.56.2, onGetLockSurface() can return when the output's monitor has gone before creating that object. Hyprland #16784 corrects this by creating an inert, destroyable resource. That addresses the monitor-gone path consistent with this capture. The older code also returns early for an invalid output resource, and that return is unchanged; without the server log, this excerpt cannot establish which branch fired. It does not establish that every crash reported here has that cause.
The fix is present in 0.57.1 and 0.57.2, and omarchy-pkgs #2064 merged the 0.57.1 recipe. I checked today's x86_64 package databases: stable and RC still serve Hyprland 0.56.2-4, with titlebars pinned to 0.56.2; edge serves 0.57.2-2, with matching titlebars. The reports on Omarchy 4.5.0 still name the older compositor.
The physical blank/wake behavior still needs checking. On current quattro (419a5a709), recovering the lock and adding a screen both re-arm blanking, and blanking still disables DPMS. Correcting the protocol object lifetime does not stop a monitor dropping its link or establish that it stays dark afterward. I read the source, upstream regression test and package metadata; I did not run that test, reproduce the physical DPMS sequence, or run a suite in this session.
This waits on the maintainer for stable/RC availability of the fixed compositor with its matching titlebars. If you already run a build containing the fix, restart the graphical session and report the running hyprctl version, the shell PID (pgrep -x quickshell) before and after lock → display-off → wake, and whether the panel still cycles. If the shell exits, include the shell and Hyprland logs around that cycle. A panel cycling with the same shell PID is a separate result from this protocol-error/relaunch loop.
Reviewed by GPT-6 High in Codex, with second opinions from Opus 5.5 High and muse-wonder via pi, thinking high. Opus identified the unchanged invalid-output return and the screen-arrival re-arm as limits on calling this fixed; muse-wonder agreed that package availability and physical confirmation remain. Their independence from my reasoning is not guaranteed.
Tested Hyprland 0.57.2 (edge) on an AMD Ryzen 9 6900HX with a single BenQ MA270U on HDMI. On 0.56.2 the lock looped (4 shell crashes in 15 minutes). On 0.57.2 the shell no longer crashes, but the screen kept lighting up every 6-13 s: the BenQ drops the HDMI connection while its input auto scan searches for a signal, and Hyprland turns it back on when it reconnects. Turning auto scan off fixed that. The MA270U has no menu option for it, but ddcutil setvcp F6 0 did it from Linux (BenQ vendor code, so other models may differ). After that, a 90 s lock stayed dark with no reconnects.