[Libva] Which combo of libs could/should work ?

belcampo belcampo at zonnet.nl
Tue Sep 28 12:34:03 PDT 2010


Hi,

I'm trying to get libva going but I'm having a though time.
Machine Revo ION
OS Mandriva 2010.1 (Spring)
kernel 2.6.33.7 with
nvidia-current-195.36.24 driver
libvdpau-devel-0.4
from wilsonnet: crystalhd-1d88ad2633fa91d3cad7b09d92f6f42b3e270ec6.tar.gz
from
crystalhd-video-crystalhd-video-master.tar.gz
libva1_0.31.1-1+sds4_i386.deb and vdpau-video_0.6.10-1_i386.deb
converted with alien to
libva1-0.31.1-2.i386.rpm and vdpau-video-0.6.10-2.i386.rpm

building and installing of 
crystalhd-1d88ad2633fa91d3cad7b09d92f6f42b3e270ec6.tar.gz goes OK
installing the rpms goes OK

but vainfo gives
vainfo
libva: libva version 0.31.1
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

configuring of
crystalhd-video-crystalhd-video-master.tar.gz OK
but building results with
crystalhd_drv_video.c:1690: warning: passing argument 2 of 
‘crystalhd_CreateImage’ discards qualifiers from pointer target type
crystalhd_drv_video.c:506: note: expected ‘struct VAImageFormat *’ but 
argument is of type ‘const struct VAImageFormat *’
crystalhd_drv_video.c: In function ‘__vaDriverInit_0_31’:
crystalhd_drv_video.c:2016: error: expected ‘;’ before ‘RC_PRODUCT_VERSION’
crystalhd_drv_video.c:2040: warning: assignment from incompatible 
pointer type
make[2]: *** [crystalhd_drv_video.lo] Error 1
make[2]: Leaving directory 
`/home/mythtv/crystalhd-video-crystalhd-video/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/mythtv/crystalhd-video-crystalhd-video/src'
make: *** [all-recursive] Error 1

What am I doing wrong ?

Regards

Henk


More information about the Libva mailing list