Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: NEW: sysutils/libva-utils
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
ports <ports@openbsd.org>
Date:
Sat, 13 Jul 2024 14:18:10 +0200

Download raw body.

Thread
Rafael Sadowski <rafael@sizeofvoid.org> wrote:
> OK to import libva-utils-2.22.0? Yes you need libva from xenocara ;)
> 
> Comment:
> collection of tests for VA-API
> 
> Description:
> libva-utils is a collection of utilities and examples
> to exercise VA-API in accordance with the libva project.
> 
> VA-API is an open-source library and API specification,
> which provides access to graphics hardware acceleration
> capabilities for video processing. It consists of a main
> library and driver-specific acceleration backends for
> each supported hardware vendor.
> 
> Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>
> 
> WWW: https://github.com/intel/libva-utils

% vainfo
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/X11R6/lib/modules/drivers//radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
Trying display: x11
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 23.3.6 for AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.54, 7.5)
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
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

works for me :)

I've also run test_va_api, it prints a lots of OK but after a while it
hanged Xorg.

The port looks fine and it's useful, ok op@

(the alignment of some vars is a bit inconsistent, but it's not a big
deal.)