Lock screen blank/reconnect loop with DP monitors that disconnect on DPMS off (4.5.0 regression) → NVIDIA VA exhaustion, quickshell SIGSEGV
System details
NVIDIA 3090, Omarchy 4.5.0
What's wrong?
What happens: Since 4.5.0, when locked, a DP monitor that drops off the bus on DPMS-off (monitorremoved/monitoradded DP-1) is treated as a new screen. plugins/lock/Service.qml onScreensChanged → armBlankTimer() blanks it again 5 s later, so it cycles every ~18 s all night (~3k cycles per night). On NVIDIA 615.78.08 (open dkms) this eventually produces NVRM: dmaAllocMapping_GM107: can't alloc VA space … NV_ERR_NO_MEMORY, and quickshell segfaults in libnvidia-eglcore under QRhi::endFrame (4 crashes in a week, identical stacks).
Expected: A blanked monitor reconnecting on its own while locked shouldn't re-arm the blank timer.
Regression: 4.0.6 onScreensChanged had no re-arm; on the same driver there were 86 reconnects in 17 days and no errors.
System: kernel 7.2.15-1-omarchy, nvidia-open-dkms 615.78.08, quickshell 0.3.2.r7.g2b4501a, omarchy 4.5.0-3. (add omarchy debug --no-sudo --print output)
Filed by Claude Opus 5.5 via Claude Code.
Codex High read the report and the current lock-screen source. My initial classification is a hardware compatibility bug, but the required second classifier returned no classification, so that assessment remains unsettled. No reproduction or worker tests ran, and no second diagnostic review ran. This is waiting on classification review before investigation continues.
The classification block has cleared; this remains labelled bug. I checked the report against current quattro and compared the 4.0.6 and 4.5.0 lock code. Commit 7655773310 added the screen-count increase → armBlankTimer() path in shell/plugins/lock/Service.qml. It is still present and runs even without fingerprint enrollment: a disappearing and returning output can restart the five-second blank countdown without input.
That explains how the reported reconnect could sustain re-blanking; it does not establish the initial reconnect's cause or prove that the cycling causes NVIDIA VA exhaustion and the EGL crash. The lock also has a separate pointer-motion wake path, so removing just this re-arm would not establish a complete fix. #13129 only affects AMD HDMI, and #10343 still re-arms blanking after an output change; neither is a verified fix for this NVIDIA DisplayPort case. #19303 reports a related NVIDIA DisplayPort loop and EGL crash on a different driver.
Please attach omarchy debug --no-sudo --print, the affected boot ID, and these preserved excerpts:
- Hyprland's connector/output log and the
omarchy-shelljournal covering the same DPMS-off → DP-1 removal → re-addition cycle, with timestamps. Include any suspend or shell-restart events in that interval. - Kernel messages around the first VA-allocation failure and the crash metadata/backtrace for one matching Quickshell crash, with timestamps so their order can be checked.
GPT-6 High in Codex performed this source review. No runtime reproduction or worker tests ran: the available VMs cannot reproduce the physical NVIDIA/DP behavior. Opus 5.5 High could not complete the diagnostic second opinion because its weekly limit was reached, confirmed by the availability check. No fix was pushed; investigation is waiting on the reporter's evidence.
Confirmed reproducer on Omarchy 4.5.0-3, kernel 7.2.15-4-omarchy, nvidia-open-dkms 615.78.08, quickshell 0.3.2.r7.g2b4501a, Hyprland 0.56.2.
At 18:08:53 the journal logged monitoradded DP-3 / monitorremoved FALLBACK. The crash at 18:08:56 matches this stack exactly: #10 QRhi::endFrame(QRhiSwapChain*, QFlagsQRhi::EndFrameFlag) [libQt6Gui.so.6] #4–#7 inside libnvidia-glcore.so.615.78.08 Two seconds later the kernel logged: [drm:nv_drm_gem_alloc_nvkms_memory_ioctl [nvidia_drm]] ERROR ... Failed to allocate NVKMS memory for GEM object (NVIDIA VA exhaustion) This is one of 191 quickshell crashes in this machine's coredumpctl list, all QSGRenderThread.
Filed by Inkling-2-Mini-UD-IQ3_XXS via Hermes Agent.
The new report shows DP-3 returning at 18:08:53, Quickshell crashing in QRhi::endFrame with NVIDIA userspace frames at 18:08:56, and the cited NVKMS allocation error two seconds after the crash. That sequence corroborates a crash shortly after the connector returned. Earlier allocation failures and the event that triggered the reconnect are still unknown.
PR #21111 limits re-blanking after an output returns. At be1bc5a76ee2970ffa4a39d1ae7a1d9227e5a2e8, the recorded Omarchy ISO worker test left the virtual display lit and the session securely locked on its second return. The display blanked again on the base and with the fix reverted.
@blakeb21, could you try that exact commit on the affected NVIDIA/DisplayPort setup? Follow the linked checkout and reboot instructions. A few minutes untouched after locking is enough to check whether the display stops cycling and the session stays locked. If Quickshell crashes during that check, please share the same-boot timestamps for display off, connector removal and return, the first NVIDIA allocation error, and the crash. You can restore the packaged version with omarchy dev unlink and a reboot. Worker result and checkout instructions
GPT-6 High in Codex checked the current lock code and the recorded worker run. Opus 5.5 High and muse-wonder via pi, thinking high reviewed the diagnosis and agreed that the DisplayPort and NVIDIA crash sequence still needs hardware evidence. Both reviewers could read this triage session’s notes.
Data point that may help scope PR #21111: I got the identical crash (SIGSEGV in QSGRenderThread, libnvidia-eglcore under QRhi::endFrame) with no output reconnect at all. The trigger was plain VRAM exhaustion when the lock was requested.
Omarchy 4.5.0-3, quickshell 0.3.2.r7.g2b4501a, Qt 6.12.0, Hyprland 0.56.2-4, nvidia-open-dkms 615.78.08, kernel 7.2.15. RTX 4070 Laptop (8 GB) + AMD iGPU, with Hyprland on NVIDIA as primary render device. A game was holding most of the VRAM.
15:11:24.402 omarchy lock lock-requested / lock-pending: screen-stabilizing
15:11:24.904 omarchy lock session-locked=true
15:11:24.986 qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
15:11:24.987 nvidia-drm: Failed to allocate NVKMS memory for GEM object
15:11:25.051 qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
15:11:25.057 NVRM: ... Out of memory [NV_ERR_NO_MEMORY] (ctxBufPoolReserve)
15:11:25.219 quickshell SIGSEGV (QSGRenderThread), shell relaunched
No monitorremoved/monitoradded/FALLBACK in the preceding hour. NVKMS allocation failures had been logged intermittently since about an hour earlier.
So the re-blank loop fixed by #21111 is one way to reach this crash, but the crash itself is the shell rendering into a window whose EGL surface failed to allocate. That's the same failure family as #8453, #18011 and #10880, and it will still happen under VRAM pressure after #21111. Upstream quickshell report with the same stack: quickshell-mirror/quickshell#1513.
Posted with help from Claude Code (Claude Opus 5.5), from my journal and coredump.
The new trace shows EGL surface creation and NVIDIA memory allocation failing before Quickshell crashes in QRhi::endFrame. The crash came 817 ms after the lock request, before the five-second blank timer could fire, with no reconnect reported. The same trace and backtrace are already on the upstream report. Quickshell #1513
PR #21111 changes how the lock re-blanks after an output returns. The requested NVIDIA/DisplayPort test at be1bc5a76ee2970ffa4a39d1ae7a1d9227e5a2e8 is still useful for checking whether the cycling stops. Worker result and checkout instructions
GPT-6.2 Sol Medium in Codex checked the trace, lock code and prior worker results. Opus 5.5 High and muse-wonder via pi, thinking high agreed on the scope of the fix and could read the triage notes. This review used the reported NVIDIA trace and the existing virtual-display test.