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 #488669 is a reply to message #488294] Wed, 16 July 2014 17:47 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
@StealthEye - Don't know why after deleting said files it wouldn't stop stuttering, it's also on an SSD which should have minimal access/write time.

Does scripts 3.4 write log files? I don't recall seeing any and I had no stuttering while testing with that version. Doesn't really make sense that accessing/writing to a log file would cause such an issue though. When I tested on a HDD, the stuttering got worse(longer), and the log files would of still been on the SSD since they're in documents folder on the SSD. Leads me to believe it doesn't have to do with accessing the log files itself and more to do with loading of data from the install directory.

@Ethenal Yes I have used it before, I didn't even think about that program until you mentioned it, I will give that a go.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488670 is a reply to message #488294] Wed, 16 July 2014 18:32 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)

Bad file writing can be incredibly slow if it uses unbuffered synchronous I/O and does not chunk the data right. I used applications before that took seconds to write only a few 100 lines to a log file (without any processing other than the formatting). Of course, this could be implemented much more efficiently, but that probably goes for whatever is causing the stutters too. Wink Stutters are at several 10ms resolution, bad disk access patterns may not be too far from that. I'm just saying it shouldn't be excluded completely, I'm not saying it is most likely the cause.

I think 3.4 writes the same log file. And if you say it happens more when the install dir is on the HDD and the log file is still on the SSD, then I guess it's not that.

Procmon sounds like a good idea.

I do wonder though, does it display ShatterPlanes1 every time? That's from ShatterSystem afaik, and afaik that's only used for window shattering; which I would not expect to be something that happens all the time?


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: FPS Drop/Game Stutter at beginning of new levels [message #488673 is a reply to message #488670] Wed, 16 July 2014 19:03 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
No it does not. It's just one of the errors I see pop up frequently when I get a stutter, it pops up other times when a stutter does not happen though, same with the other errors. It may be unrelated because there are often other errors that come with the ShatterPlanes1 error usually. Those errors are just the most common I see occur when a stutter occurs. The null and blank '' errors I get are only when a stutter occurs, I have yet to see them get logged without a stutter happening.
Re: FPS Drop/Game Stutter at beginning of new levels [message #488677 is a reply to message #488294] Thu, 17 July 2014 01:23 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I think null is what it tries to load as a fallback model when it fails to load a real model, but that only exists in LE from what I recall. It could be that, upon failing to load a real model it compounds the problem by trying to load the null model, which also doesn't exist.

http://steamsignature.com/card/1/76561197975867233.png
Re: FPS Drop/Game Stutter at beginning of new levels [message #488782 is a reply to message #488294] Fri, 25 July 2014 15:50 Go to previous messageGo to next message
XPiRX is currently offline  XPiRX
Messages: 16
Registered: December 2006
Karma: 0
Recruit
Figured out a solution to the problem. Delete the \Documents\Renegade\Client folder and re-install scripts 4. Deleting the client folder without re-installing didn't fix the issue, neither does just re-installing scripts. Doing both however does seem to fix the stuttering for a while until it comes back, then I just repeat those steps and its gone.

This method has worked twice now, hopefully it keeps working.

[Updated on: Fri, 25 July 2014 15:51]

Report message to a moderator

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

Perhaps try backing up your Client folder after a clean install. Then, when you get the issue, backup the bad Client folder too. Then put back the "clean" folder, and see if the problem disappears. Put back the "bad" folder and see if the problem reappears. If that's the case, try mixing the folders to find the file(s) that are really causing the issue.

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: Fri Nov 08 15:59:03 MST 2024

Total time taken to generate the page: 0.00841 seconds