[mythtv-users] VDPAU support on 0.21-fixes

Jean-Yves Avenard jyavenard at gmail.com
Tue Jan 27 13:25:00 UTC 2009


2009/1/28 espenaf <espenaf at junta.no>:
> I am getting an error when trying to build mythtv with your patch. This is
> under Gentoo so it might be an issue not related to the patch, but I am
> asking anyway, maybe there are some configure options I have wrong. I have
> been building mythtv with Mark Kendalls 0.21 fixes patches for months

Mark's fix patches are built in the VDPAU patches, so don't apply
those patches again (it would fail anyway)

Does the patch apply cleanly ?

> without any problem. Looks like the compiling fails on the mythcommflag
> with referances to mpeg_vdpau_decoder' and `h264_vdpau_decoder'. Her is
> part of the mythtv build logs;
I compile mythtv with the following command:
CFLAGS="-g -O2 -fPIC -DPIC" ./configure --prefix=/usr --enable-lirc
--enable-audio-alsa \
	--enable-audio-oss --enable-audio-jack --enable-audio-arts --enable-dvb \
	--enable-ivtv --enable-firewire --enable-joystick-menu \
	--enable-opengl-vsync --with-bindings=perl --enable-opengl-video \
	--enable-ffmpeg-pthreads --enable-vdpau \
        --compile-type=profile --enable-xvmc --enable-xvmc-vld
--enable-xvmc-pro --enable-glx-procaddrarb --enable-libfaad
--enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid

>>>> Source unpacked in
>  * Running ./configure --prefix=/usr
>  *              --mandir=/usr/share/man
>  *              --libdir-name=lib64 --enable-libfaad --disable-altivec
> --enable-libfftw3 --disable-audio-jack --enable-xvmc --enable-xvmcw
>     --disable-xvmc-vld --enable-glx-procaddrarb --enable-glx-procaddrarb

> XvMC OpenGL sup.          no
> XvMC libs                 -lXvMCW
> VDPAU support             no
> OpenGL video              yes
> OpenGL vsync              yes
> DirectFB                  no
> Fribidi formatting        no

Looks like your nvidia drivers (minimum 180.22) aren't properly installed.
See the line:
VDPAU support : no

that's because it didn't find the relevant libraries and headers.

> ../../libs/libavcodec/libmythavcodec-0.21.so: undefined reference to
> `mpeg_vdpau_decoder'
> ../../libs/libavcodec/libmythavcodec-0.21.so: undefined reference to
> `h264_vdpau_decoder'

Looks like it doesn't build properly in the even VDPAU libraries
aren't found... The VDPAU code shouldn't have been compiled at all ...

I noticed some error in trunk too if you requested VDPAU and it wasn't
available, it doesn't build cleanly either...

libvdpau.so and the vdpau headers *MUST* be installed

More information about the mythtv-users mailing list