Repository navigation
dpms off: HDMI monitor wakes up immediately due to hotplug disconnect/reconnect loop #14817
Answered
by
samsyu518
samsyu518
asked this question in
Bugs - DRM
|
After running Hardware
Root CauseThe MSI monitor reports a DRM connector disconnect when it receives no signal, then immediately reconnects. niri msg action power-off-monitors # works correctly on the same hardwareI found that niri handles this case in src/backend/tty.rs: // Some buggy monitors replug upon powering off, so powering on here would
// prevent such monitors from powering off. Therefore, we avoid
// unconditionally powering on.
if !niri.monitors_active {
compositor.clear();
}This behavior started after the aquamarine migration (commit 016da23, 2024-07-21) The wlroots-based backend did not trigger this issue Related
logLog evidence (repeats continuously after dpms off): |
Answered by
samsyu518
May 27, 2026
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix in PR #14818 (now merged) addresses this specifically by re-applying dpms off when a monitor reconnects via hotplug while DPMS is already off.
I think The behavior in #14485 and #12791 does seem related, all cases involve monitors that disconnect and reconnect on HDMI during no-signal or input switch.
I tested by building Hyprland from source and running it in my archlinux. It works
Switched to a TTY, then ran: