[mythtv-users] Building with XvMC...is this normal?
Michael Tiller
michael.tiller at gmail.com
Tue Nov 28 18:13:57 UTC 2006
I just did a build of MythTV. My last configure was:
./configure --prefix=/opt/mythtv-svn --enable-xvmc --disable-xvmcw
When it does the build, it explicitly puts libXvMCNVIDIA in the build line
(instead of the wrapper library), i.e.
g++ -o mythfrontend version.o main.o manualbox.o playbackbox.o
viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o
channelrecpriority.o statusbox.o networkcontrol.o moc_manualbox.o
moc_playbackbox.o moc_viewscheduled.o moc_manualschedule.o
moc_programrecpriority.o moc_channelrecpriority.o moc_statusbox.o
moc_networkcontrol.o -L/usr/share/qt3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui
-L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 -
lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20-
lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype
-lmp3lame -lasound -L/usr/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 -
lglib-2.0 -ljack -lraw1394 -liec61883 -lavc1394 -L/usr/X11R6/lib -lXinerama
-lXv -lXxf86vm -lXrandr -lXvMCNVIDIA -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext
-lX11 -lm -lpthread
But, it doesn't use it. I did an 'ldd mythfrontend | grep XvMC' and I
get...
libXvMC.so.1 => /usr/lib/libXvMC.so.1 (0xb6874000)
That library is not a symbolic link to the NVIDIA library...
-rw-r--r-- 1 root root 7942 2006-09-11 23:44 /usr/lib/libXvMC.a
lrwxrwxrwx 1 root root 16 2006-11-20 16:19 /usr/lib/libXvMC.so ->
libXvMC.so.1.0.0
lrwxrwxrwx 1 root root 16 2006-10-30 18:10 /usr/lib/libXvMC.so.1 ->
libXvMC.so.1.0.0
-rw-r--r-- 1 root root 9872 2006-09-11 23:44 /usr/lib/libXvMC.so.1.0.0
This seems pretty convincing but just in case I'm not understanding
something I decided to try and relink it without XvMCNVIDIA just to make
sure it wasn't being used. Sure enough, it links fine. Shouldn't something
(MythTV source, a header file, etc) be pulling symbols from libXvMCNVIDIA?!?
Unfortunately, I'm not in front of the machine right now so I can't test if
it somehow, miraculously, manages to pull it in. What does libXvMC do if
you have an NVIDIA card? Do you still get the greyscale OSD if it links
that (non-NVIDIA) version of XvMC in?!?
--
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20061128/8e9ae383/attachment.htm
More information about the mythtv-users
mailing list