Repository navigation
Description
What happened?
Summary
After dpms-off, an external monitor connected through an MST dock turns itself back on about 20 seconds later. Once it loses signal, the monitor goes into deep standby and drops its
DisplayPort link. The dock reports this as a disconnect and then a reconnect. umbriel treats the reconnected connector as a new output, sets its mode and powers it on, even though all
outputs were turned off.
Expected behavior
An output that reconnects while the session's outputs are off should stay off. It should only turn on after dpms-on, user input or unlocking. niri, for example, keeps reconnected
monitors off in this situation.
Actual behavior
The external monitor turns back on about 20–25 seconds after dpms-off. The laptop panel (eDP-1) stays off.
Steps to reproduce
- Connect the laptop to a dock that uses DisplayPort MST (connectors show up as DP-8 … DP-12) with an external monitor attached.
- Run
dpms-offwith no output argument, either from a keybind or withumbriel msg dpms-off. - Wait about 20–30 seconds.
Environment
- umbriel 0.1.0 (9300aa9)
- Linux 7.0.0 (TUXEDO kernel), amdgpu
- External monitor: LG ULTRAGEAR+ (3440x1440@144, HDR on), connected through a USB-C/Thunderbolt dock (MST)
- Keybind:
"Mod+Alt+L" = { action = "dpms-off", allow_when_locked = true, repeat = false }
Log
12:17:45.239 [INF] [wlr] [backend/drm/drm.c:984] connector eDP-1: Turning off
12:17:45.318 [INF] [output] output 'eDP-1': powered off
12:17:45.319 [INF] [wlr] [backend/drm/drm.c:984] connector DP-12: Turning off
12:17:45.463 [INF] [output] output 'DP-12': powered off
12:18:04.689 [INF] [wlr] [backend/drm/drm.c:1778] Scanning DRM connector 477 on /dev/dri/card1
12:18:04.692 [INF] [wlr] [backend/drm/drm.c:984] connector DP-12: Turning off
12:18:04.692 [ERR] [wlr] [backend/drm/atomic.c:82] connector DP-12: Atomic commit failed: No such file or directory
12:18:04.692 [ERR] [wlr] [backend/drm/drm.c:1385] connector DP-12: Failed to disable CRTC 421
12:18:04.717 [INF] [wlr] [backend/drm/drm.c:1781] Scanning DRM connectors on /dev/dri/card1
12:18:07.008 [INF] [wlr] [backend/drm/drm.c:1836] Found connector 'DP-8'
12:18:07.033 [INF] [wlr] [backend/drm/drm.c:1836] Found connector 'DP-9'
12:18:07.056 [INF] [wlr] [backend/drm/drm.c:1836] Found connector 'DP-10'
12:18:07.079 [INF] [wlr] [backend/drm/drm.c:1836] Found connector 'DP-11'
12:18:08.204 [INF] [wlr] [backend/drm/drm.c:1836] Found connector 'DP-12'
12:18:08.204 [INF] [wlr] [backend/drm/drm.c:1861] 'DP-12' connected
12:18:08.204 [INF] [wlr] [backend/drm/drm.c:1895] connector DP-12: Requesting modeset
12:18:08.225 [INF] [wlr] [backend/drm/drm.c:980] connector DP-12: Modesetting with 3440x1440 @ 144.050 Hz
12:18:08.579 [INF] [output] output 'DP-12': selected HDR render format XR30
12:18:08.579 [INF] [output] output 'DP-12': applied mode=3440x1440@144050mHz scale=1 transform=0
Suggested fix
When dpms-off is called without an output, keep a global "outputs off" state. Apply it to any output that connects while the state is set, and clear it on dpms-on or user activity.
The monitor dropping its link in standby is common hardware behavior, so the compositor needs to handle it.
How can we reproduce it?
No response
Umbriel version
No response
Last working version
No response
Affected area
None
Distribution
None
System details
Logs, errors, or backtraces
Anything else?
No response
Activity