Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2023 19:23:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 275360] graphics/mesa-dri: enable Vulkan Video support after Mesa >= 23 update
Message-ID:  <bug-275360-7141-FHJw58zLUF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275360-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275360-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 275360: graphics/mesa-dri: enable Vulkan Video support after Mesa >=3D =
23
update
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275360



--- Description ---
Similar to ports aada4209a3b0. Vulkan Video extensions are part of Vulkan
drivers (mesa-dri). It's an alternative API to VA-API (mesa-gallium-va,
libva-*driver), VDPAU (mesa-gallium-vdpau, nvidia-driver), NVDEC (nv-sglrun=
 +
nvidia-driver), QSV (intel-media-sdk, onevpl), AMF (unported).

Upstream support enabled by
https://gitlab.freedesktop.org/mesa/mesa/-/commit/c90e5ddc710a (removal of =
beta
ifdefs) but runtime is still gated by environment variables probably due to
insufficient QA (validation on all supported hardware). There're also too f=
ew
open source consumers, and many video players are OpenGL-only.

$ pkg install mpv mesa-dri # if built by poudriere
$ export ANV_VIDEO_DECODE=3D1 RADV_PERFTEST=3Dvideo_decode
$ mpv --vo=3Dgpu-next --gpu-api=3Dvulkan --hwdec=3Dvulkan /path/to/file.mp4
[...]
Using hardware decoding (vulkan).
VO: [gpu-next] 1920x1080 vulkan[nv12]
[...]

Tested under X11 (Xwayland) and Wayland (Sway) on Intel Skylake GT2 (0x1912)
inside 12.4/13.2 amd64 jail with drm-515-kmod (5.15-lts-focal per bug 27477=
0 to
avoid recent DMABUF regressions) on -CURRENT kernel and X11/Wayland sockets
passed through.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275360-7141-FHJw58zLUF>