Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » FPS Drop/Game Stutter at beginning of new levels
Re: FPS Drop/Game Stutter at beginning of new levels [message #488370 is a reply to message #488369] Sat, 05 July 2014 21:59 Go to previous messageGo to previous message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma:
Recruit
saberhawk wrote on Sat, 05 July 2014 21:51

XPiRX wrote on Sat, 05 July 2014 21:06


I just don't understand why after a fresh install its stutter free for a while. Its obvious to me that scripts 4 is causing the issue, but i cant figure out why it doesn't happen right away after a fresh install.


Most stutters are currently caused by the game trying to load a file on demand. Some files need to be loaded immediately so the game does nothing else while waiting for Windows to read them (which causes the stutter). Other files can be loaded asynchronously in the background (like textures). Those won't stutter but may cause immediate loads to wait longer.

The reason a "fresh install" seems stutter-free is because Windows uses free RAM to cache file contents. Task Manager shows this as the cached amount.
Disks are still significantly slower than RAM so if all the game files are cached everything loads much faster.



I just said in my previous post that I restarted after a fresh install, therefore clearing all of the "cached file contents" from RAM. Also, I have no shortage of RAM (16GB), I have 10-12GB free on average when playing renegade.

Again, scripts 3.4 caused no such stutter issues, neither does a virgin renegade install. With scripts 4 however, I get the fucking stutters. I have come to the conclusion that there is some memory issue/leak with scripts 4 that after having loading renegade a few times it starts to cause stuttering. I'm waiting for my newest reinstall to start stuttering, I will restart and see if that fixes the stuttering. If so, that means its most likely a memory leak issue within scripts 4.

I'm fully aware that disks are slower than RAM. Restarting after a fresh install clears everything that is cached in RAM... and yet there is NO stuttering. After a a few games(opening and closing of renegade, not matches) the stutter appears to point to some type of memory issue within scripts 4. Again, scripts 3.4 DID NOT CAUSE THIS ISSUE, its only within scripts 4. I'm just waiting for the stuttering to reappear and then I will restart my system (I don't restart often at all) and see if the stutter disappears.

[Updated on: Sat, 05 July 2014 22:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't see player names anymore?
Next Topic: Screen resolution bug
Goto Forum:
  


Current Time: Mon Dec 23 00:57:00 MST 2024

Total time taken to generate the page: 0.01271 seconds