[tuhopuu-devel] gameengine eats all CPU on default scene

Bjornmose tuhopuu-devel@blender.org
Wed, 11 Aug 2004 00:56:03 +0200


hi all .. and kester
i think this one is for you:
My latest tuhopuu CVS Scons MSVC6 builds started showing some strange
behaviour:
When i start gameengine on default scene (the one it starts out of the
box:: 1 cube, 1 light, 1 camera .. ) CPU usage goes up to 100% and it
takes 10 seconds until display changes to "game look alike" still CPU is
up a 100% . When i hit ESC it comes back after a while and all is fine.

On the console is a warning:
Light "Spot" ShadowBufferSize is evil. Forcing to good value: 2048

Weird since the only light in scene is a "Lamp" , may be that gives you
a hint.
For a WAG i'd think there is a unititialized local variable, since M$VC
takes stack garbage for the "truth" in this case .. dunno if other
compilers "zero" local variables. If you have candidates for that, i
could check that in debugger.

This occured some days after the merge and iirc you did commit somthing
before that happend, since when i did check the post merge build all was
still fine.

just to let you know
bjornmose