Skip to content

Fix Wayland capture freezes and DMA-BUF copy failures - #48

Closed
alchemy wants to merge 0 commit into
omarroth:mainfrom
alchemy:main
Closed

alchemy wants to merge 0 commit into
omarroth:mainfrom
alchemy:main

Conversation

@alchemy

@alchemy alchemy commented Sep 17, 2026

Copy link
Copy Markdown

Wayland mirroring could show a black screen when pipewiresrc tried to copy portal DMA-
BUF frames, or freeze while audio continued.

This change:

  • Imports frames through VA postprocessing without forced CPU copying, while retaining
    copying for the software path.

  • Forces separate postprocessing buffers, requests eight source buffers, and leaves
    idle-frame repetition to the compositor when available.

  • Disables the PipeWire clock provider when supported, allowing GStreamer to use its
    system clock. Older plugins retain their existing clock behavior.

Addresses the DMA-BUF failure described in #40. Confirmation on the reporter’s setup is
still needed.

@alchemy

alchemy commented Sep 17, 2026 •

Copy link
Copy Markdown
Author

Partially overlaps with PR #43. Will investigate.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant