Date: Sun, 26 Nov 2023 19:23:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275360] graphics/mesa-dri: enable Vulkan Video support after Mesa >= 23 update Message-ID: <bug-275360-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275360 Bug ID: 275360 Summary: graphics/mesa-dri: enable Vulkan Video support after Mesa >=3D 23 update Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: jbeich@FreeBSD.org Depends on: 273703 Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Created attachment 246591 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246591&action= =3Dedit v1 (unsure about style) 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. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273703 [Bug 273703] graphics/mesa*: Update to 23.1.8 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275360-7788>