Get the latest tech news

FFmpeg Merges Implicit DRM Synchronization For Vulkan


Following Vulkan Video H.264/H.265 video encoder support being merged into the FFmpeg library, the latest improvement for this open-source multimedia API when leveraging Vulkan is implicit DRM synchronization.

"hwcontext_vulkan: add support for implicit DRM synchronization More recent kernel versions allow for users to extract a sync_file handle from a DMA-BUF, which can then be imported into Vulkan as a binary semaphore. This finally allows for synchronization between Vulkan and DMA-BUF images, such as those from screen capture software, or VAAPI, avoiding any corruption artifacts. This is done fully asynchronously, where we use the kernel's given binary semaphores as a dependency to increment the image's usual VkSemaphores we allocate.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of vulkan

vulkan

Photo of drm synchronization

drm synchronization

Related news:

News photo

SDL Now Prefers Vulkan Over Direct3D 12 On Windows

News photo

Playstation 2 GS emulation – the final frontier of Vulkan compute emulation

News photo

VKD3D 1.13 Improves Direct3D 12 API Support Atop Vulkan