Products › lamco-dsi-tools › Interfaces › kde_output_management_v2
kde_output_management_v2: Changing display settings on KWin
kde_output_management_v2 is KWin's Wayland protocol for changing a display's mode, scale, transform and position on Plasma. How it works, and how to test it.
kde_output_management_v2 is the Wayland protocol through which a client changes the displays of KWin, the compositor of KDE Plasma: Mode, scale, transform, position, and on newer versions HDR, VRR, brightness and more. On a Plasma Wayland session it's the Wayland interface through which an output is changed, which makes it the KDE half of the question "how do I change the display scale from the command line on Wayland". lamco-dsi-tools (DSI: Desktop session interfaces) lists it from the registry, and changes an output through it, holds the change, and puts it back.
What it is
The protocol is part of KDE's plasma-wayland-protocols, beside kde_output_device_v2, which describes the outputs. A client binds the kde_output_management_v2 global and calls create_configuration, which gives it a kde_output_configuration_v2 for one change. On that object it names a device and what to set on it: enable, mode (a mode object the device announced), transform, position, scale, and in later versions many more, from set_vrr_policy and set_high_dynamic_range to set_brightness and set_custom_modes. Then it calls apply. KWin answers applied or failed, and from version 12 sends a failure_reason first. The protocol's own description says the design lets a change be atomic: Nothing is tried until apply.
Two things set it apart from its neighbours. It has no request that tests a configuration, so the first a client hears of a change KWin won't take is the answer to applying it; wlr-output-management has test, and Mutter's DisplayConfig has the method verify. And its description warns: "Regular clients must not use this protocol. Backward incompatible changes may be added without bumping the major version of the extension." There's no permission dialog.
Which desktops offered it
| Desktop | State |
|---|---|
| GNOME Shell 48.7 (Debian 13) | absent |
| GNOME Shell 51.0 (Fedora 45) | absent |
| KDE Plasma, KWin 6.5.6 (NixOS) | present |
| KDE Plasma, KWin 6.8.2 (KDE neon) | present |
| Sway 1.9 | absent |
| Hyprland 0.56.2 | absent |
| COSMIC, cosmic-comp 1.0.0 | absent |
| labwc 0.20.3 (Budgie session, CachyOS) | absent |
| Cinnamon Wayland session (Linux Mint) | absent |
Each cell is one version of that desktop on one virtual machine, captured on 2026-11-27 or 2026-11-28 with dsisee observe and no permission dialog answered. present means KWin advertised the global and nothing exercised it in those captures. According to the repository's reference on display configuration, KWin 6.5.6 advertised version 16 and KWin 6.8.2 version 22. Separately, the README's run record lists dsido output set through this protocol on KWin 6.8.2: Applied, restored, and restored after an interrupt. It hasn't been run on KWin 6.5.6.
How to check it with lamco-dsi-tools
dsisee observe --out capture.json # the registry, KWin's devices and the rest of the session
dsitell health capture.json # the outputs function, with this route listed from the registry
Nothing in dsisee binds this global. The health summary lists it from the registry as the route that only changes outputs, and in a capture dsido output set wrote on KWin, what the driver did decides its state.
Driving it with dsido
dsido output set --route kde --scale 1.25 --hold 5 --out change.json # apply on KWin, hold, put back
dsido output set --route kde --transform 90 --out change.json # rotate, then restore
dsitell health change.json # what the driver did, and OUT-009 if KWin refused
The driver reads the output through kde_output_device_v2, applies the change untested, since the protocol has no test, and says so in every action record. It holds the change for --hold seconds while it records every device event the change causes, then applies the prior state again, also when the apply failed or a signal ended the hold. The restore names the mode by its size and rate, since KWin may announce a device's modes anew under other numbers. The global is bound at the version KWin advertises and never above 22, the version the toolkit's copy of the definition describes.
Findings
OUT-002: No interface that changes an output was found.OUT-003: An output change failed after its test had succeeded (on this route, the driver failed or timed out).OUT-004: An output was not put back in its prior state.OUT-009: KWin refused an output change when it was applied.
Related
- kde_output_device_v2, which describes the outputs this protocol changes.
- wlr-output-management and Mutter DisplayConfig, the same job on other desktops.
- dsido reference, for
output set. - kde-output-management-v2 on wayland.app, the protocol itself.