Hi! After mesa update to 22.2.1 from 21.3.8 I no longer have VAAPI support for some video codecs: vainfo with mesa 22.2.1: vasily@vonbraun:~ % vainfo Trying display: wayland libva info: VA-API version 1.16.0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.16.0) vainfo: Driver version: Mesa Gallium driver 22.2.1 for AMD Radeon RX 580 Series (polaris10, LLVM 13.0.1, DRM 3.40, 13.1-RELEASE-p1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc vainfo with mesa 21.3.8: vasily@vonbraun:~ % vainfo Trying display: wayland libva info: VA-API version 1.16.0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.16.0) vainfo: Driver version: Mesa Gallium driver 21.3.8 for AMD Radeon RX 580 Series (POLARIS10, DRM 3.40.0, 13.1-RELEASE-p1, LLVM 13.0.1) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc Is it a regression?
Can confirm, sorry for not tested this before upgrading. Couldn't find anything in upstream issues so I'll likely try to bisect and see when this changed.
(In reply to Emmanuel Vadot from comment #1) Yeah that's because I'm dumb, we need to enable the codecs now. Will fix it later today.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=292d80d5677674d9f03318a5f1caf09b27ecd169 commit 292d80d5677674d9f03318a5f1caf09b27ecd169 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-10-24 10:27:08 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-10-24 11:50:02 +0000 graphics/mesa*: Update to 22.2.2 While here enable vc1, h264 and h265 for mesa-gallium-va Release notes: https://lists.freedesktop.org/archives/mesa-announce/2022-October/000689.html Sponsored by: Beckhoff Automation GmbH & Co. KG PR: 267238 graphics/mesa-dri/Makefile.common | 2 +- graphics/mesa-dri/distinfo | 6 +++--- graphics/mesa-gallium-va/Makefile | 1 + 3 files changed, 5 insertions(+), 4 deletions(-)
Everything should be good now, please confirm.
(In reply to Emmanuel Vadot from comment #4) Fixed. Thanks!
Thanks for confirming.