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
FPS Drop/Game Stutter at beginning of new levels [message #488294] Wed, 02 July 2014 22:35 Go to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
I reinstalled renegade recently because of the new scripts. However, after a few days I started to notice every now and then my game would stutter. Its half a second or less, but its as if the game stops responding for a split second and FPS drops significantly. It got bad after a while (a day or so later after noticing it) where it was happening every 1-2 minutes and it would stutter/freeze for half a second or so.

So, I reinstalled the game fresh and reinstalled scripts. The first few games were absolutely fine, no stutter issue. I didn't turn shaders on this time because I thought that was causing it. Sure enough though, after exiting the game and coming back a few hours later, that stutter came back. Its not near as bad as the first time, it seems less aggressive and happens less often. Less aggressive meaning it seems "softer", less often, and FPS only drops to like 80-150 usually instead of 10. Also seems shorter, even though im not sure if I'd be able to tell the difference between .25 seconds and .4 seconds.

So, I reinstalled the game for a third time since it seemed to fix the issue the first time. However, I figured it might of been an issue with my SSD possibly, so I installed it to my second SSD. Mind you, I've played renegade on this computer for months on end a couple years ago with no issues. Same hardware in it that was in it then. Well, its on my second SSD, and the stutter wasn't there. After some matches and game restarts later, its back, same as the second time and not aggressive like the first.

I did notice something though, it seems to only happen during the beginning of a new game. When I walk out of a building for the first time, it stutters. Then as I get closer to the enemy base, it stutters. An explosion happens for the first time, it stutters. A new vehicle is made for the first time, it stutters. It seems like the stuttering only happens when new models are loaded in the game, and after maybe half a dozen of stutters, I don't get them for the rest of the match.

It's not a game breaking issue, but would be nice to be rid of it. I believe it has something to do with scripts 4 and the way it loads models, or possibly has to do with some replacement models in scripts 4. Never had this issue in scripts 3.4.4.

Edit: forgot to mention I have tested everything else I can think of. I disabled basically everything on my computer that was running. Antivirus, temp monitoring programs, and ANYTHING else that was running. Nothing was running except for renegade, and the stutter still occurred. I don't have anything like this issue in any other game either, which leads me to believe its scripts.

[Updated on: Wed, 02 July 2014 22:42]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488298 is a reply to message #488294] Thu, 03 July 2014 01:56 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The game generally stutters when its loading in files from the disk for the first time on a given map, which is what the long loading times are meant to prevent (by pre-loading dependencies on the loading screen instead of stuttering constantly during the match trying to load things).

Are you by any chance playing on non-stock maps? If so its likely they don't have their dependencies setup properly which would cause stuttering issues.


http://steamsignature.com/card/1/76561197975867233.png
Re: FPS Drop/Game Stutter at beginning of new levels [message #488301 is a reply to message #488294] Thu, 03 July 2014 05:46 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
Nope, this happens on any map. I also don't notice "long" loading times. It seems to take the same amount as it used to take when I played a few years ago, maybe a second or two longer. If by "long" you mean a couple seconds longer. You would think running it off an SSD would prevent those loading stutters, I never had stutter issues when running off SSD before with scripts 3.4.4.

I just find it odd that with a completely fresh install and scripts 4.1 installed, the first few rounds there is absolutely no stutter. It's not until after a several matches have been played and the game has been restarted once or twice that the stutter comes back. Could this be because of downloaded files causing said stutter? I thought this the other day and deleted all the downloaded files in the roaming folder, but didn't fix it.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488308 is a reply to message #488294] Thu, 03 July 2014 07:49 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
When its freshly installed there is a good chance a lot of the files are still resident in the RAM standby cache, especially if you have a lot of RAM in your system that isn't being used for anything else.

Whilst an SSD might be fast it's still many orders of magnitude slower than RAM and even after reading the file it needs to unpack it into a game data structure, which requires CPU and/or GPU time depending on the type of file. Textures in particular will typically cause micro-stutters since they have to be loaded before they can be rendered.


http://steamsignature.com/card/1/76561197975867233.png
Re: FPS Drop/Game Stutter at beginning of new levels [message #488310 is a reply to message #488294] Thu, 03 July 2014 07:53 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Renegade was made long (I think) before SSDs were a thing, so I wouldn't be surprised if the disk reading code was poorly optimized for that type of drive. However, I'm not an expert on that, and it very well could be irrelevant.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: FPS Drop/Game Stutter at beginning of new levels [message #488311 is a reply to message #488294] Thu, 03 July 2014 07:56 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Try deleting the TTFS folder, it's where 4.0 keeps downloaded resources (maps etc) downloaded from servers.

The folder is located at:

C:\Users\<username>\AppData\Roaming\Renegade\Client\ttfs


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: FPS Drop/Game Stutter at beginning of new levels [message #488314 is a reply to message #488294] Thu, 03 July 2014 09:14 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
Even if its not optimized for SSD, it should still load faster than a HDD. The point I'm trying to make is that I never had this issue before with scripts 3.4.4. I did not have this problem while using the same SSD in 2010, or even when it was on a HDD. I do have this problem now with scripts 4.1. Which makes me believe it has nothing to do with my hardware, ssd included, and more to do with how scripts 4.1 loads textures compared to 3.4.

@iRANian - I have tried that already.

[Updated on: Thu, 03 July 2014 09:15]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488318 is a reply to message #488294] Thu, 03 July 2014 13:58 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

I often noticed the same thing, although I think I had it in 3.4.4 too. Can you try to use 3.4.4 for a few games and see if there really is a difference? Wink I think 4.x is supposed to reduce this issue, actually, although I never really noticed much of a difference.

There could also be a background process, virus scanner, or something like that interfering. Especially virus scanners may slow down the loading of files significantly.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: FPS Drop/Game Stutter at beginning of new levels [message #488326 is a reply to message #488294] Fri, 04 July 2014 02:19 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
It really has nothing to do with textures (which are loaded asynchronously in the background) but models and sounds. It's as good as it's going to get in the 4.x series.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488337 is a reply to message #488326] Fri, 04 July 2014 12:11 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
saberhawk wrote on Fri, 04 July 2014 03:19

It really has nothing to do with textures (which are loaded asynchronously in the background) but models and sounds. It's as good as it's going to get in the 4.x series.

Is there a way to forcibly pre-cache a model? I only ask because I have a building that is 5.63MB on my Bear Island map, it has LOD, and when it switches to the Highest LOD most clients lock up for a good 1-2 seconds (which beings we usually are driving up to the building in a car going about 80~mph you almost always end up flying into the water that's near the building. So if there is any trick that allows a building to be cached in the video memory so the hard drive isn't the bottle neck that'd be great.


[Updated on: Fri, 04 July 2014 12:13]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488343 is a reply to message #488294] Fri, 04 July 2014 13:06 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
I will test with scripts 3.4 tomorrow probably. Is there a way to remove scripts 4.1 and replacing with 3.4 without having to reinstall? I think I saw a backup folder that 4.1 creates, do I just remove the scripts files and restore those backups, then install 3.4?

@saberhawk - Yeah, you're right. I paid attention to exactly what happens when I stutter. The door opening sound right when I join a game, the first "unit ready", and the sound of the first explosion. Those are the three main ones that I've noticed. Probably some building models as I get closer to the enemy base. After those 3-5 stutters, I don't get any more after that.

[Updated on: Fri, 04 July 2014 13:35]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488344 is a reply to message #488337] Fri, 04 July 2014 13:10 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Jerad Gray wrote on Fri, 04 July 2014 20:11

saberhawk wrote on Fri, 04 July 2014 03:19

It really has nothing to do with textures (which are loaded asynchronously in the background) but models and sounds. It's as good as it's going to get in the 4.x series.

Is there a way to forcibly pre-cache a model? I only ask because I have a building that is 5.63MB on my Bear Island map, it has LOD, and when it switches to the Highest LOD most clients lock up for a good 1-2 seconds (which beings we usually are driving up to the building in a car going about 80~mph you almost always end up flying into the water that's near the building. So if there is any trick that allows a building to be cached in the video memory so the hard drive isn't the bottle neck that'd be great.


Add all the files it uses to the dependencies tab for a preset which is pre-placed on the map and it will be loaded during the loading screen.

Although, saying that, if the model itself is pre-placed on the map it should automatically be considered a dependency...


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 04 July 2014 13:10]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488368 is a reply to message #488294] Sat, 05 July 2014 21:06 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
I did some further testing...

- Scripts 3.4.4 did not cause me stutter issues, as soon as I installed scripts 4, the stutter came back.

- Installed to a HDD to test if it was SSD issue, the stutter became longer (1 second vs .25 seconds). Was stutter free the first few game launches like usual.

- Restarted computer right after fresh install to wipe the memory. This was to test to see if game being in memory after the install kept the first few game launches stutter free. The game was still stutter free after the restart, which proves its not to do with game being in memory after installing as danpaul88 suggested.

Also, I was wrong about it only being at the beginning of the match. I played a 2hr+ game yesterday and I had stuttering throughout the match. Even stuff that stuttered before, such as the door opening sound, it stuttered again later on. I closed every other running program when I tested all of this. There was no obvious disk or cpu usage spikes during the stutters either.

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.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488369 is a reply to message #488368] Sat, 05 July 2014 21:51 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
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.
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 next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
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

Re: FPS Drop/Game Stutter at beginning of new levels [message #488371 is a reply to message #488370] Sat, 05 July 2014 22:42 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

XPiRX wrote on Sat, 05 July 2014 23:59

I have come to the conclusion that there is some memory issue/leak with scripts 4

http://en.wikipedia.org/wiki/Memory_leak

Specifically,
Quote:

In object-oriented programming, a memory leak may happen when an object is stored in memory but cannot be accessed by the running code.

A memory leak is essentially when a programmer decides to ask for some memory from the computer, does something with it, then throws away his reference to the memory without telling the computer that he's done with it - therefore, the computer thinks the memory is still in use and the program no longer has an address to the memory, so the memory is "leaked" and cannot be reclaimed until the program is exited.

I do not see how this could have anything to do with your stuttering issue.

EDIT: By the way, I might as well mention that I run Renegade with always.dep (0kb) in my data folder, as not recommended by the TT team, and I get pretty significant stuttering immediately after I join due to my client loading the files/textures needed on demand, instead of loading most of them at the loading screen. In my experience the stuttering goes away once (in my estimation) everything in the game is loaded, and I don't experience the problem for the rest of my playing time.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

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

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488372 is a reply to message #488371] Sat, 05 July 2014 22:54 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
Ethenal wrote on Sat, 05 July 2014 22:42

XPiRX wrote on Sat, 05 July 2014 23:59

I have come to the conclusion that there is some memory issue/leak with scripts 4

http://en.wikipedia.org/wiki/Memory_leak

Specifically,
Quote:

In object-oriented programming, a memory leak may happen when an object is stored in memory but cannot be accessed by the running code.

A memory leak is essentially when a programmer decides to ask for some memory from the computer, does something with it, then throws away his reference to the memory without telling the computer that he's done with it - therefore, the computer thinks the memory is still in use and the program no longer has an address to the memory, so the memory is "leaked" and cannot be reclaimed until the program is exited.

I do not see how this could have anything to do with your stuttering issue.

EDIT: By the way, I might as well mention that I run Renegade with always.dep (0kb) in my data folder, as not recommended by the TT team, and I get pretty significant stuttering immediately after I join due to my client loading the files/textures needed on demand, instead of loading most of them at the loading screen. In my experience the stuttering goes away once (in my estimation) everything in the game is loaded, and I don't experience the problem for the rest of my playing time.


Possibly I used the wrong term. But wouldn't loaded memory that's leftover/addressed wrong cause issues later on when the program calls for the same objects? This could explain why a fresh install with brand new objects that are loaded, without conflicting issues from previous loads, doesn't cause issues.

I may not be an expert on coding but I'm not a noob when it comes to computers. All I can say is that I only have this issue with scripts 4. It has something to do with scripts 4, that I am certain of. And comparing your stuttering, mine doesn't go away once its loaded. It happens again after X amount of time. I thought it was just during the first part of the level loading, but after playing long games the same model/sounds that were loaded previously that caused stutter, they cause stutter again. Its driving me insane and I can't seem to fix it.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488376 is a reply to message #488368] Sun, 06 July 2014 06:32 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

XPiRX wrote on Sun, 06 July 2014 06:06

I did some further testing...

- Scripts 3.4.4 did not cause me stutter issues, as soon as I installed scripts 4, the stutter came back.

- Installed to a HDD to test if it was SSD issue, the stutter became longer (1 second vs .25 seconds). Was stutter free the first few game launches like usual.

- Restarted computer right after fresh install to wipe the memory. This was to test to see if game being in memory after the install kept the first few game launches stutter free. The game was still stutter free after the restart, which proves its not to do with game being in memory after installing as danpaul88 suggested.

Also, I was wrong about it only being at the beginning of the match. I played a 2hr+ game yesterday and I had stuttering throughout the match. Even stuff that stuttered before, such as the door opening sound, it stuttered again later on. I closed every other running program when I tested all of this. There was no obvious disk or cpu usage spikes during the stutters either.

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.

Could it be that your computer slightly overheats due to a higher room temperature (summer time) or dust in the fans? This would effect other (graphics) programs as well after a while of running.

Additionally TT might be slightly heavier on the GFX card due to AA and some other things than 3.4.4/stock.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488377 is a reply to message #488294] Sun, 06 July 2014 07:11 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

I just tried this on 3.4.4 and 4.1 r6440, and I can confirm that 3.4.4 loads smoother (even though I think it had dependency loading disabled?). The issue is not due to RAM caching or something like that. I don't know how a reinstall could fix it. Perhaps some file builds up, making it slower (thumbs db?).

FYI, you can clear the system disk cache without restarting using Sysinternals RAMMap ( http://technet.microsoft.com/en-us/sysinternals/ff700229.aspx ).


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: FPS Drop/Game Stutter at beginning of new levels [message #488380 is a reply to message #488294] Sun, 06 July 2014 10:54 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
@EvilWhiteDragon - No, my system does not overheat. Neither heatsink on the GPU or CPU is stock, they are both after market. I monitor temps always. I used to play renegade on this machine a few years ago, hardware has not changed. GPU is not being taxed heavily either, the highest usage I've seen is 30% playing renegade. I've also disabled shaders, AA, post processing, and put graphics to the lowest setting possible - stutter still exists.

@StealthEye - Yeah, I've used RAMMap, I just restarted to make sure everything was cleared. I don't know why a fresh install fixes it either. I tried making a backup of a fresh install directory, then when stutter started I deleted the install and copied over the fresh install backup. Stutter was still there.


Is there a way to load all the sounds/models for that map to be loaded into RAM without having to wait for it to be loaded on demand? I have no shortage of RAM and should be able to do that, that should remove the stutter according to some people who have posted here. Still doesn't explain why it doesn't occur after a fresh install.

[Updated on: Sun, 06 July 2014 11:08]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488384 is a reply to message #488380] Sun, 06 July 2014 12:31 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

XPiRX wrote on Sun, 06 July 2014 19:54

@StealthEye - Yeah, I've used RAMMap, I just restarted to make sure everything was cleared. I don't know why a fresh install fixes it either. I tried making a backup of a fresh install directory, then when stutter started I deleted the install and copied over the fresh install backup. Stutter was still there.

Did you try the same thing for My Documents/Renegade?


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: FPS Drop/Game Stutter at beginning of new levels [message #488387 is a reply to message #488384] Sun, 06 July 2014 16:23 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
StealthEye wrote on Sun, 06 July 2014 12:31

XPiRX wrote on Sun, 06 July 2014 19:54

@StealthEye - Yeah, I've used RAMMap, I just restarted to make sure everything was cleared. I don't know why a fresh install fixes it either. I tried making a backup of a fresh install directory, then when stutter started I deleted the install and copied over the fresh install backup. Stutter was still there.

Did you try the same thing for My Documents/Renegade?


I totally forgot about that folder as well as the appdata/roaming one.

Edit: looks the roaming folder is only for downloaded files from the server. I'll delete it when I replace the other folders after stutter comes back again.

[Updated on: Sun, 06 July 2014 16:33]

Report message to a moderator

Re: FPS Drop/Game Stutter at beginning of new levels [message #488637 is a reply to message #488294] Tue, 15 July 2014 17:50 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
After the stuttering came back, seemed to take longer than normal, I then deleted and replaced all folders with the backups. Stuttering remained. It seems to occur less now since I deleted the folder in documents. I didn't realize 4.1 created a folder there. Ever since I deleted that, the stuttering occurs less(at least it appears that way) and took longer to appear again. It still comes back though after a reinstall.

There are no weird hidden files that get created in any of the folders. I even checked files sizes and everything, the only files that changed were within Documents\Renegade\Client. After deleting and replacing said files it doesn't fix the stutter, only a fresh install does.

Since it appears to occur less often now and took longer to appear ever since that initial deletion of the documents folder, I would imagine it could have something to do with that folder. Deleting and replacing the folder doesn't fix it though, which is extremely odd. There are no large files, garbage files, hidden files, etc. in the folder. I even tried to delete all the chat logs and .thu files that get created and nothing changed.

I noticed an assest error log file within that folder. I monitored it and every time I got a stutter, something failed to load.

Failed to load 'e_tk_sld_ltmt'
Failed to load hierarchy 'ShatterPlanes1'
Failed to load texture 'multisplash01.tga'
Failed to load texture ''
Failed to load animation 'NULL.NULL'

Those are the most common ones (probably 80-90%) that occur right when a stutter happens. There are probably some others that occur right as a stutter happens, but those are the ones that I remember noticing a lot. There are a lot of other errors but they occur not during stutters as well. These errors might occur without a stutter happening, but they happen exactly when a stutter happens as well, the null.null and '' have only occurred when a stutter happens so far.

Seems to be either the stutter is causing a load failure, or a texture failing to load causes the stutter, I would assume the latter.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488655 is a reply to message #488294] Wed, 16 July 2014 05:05 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Ever tried procmon.exe from Sysinternals? It's a very useful application for this kind of thing, you filter out which programs you want to see (I usually just make a rule that says "if process name IS NOT brenbot.exe, then EXCLUDE") and then it gives you pretty much every important system call that the program uses. Very indispensable for troubleshooting hard-to-catch errors like this.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: FPS Drop/Game Stutter at beginning of new levels [message #488660 is a reply to message #488294] Wed, 16 July 2014 12:29 Go to previous messageGo to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Perhaps it even stutters purely due to writing the log messages to disk (inefficiently, synchronously, one write per character, or something like that). Or it tries some other way of finding the file. Perhaps filesystem-related? A clean install somehow being more efficient because the file table is less fragmented or something like that. I don't think anything like this should normally be noticeable though.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Previous Topic: Can't see player names anymore?
Next Topic: Screen resolution bug
Goto Forum:
  


Current Time: Sun Nov 24 16:57:05 MST 2024

Total time taken to generate the page: 0.01236 seconds