HomeFreeBSD

graphics/mesa-devel: apply 36049d38d71f to Vulkan with VAAPI=off

Description

graphics/mesa-devel: apply 36049d38d71f to Vulkan with VAAPI=off

On Intel GPUs VA-API is implemented by libva-intel-{,media-}driver but
Vulkan Video is implemented by Mesa. VAAPI in mesa-devel depends on
AMD drivers which in turn brings heavy llvm* dependency, so may not be
desirable on Intel-only or Intel+NVIDIA systems.

$ ANV_VIDEO_DECODE=1 mpv --vo=gpu-next --gpu-api=vulkan --hwdec=vulkan foo.mp4
[...]
[ffmpeg/video] h264: Device does not support decoding h264!
[...]

$ ANV_VIDEO_DECODE=1 vulkaninfo | fgrep -i decode_h264

VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR

(cherry picked from commit aada4209a3b0264fdb8e372efb47739d8bcbf114)

Details

Provenance
jbeichAuthored on Jul 15 2023, 1:37 AM
Parents
R11:8898bf465b47: graphics/mesa-devel: update to 23.2.0.b.106
Branches
Unknown
Tags
Unknown