Skip to content

Headless mode: ext_image_copy_capture session deadlocks in wlr_output_configure_primary_swapchain #1407

Description

@deepin-wm

Description

Creating an ext_image_copy_capture capture session in headless mode (WLR_BACKENDS=headless, WLR_RENDERER=pixman) deadlocks inside wlr_output_configure_primary_swapchain.

Reproduction

  1. Build treeland with headless backend
  2. Run the wayland-ext-image-copy-capture-v1 protocol test with a full capture session (not just global presence)
  3. The test hangs indefinitely inside wlr_output_configure_primary_swapchain

Environment

Impact

The ext-image-copy-capture protocol test can only verify global presence and create_source in headless CI, not a full end-to-end capture session. Full E-level coverage is blocked until this deadlock is resolved.

Workaround

The test creates and immediately destroys the source without starting a capture session, avoiding the deadlock path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions