Re: [Flightgear-devel] [OT] Best pratice for debugging multi threaded programs?

2011-03-23 Thread Tim Moore
On Mon, Mar 21, 2011 at 3:04 PM, Holger Wirtz dcored...@googlemail.com wrote: Hi all, sorry - a little bit off-topic (in fact not so much as you might think, it's for a third-party software for FG): Has anyone some hints/websites/programs for debugging C -based multi threaded programs

Re: [Flightgear-devel] Texture cache

2011-03-23 Thread ThorstenB
On 22.03.2011 23:54, Tim Moore wrote: 5, maybe worst: osg plugins which load 3d models seem to load textures directly and store them... somewhere. So no caching, if two models use the same texture it gets always loaded, no matter what. This should not be true in general; the images should

Re: [Flightgear-devel] Stuttering at 1 Hz rate

2011-03-23 Thread Robert
I investigated further into the stuttering issue. I tried the UFO like ThorstenB suggested. Then I tried some other planes and found something interesting. There is regular stuttering with every plane I tested. But the interval between the stutters differs with every plane. See my results: C172p

Re: [Flightgear-devel] Texture cache

2011-03-23 Thread thorsten . i . renk
Maybe someone could do some tests when changing the setting (SGPagedLOD.hxx:56) from CACHE_NONE to CACHE_IMAGES or even to CACHE_ALL (then recompile/install sg+fg). Would be interesting to know how this changed loading times, run-time fps and memory consumption. I've just done a very quick

[Flightgear-devel] Mipmaps (was: Adventures in dds)

2011-03-23 Thread Lauri Peltonen
Shouting again from the back row, but I want to point out that pregenerated mipmaps is not something dds specific, it can be done with any texture format. It's just about storing them. Like in http://www.ogre3d.org/tikiwiki/img/wiki_up/MipMap_Example_STS101.jpg . Of course dds has the pro side

Re: [Flightgear-devel] Mipmaps (was: Adventures in dds)

2011-03-23 Thread Emilian Huminiuc
On Wednesday 23 March 2011 13:32:25 Lauri Peltonen wrote: Also one thing point mentioning is that DDS format might not be supported on older hardware. And I think FG is supposed to support also older hardware. I think BC3/DXT5 is pretty well supported by older hardware. There would be

Re: [Flightgear-devel] Texture cache

2011-03-23 Thread thorsten . i . renk
Maybe someone could do some tests when changing the setting (SGPagedLOD.hxx:56) from CACHE_NONE to CACHE_IMAGES or even to CACHE_ALL (then recompile/install sg+fg). Would be interesting to know how this changed loading times, run-time fps and memory consumption. After 30 minutes more of

[Flightgear-devel] Logitech Wingman Attack config file

2011-03-23 Thread Roberto Inzerillo
Hi everybody, an old Logitech Wingman Attack happened to fall into my hands ... so I connected it to a Linux box (no way to make it work in Windows7!) and started playing with modprobe, fgjs and js_demo. Well, it works nicely with FGFS :-) It's an old simple gameport attached joystick but it

Re: [Flightgear-devel] Instant replay and JSBSim aircraft

2011-03-23 Thread Bertrand Coconnier
Hi, I could reproduce the bug on my computer as well. There seems to be some confusion about what the SetLongitude()/SetLatitude()/SetAltitude()/etc. do in src/FDM/JSBSim/JSBSim.cxx. On one hand, they are obviously intended to update the initial conditions (IC) of JSBSim. And, when the IC are

Re: [Flightgear-devel] Stuttering at 1 Hz rate

2011-03-23 Thread ThorstenB
Hi, I've pushed an update to sg/fg/fgdata which enables a (so far well hidden) feature of our subsystem manager to capture timing statistics. It''s now configurable at run-time. Use Debug - Toggle Subsystem Statistics to enable/disable. It prints min/max/average and std-deviation for each of

Re: [Flightgear-devel] Stuttering at 1 Hz rate

2011-03-23 Thread Csaba Halász
On Wed, Mar 23, 2011 at 11:38 PM, ThorstenB bre...@gmail.com wrote: I've pushed an update to sg/fg/fgdata which enables a (so far well hidden) feature of our subsystem manager to capture timing statistics. I have found that feature earlier :) Also I have actually removed some subsystems, but

Re: [Flightgear-devel] Stuttering at 1 Hz rate

2011-03-23 Thread ThorstenB
On 23.03.2011 23:42, Csaba Halász wrote: I have found that feature earlier:) Also I have actually removed some subsystems, but to no avail. Let's see if somebody can produce other results. Yes, let's see what people come up with :). I actually see one submodule which produces some jitter. But

Re: [Flightgear-devel] C172 panel

2011-03-23 Thread Martin Spott
On Thu, Sep 04, 2008 at 01:07:44PM -, I wrote: exactly the panel of the D-EEQA which I have been flying for some dozend hours already - some of you probably still remember this photo: http://foxtrot.mgras.net/bitmap/FGFS/DEEQA-LFLV02.jpg It looks like this bird is becoming the first

Re: [Flightgear-devel] Instant replay and JSBSim aircraft

2011-03-23 Thread ThorstenB
On 23.03.2011 23:22, Bertrand Coconnier wrote: Attached is a patch that fixes this bug (#294 in the bug tracker). As far as I could test, it restores the functionality of the instant replay while keeping the restart feature (CTRL+SHIFT+ESC) functional. Furthermore I have implemented the 2

Re: [Flightgear-devel] C172 panel

2011-03-23 Thread Martin Spott
Martin Spott wrote: [...] On the other hand the airframe or maybe even just the cockpit section makes a perfect eye-catcher for FlightGear presentations on public shows :-) Note: This is a private adventure, no donated money will be used for this purchase, Martin. -- Unix _IS_

Re: [Flightgear-devel] C172 panel

2011-03-23 Thread Gene Buckle
On Thu, 24 Mar 2011, Martin Spott wrote: On Thu, Sep 04, 2008 at 01:07:44PM -, I wrote: exactly the panel of the D-EEQA which I have been flying for some dozend hours already - some of you probably still remember this photo: http://foxtrot.mgras.net/bitmap/FGFS/DEEQA-LFLV02.jpg It

Re: [Flightgear-devel] Stuttering at 1 Hz rate

2011-03-23 Thread Arnt Karlsen
On Wed, 23 Mar 2011 05:56:49 +0100, robert...@web.de wrote in message AANLkTimUGMjCn2y=FWw4Avt6tx_5d3M=ywxsetz6w...@mail.gmail.com: ..maybe Robert can tell us the FG command line etc recipe he uses to provoke the 1Hz stuttering? My machine specs are: Athlon64 X2 5200+ Samsung HDD