pipewire/doc/dox/internals
Jonas Ådahl 58b958860e stream: Add DRM device negotiation
A DMA buffer from a DRM device are typically accessed using API related
to a DRM device, e.g. Vulkan or EGL. To create such a context for using
with a PipeWire stream that passed DRM device DMA buffers applications
have so far usually guessed or made use of the same context as the
stream content will be presented. This has mostly been the Wayland
EGL/Vulkan context, and while this has most of the time worked, it's
somewhat by accident, and for reliable operation, PipeWire must be aware
of what DRM device a DMA buffer should be accessed using.

To address this, introduce device ID negotation, allowing sources and
sinks to negotiate what DRM device is supported, and what formats and
modifiers are supported by them.

This will allow applications to stop relying on luck or the windowing
system to figure out how to access the DMA buffers. It also paves the
way for being able to use multiple GPUs for different video streams,
depending on what the sources and sinks support.
2026-01-14 08:15:43 +00:00
..
access.dox
audio.dox
daemon.dox
design.dox
dma-buf.dox stream: Add DRM device negotiation 2026-01-14 08:15:43 +00:00
driver.dox
index.dox
latency.dox
library.dox
midi.dox
objects.dox
portal.dox
protocol.dox
pulseaudio.dox
scheduling.dox
session-manager.dox
tag.dox