Physics Playground Stutter
by Jeff Leigh · in Torque Game Builder · 05/13/2007 (6:03 am) · 10 replies
Anyone else seeing a "stuttering" in the processing for the Physics Playground in beta 3?
Start up the project and run it. Look at the Physics playground right away. The ball that bounces jumps a few times as its moving, either like its processing location but not rendering or only getting intermitent updates so the next update moves it farther than it should for a smooth motion.
This seems to mostly happen right after you start up, like maybe some other process is still sucking up the cycles, but I have seen it once in a while when playing with it after it starts.
I have no other programs or anything running at the time. I'm assuming this would only be worse if there were more than one ball in play.
Start up the project and run it. Look at the Physics playground right away. The ball that bounces jumps a few times as its moving, either like its processing location but not rendering or only getting intermitent updates so the next update moves it farther than it should for a smooth motion.
This seems to mostly happen right after you start up, like maybe some other process is still sucking up the cycles, but I have seen it once in a while when playing with it after it starts.
I have no other programs or anything running at the time. I'm assuming this would only be worse if there were more than one ball in play.
#2
I've noticed it too, definite stutter every so often, will look into it...
05/18/2007 (8:23 am)
By Physics Playground I take it you mean the Behavior Playground with the Breakout clone on the bottom right?I've noticed it too, definite stutter every so often, will look into it...
#3
05/18/2007 (8:25 am)
Guess that wasn't clear huh, yes, that's what I was referring too.
#4
I haven't figured out what's doing it yet but it happens just about exactly once every minute. The actual stutters appear to always happen 4 in a row, then a minute lapses, it jerks 4 more times, then a minute, 4 jerks, etc.,..
Doesn't matter if there is 1 or 1000 balls bouncng around the screen the same time frames seem to hold true.
05/20/2007 (5:57 pm)
Neo, have you had a chance to look at this?I haven't figured out what's doing it yet but it happens just about exactly once every minute. The actual stutters appear to always happen 4 in a row, then a minute lapses, it jerks 4 more times, then a minute, 4 jerks, etc.,..
Doesn't matter if there is 1 or 1000 balls bouncng around the screen the same time frames seem to hold true.
#5
06/01/2007 (5:58 am)
Sorry Jeff have been crazy busy so haven't gotten to this yet, will have a look at it later tonight as it has been bugging me (excuse the pun) for quite some time.
#6
Perhaps its a timing error that causes an occasional additional frame or something.
06/02/2007 (4:07 am)
To be honest, I think that there is something strange about ALL TGE based engines. Because almost all of them have a persistant stutter for me (at different intervals for different products).Perhaps its a timing error that causes an occasional additional frame or something.
#7
It could be a number of things i.e. the wait code in timer stuff being off or because of discarding small values during time increment which accrue over time etc etc. It is almost definitely something to do with the update as the frame rate doesn't seem to stutter, e.g. if you have a custom object that does its own time tracking it remains smooth during the stutter.
Will dive into it and see what I can discover.
06/02/2007 (8:23 am)
Its good to know other people also get it, I thought it was just something specific to my system so did not worry about it.It could be a number of things i.e. the wait code in timer stuff being off or because of discarding small values during time increment which accrue over time etc etc. It is almost definitely something to do with the update as the frame rate doesn't seem to stutter, e.g. if you have a custom object that does its own time tracking it remains smooth during the stutter.
Will dive into it and see what I can discover.
#8
06/02/2007 (10:53 am)
Any chance an AMD processor is in the stuttering systems and given that there is: any chance that the user forgot to install AMD cool'n'quiet drivers and thus gets serious timer issues causing problems as the timing data programs retrieve is incorrect if c'n'q drivers are not installed. (as it does not take dynamic stepping into account without them)
#9
06/02/2007 (3:49 pm)
My machines are a mix of AMD's and Intel's. Happens to all of them.
#10
TGB 1.7.2 does not appear to suffer from this performance lag.
I didn't see anything in the change list that mentions it (although I didn't look too hard) but it appears to be fixed, either deliberately or as a part of some other change.
03/07/2008 (8:01 am)
FYI, for anyone that has been following this thread.TGB 1.7.2 does not appear to suffer from this performance lag.
I didn't see anything in the change list that mentions it (although I didn't look too hard) but it appears to be fixed, either deliberately or as a part of some other change.
Torque Owner Jeff Leigh
YucaTech Studios