Den 28.09.2024 21:24, skrev Andrew
Randrianasulu:
either as package name or your own source build
...
(may be ping libvpl maintainer in suse?)
Yeah, libvpl-tools is now built for openSUSE, and I ran two of them
on Slowroll/Arc A750 according to this article:
https://www.intel.com/content/www/us/en/developer/articles/technical/overview-of-onevpl-examples-and-tools.html#articleparagraph_829690411
oneVPL Tools
There are oneVPL tools available in the oneVPL base repository
which are a good starting point to get familiar with the oneVPL
functionalities. The command line tools for checking available
implementation supported by the current system are in the cli
directory and the ‘sample-*’ tools are in the legacy directory.
Tools for Checking Implementation Capabilities
To check the implementation capabilities of oneVPL the following
approaches can be used:,
First Approach:
vpl-inspect|grep Implementation
vpl-inspect|grep
Implementation
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
Implementation #0: mfx-gen
=================
Second Approach (improved visibility in Linux environment):
system_analyzer
.........snip
Here, it is oneVPL dispatcher’s responsibility to load GPU
runtimes (libmfxhw64.so or libmfxgen.so) depending on the system’s
compatibility and selected codec. There are no plans for
libmfxhw64.xo.1 to support new Gen (Gen12 or newer) platforms.
Media SDK GPU runtime (libmfxhw64.so) runs on Gen9 and Gen11 while
oneVPL GPU runtime (libmfxgen.so) supports Gen12, Xe, and newer
hardware. Media SDK runtime supports API 1.35 and VPL runtime
supports API 2.x (currently 2.8)
system_analyzer
------------------------------------
Looking for GPU interfaces available to OS...
FOUND: /dev/dri/renderD128
GPU interfaces found: 1
------------------------------------
------------------------------------
Available implementation details:
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
Implementation #0: mfx-gen
Library path: /usr/lib64/libmfx-gen.so.1.2.12
AccelerationMode: MFX_ACCEL_MODE_VIA_VAAPI
ApiVersion: 2.12
Impl: MFX_IMPL_TYPE_HARDWARE
ImplName: mfx-gen
MediaAdapterType: MFX_MEDIA_DISCRETE
VendorID: 0x8086
DeviceID: 0x56A1
GPU name: Intel® Arc(TM) A750 graphics (arch=Xe HPG
codename=DG2)
PCI BDF: 0000:03:00.00
PCI RevisionID: 0x0008
DRMRenderNodeNum: 128
DeviceName: mfx-gen
------------------------------------
I am not quite sure what the essence of this output really tell?
There are also additional "sample_* tools " mentioned in the
article, that possibly are useful (?)