[Bug 275360] graphics/mesa-dri: enable Vulkan Video support after Mesa >= 23 update

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Nov 2023 10:03:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275360

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=98949a34f45e194aa83752ebf4bca6fa3fa38478

commit 98949a34f45e194aa83752ebf4bca6fa3fa38478
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-11-25 12:54:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-11-27 10:01:12 +0000

    graphics/mesa-dri: enable codecs for Vulkan Video after 29d855b6f775

    Mesa 23 enabled Vulkan Video itself but all codecs are disabled by
    default due to patents. Copy -Dvideo-codecs from mesa-gallium-va to
    avoid the following error:

    [ffmpeg/video] h264: Device does not support decoding h264!

    $ vulkaninfo | fgrep decode
    <empty>
    $ export ANV_VIDEO_DECODE=1 RADV_PERFTEST=video_decode
    $ vulkaninfo | fgrep decode
            VK_KHR_video_decode_queue                   : extension revision 7
    $ pkg upgrade mesa-dri
    $ vulkaninfo | fgrep decode
            VK_KHR_video_decode_h264                    : extension revision 8
            VK_KHR_video_decode_queue                   : extension revision 7

    PR:             275360
    Approved by:    manu

 graphics/mesa-dri/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.