Products › lamco-dsi-tools › Interfaces › kde_output_device_v2
kde_output_device_v2: How KWin describes each display
kde_output_device_v2 is KWin's Wayland protocol for describing each display: Modes, scale, EDID, HDR and more. How it works on Plasma 6, and how to read it.
kde_output_device_v2 is the Wayland protocol through which KWin, the compositor of KDE Plasma, describes each display in full: Its modes, scale, position, EDID, capabilities and settings such as HDR, VRR and brightness. lamco-dsi-tools (DSI: Desktop session interfaces) binds it, records every event of every device, and handles both ways KWin hands the devices out, along with the output order from kde_output_order_v1.
What it is
The protocol is part of KDE's plasma-wayland-protocols. A kde_output_device_v2 object stands for one display device, and its own description calls it "similar to wl_output, but focuses on output configuration management": It lists displays the compositor may not currently represent as a wl_output, and it carries far more about each. A device sends geometry, current_mode, scale as a fraction, enabled, name, uuid, serial_number, eisa_id, edid, a capabilities bit field (overscan, VRR, RGB range, HDR, wide color gamut, ICC profile, brightness, DDC/CI and more), and the setting behind each capability. Its modes are kde_output_device_mode_v2 objects with a size, a refresh rate in millihertz and a preferred flag. A device ends each burst of events with done.
How a client comes by the devices has changed between releases. Older KWin advertises one kde_output_device_v2 global for each output. Version 21 added kde_output_device_registry_v2, a single global that sends an output event with a new device object for each display, and binding that registry below version 21 is a protocol error. kde_output_order_v1, a separate small protocol, lists the outputs by name in the order the desktop places its parts on them.
The protocol only describes. Changes go through a second protocol, kde_output_management_v2, whose configurations name these device and mode objects. Both files carry the same warning: "The protocol described in this file is a desktop environment implementation detail. Regular clients must not use this protocol."
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) | working |
| KDE Plasma, KWin 6.8.2 (KDE neon) | working |
| 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. The two KWin releases hand out their devices differently: According to the repository's capture format reference, KWin 6.5.6 advertised one kde_output_device_v2 global for each output, at version 16, and KWin 6.8.2 advertised kde_output_device_registry_v2 in their place, at version 26. The README's run record lists the kde-output-device dissector as run on both. It lists the output order from kde_output_order_v1 among what the record at v0.4.1 hasn't yet run.
How to check it with lamco-dsi-tools
dsisee output observe # every output, through each interface, side by side
dsisee output observe --out kwin.json # the same, written as a capture
dsitell health kwin.json # the outputs function; the route says which way the devices came
The kde-output-device dissector binds whichever form the compositor offers, and each global_bound record names the interface it bound and the version, so a capture says which way its devices came. It binds and listens and sends no request. It never binds kde_output_management_v2. It describes version 26 of the protocol, from a copy of the definition kept in the repository, and a compositor that advertises a later version is bound at 26 with the later events recorded as not read. The EDID is recorded as sent, in Base64. A redacted bundle keeps what an output interface sent about a monitor (make, model, serial number and EDID), so read a bundle before you post it.
Where the KScreen D-Bus service isn't there on a KWin session, as on KDE Plasma 6.8.2, the health summary says that KWin describes its outputs through this protocol and raises nothing on it.
Findings
OUT-001: An output interface was read and described no output in use.
Related
- kde_output_management_v2, KWin's protocol for changing the same outputs.
- KScreen and wl_output and xdg-output, the other descriptions of a KDE session's outputs.
- The capture file, for what a record holds.
- kde-output-device-v2 on wayland.app, the protocol itself.