New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to update latest version #762
Comments
I have the same issue, never happened with previous libva versions... any hints please? |
Which version you are trying to build? which sha or tag?
This sound like you did not rebuild all backends, specifically - x11. Check file time stamps with something like |
libx11-xcb-dev and libxcb-dri3-dev are installed. ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu libva - 2.21.0.pre1 (VA-API 1.21.0) Installation prefix .............. : /usr Now type 'make' to compile libva. I see some complains about x11*, any hints? |
So, yes, as I thought - you rebuilt only subset of targets (libva and libva-drm) and other targets (libva-x11, libva-wayland and I think egl) were not rebuilt due to missing dependencies. Please, try to run apt-get matching ci, i.e. https://github.com/intel/libva/blob/master/.github/workflows/ubuntu.yml#L28:
Then clean up libva repository to wipe out previous configuration state and reconfigure. If you will see x11 and wayland in extra windows systems, try to rebuild and run again:
|
Thank you, at least I got vainfo to work in drm: sudo vainfo now returns: but if I try to convert using FFmpeg av1_qsv I still get: [av1_qsv @ 0x55f8968fb500] Failed to create a VAAPI device. I still have to understand what "Generic error in an external library" is, could it be a libva issue in your opinion? |
If you have fixed build issue and see
Key point is that your user must have access to the card0 and renderD128 devices. First command gives you which group owns each device (for me that's 'video', for modern Ubuntu that will be 'video' and 'render'), and second command shows in which groups your user account is. If your user is not in the groups which own devices, add it (below is example for Ubuntu, you might need to adjust depending on actual group ownership):
NOTE: you must exit and start a new shell for this change to take effect. Do explicitly check change running |
Ubuntu 22.04 8700k 1080Ti
Vainfo was working fine untile I decided to update using autogen and there are duplicate files of libva in /usr/lib/x86_64-linux-gnu/. Files are linked and I have no idea how to overwrite or use LD_LIBRARY_PATH. Currently running vainfo looks like this:
vainfo: symbol lookup error: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
The text was updated successfully, but these errors were encountered: