[mythtv-users] VDPAU support on 0.21-fixes

espenaf espenaf at junta.no
Tue Jan 27 13:12:54 UTC 2009


Hei

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
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;


>>> Source unpacked in
/var/tmp/portage/media-tv/mythtv-0.21_p19778-r10/work
 * Applying mythtv-fixes-glvdpau19794.patch ...                            
                                              [ ok ]
>>> Configuring source in
/var/tmp/portage/media-tv/mythtv-0.21_p19778-r10/work/mythtv-0.21 ...
 * 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
 *              --enable-dvb
 *              --enable-firewire
 *              --enable-lirc
 *              --disable-audio-arts
 *              --disable-directfb
 *              --dvb-path=/usr/include
 *              --enable-opengl-video
 *              --enable-opengl-vsync
 *              --enable-xrandr
 *              --enable-xv
 *              --enable-x11
 *              --disable-ssse3 --enable-mmx --with-bindings=perl,python
--compile-type=profile --cpu=native --disable-distcc
cc1: warning: -funit-at-a-time is required for inlining of functions that
are only called once
# Basic Settings
Compile type              profile
Compiler cache            symlink gcc
DistCC                    no
install prefix            /usr
runtime prefix            /usr
CPU                       x86_64 (native)
big-endian                no
MMX enabled               yes
CMOV enabled              yes
CMOV is fast              yes

# Input Support
Joystick menu             yes
lirc support              yes
Video4Linux sup.          yes
ivtv support              yes
FireWire support          yes
DVB support               yes [/usr/include]
DBox2 support             yes
HDHomeRun support         yes
IPTV support              yes

# Sound Output Support
OSS support               yes
ALSA support              yes
aRts support              no
JACK support              no
libfftw3 support          yes

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          no
XvMC pro support          no
XvMC OpenGL sup.          no
XvMC libs                 -lXvMCW
VDPAU support             no
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

.
.
.
/usr/qt/3/include/qimage.h: In member function âbool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) constâ             
:
/usr/qt/3/include/qimage.h:61: warning: suggest parentheses around &&
within ||
g++ -c -pipe -march=native -fomit-frame-pointer -O3 -DNDEBUG -g -Wall
-Wno-switch -Wpointer-arith -Wredundant-decl              s
-Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -D_REENTRANT  -DMMX
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_THR              EAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/qt/3/mkspecs/linux-g++
-I/var/tmp/portage/media-t             
v/mythtv-0.21_p19778-r10/work/mythtv-0.21/programs/mythcommflag
-I/usr/include -I/usr/include -I../.. -I../../libs              
-I../../libs/libmyth -I../../libs/libmythtv -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcod              ec
-I../../libs/libmythupnp -I../../libs/libmythui
-I../../libs/libmythlivemedia -I/usr/qt/3/include -I/usr/X11R6/            
 include -I/usr/X11R6/include -o moc_ClassicCommDetector.o
moc_ClassicCommDetector.cpp
g++ -Wl,-O1 -o mythcommflag main.o CommDetectorFactory.o CommDetectorBase.o
Histogram.o ClassicLogoDetector.o Clas             
sicSceneChangeDetector.o ClassicCommDetector.o quickselect.o
CommDetector2.o pgm.o EdgeDetector.o CannyEdgeDetecto              r.o
PGMConverter.o BorderDetector.o FrameAnalyzer.o TemplateFinder.o
TemplateMatcher.o HistogramAnalyzer.o BlankFr              ameDetector.o
SceneChangeDetector.o moc_SlotRelayer.o moc_CustomEventRelayer.o
moc_CommDetectorBase.o moc_LogoDete              ctorBase.o
moc_SceneChangeDetectorBase.o moc_ClassicCommDetector.o   -L/usr/qt/3/lib64
-L../../libs/libmyth -L../.              ./libs/libmythtv
-L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat
-L../../libs/libmythfreem              heg -L../../libs/libmythui
-L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.21
-lmythavformat-0.2              1 -lmythavutil-0.21 -lmythavcodec-0.21
-lmythfreemheg-0.21 -lmythupnp-0.21 -lmythlivemedia-0.21 -lmyth-0.21 -lmyth
             ui-0.21 -lfreetype -lz -lmp3lame -lasound -lraw1394 -liec61883
-lavc1394 -lrom1394 -L/usr/X11R6/lib64 -lXinerama -              lXv
-lXxf86vm -lXrandr -lXvMCW -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm
-lpthread
g++ -Wl,-O1 -o mythfrontend version.o main.o manualbox.o playbackbox.o
viewscheduled.o globalsettings.o manualsche              dule.o
programrecpriority.o channelrecpriority.o statusbox.o networkcontrol.o
mediarenderer.o custompriority.o myt              happearance.o
moc_manualbox.o moc_playbackbox.o moc_viewscheduled.o moc_globalsettings.o
moc_manualschedule.o moc_              programrecpriority.o
moc_channelrecpriority.o moc_statusbox.o moc_networkcontrol.o
moc_custompriority.o moc_mythap              pearance.o   -L/usr/qt/3/lib64
-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil
-L../../libs/lib              avcodec -L../../libs/libavformat
-L../../libs/libmythfreemheg -L../../libs/libmythui
-L../../libs/libmythupnp -L..              /../libs/libmythlivemedia
-lmythtv-0.21 -lmythavformat-0.21 -lmythavutil-0.21 -lmythavcodec-0.21
-lmythfreemheg-0.              21 -lmythupnp-0.21 -lmythlivemedia-0.21
-lmyth-0.21 -lmythui-0.21 -lfreetype -lz -lmp3lame -lasound -lraw1394 -lie 
            c61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib64 -lXinerama -lXv
-lXxf86vm -lXrandr -lXvMCW -lXvMC -lqt-mt -lGLU -lGL               -lXmu
-lXext -lX11 -lm -lpthread
../../libs/libavcodec/libmythavcodec-0.21.so: undefined reference to
`mpeg_vdpau_decoder'
../../libs/libavcodec/libmythavcodec-0.21.so: undefined reference to
`h264_vdpau_decoder'
collect2: ld returned 1 exit status
make[2]: *** [mythcommflag] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-0.21_p19778-r10/work/mythtv-0.21/programs/mythcommfla
             g'
make[1]: *** [sub-mythcommflag] Error 2

Espen

On Tue, 27 Jan 2009 17:20:27 +1100, Jean-Yves Avenard <jyavenard at gmail.com>
wrote:
> Dear all.
> 
> http://www.avenard.org/files/mythtv-vdpau/
> 
> This patch adds VDPAU support to Mythtv 0.21-fixes. There are no
> guarantees other than it "works for me".
> 
> A great thank to the MythTV development team for this great product
> and in particular Mark Kendall without whom those patches wouldn't
> exist.
> 
> This set of patches also includes the OpenGL optimisations and fixes
> written by Mark Kendall which can be found there:
> http://www.btinternet.com/~mark_kendall/fixes-patches/
> I have been using his OpenGL patches for months without any problems.
> 
> If using Ubuntu, you can get automatically mythtv and mplayer with
> VDPAU support by using this repository:
> http://www.avenard.org/files/ubuntu-repos files/
> Add to /etc/apt/sources.list:
> deb http://www.avenard.org/files/ubuntu-repos files/
> 
> Then simply run an update in synaptic.
> 
> For others, those patches should apply cleanly to 0.21-fixes/mythtv
> branch (revision #19823 as of time of writing). You must use the
> nVidia drivers version 180.22 and above.
> 
> Please do not bother the various mythtv mailing lists, and do not
> lodge bugs in the mythtv TRAC system. You're on your own here.
> 
> All the best
> Jean-Yves Avenard
> jean-yves at avenard.org
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list