As I recall this problem happens due to a bad Mesa build. Most opengl
applications don't check for a valid opengl context before running
(unfortunately.) This means other applications don't see the problem,
but is very dangerous because on some systems if you proceed to start
rendering without a valid context you can get all sorts of random
crashes.
So, it's important for a well behaved multi-platform application to do
this check. It's unfortunate that RedHat mesa doesn't respond
appropriately. RedHat gets away with it, and other 3d applications
run because most non-plib applications don't do the check for a valid
rendering context.
Note that the check happens inside plib so the FlightGear project
can't turn it off if we wanted to (which I don't.) An enterprising
person could probably go hack their copy of plib to remove the check
and then FlightGear (and other plib based apps) would probably start
work.
Curt.
Cameron Moore writes:
> * [EMAIL PROTECTED] [2001.08.04 14:21]:
> > I'm running RedHat-7.1 and have downloaded and compiled FlightGear,
> > PLIB and SimGear. Had no problems at all until I tried to run it. Here
> > is the message I received:
> >
> <snip/>
> > Mesa DRI VoodooBanshee 20010501 x86/MMX/3DNow!
> > FATAL: ssgInit called without a valid OpenGL context.
>
> *sigh*
>
> This is a "known issue" that we don't know the solution to (besides
> changing distros). The best we can tell, the problem is RedHat 7.x
> specific. For some reason, Mesa or XFree86 is screwed up.
>
> There is a test program called "gl-info" in the tests/ dir of the
> FlightGear source. When you run that, you will probably see a line
> like:
>
> GL_RENDERER = "Mesa GLX Indirect"
>
> That is *bad*. Mine says "GeForce2 GTS/AGP/SSE". When you can get
> yours to say something besides Indirect rendering, FlightGear should run
> just fine.
>
> So, what do you do? So far, noone here knows. :-/ If you can figure
> out a cure, I'm sure the FlightGear and plib -users lists would like to
> hear the solution.
--
Curtis Olson Human Factors Research Lab FlightGear Project
Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED]
Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/flightgear-users