[mythtv] [mythtv-commits] Ticket #4064: NVidia OpenGL undefined reference to glXGetProcAddress in SVN14639

Daniel Kristjansson danielk at cuymedia.net
Mon Oct 8 17:20:05 UTC 2007


On Mon, 2007-10-08 at 20:07 +0300, Pekka Jääskeläinen wrote:
> On 10/8/07, Paul Catchpole <paul at paulcatchpole.co.uk> wrote:
> > It looks like your NVIDIA drivers are reporting GLX 1.4 but don't
> > actually support the required defines. This doesn't look like a MythTV
> > bug. On the thread you linked, someone from NVIDIA confirms [as of then,
> > 2005] that the method glXGetProcAddress()  is only present in 1.4 but
> > <1.4 the ARB method should be used instead.
> 
> I got the same problem in a Feisty machine. I investigated it a bit
> and if I recall correctly,
> the problem was due to some of the headers coming from Mesa, some from
> the NVIDIA driver, thus the new MythTV video code got wrong code
> enabled as Mesa reported 1.4 and NVIDIA supports only 1.3 (or vice
> versa) and the actual linked NVIDIA GLX lib didn't provide the
> functions MythTV supposed it to do.
> 
> I got MythTV to compile by forcing certain #define-blocks to be
> selected through hard coding and didn't have time to come up with a
> proper solution.
> 
> However, this was a clean Feisty installation without any extra
> drivers installed, I'm a bit surprised this hasn't been a problem for
> more people.

We have a construction in trunk to use the correct version depending
on the GLX header, I just backported this to 0.20-fixes. We still 
can't do anything if the installed headers don't match the drivers,
but we can at least only use a version of this function supported by
the currently installed headers. It's up to the distribution and the
user to make sure the system has headers that match the installed
libraries.

-- Daniel



More information about the mythtv-dev mailing list