obs-studio/plugins/linux-pipewire
Doğukan Korkmaztürk c2b4823075 linux-pipewire: Add explicit sync support
It is possible for OBS to receive incomplete frames from the compositor
if the graphics drivers in use do not support implicit synchronization.
The compositors usually try to workaround this issue by waiting all
render operations to complete before sharing frames with OBS. However,
this has performance implications for the compositors. Similarly, OBS
should also make sure that all the rendering operations sourcing the
received buffer are complete before returning the respective pw_buffer
back to the compositor, or it would risk the image it is working on
getting overwritten without some type of synchronization.

This change leverages PipeWire's ability to share DRM syncobj fds to
implement an explicit synchronization solution to solve the problem
described above. The usage of these DRM syncobjs is negotiated with the
compositor that OBS is running on. So OBS can still work even if the
compositor does not support explicit synchronization.

Signed-off-by: Doğukan Korkmaztürk <dkorkmazturk@nvidia.com>
2025-02-05 16:20:15 -05:00
..
data Update translations from Crowdin 2024-12-06 23:21:55 +00:00
camera-portal.c linux-pipewire: Fix memory leaks 2024-10-29 15:47:19 -04:00
camera-portal.h linux-pipewire: Add PipeWire-based camera source 2024-01-11 09:57:08 -03:00
CMakeLists.txt cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
formats.c clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
formats.h clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
linux-pipewire.c linux-pipewire: Add PipeWire-based camera source 2024-01-11 09:57:08 -03:00
pipewire.c linux-pipewire: Add explicit sync support 2025-02-05 16:20:15 -05:00
pipewire.h clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
portal.c clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
portal.h clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
screencast-portal.c clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
screencast-portal.h linux-pipewire: Cleanup D-Bus proxy on unload 2023-02-13 12:28:09 -03:00