[mythtv] Re: --disable-xvmc-vld broken / workaround

Randall Hopper viznut at charter.net
Sat Dec 31 11:28:07 EST 2005

Randall Hopper:
 |To get MythTV to build without VLD XvMC, I needed the following hack (see
 |perl substititions after configure command):
 |  ./configure --prefix=/opt/pkg/mythtv-svn-${myth_date}        \
 |              --arch=k8 --enable-proc-opt --enable-xvmc        \
 |              --disable-xvmc-vld --enable-dvb --enable-dvb-eit \
 |              --enable-opengl-vsync
 |  perl -pi -e 's/(CONFIG_MPEG_XVMC_DECODER) 1/\1 0/' libs/libmyth/mythconfig.h
 |  perl -pi -e 's/(CONFIG_MPEG_XVMC_VLD_DECODER)=yes/\1=no/' libs/libmyth/mythconfig.mak

Never fails.  I saw the real answer after I posted that last message.

Looks like my VLD XvMC link error was due to broken make dependencies in
MythTV rather than because CONFIG_MPEG_XVMC_VLD_DECODER was being set wrong
(also note: that XVMC_DECODER above should be XVMC_VLD_DECODER - that was a

Yes, CONFIG_MPEG_XVMC_VLD_DECODER is being set wrong by configure in both
config.h and config.mak.

HOWEVER, neither of these settings are used to decide whether to compile in
the VLD XvMC code in libavcodec.

That test is apparently based on whether using_xvmc_vld is present in
CCONFIG in config.mak.  It is not, which is correct.

So chances are, when I reconfigured adding "--disable-xvmc-vld" to the link
line, mythtv had already built libavcodec.so and didn't recognize that
libavcodec.so needed to be rebuilt.  A "make clean" after configure, while
time consuming, would have fixed that.

I'm rebuilding now to verify this.



More information about the mythtv-dev mailing list