On Wednesday 19 October 2005 14:54, Martin Spott wrote:
> Hello,
> I experience a significant slowdown in the frame rate since my last
> build yesterday. As the only significant change in CVS is the AI
> traffic on EHAM I assume the slowdown is related to that.
> Do I have the ability to disable this feature by command line ?
> I already apply "--prop:/sim/ai-traffic/enabled=false" and
> "--disable-ai-models" but this does not appear to affect the recent
> changes.
>
> Not that I dislike the new feature, it's quite an interesting add-on.
> It's just that the PeeCee I run test on is incapable to keep up with
> the work load.
>

Hi Martin,

Have you checked whether in preferences.xml you have the following

<traffic-manager>
     <enabled type="bool">true</enabled>
  </traffic-manager>

  <ai>
   <enabled type="bool">true</enabled>
   <!-- scenario>nimitz_demo</scenario -->
   <!-- <scenario>aircraft_demo</scenario> -->
  </ai>

if so, you should set traffic-manager/enabled to false. 

Next, you could also check using the property browser if any aircraft are 
listed in /ai/models. 

However, I do have to add that, while I cannot rule out a performance decrease 
from the new traffic features, I would consider it unlikely, for a number of 
reasons, that this is what's troubling you. First, and formost, the new 
taxiway follow code only works at EHAM, but there is no traffic yet for this 
airport (unless the KLM schedules are uncommented data/Traffic/fgtraffic.xml, 
(you might want to check). Secondly, even when you are flying within a 
relatively small distance of EHAM, currently set at 150 km.  Thirdly, the 
traffic manager is still disabled by default, so the new code shouldn't run, 
unless you specifically activate it. Fourth and final, the new code doesn't 
run on a frame to frame basis, but mainly only when a new taxiroute is 
requested. So while I can imagine that this would result in an occasional 
pause on slower machines, it should not result in  a continuous performance 
decrease. 

Unless all three conditions above are satisfied, the new code doesn't run.

It does seem that there was another update yesterday, related to a fix in ssg. 
(See the email conversation between Matthias Frolich and Melchior Franz, 
yesterday evening).  While I have not tested this, it might be possible that 
this is causing some slowdown, because this patch seems to run on a frame to 
frame basis.  

Please let me know if the traffic-manager is enabled, and then I hope I can 
give you some more assistance in getting your system up to speed again.

Cheers,
Durk

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to