[PR #9882] Rearrage the Amd vaapi-vulkan pipeline for synchronization #12261

Closed
opened 2026-02-07 06:52:48 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9882

State: closed
Merged: Yes


Changes

  • Rearrage the Amd vaapi-vulkan pipeline for synchronization

Issues

The vaSyncSurface() in radeonsi_drv_video only works for decoder or encoder entries, which means vpp frames never get synchronized in vaapi->drm/vulkan "reverse" mapping. Use vulkan_map_to_drm instead.

  • Fix tearing and artifacts when using vulkan subtitle burn-in
**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/9882 **State:** closed **Merged:** Yes --- **Changes** - Rearrage the Amd vaapi-vulkan pipeline for synchronization **Issues** The [vaSyncSurface()](https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.1/src/gallium/frontends/va/surface.c?ref_type=heads#L123-L127) in radeonsi_drv_video only works for decoder or encoder entries, which means vpp frames never get synchronized in [vaapi->drm/vulkan "reverse" mapping](https://github.com/FFmpeg/FFmpeg/blob/ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2/libavutil/hwcontext_vulkan.c#L2963-L2964). Use [vulkan_map_to_drm](https://github.com/FFmpeg/FFmpeg/blob/ea3d24bbe3c58b171e55fe2151fc7ffaca3ab3d2/libavutil/hwcontext_vulkan.c#L3306) instead. - Fix tearing and artifacts when using vulkan subtitle burn-in
OVERLORD added the pull-request label 2026-02-07 06:52:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12261