On 08/11/09 01:42, Jon Elson wrote:
> Donn Washburn wrote:
>> Hey Group;
>>
>> I dowloaded about everything I could find except plib (from openSuSE).
>>
>> Everything compiled rather clean.  I installed FlightGear and it was 
>> happy.
>> However, I am getting a strange unexplained error.
>>
>> :~> fgfs
>> Error: Unable to create OpenGL graphics context.
>> Error: Unable to create OpenGL graphics context.
>> Segmentation fault
>>
>> This system is a NVidia system with NV.run driver
>> NVIDIA-Linux-x86-190.32-pkg1.run
>>
>> Could this be the problem?
> Yup!  The Nvidia openGL driver is not open-source, so can't be 
> distributed with Linux.
> You have to get on the Nvidia web site and download their driver.  I 
> think they
> may have a pure binary driver, they also have a compiled but not linked 
> driver
> that will link to your kernel library when you install it.  Then you 
> have to adjust
> your xorg.conf file to use the new driver.  When you restart X, if you 
> get a full-screen
> nvidia logo, it is going to run.  Then, try glxgears to make sure that 
> openGL
> can link up with the driver.  If you get 2000+ FPS, it is running.
> 
> Jon
> 

I hit the same problem and I had to rebuild OSG, SimGear and FlightGear,
but it gives a different error. I filed a bug on the NV forum, details
below.

<< earlier similar "Got an X11ErrorHandling ..." lines deleted>>
Got an X11ErrorHandling call display=0xec1b10 event=0x7fff08decd20
GLXBadDrawable
Major opcode: 135
Minor opcode: 5
Error code: 146
Request serial: 51
Current serial: 51
ResourceID: 31457283
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.

I rebuilt OSG, SimGear and FlightGear after the driver was installed.
Tried "chcon"
# ls -l /usr/lib64/xorg/modules/drivers/nvidia_drv.so
-rwxr-xr-x 1 root root 4518568 Nov 7 02:54
/usr/lib64/xorg/modules/drivers/nvidia_drv.so*

slipstream:~ # chcon -t texrel_shlib_t
/usr/lib64/xorg/modules/extensions/libglx.so
chcon: can't apply partial context to unlabeled file
`/usr/lib64/xorg/modules/extensions/libglx.so'
slipstream:~ # chcon -t texrel_shlib_t
/usr/lib64/xorg/modules/extensions/libglx.so.190.42
chcon: can't apply partial context to unlabeled file
`/usr/lib64/xorg/modules/extensions/libglx.so.190.42'
slipstream:~ # chcon -t texrel_shlib_t /usr/lib64/libGLcore.so.190.42
chcon: can't apply partial context to unlabeled file
`/usr/lib64/libGLcore.so.190.42'
--------------------------------------------------------------------
I still have to check the sources to see if FlightGear or dependencies
expect a particular version of OpenGL.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to