Products › lamco-dsi-tools › Interfaces › KScreen

KScreen on Wayland: org.kde.KScreen, and how to check it

KScreen (org.kde.KScreen, org.kde.kscreen.Backend) is KDE's display configuration service on D-Bus. What it answers on Plasma 6 Wayland, and how to check it.

D-Bus (KDE) org.kde.KScreen, org.kde.kscreen.Backend

KScreen is KDE's screen management library, and org.kde.KScreen is the D-Bus service its backend runs as, which answers org.kde.kscreen.Backend.getConfig with the current display configuration. KDE's display settings are built on the library. lamco-dsi-tools (DSI: Desktop session interfaces) reads its answer raw when the service is there, records whether it's there and whether D-Bus could start it, and says what describes the outputs instead when it isn't.

What it is

The service is started on demand. Its bus name has no owner until a first caller asks D-Bus to start it, if D-Bus lists a service it can start for the name. Once running, the object answers getConfig with one map. The repository's capture format reference describes the part the toolkit reads: outputs, holding a map for each output with name, enabled, scale, currentModeId and modes.

On a Plasma Wayland session the compositor, KWin, also describes every output itself, through the Wayland protocol kde_output_device_v2, and changes them through kde_output_management_v2. The two KWin sessions in the capture set describe their outputs that way, and KScreen's bus name had no owner on either: On KDE Plasma 6.5.6 it was unowned, and on KDE Plasma 6.8.2 it was unowned and D-Bus didn't list it as one it could start. So the question "does Plasma 6 on Wayland still answer on the KScreen D-Bus interface" has a per-session answer, and the toolkit records it rather than assuming it.

The toolkit only reads through KScreen. It changes outputs on KWin through kde_output_management_v2, never through this service.

Which desktops offered it

DesktopState
GNOME Shell 48.7 (Debian 13)not examined
GNOME Shell 51.0 (Fedora 45)absent
KDE Plasma, KWin 6.5.6 (NixOS)not examined
KDE Plasma, KWin 6.8.2 (KDE neon)absent
Sway 1.9absent
Hyprland 0.56.2absent
COSMIC, cosmic-comp 1.0.0absent
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. not examined is how the toolkit reads a bus name with no owner that D-Bus could start: Those captures were taken without --wake-services, so nothing started it, and the cell says nothing about whether the service would have answered. absent means the name had no owner and D-Bus had nothing to start for it. The capture format reference adds that the reading of KScreen's answer hasn't been held against an answer from a live session yet, since the one live KDE run found the service not started.

How to check it with lamco-dsi-tools

dsisee output observe                                    # KScreen's answer, when its name has an owner
dsisee output observe --wake-services --out kde.json     # start it if D-Bus can, and record that the instrument did
dsitell health kde.json                                  # the KScreen route of the outputs function

The kscreen dissector calls getConfig only when org.kde.KScreen has an owner. It records the answer as one map with its keys sorted, beside the reply's D-Bus signature, and nothing inside it is renamed. A name with no owner is recorded with whether D-Bus can start it. With --wake-services the instrument asks D-Bus to start it, and the start is a record of its own, with both of its times, between the state as found and the state afterwards. Because the reading hasn't met a live answer, it's tolerant: outputs and modes are each read as a list or as a map, and a value that's missing leaves that one fact unread. On a KWin session where the service isn't there, the health summary says KWin describes its outputs through kde_output_device_v2 and raises nothing on it. The dissector is in every build.

Findings

  • OUT-001: An output interface was read and described no output in use.
  • OUT-002: No interface that changes an output was found.
  • OUT-007: A display configuration service D-Bus lists could not be started.

Related