intel / intel/libva

Ubuntu22 / linux kernel 5.19.0-35-generic - wrong driver directories

Open
#699 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
784
Forks
314
PR merge metrics
No merged PRs in 30d

Description

I am trying to simply use libva on ubuntu22, linux kernel 5.19.0-35-generic by installing the appropriate packages.

However, I cannot even get vainfo to "do anything".

Output:
```
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/local/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
```
After investigating a bit, it looks as if libva looks for the drivers in the wrong directory -
iHD_drv_video.so and i965_drv_video.so are in
`/usr/lib/x86_64-linux-gnu/dri`
not in
`/usr/local/lib/x86_64-linux-gnu/dri`

Any ideas ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.