Products › lamco-dsi-tools › Interfaces › ext-image-copy-capture-v1
ext-image-copy-capture-v1: Which compositors support it, and how to check
ext-image-copy-capture-v1 is the Wayland protocol for copying an output or a window into a client buffer: Which compositors offered it, and how to check yours.
ext-image-copy-capture-v1 is the Wayland protocol a client uses to have the compositor copy an output, or a single window, into a buffer the client provides, with no portal and no PipeWire in between. Screenshot tools, recorders, screen sharing backends and remote desktop servers on compositors that offer it use it, and it's the successor to wlr-screencopy. lamco-dsi-tools (DSI: Desktop session interfaces) reads whether the compositor advertises it, captures frames through it, and records every session and frame event.
What it is
The protocol is in the staging area of wayland-protocols and comes in two parts. ext-image-capture-source-v1 says what to capture: ext_output_image_capture_source_manager_v1 makes a source from a wl_output, and ext_foreign_toplevel_image_capture_source_manager_v1 makes one from a toplevel window handle. ext-image-copy-capture-v1 does the copying.
The client binds ext_image_copy_capture_manager_v1 and calls create_session with a source and an option, paint_cursors, that says whether cursors are drawn into the frames. The session object then sends the buffer constraints: buffer_size, each shm_format, and for DMA-BUF the dmabuf_device and each dmabuf_format with its modifiers, ending with done. It sends them again when they change, and stopped when the source goes away.
For each frame the client calls create_frame, attaches a buffer that meets the constraints with attach_buffer, says what it already has with damage_buffer, and asks with capture. The frame answers with transform, damage and presentation_time followed by ready, or with failed and a reason. The cursor has a session of its own: create_pointer_cursor_session gives its position, hotspot, enter and leave, and a capture session for its image.
Compared with wlr-screencopy, the source is a separate object, so the same protocol captures a window as well as an output, the buffer constraints are a session's and not a frame's, and the cursor can come apart from the screen. There's no permission dialog in the protocol. Which clients may bind it is the compositor's decision.
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 | absent |
| 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 |
One version of each desktop was captured on one virtual machine on 2026-11-27 or 2026-11-28 with dsisee observe, which takes three frames of every output through each capture protocol it finds, so working here means frames arrived in that capture. Sway 1.9 advertises wlr-screencopy and not this protocol. Hyprland 0.56.2 and labwc 0.20.3 advertise both, and cosmic-comp 1.0.0 only this one. GNOME and KDE advertise neither Wayland capture protocol and capture through the ScreenCast portal, which is how they're built and not a fault.
The README's run record lists capture probe over ext-image-copy-capture on COSMIC, cosmic-comp 1.0.0, and the input to pixels measurement on cosmic-comp 1.0.0.
The project's record of runs, reconciled on 2026-12-04, adds:
- A window captured alone (
--window) with--read-markers, on cosmic-comp 1.0.0 on 2026-11-28: 600 of 600 markers read. - The cursor's own session (
--cursor), on cosmic-comp 1.0.0 on 2026-11-28: 17,512 of 17,513 cursor frames held the same bytes as the one before, so the compositor answers a request without waiting for a change.
The record, through 2026-11-29, has no run of --window or --cursor on any compositor but cosmic-comp 1.0.0.
How to check it with lamco-dsi-tools
dsisee wayland protocols # every global the compositor advertises
dsisee capture probe --route ext-image-copy --duration 10 --out probe.json # capture frames and summarize them
dsisee capture observe --route ext-image-copy --out frames.json # every session and frame event, with both clocks
dsitell health frames.json # the capture function and its routes
dsitell health reads this route from the registry, where it needs the manager and the output source manager, and from the frames when the capture dissector ran. capture probe says which route it took and why, then gives request-to-ready time and the interval between ready events as distributions, the gaps, and the damage. capture observe keeps the compositor's clock and the instrument's apart. --window captures a window in the place of an output, after recording every toplevel the compositor lists, and --cursor also records the cursor's own session. -o picks the output by the name wl_output gives it.
Driving it with dsido
dsido screen animate --duration 10 --out animate.json & # a window with a marker in each frame
dsisee capture probe --read-markers --duration 8 --out capture.json # capture it, and read each marker
dsitell glass animate.json capture.json # frames presented and not captured
A still screen gives few frames, since a compositor sends a frame when something changes. The animation gives the capture something to deliver, and dsitell glass pairs each committed frame with the buffer that shows it.
Findings
CAP-001: No screen capture route was found.CAP-002: A capture through ext-image-copy-capture produced no frame.CAP-007: Marked frames are missing from what a capture route delivered.CAP-008: A screen marker was found in a captured buffer and couldn't be decoded.
Related
- wlr-screencopy, the older protocol it replaces.
- xdg-desktop-portal ScreenCast, the route on GNOME and KDE.
- Wayland registry, where the compositor advertises it.
- How to check which capture and input routes a desktop offers.
- Lamco RDP Server, a Wayland-native RDP server for Linux.
- ext-image-copy-capture-v1 on Wayland Explorer.