View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000114||AlmaLinux-8||libva||public||2021-08-01 22:21||2021-08-10 07:50|
|Summary||0000114: vainfo: vaInitialize failed with error code -1 (unknown libva error)|
I've been trying to build gstreamer-vaapi (needed by Qt) as it is missing from EPEL. The build/installation seems to go fine but when I run:
> gst-inspect-1.0 vaapi
All I get is "0 features". (e.g. missing vaapisink needed by Qt's runtime).
Not sure if this matters but running with `GST_DEBUG=7` I get:
extension is not recognized as module file, ignoring file /usr/lib64/gstreamer-1.0/include/gst/gl/gstglconfig.h
extension is not recognized as module file, ignoring file /usr/lib64/gstreamer-1.0/libgstvaapi.la
In any case, in order to debug the above I tried installing `libva-utils` and running vainfo, this returns:
vaInitialize failed with error code -1 (unknown libva error)
Any ideas why I would get "0 Features" for my gstreamer-vaapi installation?
How do I fix my va-api installation so that vainfo does not fail to initialize the deriver?
|Steps To Reproduce||```|
$ dnf install libva-devel libva-utils libva-intel-driver
libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva error: /usr/lib64/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
|Additional Information||Please let me know what other information would be useful.|
I am out of my depth here since my original issue was the Qt runtime failing. So any help / hint / ideas or info you may have that might nudge me in the right direction are greatly appreciated!