Brightness: a monitor found by ddcutil detect but with no readable brightness is rescanned on every open, blanking it
What happens
I have three screens: a laptop panel (eDP-1), a Samsung U32R59x on the HDMI port (HDMI-A-1), and a Lenovo T25d in portrait driven from a laptop USB-C port into the monitor HDMI input, over a USB-C to HDMI cable. DRM and Hyprland name that third one DP-1, since the USB-C side is DisplayPort alt mode.
Every time I open the display module in the bar, or run omarchy brightness display --monitor DP-1, the Lenovo goes completely black for two to three seconds and then comes back on its own. Nothing is changed on it: something in that chain, the monitor or the converter in the cable, drops the signal and re-trains the link when it is probed.
It happens on every single open, not only the first one.
A side effect: the blanking looks like an unplug and replug, so omarchy-hyprland-monitor-clamshell fires twice right after each time.
Why
omarchy-brightness-display-ddc caches the I2C bus per connector in $XDG_RUNTIME_DIR/omarchy-brightness-display-ddc/<connector>.bus, so that the expensive ddcutil --skip-ddc-checks detect --brief (which walks every attached display's control channel) only runs when the bus is not known yet.
There is an "unavailable" negative cache with a 60 second window, but it is only written when detect_bus finds nothing at all:
bus="$(detect_bus)" || return 1
if [[ ! $bus =~ ^[0-9]+$ ]]; then
cache_unavailable
return 1
fi
The Lenovo is not that case. It is found by detect, so a bus number is cached, and then it does not answer the brightness read. That path deletes the cache file instead of remembering the failure:
bus="$(find_bus)" || return 1
values="$(read_vcp "$bus")" || {
rm -f "$cache_file"
return 1
}
So nothing is remembered, and the next open runs the full detect scan again, which disturbs the monitor again. A screen that is visible to DDC but has no readable brightness gets rescanned forever.
For contrast, the Samsung works fine and keeps its cache entry (4 100 <timestamp>), so it is only the monitor without readable brightness that pays this, repeatedly.
Expected
A monitor that has been found once to have no readable DDC brightness should be remembered as unavailable, the same as one that is not found at all, so it is probed once rather than on every open.
Steps to reproduce
- Attach a monitor that answers
ddcutil detectbut notgetvcp 10. - Open the display module in the bar, or run
omarchy brightness display --monitor <that connector>. - The monitor blanks and re-syncs. Repeat and it blanks again every time.
ls $XDG_RUNTIME_DIR/omarchy-brightness-display-ddc/shows no entry for that connector, so the next call rescans.
Possible fix
In read_brightness, call cache_unavailable instead of rm -f "$cache_file" when read_vcp fails, or keep the detected bus and record that VCP 10 is unsupported on it. Either way the full detect scan stops running on every open.
System
- Omarchy 4.0.0rc4-1 (rc / edge)
- Hyprland v0.56.2, kernel 7.1.8-arch1-3
- AMD Radeon 880M/890M (Strix), amdgpu
- ddcutil 2.2.7
- Affected monitor: Lenovo LEN T25d-10, portrait, laptop USB-C to monitor HDMI input, named DP-1
- Working monitor: Samsung U32R59x on the laptop HDMI port, named HDMI-A-1
I also tried the ddcutil-side workaround of excluding just that model with --ignore-mmid in ~/.config/ddcutil/ddcutilrc, but I could not get ddcutil 2.2.7 to accept the syntax for a model name containing a space, so that route did not help.
Independent confirmation on Omarchy 4.0.1-1, Hyprland 0.56.2-1, Quickshell 0.3.1-1, kernel 7.1.9-arch1-2, and ddcutil 2.2.7-1.
The external display is detected on an I2C bus, but its VCP brightness read fails. The display's physical DDC/CI setting was confirmed enabled. A single omarchy-brightness-display-ddc <connector> invocation took about 48 seconds and exited with status 1.
With the monitor panel left open, a 63-minute sample produced 78 identical DDCRC_RETRIES / EREMOTEIO(10) errors, spaced roughly 48-50 seconds apart. Three consecutive sanitized entries were:
Error detecting VCP version using VCP feature xDF: DDCRC_RETRIES; EREMOTEIO(10)
Error detecting VCP version using VCP feature xDF: DDCRC_RETRIES; EREMOTEIO(10)
Error detecting VCP version using VCP feature xDF: DDCRC_RETRIES; EREMOTEIO(10)
The source path matches this report exactly: a numeric bus is detected and cached, read_vcp then fails, the cache file is removed, and the next panel refresh repeats detection plus the slow retry sequence. Closing the panel stops the repeated attempts apart from its initial component refresh.
I am not attaching the full debug or ddcutil detect output because it contains unrelated host, network, and display identifiers. The sanitized timing, error signature, and versions above are the complete relevant evidence.
Third confirmation, still present on Omarchy 4.0.3-1 (Hyprland 0.56.2, ddcutil 2.2.7, kernel 7.2.3-arch1-3). Different hardware from the two reports above, and on Intel rather than NVIDIA: Dell XPS 13 7390, CometLake-U / i915 Gen9, driving a BenQ EW277HDR on DP-2 through a USB-C DP-alt → HDMI adapter with a VIA Labs hub in it.
Same trigger and same code path. Opening either display panel — stock omarchy.monitor
(shell/plugins/panels/monitor/Panel.qml:247) or the crmne.hyprmoncfg plugin — runs
omarchy-brightness-display --monitor DP-2, which routes to omarchy-brightness-display-ddc
and re-runs the full ddcutil --skip-ddc-checks detect --brief scan on every open.
Two things I can add.
The empty cache directory is a reliable fingerprint of this exact path. During
reproduction $XDG_RUNTIME_DIR/omarchy-brightness-display-ddc/ existed but was empty — no
DP-2.bus, and no unavailable entry either. That distinguishes the rm -f "$cache_file"
branch in read_brightness (display found by detect, getvcp 10 fails, cache deleted)
from the cache_unavailable branch, without needing to instrument anything. It matches the
root cause described in the report.
It leaves no kernel trace at all, which makes it easy to misattribute. DDC/CI is I2C
sideband traffic, so there is no modeset and no drm error: journalctl -k stays completely
silent, aquamarine logs no Modesetting line, and /sys/class/drm/card*-DP-2/{status,enabled,dpms}
stay at connected|enabled|On throughout. On this machine the display shows multicoloured
pixel noise rather than going cleanly black, and it usually recovers on its own. I spent a
while chasing an unrelated CPU pipe B FIFO underrun on the same output before finding the
real trigger — worth noting for anyone triaging, since connector-state polling cannot
distinguish working from disturbed here.
Verifying without disturbing the display. Putting a stub ddcutil first on PATH that
logs its arguments and exits non-zero makes this testable safely — with a negative cache
entry present the stub is never called; with it removed the stub records
--skip-ddc-checks detect --brief.
User-side workaround until the fix lands, for anyone finding this issue: write the
negative verdict the script declines to keep. The freshness test is now - cached < 60, so a
far-future stamp makes it permanent and find_bus() returns before ddcutil is invoked.
# ~/.config/user-tmpfiles.d/omarchy-ddc-skip.conf
d %t/omarchy-brightness-display-ddc 0755 - - -
f+ %t/omarchy-brightness-display-ddc/DP-2.bus 0644 - - - unavailable 9999999999
Note that systemd-tmpfiles-setup.service is not enabled for the user session by default on
Omarchy, so this also needs systemctl --user enable systemd-tmpfiles-setup.service to apply
at login. This gives up DDC brightness on that output, which costs nothing in precisely the
case this issue is about — the brightness read was already failing.
The fix suggested in the original report (calling cache_unavailable instead of
rm -f "$cache_file" when read_vcp fails) would resolve this here too.
Additional confirmation on Omarchy 4.0.3-1, with a more severe failure mode where the DDC probe repeatedly removes the compositor output and breaks a Sunshine/Moonlight session.
System:
- Omarchy 4.0.3-1
- Hyprland 0.56.2-2
- Quickshell 0.3.1-1
- ddcutil 2.2.7-1
- Linux 7.2.4
- Intel CoffeeLake-H UHD Graphics 630 (
i915) - Philips 288E2, 3840x2160@60, exposed as
DP-3
With the stock omarchy.monitor panel left open, its periodic refresh ran this chain:
omarchy-monitor-state
-> omarchy-brightness-display --monitor DP-3
-> omarchy-brightness-display-ddc DP-3
-> ddcutil --bus 6 --skip-ddc-checks getvcp 10 --brief
The effective failure cycle was roughly 18 seconds. Quickshell repeatedly reported:
qt.qpa.wayland: There are no outputs - creating placeholder screen
At the same time, aquamarine recorded repeated sequences like:
drm: Connector DP-3 disconnected
drm: Cannot commit a disconnected output
drm: DP-3 is not connected, clearing stale crtc 59
drm: Connector DP-3 connected
drm: Modesetting DP-3 with [email protected]
ddcutil also logged both a lock timeout on the display's I2C bus and a disconnected-display retry:
Max wait time 3000 milliseconds exceeded after 32 flock() calls
flock() for /dev/i2c-6 failed on 32 calls
Display_Ref[1:bus /dev/i2c-6 ...] still disconnected after 1 second delay and retry
The consequences were more severe than a temporary blank:
- Hyprland repeatedly replaced
DP-3withFALLBACK. - Sunshine's Wayland capture failed with
zwlr_screencopy_manager_v1 ... invalid output. - The Moonlight client froze.
- The physical monitor eventually reported no signal and needed a power/input cycle plus repeated compositor reprobes before it was detected again.
A/B evidence:
- Pausing Quickshell stopped the recurring output faults.
- Resuming the same Quickshell process caused
DP-3to disconnect again immediately. - Removing only the
omarchy.monitorentry from~/.config/omarchy/shell.json, then restarting Quickshell, restored the normal bar without the DDC polling path. - After that change, no
omarchy-monitor-state/omarchy-brightness-displayDDC processes appeared during the observation interval,DP-3stayed connected, and the display remained stable at 4K60. Sunshine also remained active.
The only remaining runtime cache entry after recovery was:
/run/user/1000/omarchy-brightness-display-ddc/FALLBACK.bus: unavailable <timestamp>
There was no persistent negative verdict for DP-3.
This appears to be the same class of failure described in this issue, but on Intel/i915 and severe enough to flap HPD/remove the Wayland output. In addition to preserving a negative cache entry when getvcp 10 fails, it may be worth:
- skipping DDC reads when the connector is disconnected or DPMS is off;
- preventing overlapping/repeated probes after a timeout;
- exposing a supported per-monitor DDC opt-out so users do not need to remove the entire monitor panel.
Current workaround: remove omarchy.monitor from the bar configuration. The separate display configuration plugin and normal resolution/scaling controls continue to work.
Independent confirmation on Omarchy 4.0.3-1, with a locked-monitor/streaming failure mode and a slightly different cache path: the physical display has a valid DDC cache entry, but Hyprland's synthetic FALLBACK output is passed into the brightness probe and gets retried on the 60-second negative-cache cadence.
System
- Omarchy 4.0.3-1
- Hyprland 0.56.2-3.1
- Quickshell 0.3.1-1.1
- ddcutil 3.0.1-1
- Linux 7.2.5-1-cachyos
- AMD Ryzen AI MAX+ 395 / Radeon 8060S plus NVIDIA GeForce RTX 5090
- Physical external display on
DP-11 - Sunshine/Moonlight captures a separate headless Sway output on the RTX 5090
What happens
While the host session is locked and its physical monitor is asleep, the monitor wakes, the Moonlight game frame rate drops, and the monitor turns off again. This repeats approximately every minute.
The Omarchy screensaver was already disabled for the active game stream, and Sunshine was verified to be capturing the headless Sway output rather than the host Hyprland output. The recurring host-side events were DDC probes and output/lock-surface reconstruction.
Over the captured 17-minute incident window:
- 12 distinct
ddcutilPIDs ran; - Quickshell logged 7 removals of Hyprland's
FALLBACKmonitor; - Omarchy shell logged 56
Not creating lock surface ... not backed by a valid wayland outputlines; - individual DDC probes blocked for up to about 17.8 seconds.
Representative sequence:
15:05:46 omarchy-shell: Got removal for monitor "FALLBACK" which was not previously tracked.
15:05:47 ddcutil: Max wait time 3000 milliseconds exceeded after 32 flock() calls
15:05:47 ddcutil: Failed to find connector name for /dev/i2c-25
15:05:47 ddcutil: dpms_check_drm_asleep_by_businfo(...) returned false ... Assuming not asleep
15:06:01 ddcutil: Failed to find connector name for /dev/i2c-25
15:06:01 ddcutil: ... Assuming not asleep
15:06:56 omarchy-shell: Got removal for monitor "FALLBACK" which was not previously tracked.
The command line recorded by journald was:
ddcutil --skip-ddc-checks detect --brief
At the same time the runtime cache contained:
FALLBACK.bus: unavailable 1789564157
DP-11.bus: 25 100 1789564171
So this instance is not solely the original report's getvcp 10 failure deleting the real connector's cache. DP-11 had a valid cached bus/range, while the virtual FALLBACK output was treated as an external brightness target. Its failed lookup was cached for exactly the helper's unavailable_cache_seconds=60, explaining the repeating cadence.
The call path is:
shell/plugins/panels/monitor/Panel.qml
Component.onCompleted: refresh()
-> omarchy-monitor-state
-> omarchy-brightness-display --monitor <focused output>
-> omarchy-brightness-display-ddc FALLBACK
-> ddcutil --skip-ddc-checks detect --brief
On this host the game was already using about 98% of the RTX 5090. Each physical-output wake/re-enumeration caused Hyprland and the lock shell to rebuild display surfaces on the same GPU, coinciding with the visible game/stream FPS drop.
Suggested guard
In addition to preserving a negative verdict when getvcp 10 fails, the brightness path should reject synthetic outputs such as FALLBACK before invoking DDC and skip external DDC reads when the real output reports dpmsStatus: false or the session is locked. A supported per-output DDC opt-out would also provide a safe fallback for monitors whose DDC probe retrains the link.
This is related to #8580 and #10584, but here the active trigger is the stock monitor panel's brightness probe during the locked/DPMS-off state.
Confirmed in source on current quattro. When getvcp 10 fails, read_brightness in bin/omarchy-brightness-display-ddc deletes the connector's cache file instead of recording the failure, so every following call (the monitor panel refreshes every few seconds while open) re-runs ddcutil detect and the read again. A display detect does not list at all is already cached as unavailable for 60 seconds; one it lists but cannot read never was.
The fix is up as #14525: a failed read now writes the same 60-second unavailable entry, so such a display is probed at most once a minute rather than on every refresh. With ddcutil stubbed, as @WakaScott described, the brightness test fails without the change and passes with it on a worker built from the Omarchy ISO, and ./test/cli and the other brightness tests pass there too. The blanking itself depends on the monitor and cannot be reproduced on a VM, so whether once a minute is rare enough on your hardware is something only a real display can show.
The other suggestions here — not probing Hyprland's FALLBACK output, skipping DDC while the display is asleep or the session locked, and a per-output opt-out — are separate changes and are not in #14525; they are left for the maintainer.
Reviewed by Claude Opus 5.5, with Codex Medium as a second opinion, which agreed the mechanism is real and found nothing to change in the fix; it read the same diagnosis, so its agreement is not independent. This now waits on the maintainer's review of #14525.