Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Vivian Meazza
Robert Black

 Sent: 29 August 2007 03:41
 To: FlightGear developers discussions
 Subject: Re: [Flightgear-devel] [Bug-Report] Stutterer and 
 pauses withdynamic-view
 
 
 On Tuesday 28 August 2007 18:44, Laurence Vanek wrote:
 
  also had this problem in general (not with dynamic view). 
 only thing 
  that helped was adding the following to my .fgfsrc file:
 
  --prop:/sim/frame-rate-throttle-hz=75
 
  as far I know no one has solved this problem. apparently 
 only a few of 
  us seem to have the issue.
 
 I thought everyone had this behavior.  Most videos I have 
 seen of FG have the 
 stutter and pause.  
 Robert
 

I certainly do. I suspect that people have given up complaining about it and
have come to regard it as normal. At its worst it makes FG almost impossible
to use.

Vivian 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Frederic Bouvier
Quoting Vivian Meazza :

 Robert Black

  Sent: 29 August 2007 03:41
  To: FlightGear developers discussions
  Subject: Re: [Flightgear-devel] [Bug-Report] Stutterer and
  pauses withdynamic-view
 
 
  On Tuesday 28 August 2007 18:44, Laurence Vanek wrote:
 
   also had this problem in general (not with dynamic view).
  only thing
   that helped was adding the following to my .fgfsrc file:
  
   --prop:/sim/frame-rate-throttle-hz=75
  
   as far I know no one has solved this problem. apparently
  only a few of
   us seem to have the issue.
 
  I thought everyone had this behavior.  Most videos I have
  seen of FG have the
  stutter and pause.
  Robert
 

 I certainly do. I suspect that people have given up complaining about it and
 have come to regard it as normal. At its worst it makes FG almost impossible
 to use.

I think stutter comes from the threaded scenery tile loader. When you change
view direction, you ask the loader to load more tiles, and when all required
tiles are loaded for a given position, the stutter stops. Also, when there is an
insane frame rate, there should be no CPU time allocated to the tile loader, and
thus, the stutter, so limiting the frame rate, either by using the throttling
feature, or activating vsync, should lessen the problem.

-Fred

-- 
Frédéric Bouvier
http://frfoto.free.fr  Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/   FlightGear Scenery Designer

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Andy Ross
Frederic Bouvier wrote:
 I think stutter comes from the threaded scenery tile
 loader. When you change view direction, you ask the loader to
 load more tiles, and when all required tiles are loaded for a
 given position, the stutter stops.

That seems unlikely.  The tile loader is very old code, and this
is a new symptom.  It's also, as you point out, threaded
precicely for the purpose of *not* blocking the main rendering
thread.

Andy

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Frederic Bouvier wrote:
 Quoting Vivian Meazza :
 
 Robert Black

 Sent: 29 August 2007 03:41
 To: FlightGear developers discussions
 Subject: Re: [Flightgear-devel] [Bug-Report] Stutterer and
 pauses withdynamic-view


 On Tuesday 28 August 2007 18:44, Laurence Vanek wrote:

 also had this problem in general (not with dynamic view).
 only thing
 that helped was adding the following to my .fgfsrc file:

 --prop:/sim/frame-rate-throttle-hz=75

 I think stutter comes from the threaded scenery tile loader. When you change
 view direction, you ask the loader to load more tiles, and when all required
 tiles are loaded for a given position, the stutter stops. Also, when there is 
 an
 insane frame rate, there should be no CPU time allocated to the tile loader, 
 and
 thus, the stutter, so limiting the frame rate, either by using the throttling
 feature, or activating vsync, should lessen the problem.
 
 -Fred

You can blame some stuttering on the incomplete integration of the tile loader 
with
OSG, something that I'm working on. In particular, display lists are now 
compiled and
textures are now loaded when a tile first becomes visible; the OSG database 
pager
schedules this work over several frames to avoid affecting the frame rate. 
Also, it's
true that activating vsync will leave some predictable time for the pager 
thread to run
when it won't interrupt the main rendering thread.

Tim


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFG1YtreDhWHdXrDRURArtXAJ9iZaxcutfB33/geBAr8jjXn+7AygCfZq4G
nY9J867TOdCadCHKVMCrZH8=
=KsQG
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Frederic Bouvier
Quoting Tim Moore [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Frederic Bouvier wrote:
  Quoting Vivian Meazza :
 
  Robert Black
 
  Sent: 29 August 2007 03:41
  To: FlightGear developers discussions
  Subject: Re: [Flightgear-devel] [Bug-Report] Stutterer and
  pauses withdynamic-view
 
 
  On Tuesday 28 August 2007 18:44, Laurence Vanek wrote:
 
  also had this problem in general (not with dynamic view).
  only thing
  that helped was adding the following to my .fgfsrc file:
 
  --prop:/sim/frame-rate-throttle-hz=75

  I think stutter comes from the threaded scenery tile loader. When you
 change
  view direction, you ask the loader to load more tiles, and when all
 required
  tiles are loaded for a given position, the stutter stops. Also, when there
 is an
  insane frame rate, there should be no CPU time allocated to the tile
 loader, and
  thus, the stutter, so limiting the frame rate, either by using the
 throttling
  feature, or activating vsync, should lessen the problem.
 
  -Fred

 You can blame some stuttering on the incomplete integration of the tile
 loader with
 OSG, something that I'm working on. In particular, display lists are now
 compiled and
 textures are now loaded when a tile first becomes visible; the OSG database
 pager
 schedules this work over several frames to avoid affecting the frame rate.
 Also, it's
 true that activating vsync will leave some predictable time for the pager
 thread to run
 when it won't interrupt the main rendering thread.

Did someone experiment changing the number of loader threads ?
This is possible by changing line 120 of Scenery/FGTileLoader.hxx
In CVS, the line is now :

 enum { MAX_THREADS = 1 };

It won't cure the fact that OGL resources needs to be allocated in the rendering
thread, but would enable multiple cores to load more than one tile at a time.

-Fred

-- 
Frédéric Bouvier
http://frfoto.free.fr  Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/   FlightGear Scenery Designer

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread leee
On Wednesday 29 August 2007 15:43, Andy Ross wrote:
 Frederic Bouvier wrote:
  I think stutter comes from the threaded scenery tile
  loader. When you change view direction, you ask the loader to
  load more tiles, and when all required tiles are loaded for a
  given position, the stutter stops.

 That seems unlikely.  The tile loader is very old code, and this
 is a new symptom.  It's also, as you point out, threaded
 precicely for the purpose of *not* blocking the main rendering
 thread.

 Andy

I'm not so sure I'd regard this as a new problem.  I first reported it on the 
8th Dec 2006 and Melchior responded that he'd been experiencing it for some 
time before then.  At that time, Melchior thought it was related to the AI 
sub-system.

The thread subject was Periodic 'stutter' in FG

LeeE


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Simple 3d model request

2007-08-29 Thread Curtis Olson
Hi Josh,

Finally had a minute to download and try the model ... it looks great,
thanks  Should be perfect as is.  If you get bored and want to fiddle
with it any more, here's a small amount of feedback ... mostly just minor
things.

1. The winglets are pretty much 90 degrees to the wing:

http://baron.flightgear.org/~curt/UAV/Malolo1/DSC01760.JPG

2. For the actual airplane, I don't think the winglets are tapered quite as
much ... you are close, but by my eye there could be just a bit more sweep
on the trailing edge of the winglet leaving a bit more chord at the top.
The leading edge looks pretty good.  If you thought you might have time to
fiddle some more, I could get you actual dimensions.

http://baron.flightgear.org/~curt/UAV/Malolo1/DSC01756.JPG

3. The protoype has this odd/unfinished color scheme, but the next version
will most likely be white on the tops of the wing and both sides of the
winglets and natural black carbon fiber cloth on the bottom of the wing.
The bottom of the center section may stay it's gross natural kevlar color
which you matched pretty well.

That's all I can really nitpick, great job, I really appreciate the quick
help on this, makes my week! :-)

Curt.


On 8/27/07, JOSHUA WILSON [EMAIL PROTECTED] wrote:

  I have a model at http://golffoxtrotsierra.741.com/Malolo1.zip
 I used some of your photos and the yardstick model in order to make it.
 Josh

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-- 
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/  http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Bug-Report] Stutterer and pauses withdynamic-view

2007-08-29 Thread Durk Talsma
On Wednesday 29 August 2007 17:53, leee wrote:

 I'm not so sure I'd regard this as a new problem.  I first reported it on
 the 8th Dec 2006 and Melchior responded that he'd been experiencing it for
 some time before then.  At that time, Melchior thought it was related to
 the AI sub-system.

 The thread subject was Periodic 'stutter' in FG


Speaking of which; there is one part of the AI system that causes some 
(currently unavoidable) stutter. Models are loaded on demand, and this causes 
some stutter. Mathias has indicated trying to move the loading process out of 
the main render thread, or something like that. I'm not sure how much that 
relates to the issues Tim mentioned in this thread. In addition, there are a 
few other candidates for causing stutter in the AI system, in particular the 
route finding algorithm and the traffic separation detection code, because 
these are requiring peaks in CPU activity. In particular when two aircraft 
request these functions in succession, there can be peaks of activity. 

However, having said that, these AI related issues are quite unlikely to cause 
the observed stutter, for two reasons 1). Heiko's original report in this 
thread explicitly mentions that he has turned off traffic manager and AI, and 
2) I'm also seeing these stutters occur even before the AI traffic system 
starts loading. 

Cheers,
Durk

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel