[info-performer] Performer freezing/stalling something -- HELP!

Date view Thread view Subject view Author view

From: Scott A. Friedman (friedman++at++ucla.edu)
Date: 04/04/2004 14:44:54


Hi

Maybe someone here can explain what's happening here. I am loading some
large openflight based models using Linux. After the load is completed
but before my application downloads textures performer just 'freezes'
for a period of time that appears to be related to the total size of the
model. The example I show below is a *small* model, some of our larger
models will freeze for 15-20 minutes after a load that takes close to an
hour or so.

I call it a freeze only because I cannot figure out what is going on but
the CPU is pegged near 100% during this time. I first noticed this with
the 3.0.x series and just rebuilt using 3.1 and the problem persists. My
IRIX builds of the *same* code do not have this problem as far as we can
tell using p3.0.2 on any of our SGIs. If it is there it freezes for a
much shorter time.

Here is a trace since dubugging forked apps in linux is...not possible
with gdb (am I wrong about this? any suggestions?)

Thanks,
Scott Friedman
Urban Simulation Team at UCLA

----

The times are from pfGetTime.

pfSync() -- 1.00861 Performer::appChannel( ): 11 -- 1.00866 Performer::preApp( ) -- 1.00872 Performer::preApp( ) - frameCount = 11 ======================================================================== OpenFlight (r) loader R15.7 for Performer $Date: 2003/02/01 01:27:37 $ ======================================================================== . . snipped - model loading... . . doModelOpen - done -- 401.775 ----> okay, ~6.6 minutes Performer::preApp( ) - done -- 401.776 Performer::appChannel( ) - pfApp() -- 401.776 Performer::appChannel( ) - pfApp() - done -- 401.776 Performer::appChannel( ) - done -- 401.776 pfFrame( ) : 11 -- 401.801 [right before call to pfFrame()]

Okay somwhere in pfFrame() something is going on after an openflight load that does not after a .pfb load of the same model. For this model about 2.6 minutes! What could be happening? Again, if I save and load this model as a .pfb this 'freeze' does not happen.

Performer::intersection -- 565.579 WOW! Performer::intersection - done -- 565.581 Performer::cullChannel( ) -- 565.637 Performer::cullChannel( ) - done -- 565.639 Performer::drawChannel( ): 11 -- 565.68 Performer::preDraw( ) -- 565.682 Using compressed textures. Downloading 2726 textures... Performer::preDraw( ) - done -- 588.953 pfDraw -- 588.955 pfDraw - done -- 588.966 Performer::postDraw( ) -- 588.977 Performer::postDraw( ) - done -- 588.988 draw - done -- 589 Performer::drawChannel( ) - done -- 589 pfFrame( ) - done : 11 -- 589.019 after postFrame -- 589.03 pfSync() -- 589.04


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Apr 04 2004 - 14:50:58 PDT