[Bug 258947] multimedia/libva: va_openDriver() returns 2

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Oct 2021 13:26:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258947

Emmanuel Vadot <manu@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu@freebsd.org

--- Comment #3 from Emmanuel Vadot <manu@freebsd.org> ---
I don't have a 13.0 install on my amd machine (but will have a mean of testing
early next week) but FYI on my 14.0-CURRENT :
LIBVA_TRACE=1 LIBVA_DRIVER_NAME=radeonsi vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: Open new log file 1.132417.thd-0x00018742 for the thread 0x00018742
libva info: LIBVA_TRACE is on, save log into 1.132417.thd-0x00018742
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'radeonsi'
libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.13 (libva 2.13.0)
vainfo: Driver version: Mesa Gallium driver 21.1.5 for AMD Radeon(TM) Vega 10
Graphics (RAVEN, DRM 3.36.0, 14.0-CURRENT, LLVM 12.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
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

And I have exactly the same output when not specifying the driver name

-- 
You are receiving this mail because:
You are the assignee for the bug.