View Issue Details

IDProjectCategoryView StatusLast Update
0000114AlmaLinux-8libvapublic2021-08-10 07:50
Reporterpuya Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status newResolutionopen 
OSAlmaLinuxOS Version8.4 
Summary0000114: vainfo: vaInitialize failed with error code -1 (unknown libva error)
DescriptionBackground
-----------------
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)
```

The Issue
--------
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
...
$ vainfo
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 InformationPlease 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!
TagsAlmaLinux, Bug
abrt_hash
URL

Activities

enigma131

2021-08-10 07:50

reporter   ~0000321

Without information coming from your hardware (GPU part) , difficult to answer

Issue History

Date Modified Username Field Change
2021-08-01 22:21 puya New Issue
2021-08-01 22:21 puya Tag Attached: AlmaLinux
2021-08-01 22:21 puya Tag Attached: Bug
2021-08-10 07:50 enigma131 Note Added: 0000321