Hi.
I created a bug report here: Issues · OpenMandrivaAssociation/distribution · GitHub
I write on the forum because the forum is visited by more people than a bugtrack and I need feedback froum people.
What is going on?
VAAPI does not work on OpenMandriva LX3.03 x64. My GPU is Radeon HD5850. More details in bugtrack in file bug-report.
When I use vainfo command I have this issue:
[x@x-OpenMandriva ~]$ vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva error: /usr/lib64/dri/r600_drv_video.so has no function __vaDriverInit_0_32
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Worth do add, on this same PC but on other Linux distro, VAAPI working fine. Here details from Mageia 6 and Ubuntu 17.10.
Mageia 6:
[x@localhost ~]$ vainfo
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
and this from Ubuntu 17.10
x@x:~$ vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Also any player like vlc or mpv or chromium-vaapi not want to work with vaapi enabled - so looks like something is broken.
What I found also?
On Mageia 6 and Ubuntu 17.10 the version of vaapi version and vaDriverInit is correct but in the case of OpenMandriva, we have different version.
See.
OpenManddriva: VA-API version 0.40.0 vs __vaDriverInit_0_32 - wrong?
Mageia 6 : VA-API version 0.39.4 vs __vaDriverInit_0_39 - match?
Ubuntu 17.10 : VA-API version 0.40.0 vs __vaDriverInit_0_40 - match?
Second case. I noticed that in OpenMandriva versions of vaapi packages do not match with versions. They fit in Mageia but not in OpenMandriva.
Look:
OpenMandriva LX3:
lib64va1-1.7.1-1-omv2015.0.x86_64.rpm
libva-intel-driver-1.7.3-1-omv2015.0.x86_64.rpm
So quick summary 1.7.1 vs 1.7.3 - wrong?
For example in Mageia6 this look:
lib64va1-1.7.3-3.mga6.x86_64.rpm
vaapi-driver-intel-1.7.3-1.mga6.x86_64.rpm
So 1.7.3 vs 1.7.3 - match?
have just noticed that we also have the latest version of libva2 installed by default, which can cause compatibility problems. Interestingly, libva2 is in the system despite the presence of the old version of libva.
So we have:
lib64va1-1.7.1-1-omv2015.0.x86_64.rpm
libva-intel-driver-1.7.3-1-omv2015.0.x86_64.rpm
and
lib64va2-2.0.0-1-omv2015.0.x86_64.rpm
Maybe this two library at once is causing this issue? I checked what the libraries in the cooker and I see that there is no old version - only libva2.
So?
Worth to add, Im trying remove lib64va1 and libva2 but both have alot of dependencies and remove it is not a good option…
So guys, anyone can test vaapi on LX 3? Maybe this issue is not only on my machine.