Haven't we run into this "no valid context" problem many times before?
Hasn't it been attributable to a bad mesa build distributed with
RedHat or something like that?  If I recall, downgrading back to a
previous version of Mesa has fixed the problem for some people.

Plib is probably one of the only libs that actually checks for a valid
context before running which is why you are probably only seeing this
with flightgear.  Have you tried running some of the plib examples or
other plib base programs (plib.sf.net has pointers to several plib
based programs.)

Regards,

Curt.



Jonathan Gardner writes:
> On Sun, 19 Aug 2001 23:15:36 -0400 anno domine,
> "Norman Vine" <[EMAIL PROTECTED]> composed:
> 
> NV> No this is the file I meant
> NV> 
> NV> < disclaimer I do not run Linux but... >
> NV> Is this the same version as your newest Mesa Libs ? 
> NV> ie I believe that glut is part of the Mesa distribution
> NV> if not maybe you have to compile it against the Mesa
> NV> that you are using 
> NV> < /disclaimer >
> NV> 
> NV> FWIW
> NV> I have added the following two lines of code in 
> NV> $FG_SRC / src / Main / main.cxx  < ~line 1340 >
> NV> 
> NV> to the end of
> NV> 
> NV> int fgGlutInit( int *argc, char **argv ) {
> NV> .....
> NV>     fgSetInt("/sim/startup/xsize", glutGet(GLUT_SCREEN_WIDTH));
> NV>     fgSetInt("/sim/startup/ysize", glutGet(GLUT_SCREEN_HEIGHT));
> NV> }
> NV> 
> NV> Not sure that this will help any but this insures that
> NV> there is no confusion between Glut and FGFS as to
> NV> the size of the window that Glut created.
> NV> < It seems as if there was a one frame discrepancy
> NV>    when starting in something other then 800x600 >
> NV> 
> 
> Well, I tried it, and still no luck. 
> I just don't understand why I have hardware acceleration with everything else, but 
>flightgear just gives me:
> 
> Running /usr/bin/fgfs --fg-root=/usr/FlightGear 
> FlightGear:  Version 0.7.8
> 
> Scanning for root: command line
> fg_root = /usr/FlightGear
> Reading global preferences
> Finished Reading global preferences
> Processing command line arguments
> Opening a window: 800x600
> Mesa DRI Voodoo3 20010501 x86/MMX/3DNow!
> Max texture size = 256
> Depth buffer bits = 16
> FATAL: ssgInit called without a valid OpenGL context.
> 
> Are there any other ideas out there?
> 
> Jonathan
> 
> -- 
> #define __INTELLECTUAL_CHRISTIAN__
> 
> #include <JESUS><
> #include ><DARWIN>
>           L   L
> 
> _______________________________________________
> Flightgear-users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/flightgear-users

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

Reply via email to