Jump to content

Fix large craft stuttering?!


Recommended Posts

I'm using 60-700 parts ships. I had a flight and noticed something at an odd point. It stopped stuttering. The low fps wasn't that bad and it would almost make the flight doable. But the stuttering seems to add so much time to the game that it can't fly without taking hours to do 10 minutes in game. Is there a way to reduce this for large parts ships. I'm not using more than 10 gb out of 16. I had ram. But it still seems to remove stuff and do what I assume is unity garbage collection constantly. Same with in the vehicle bay. I've read stuff about it being removable in things like the VAB. What about in flight?!

 

My ship(SSTO spaceplane) stutters about every few seconds. It does this repeatedly throughout the flight and in the VAB/SPH.

 

Point is, is there a way to fix the stuttering permanently. Even for large ships. There is more room in my ram. As long as it doesn't get away and fill it.

 

There also seems to be a memory leak related to using the Aero gui window. Not the ones in the parts window but the independent one that shows all of the ships general aero stats like L-I-D and thrust to drag and whatnot.

 

BTW, I fly with absolutely minimum settings to reduce lag. It's the stutter that is the biggest performance hit from what I can tell. Without it even the low fps flight would be 2-10 times faster.

Edited by Arugela
Link to comment
Share on other sites

It sounds from your description that this might be the pesky garbage collection issue that simply hasn't ever gotten fixed. Larger craft may make it appear earlier but no game is immune, it appears after a few hours or a few launches; reverting launches or loading from saves makes it appear sooner. The only solution is to quit and restart the game. 

As always, I'm hoping the next version will fix it. At least this time they're upgrading to a new version of Unity so it's just conceivable...

Edited by Guest
Link to comment
Share on other sites

I'm hoping 1.8 fixes it too.

With my game all craft of that size produce it immediately and constantly. There is no way to reset it. I wonder if it has to so with linux vs windows? I'm on linux.

I guess I could try to remake my game. It's from an older version. I'm assuming it won't matter though. It's always been a problem with large craft for me.

Edit: Made a new save game and It didn't resolve anything. Sadly.

https://www.dropbox.com/s/fhau3lhovagb2xf/KB-52 1_7_3_2594 x108 8_3.craft?dl=0

Sometimes it will smack it's tail engine on the ground after the end of the runway. But it doesn't always. pull up before the end of the runway and hold(preferably at those shapes at the end). But this is 10+ minutes later. 46 seconds according to the in game timer.

I didn't even realize this was just a performance problem. I thought it was something that couldn't be fixed. My game has always been like this for large ships.

 

BTW, I get about 5 big stutters per in game second. In game timer is about 13-15(10-15?) second per real world second. Stutters are up to 1-2 seconds each. At worst case you get rid of 5 seconds out of 15. At best you remove 10 out of 10 seconds.

Edit: I have to note, the stutter is gone in the SPH/VAB if I'm not pushing buttons though. It still does upon trying to play with the ship part, but the bottom creatures aren't stuttering evenly anymore. In flight is still constant though. Even sitting on the runway. Although I haven't tested after the ship stops moving from launching it and bobbing up and down.

Tested: It stutters like twice when dropped on the runway, but then does not stutter after it stops on the runway(After turning on breaks.). It runs about 5 seconds per in game second.

It does start stuttering once I start up the engines though. Even if the throttle is at 0%. I wonder if that is part of the problem. I'm running 108 rapiers. But they are not doing anything and it's stuttering like before. Turning off the engines does stop the stuttering also. These are engines at 0% throttle. I even turned on only 1 engine at 0% throttle and it does the same thing.

You can test the stutter by right clicking and moving the camera around. Assuming you even need to. But it makes it more pronounced.

Does anyone else get the same problem with this craft? Is it possibly it's my hardware also? I have a phenom II 1100t. Could ram timings effect it. I'm running a little aggressivly with 1-9-9-9-24. I'm assuming it doesn't matter though.

If there is a memory leak with things like aero gui, could that be helping exaggerate garbage collection?

The lack of stutter while it's sitting there is really nice though.

Fun Note:

I have massive helicopter things on this same vessel on another version. It does not produce stutter when the parts are actively turning.... This is with 32 wing parts attached and rotating.

Prop version: https://www.dropbox.com/s/zqxckt9xit9z8vn/KB-52 1_7_3_2594 helicotper.craft?dl=0 <- Props do not cause stutter. 1 rapier engine at 0% throttle does.

I wonder if something in the engine design can be fixed.

 

Should I put this in the bug section? Not sure if it counts or not. The engine part might be.

 

Edited by Arugela
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...