Products › lamco-dsi-tools › Interfaces › wlr-output-management
wlr-output-management: Compositor support, and how to test it
wlr-output-management (zwlr_output_manager_v1) lets a Wayland client read and change display mode and scale. Which compositors offer it, and how to test it.
wlr-output-management (zwlr_output_manager_v1) is the Wayland protocol through which a client reads and changes the displays: Mode, scale, transform, position, and whether an output is on. It comes from wlroots, and compositors outside that family offer it too. Display settings tools, kiosk setups and remote desktop servers use it, and it's what a command-line tool goes through to change the display scale on Wayland where the compositor offers it. lamco-dsi-tools (DSI: Desktop session interfaces) reads every head and mode it describes, and changes an output through it, tested first and always put back.
What it is
The compositor advertises one zwlr_output_manager_v1 global. A client that binds it is sent a head event for each output, each head an object of its own, and then done with a serial. A head (zwlr_output_head_v1) sends its name, description, physical_size, enabled, current_mode, position, transform and scale, and from later versions make, model, serial_number and adaptive_sync. It announces each of its modes as a zwlr_output_mode_v1 with size, refresh in millihertz and preferred. Unlike wl_output, a head is listed whether it's enabled or not, and its scale is a fraction.
To change something, the client calls create_configuration with the serial of the last done. On the zwlr_output_configuration_v1 it gets back it calls enable_head or disable_head for every head, and on each enabled head's configuration object set_mode (or set_custom_mode), set_position, set_transform, set_scale and set_adaptive_sync. Then it sends test, which asks whether the compositor would take the configuration, or apply. The answer is succeeded, failed or cancelled. cancelled means the outputs changed after the serial the configuration was built against, so the client has to read the new state and build again. There's no permission dialog. Any client the compositor lets bind the global can change the outputs.
The protocol lives in the wlr-protocols repository and is unstable by name. Its neighbours do the same job on other desktops: kde_output_management_v2 on KWin, which has no test request, and Mutter's DisplayConfig on GNOME, which is a D-Bus interface.
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) | absent |
| KDE Plasma, KWin 6.8.2 (KDE neon) | absent |
| Sway 1.9 | working |
| Hyprland 0.56.2 | working |
| COSMIC, cosmic-comp 1.0.0 | working |
| labwc 0.20.3 (Budgie session, CachyOS) | working |
| 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. working there means the heads were read; those captures changed nothing. The README's run record lists dsido output set --scale through this protocol on Sway 1.9, with its restore, also when the command was interrupted. The change hasn't been run through it on the other compositors.
How to check it with lamco-dsi-tools
dsisee output observe # every head and mode, beside wl_output and xdg-output
dsisee observe --out capture.json # the whole session, the outputs among it
dsitell health capture.json # the outputs function and its routes
The wlr-output-management dissector records every head and mode event up to the manager's done, with its serial, and creates no configuration. dsitell health lists it as one of the routes of the outputs function, and raises OUT-006 where a head's scale is a fraction and wl_output gives a whole number for the same output.
Driving it with dsido
dsido output set --scale 1.5 --test-only # ask the compositor, and change nothing
dsido output set --scale 1.5 --hold 5 --out change.json # apply, hold five seconds, put back
dsido output set --route wlr --mode 1920x1080@60 --out change.json # name the route and a mode the output offers
dsitell timing change.json # each test, apply and restore to its answer
dsido output set takes this route on its own where the compositor advertises it. It reads the state, sends test, applies only when the test succeeded, holds the change for --hold seconds while it records every event the change causes, and applies the prior state again, also when the apply failed or a signal ended the hold. --output names the head, --transform sets a rotation. It's an instrument and not a settings tool: The change is always put back, and the capture holds state_before, state_after and whether the output was restored.
Findings
OUT-002: No interface that changes an output was found.OUT-003: An output change failed after its test had succeeded.OUT-004: An output was not put back in its prior state.OUT-005: The compositor refused an output change at its test.OUT-006: An output's scale is a fraction, andwl_outputgives a whole number.
Related
- wl_output and xdg-output, what every client is told about the same outputs.
- Mutter DisplayConfig and kde_output_management_v2, the same job on GNOME and on KWin.
- dsido reference, for
output setand its flags. - wlr-output-management-unstable-v1 on wayland.app, the protocol itself.