Repository navigation
Stop reloading for an internal panel no reload can fix - #15542
hermitokatt wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge. SummaryThe watcher stops after five reload attempts when every enabled monitor without a mode is an internal panel.
Reviews (1) · Last reviewed commit: "Stop reloading for an internal panel no ..." · Reviewed by Greptile |
|
Thanks for this, and for the detailed diagnosis in #15538. This pull request isn't classified yet, so no labels went on and nothing ran. Every item gets two separate classifications, one from the session working it (Claude Opus 5.5) and one from a second model (Codex Medium). The second model was reachable, but omabot had used up its daily budget of reviews, so there was nothing to check the first answer against. My answer was What was done: I read the diff against Next: this waits for the second opinion to be available again. Once the class is agreed, the bot will run the suite and a reproduction on a worker and review the change in full. |
Refs #15538
When a connected internal panel (eDP, LVDS or DSI) comes up with no mode,
omarchy-hyprland-monitor-watchranhyprctl reloadforever, backing off to once a minute. On the MacBookPro14,1 in #15538 the panel is modeless because i915 caps the eDP link at two lanes, which no reload can change, so the loop never recovers.recover_modelessnow stops after 5 reloads (walking the existing 3–48 s backoff) when the only modeless monitors are internal panels, and logs one line. External monitors keep retrying as before, since an unpowered external display can stay modeless for hours and sends no event when it is switched on. A later monitor orconfigreloadedevent starts a fresh loop.This does not fix the dark panel itself; that needs a kernel fix.
Test:
test/shell.d/monitor-modeless-test.shgains a case where eDP-1 stays 0x0 across every reload next to a working DP-2, and asserts the watcher gives up after the cap. The existing case where a monitor powered off at boot recovers on reload still passes.