Jerky Movement

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Yacoby
Posts: 2
Joined: Wed Sep 05, 2007 11:27 pm

Jerky Movement

Post by Yacoby »

I took a look at the examples (1.3.1), and have experienced some problems:
Mainly the examples that involve movement and/or animation are very jerky, not that the program is jerky, just the animation/movement. It seems to jerk back to the place it was half a second a go for a couple of milliseconds

The programs FPS seems to sit at 1, sometimes jumping up to 100+ for a couple of milliseconds.

My computer should be able to run the programs:
GeForce 6150LE (64Mb, integrated)
~1Gb RAM
Athlon 64 4200+

WinXP Pro 32bit

Does anyone have any suggestions? I would love to get it fixed.

EDIT:
I forgot to say, it is the same with v 1.2, but the FPS is displayed as 0 most of the time, despite moving at alot faster than they would at 0fps
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

show us your code.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Is it an AMD X2 or a single core? There are timing problems under Windows with dual cores.
Do you have the latest video drivers installed? any other applications running in parallel? which drivers do you use (i.e. did you test OpenGL and D3D, or just software driver)?
Yacoby
Posts: 2
Joined: Wed Sep 05, 2007 11:27 pm

Post by Yacoby »

OK, I brought my computer out of standby, and the problem seems to have resolved itself, it looks like it was a fault at windows end rather than Irrlichts end. :oops:
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

hybrid wrote:Is it an AMD X2 or a single core? There are timing problems under Windows with dual cores.
Do you have the latest video drivers installed? any other applications running in parallel? which drivers do you use (i.e. did you test OpenGL and D3D, or just software driver)?
there's difference between them?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Which one? The dual and single core? Yes, one has a core more :wink:
Problem is that Windows process scheduler has some problems with task switching and core switching.
genesisrage
Posts: 93
Joined: Tue Feb 08, 2005 12:19 pm

Post by genesisrage »

was having a similar problem (if not the same one)

GeForce 8800 GTS (640mb)
2GB Ram
Athlon FX-62 (2.8Ghz)

XP Pro 32-bit

and reading HYBRID's comment about timing problems, did some research and found out AMD does have a fix for it. (AMD Dual Core Optimizer)
http://www.amd.com/us-en/Processors/Tec ... 06,00.html

hopefully this helps out some people. i know it sure helped me :)
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

so where does that leave the core 2 duo machines? lol

is the problem only with AMD or with irrlicht and windows?

how can one prevent this from causing problems?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The problem was only with AMD processors because they updated the internal timer devices in the processors to make them more useful for parallel processing apps. However, Windows scheduling did not work with that.
Post Reply