Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dell U2711 detection command wakes up the display #494

Open
w8jcik opened this issue Feb 11, 2025 · 1 comment
Open

Dell U2711 detection command wakes up the display #494

w8jcik opened this issue Feb 11, 2025 · 1 comment

Comments

@w8jcik
Copy link

w8jcik commented Feb 11, 2025

Two quick questions:

  • Is it expected that some displays wake up when ddcutil detect is called?
  • Can it be prevented with some switches?

Normally I wouldn't be bothered by it, but it is causing following practical issue:

A project called ddcutil-service detects connection/disconnection events by polling every 30 seconds (some fallback behavior that happens in practice). Polling calls logic of ddcutil detect resulting in sleeping displays waking up every 30 seconds.

This happens only with my two Dell U2711. Other displays do not wake up. It seems display-specific.

@rockowitz
Copy link
Owner

The answer, as in so many of this situations, is "it depends" on how the monitor implements I2C and DDC. In addition to reading the EDID, the detect command makes DDC requests as part of display detection. You'd have to check if the monitor is asleep before calling detect. Unfortunately, on Wayland this check is not cheap - it has to be performed by reading from the DRM connector node in /sys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants