Commit Graph

4 Commits

Author SHA1 Message Date
Christoph Reiter
7b621c38b1 libva-utils: Update to 2.20.0 2023-10-03 09:18:23 +02:00
Christoph Reiter
2e61746cb6 Replace pkg-config with pkgconf everywhere
While the later replaces the former, pkg-config will still be installed
via makepkg if pkgconf isn't installed already.
2023-09-28 20:36:07 +02:00
Dmitry Rogozhkin
fb12acf04b libva-utils: update to 2.19.0
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2023-07-12 21:58:43 +05:30
Dmitry Rogozhkin
66917e9130 libva-utils: add package
As of libva version 2.18.0 and mesa 23.1.1 it's required to set
the following environment variables to be able to work with vaon12
driver:
  $ export | grep LIBVA
  declare -x LIBVA_DRIVERS_PATH="/mingw64/bin/"
  declare -x LIBVA_DRIVER_NAME="libvaon12"

This will be fixed in the next versions of libva and mesa - patches
for that already landed in upstream versions of these components.

With above environment variables set user should see something like
this (output depends on actual HW capabilities, below is a snapshot
from Interl Alderlake running Windows 11):

  $ vainfo
  Trying display: win32
  libva info: VA-API version 1.18.0
  libva info: User environment variable requested driver 'libvaon12'
  libva info: Trying to open C:/msys64/mingw64/bin/\libvaon12_drv_video.dll
  libva info: Found init function __vaDriverInit_1_18
  libva info: va_openDriver() returns 0
  C:\msys64\mingw64\bin\vainfo.exe: VA-API version: 1.18 (libva 2.18.2)
  C:\msys64\mingw64\bin\vainfo.exe: Driver version: Mesa Gallium driver 23.1.1 for D3D12 (Intel(R) Iris(R) Xe Graphics)
  C:\msys64\mingw64\bin\vainfo.exe: Supported profile and entrypoints
        VAProfileVP9Profile0            : VAEntrypointVLD
        VAProfileVP9Profile2            : VAEntrypointVLD
        VAProfileAV1Profile0            : VAEntrypointVLD
        VAProfileNone                   : VAEntrypointVideoProc

To enable more features (h264 and h265 decoder/encoder and others)
it's required to build mesa with corresponding capabilities. That's
a subject for other patch in msys2 mesa build.

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
2023-06-05 12:27:39 -07:00