[mythtv-users] .20 RPMS / or time to go source? Thoughts?
Paul Andreassen
paulx at andreassen.com.au
Tue Sep 12 09:48:31 UTC 2006
On Tue, 12 Sep 2006 01:29 am, Axel Thimm wrote:
> On Mon, Sep 11, 2006 at 03:57:17PM +0100, Andy Burns wrote:
> > How are the FC6T* previews working out, any chance of myth for FC6T3?
>
> If it would build, yes, but it fails with
>
> g++ -o mythtv main.o -L/usr/lib/qt-3.3/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/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
> -lraw1394 -liec61883 -lavc1394 -lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW
> -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
> ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> `glXWaitVideoSyncSGI' ../../libs/libmythtv/libmythtv-0.20.so: undefined
> reference to `glXGetVideoSyncSGI' collect2: ld returned 1 exit status
>
> Seems like FC6 is missing these symbols in the lib, but offers them in
> the headers. I haven't investigated further, any input is welcome.
It has to do with nVidia video sync. Can be compiled without by undefineing
USING_OPENGL_VSYNC using --disable-opengl-vsync. As for why its failing, no
idea, must be missing in the library.
/** \brief Video synchronization class employing SGI_video_sync
* OpenGL extension.
*
* Uses glXWaitVideoSyncSGI() to wait for retrace. Phase-maintaining,
* meaning WaitForFrame should always return approximately the same time
* after a vertical retrace.
*
* This works with version 50 or later of the nVidia vendor drivers.
*
* Special care must be taken with this video sync method due
* to a bad interaction between some pthread implementations
* and OpenGL. OpenGL DIRECT contexts can not be shared between
* processes. And some pthread implementations, notably a common
* one on Linux, treat each thread as a seperate process.
* Hence Start(void), Stop(void) and WaitForFrame(void) must all be called
* from the same thread.
*
* \sa http://osgcvs.no-ip.com/osgarchiver/archives/June2002/0022.html
* \sa
http://www.ac3.edu.au/SGI_Developer/books/OpenGLonSGI/sgi_html/ch10.html#id37188
* \sa http://www.inb.mu-luebeck.de/~boehme/xvideo_sync.html
*/
Paul
--
More information about the mythtv-users
mailing list