On Saturday, July 09, 2011 11:33:21 PM thorsten.i.r...@jyu.fi wrote:
> Maybe you're also so lucky that no matter what conditions, your framerate
> is high enough - I'm not, so I have to change settings when the scene
> changes enough.
> 
> * Thorsten

Speaking of frame rates and eye candy.

I recently changed from OSG2 to OSG3.  When I installed it I also rebuilt 
simgear and FG using -O3 optimization for all packages including OSG.  With 
OSG2.X using the same GCC optimization settings I was getting about 22FPS with 
minimal eye candy and sometimes it would drop down into the 15FPS range 
although at times it was also somewhat higher with a peak rate of about 25FPS.  
Usable but not optimal.  

After the upgrade to OSG3 the same setup (IE. how much eye candy was being 
used, same aricraft, similar weather other settings the same) was running at 
about 45FPS.  So it basically doubled the frame rate!  Of course YMMV.  I was 
able to add a considerable amount of eye candy and still have my frame rate 
remain above 30FPS.  I now have the frame rate throttled at 30Hz and it 
basically locks onto 30FPS and stays there.   This is with multiplayer turned 
off.   This is a near optimal setup for me although I would like to be able to 
get this frame rate with full eye candy and multiplayer enabled.

FYI I am running the following:

AMD Athlon 64 4800+ with 2 gig ram
Nvidia 7950 with 256 meg ram
no over clock on the CPU or GPU
Gentoo Linux 64 bit install
FG and Simegear packages from the gamerlay overlay
OSG3 hand created ebuild in the local overlay

So this is not a high end machine by current standards although it is  not a 
low end machine either.

I have local weather selected with "tie range to frame rate" set to about 30 
although it is hard to tell exactly where this is set in the dialog.

Also in my preferences.xml I have:

<multithreading-mode> AutomaticSelection </multithreading-mode>

With OSG2 this worked and I could see fgfs using CPU cycles on both CPU cores.  
This did increase frame rates compared to single threading but only by perhaps 
25% on average but it also seemed to improve frames rates even more under 
condidtions that would result in lower frames rates.    With OSG3 this does 
not happen and it appears to only be single threaded.   Do I have to do 
something different with OSG3 to get multithreading?  If multithreading was 
working would I see a similar frame rate improvement in OSG3 to what I got 
with OSG2?

Hal
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to