fhvwy / vadumpcaps

3 stars 3 forks source link

Testing of 2021-01-01 release #3

Open heitbaum opened 2 years ago

heitbaum commented 2 years ago

Hi @fhvwy - As FYI - just did a build test of your latest 38a446e33de5e65f0e5d263dd9a262a4e316a461 and have shared the output below.

runtime output (stderr)

libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
Failed to query filter caps: 11 (list argument exceeds maximum number)
Failed to query filter caps: 11 (list argument exceeds maximum number)
Unable to query surface attributes: 20 (the requested function is not implemented)

Runtime output (stdout) http://ix.io/3Khp

tested on

Generic.x86_64-devel-20211231005012-0b65645
Linux nuc11 5.15.12 #1 SMP Wed Dec 29 12:11:28 UTC 2021 x86_64 GNU/Linux
Starting Kodi (20.0-ALPHA1 (19.90.101) Git:5633f5940067d57bff1395aaf2dd3a8536d0e437). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2021-12-29 by GCC 10.3.0 for Linux x86 64-bit version 5.15.12 (331532)
Running on LibreELEC (heitbaum): devel-20211231005012-0b65645 11.0, kernel: Linux x86 64-bit version 5.15.12
FFmpeg version/source: 4.4-Kodi
Host CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores available
CApplication::CreateGUI - trying to init gbm windowing system
RetroPlayer[PROCESS]: Registering process control for GBM
CApplication::CreateGUI - using the gbm windowing system
EGL_VENDOR = Mesa Project
GL_RENDERER = Mesa Intel(R) Xe Graphics (TGL GT2)
GL_VERSION = OpenGL ES 3.2 Mesa 21.3.3
libva info: VA-API version 1.13.0
vainfo: VA-API version: 1.13 (libva 2.13.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.1.0 (ca5972545a)

Build error (deprecated)

Executing (target): make 
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -o vadumpcaps -Wall -Wundef -g vadumpcaps.c -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include -I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include -L/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib -L/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib -lva-drm -lva
vadumpcaps.c:246:5: warning: 'VAProfileH264Baseline' is deprecated [-Wdeprecated-declarations]
  246 |     P(H264Baseline,        "H.264 / MPEG-4 part 10 (AVC) Baseline Profile"),
      |     ^
In file included from vadumpcaps.c:30:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/va/va.h:501:5: note: declared here
  501 |     VAProfileH264Baseline va_deprecated_enum = 5,
      |     ^~~~~~~~~~~~~~~~~~~~~
fhvwy commented 2 years ago

It looks like you've build against an older version of libva than you are running against? AV1 decode and the 3DLUT filter are in your output but it doesn't know what they are (not knowing how to query the 3DLUT filter is the source of the filter caps errors).

heitbaum commented 2 years ago

It looks like you've build against an older version of libva than you are running against? AV1 decode and the 3DLUT filter are in your output but it doesn't know what they are (not knowing how to query the 3DLUT filter is the source of the filter caps errors).

Thanks - I’ll check the build and make sure it is using the right sysroot for the includes…