Re: [Flightgear-devel] Bug: landmass effects cause system crash in today's CVS FlightGear

2010-04-10 Thread David Megginson
On Wed, Apr 7, 2010 at 9:10 AM, Frederic Bouvier fredfgf...@free.fr wrote:

 Your card or driver advertise support of geometry shader but doesn't
 behave correctly with them. If the extension wasn't supported, the
 effect would have fallbacked to technique number 9 that doesn't use
 them.

 I think there is an OSG environment variable (OSG_GL_EXTENSION_DISABLE
 iirc) to disable buggy extension, and fgrun allows to set environment
 variable before starting fgfs.

 set OSG_GL_EXTENSION_DISABLE=GL_EXT_geometry_shader4
 should work

That did the trick -- thanks, Fred.  We should probably add this to a
FAQ somewhere, if it's not already there.


All the best,


David

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug: landmass effects cause system crash in today's CVS FlightGear

2010-04-07 Thread David Megginson
On Tue, Apr 6, 2010 at 4:19 AM, Frederic Bouvier fredfgf...@free.fr wrote:

 I presume it's the geometry shader support that is causing this. Try to 
 disable technique number 8 in landmass.eff
 regards,

That was it -- no crash after commenting it out.  Is it likely a
problem with my graphics card driver, or the FlightGear code?


Thanks,


David

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug: landmass effects cause system crash in today's CVS FlightGear

2010-04-07 Thread Frederic Bouvier

- David Megginson a écrit :

 On Tue, Apr 6, 2010 at 4:19 AM, Frederic Bouvier wrote:
 
  I presume it's the geometry shader support that is causing this. Try
 to disable technique number 8 in landmass.eff
  regards,
 
 That was it -- no crash after commenting it out.  Is it likely a
 problem with my graphics card driver, or the FlightGear code?

Your card or driver advertise support of geometry shader but doesn't behave 
correctly with them. If the extension wasn't supported, the effect would have 
fallbacked to technique number 9 that doesn't use them.

I think there is an OSG environment variable (OSG_GL_EXTENSION_DISABLE iirc) to 
disable buggy extension, and fgrun allows to set environment variable before 
starting fgfs.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug: landmass effects cause system crash in today's CVS FlightGear

2010-04-07 Thread Frederic Bouvier
  On Tue, Apr 6, 2010 at 4:19 AM, Frederic Bouvier wrote:
  
   I presume it's the geometry shader support that is causing this.
 Try
  to disable technique number 8 in landmass.eff
   regards,
  
  That was it -- no crash after commenting it out.  Is it likely a
  problem with my graphics card driver, or the FlightGear code?
 
 Your card or driver advertise support of geometry shader but doesn't
 behave correctly with them. If the extension wasn't supported, the
 effect would have fallbacked to technique number 9 that doesn't use
 them.
 
 I think there is an OSG environment variable (OSG_GL_EXTENSION_DISABLE
 iirc) to disable buggy extension, and fgrun allows to set environment
 variable before starting fgfs.

set OSG_GL_EXTENSION_DISABLE=GL_EXT_geometry_shader4
should work

-Fred
-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug: landmass effects cause system crash in today's CVS FlightGear

2010-04-06 Thread Frederic Bouvier
Hi David,
I presume it's the geometry shader support that is causing this. Try to disable 
technique number 8 in landmass.eff
regards,
-Fred


-- message original --
Sujet:  [Flightgear-devel] Bug: landmass effects cause system crash in today's 
CVS FlightGear
De: David Megginson david.meggin...@gmail.com
Date:   05.04.2010 22:36

When I enable landmass effects in a FlightGear binary built from
today's CVS (and using today's base package), my entire computer
freezes and I can reboot only by cutting power. Urban effects still
work, however.

With a binary built from the March 13 CVS, I can enable landmass
effects -- still using today's base package -- with no bad effects.

I'm using Ubuntu Lucid, with this card info from the X log:

(--) PCI:*(0:1:5:0) 1002:9612:103c:3045 ATI Technologies Inc
RS780M/RS780MN [Radeon HD 3200 Graphics] rev 0, Mem @
0xc000/268435456, 0xd230/65536, 0xd220/1048576, I/O @
0x5000/256

and

(II) Module glx: vendor=FireGL - ATI Technologies Inc.
compiled for 7.5.0, module version = 1.0.0


All the best,


David

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel