Page MenuHomeSolus

mpv: backport fix for zero-copy VAAPI/Vulkan interop

Authored by aleksvor on Thu, Jun 10, 7:16 PM.



Our current mpv can't enable hwdec=vaapi together with Vulkan rendering - it fails to properly find the required DRM format modifier. This upstream patch fixes the issue.

Test Plan

Watched video using mpv --hwdec=vaapi --gpu-api=vulkan and checked that zero-copy VAAPI/Vulkan interop is actually working. Tested on Radeon 5700 XT and Mesa 21.1.2.

Diff Detail

R2107 mpv
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Thu, Jun 10, 7:16 PM
aleksvor requested review of this revision.Thu, Jun 10, 7:16 PM
JoshStrobl accepted this revision.Fri, Jun 11, 9:05 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Fri, Jun 11, 9:05 AM
This revision was automatically updated to reflect the committed changes.