DDC/CI used, detected, allowed (output device/management, external brightness device)
Overview
As discussed in #kwin on Matrix, KScreen should provide a checkbox option (quirk) in Display Configuration to allow users to turn off the use of DDC/CI for certain monitors, as DDC/CI is not always implemented satisfactorily by monitors and their firmware. This MR proposes additions to the relevant Wayland protocols to introduce this option, or other optimizations based on the knowledge of DDC/CI being used.
Related MRs in other repositories that make use of this:
- plasma/libkscreen!244 (merged)
- plasma/powerdevil!538 (merged)
- plasma/kwin!7327 (merged)
- plasma/kscreen!360 (merged)
Commit messages
kde-external-brightness: Add set_uses_ddc_ci()
A new request to tell the compositor whether this brightness device is using DDC/CI to apply its settings to the display.
This information can be used by the compositor to ignore the brightness device if it exposes monitor issues. It can also be used to prefer software brightness for frequent actions such as dimming, maximizing monitor longevity.
kde-output-{device,management}: Add ddc_ci_allowed
The Wayland event and request respectively are available starting with v13 of each protocol.
In addition to the request and event, this commit also adds a capability to indicate whether an output supports DDC/CI in the first place. The request set_uses_ddc_ci recently added to the kde-external-brightness-v1 protocol can be used to determine this information for external brightness devices.
Extra commit: kde-output-management: fix capability name in docs
The output capability is just called brightness
,
not brightness_control
.