Bullet Demo simulation runs slow on Windows

dlyn
Posts: 5
Joined: Fri Aug 13, 2010 10:58 am

Bullet Demo simulation runs slow on Windows

Post by dlyn »

Hi,

I currently switched to Windows because I want to use Razer Hydra with my application, which only has driver for Windows -sigh-
I ran BasicDemo program on Windows just to test the program. it worked but the simulation was really slow.
The showProfile function displayed 64-71 ms for stepsimulation.
I reduced the number of boxes to 1, and the stepsimulation reduced to 1.0++ ms, but the update rate is still slow.

I ran the same program before on Linux and didn't have any problem at all.

I checked btQuickProf source code and found that the program uses internal clock to run the simulation.

-Does anybody know what causes the problem?
-Does it have anything to do with how each OS handles interrupts, etc?
-Is this Bullet or Windows issue?
-Can I actually fix this problem?

p/s: On Linux, the bullet version 2.77, and on Windows is 2.80 but i doubt it makes any difference?

Thanks heaps for any feedback. :)
Karrok
Posts: 65
Joined: Fri May 13, 2011 1:11 pm

Re: Bullet Demo simulation runs slow on Windows

Post by Karrok »

did you build in debug config instead of release perhaps ?
dlyn
Posts: 5
Joined: Fri Aug 13, 2010 10:58 am

Re: Bullet Demo simulation runs slow on Windows

Post by dlyn »

Hi,

Yup, I've tried with both debug and release. It is still the same.
I think the problem might be the machine itself.
I downloaded the executable files from Bullet page, ran it and the result was still the same.
I tested on my friend's machine, the AppBasicDemo worked as expected. :?
CookieMonster
Posts: 49
Joined: Sun Jan 29, 2012 10:01 pm

Re: Bullet Demo simulation runs slow on Windows

Post by CookieMonster »

The dynamic terrain sample was very slow for me in Windows 7 and now it is very fast for some unknown reason. :?
dlyn
Posts: 5
Joined: Fri Aug 13, 2010 10:58 am

Re: Bullet Demo simulation runs slow on Windows

Post by dlyn »

I had a technician checked on my machine.
He updated one of the drivers, and it worked!
Apparently bullet app was running on an old driver (and I didn't know which one :( )

So you might be experiencing the same thing with your Windows 7.