[Flightgear-users] problems finding correct OpenGL lib with Slackware 0.9.9 and Nvidia (solved !)

2005-12-19 Thread Kees Lemmens
Hi,

When starting Flightgear from the 0.9.9 package prepared by Jon Stockill 
the startup logo looked fine until the point where the actually strip and 
plane should showup. There FG just quitted with the following error 
message :

/local/FlightGear/FlightGear-0.9.9/share/FlightGear/Navaids/TACAN_freq.dat
X Error of failed request:  BadLength (poly request too large or internal 
Xlib length error)
  Major opcode of failed request:  144 (GLX)
  Minor opcode of failed request:  29 ()
  Serial number of failed request:  837
  Current serial number in output stream:  837

I spent 1/2 day searching and even compiled my own version from scratch 
(with exactly the same problem !) before I had it solved, so thought I'd 
better tell other people as well :-)

What goes wrong ?

Simply that FG must be loading the wrong libGL library ! Check with ldd 
fgfs which libraries it uses. If you use the Nvidia driver but fgfs 
uses /usr/X11R6/lib/libGL.so.1 instead of /usr/lib/libGL.so.1 this is 
certainly the culprit.

Nvidia installs it's libGL.so for Nvidia cards in /usr/lib while the 
original X11R6 is in /usr/X11R6/lib. Normally the latter is removed by 
the Nvidia installer, but if you install e.g. Dropline Gnome new X 
libraries are installed and one of them is libGL.

Simply remove this library in /usr/X11R6/lib or alternatively set your 
librarypath to use /usr/lib BEFORE /usr/X11R6/lib and everything works 
fine :

export LD_LIBRARY_PATH=/usr/lib:/opt/openal/lib

--
Kees Lemmens,
TU Delft,
Netherlands.

Ceterum Censeo Microsoftem esse Delendam

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] problems finding correct OpenGL lib with Slackware 0.9.9 and Nvidia (solved !)

2005-12-19 Thread Jon Stockill

Kees Lemmens wrote:

Hi,

When starting Flightgear from the 0.9.9 package prepared by Jon Stockill 
the startup logo looked fine until the point where the actually strip and 
plane should showup. There FG just quitted with the following error 
message :


/local/FlightGear/FlightGear-0.9.9/share/FlightGear/Navaids/TACAN_freq.dat


That's not from the package I built - the path to that file would be 
/usr/share/FlightGear/Navaids/TACAN_freq.dat


--
Jon Stockill
[EMAIL PROTECTED]

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d