CPU randomly started working rly fast

afrobobmuk

New Member
I am developing a game using VB. at the moment the computer moves the sprites across the screen as fast as possible (not very fast at all - rly jerky). However, earlier today i ran my game to show sum1, as i do most days, and it was extremely fast (unplayably fast). i tried unplugging my laptop from the power to see if it made a difference but it didnt. Then later that day i decided to show another friend that it was now working rly fast, but it was slow again. Then i put the game on a different computer (one much slower than mine) and it ran very fast.

I don't think this has anything to do with what i was running in the background. I hav no idea tho, i never changed any settings on my laptop. So why does my laptop run so slow and y did it run really fast for a few minutes??? it has an AMD Athlon 64 3000+. i think these processors step down to 800MHz when idle so that may hav sumthing to do with it..

plz help me..
 
1. For starters you can check to see if it is indeed downclocking and upclocking :)
2. How are you moving the sprites? (bitblt, ddraw, .move etc)
 
Definetly sounds like thermal throttling.

My laptop has an option for GTA2 game to "frame rate control". If i leave this unchecked the game runs REALLLLYYYY fast. I can't even control it half the time it's so fast. But when enabled it runs smooth and at a regular pace. While i bet it is thermal throttling, it might very unlikely be a graphics issue with VB. highly doubt it though...
 
Praetor said:
That it would effect a Visual Basic program that drastically?? I assure you GTA2 isnt written using VB

I only used GTA2 as a graphics hardware example. Thermal Throttling doesn't effect GTA2, it's my video card. But on my moms laptop if it goes from 800mhz-1.8ghz, sometimes her apps are uber slow, then BOOM they speed up really quick and she freaks out. i think that is what is happening with him...
 
I believe a C/BASIC mix was used.



If I were to be a game programmer my language of choice would be C.
 
the process i am using to render the graphics is BitBlt but i dont think its anything to do with my programming. I just ran the program on the supposidly slower desktop and omg it was quick. y is my computer so slow?!!
 
I believe a C/BASIC mix was used
Well he said it was Visual basic... so that's what we'll go by.

the process I am using to render the graphics is BitBlt but I dont think its anything to do with my programming. I just ran the program on the supposidly slower desktop and omg it was quick. y is my computer so slow?!!
Try running the program on a completely independent machine or multiple (that way you can figure if its going too fast or too slow). Also, how are you moving the image? (i.e., object.move/object.left/object.top and a constant increment or percentage based)
 
Back
Top