Jump to content

1.1.x Stutter


Recommended Posts

Hi, im posting this in the modded install section because I have a modded install, however this DOES still happen in stock.

Game stutter.  It plagued alot of people for years and I assumed, as I think did others, that 1.1 and 64bit would stop it.  But it hasnt.  I still get stutter every few seconds in the VAB and in flight.  My question is, if this is mod related, is there a way to find out which one(s) without installing each one individually?  And also what could a mod possibly be doing that would cause stutter?  My mod list is in the spoiler and my specs are:

 

Spoiler

ABookCase Orbital Reference System (ABCORS 0.2.0.0)
AGroupOnStage (AGroupOnStage 3.0.1)
All Y'All (AllYAll 0.3)
AmpYear (AmpYearPowerManager 1:V1.3.0.0)
Animated Decouplers (AnimatedDecouplers-x86 v1.3.1)
ASET Props (ASETProps 1.3)
B9 (Auto Detect)
BetterBurnTime (BetterBurnTime 1.4.2)
BetterCrewAssignment (BetterCrewAssignment 1.2.1)
Buffalo (Buffalo v0.2.12)
Camera Focus Changer (CameraFocusChanger v0.9.0.0)
Cetera's Suit Mod (Ceteras-Suit-Pack 0.3)
Color Coded Canisters (ColorCodedCans 1.4.5)
Community Resource Pack (CommunityResourcePack 0.5.1.1)
DeepFreeze Continued... (DeepFreeze V0.22.1.0)
DMagic Orbital Science (DMagicOrbitalScience 1.2.4)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.3)
EVAManager (EVAManager 9)
Ferram AeroSpace Research (Auto Detect)
Final Frontier (FinalFrontier 1.0.5-2223)
Firespitter Core (FirespitterCore v7.2.3)
Fuel Tanks Plus (FuelTanksPlus 1.8.3)
GPOSpeedFuelPump (GPOSpeedFuelPump v1.8.1)
IndicatorLights (IndicatorLights 0.5)
Interstellar Fuel Switch Core (InterstellarFuelSwitch-Core 1.29)
ION RCS (IONRCS V0.1.0.0)
Karibou Rover (KaribouExpeditionRover 0.2.2.1)
Kerbal Alarm Clock (KerbalAlarmClock v3.6.1.0)
Kerbal Attachment System (KAS 0.5.7)
Kerbal Inventory System (KIS 1.2.8)
Kerbal Joint Reinforcement (KerbalJointReinforcement v3.1.7)
Kerbodyne Plus (KerbodynePlus 1.0752)
Kopernicus Planetary System Modifier (Kopernicus 2:release-1-0-3)
KSP AVC (MiniAVC 1.0.3.0)
KW Rocketry Redux (KWRocketryRedux 3.0.3)
KW Rocketry Redux - Graduated Power Response Configs (KWRocketryRedux-GraduatedPwr 3.0.3)
Lithobrake Exploration Technologies (LithobrakeExplorationTechnologies 0.3.5)
Mark One Laboratory Extensions (MarkOneLaboratoryExtensions v0.6.0)
MechJeb 2 (MechJeb2 2.5.7.0)
MechJeb and Engineer for all! (MechJebForAll 1.2.0.0)
MechJeb Embedded Universal (It's Free!) (MechJebEmbeddedUniversalFree 1.3)
Modular Rocket Systems (ModularRocketSystem 1.12.6)
Module Manager (ModuleManager 2.6.24)
NavBallsToYou (NavBallsToYou 0.1)
Plane Mode (PlaneMode 1.3.1)
RasterPropMonitor (RasterPropMonitor 1:v0.26.0)
RasterPropMonitor Core (RasterPropMonitor-Core 1:v0.26.0)
Real Plume (RealPlume 2:v10.5.1)
Real Plume - Stock Configs (RealPlume-StockConfigs v0.10.7)
RealChute Parachute Systems (RealChute v1.4.1.1)
REPOSoftTech-Agencies (REPOSoftTech-Agencies V1.3.0.0)
Routine Mission Manager (RoutineMissionManager 017)
SCANsat (SCANsat v16.1)
Shuttle Lifting Body (ShuttleLiftingBodyCormorantAeronology 1.1.2)
SmartStage (SmartStage v2.9.4)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.6.15.0)
Sounding Rockets! (SoundingRockets 0.4.2.1)
SpaceY Expanded (SpaceY-Expanded 1.1.9)
SpaceY Heavy Lifters (SpaceY-Lifters 1.12.4)
Sum Dum Heavy Industries - Service Module System (SDHI-ServiceModuleSystem v3.1.1)
Sum Dum Heavy Industries - Shared Assets (SDHI-SharedAssets 1.0)
TextureReplacer (TextureReplacer v2.4.13)
ToadicusTools (ToadicusTools 20)
Trajectories (Trajectories v1.6.1)
TriggerAu Flags (TriggerAu-Flags v2.7.4.0)
TweakScale - Rescale Everything! (TweakScale v2.2.9)
USI Exploration Pack (USI-EXP 0.5.2.1)
USI Freight Transport Technologies (USI-FTT 0.5.2.1)
USI Life Support (USI-LS 0.4.2.1)
USI Survival Pack (USI-SRV 0.5.2.1)
USI Tools (USITools 0.7.2.1)
USI Kolonization (Auto Detected)
WildBlueTools (WildBlueTools v1.1.4)
 

i7 4770k

GTX 780Ti

32GB DDR3 2400MHz PC3 19200 RAM

Game is run from an SSD

The processor and graphics card are due an upgrade soon but still, I dont think hardware will be an issue here.  Any suggestions on things I can do to stop this, or is the game still broken?

Link to comment
Share on other sites

I certainly don't disagree that this is an issue, and I too feel it has become worse with 1.1... but there are more than a few threads about this already. The 2 most active ones will likely contain answers to your question. There's even a mod for monitoring this issue.

That said the more noise about this the better IMO, the squeaky wheel gets the oil and all that.

 

1 hour ago, funkcanna said:

I assumed, as I think did others, that 1.1 and 64bit would stop it.

I didn't. Here's the most recent official comment I am aware of.

1 hour ago, funkcanna said:

My question is, if this is mod related

It is, and it isn't. It's both a game engine and a code issue present in stock and exacerbated by mods.

1 hour ago, funkcanna said:

is there a way to find out which one(s) without installing each one individually?

Yes, and no. Depends how comfortable you are hacking on Unity / mono. It's possible to get profiling working but not particularly straightforward.

1 hour ago, funkcanna said:

And also what could a mod possibly be doing that would cause stutter?

Any code that creates and destroys a lot of objects can cause this, there are ways to get around it but in some cases it's going to take a considerable amount of work,

Personally, I'd prefer Unity fix their mono runtime. But then there are a lot of things I wish Unity would fix. :rolleyes:

1 hour ago, funkcanna said:

Any suggestions on things I can do to stop this

Not really, I've been trying to find an answer to the same for some time.
Run fewer mods, run fewer simultaneous missions, and clean up debris. Every bit helps, though not by much.

1 hour ago, funkcanna said:

is the game still broken?

"Broken" may be too strong a word here, but in short: Yes.

Edited by steve_v
Spelling.
Link to comment
Share on other sites

As I'm new to KSP this was the first I recognized and immediately suspected the Windows 10 DPC latency issues.

But some tests with running LatencyMon in the background for some time didn't validate my suspicion.
Also DPC Latency Checker was "normal" - for Windows 10, because of bad Realtec NIC drivers there is always a hickup then and when.

Using TimerResolution I can check the ... <<< the free Win XP version still works when run as admin

I already have set the TimerResolution to 0.5 ms for gaming with TimerTool. (I launch it at logon as SYSTEM with parameters  -t 0.5 -minimized ).

 

But it's nothing from these AFAIK - now as I have read some stuff on this board, especially THIS thread.

 

btw the game utilizes about 58% CPU maximum and 80% GPU maximum.

Link to comment
Share on other sites

I've found a minimal modded install that causes stutter:

 

2 minutes ago, ioresult said:

KSP: 1.1.2 Windows 64bit
Problem: Antenna Range Relays contract pack interferes with Kopernicus

Mods installed:

    Kopernicus 1.0.4
    ContractConfigurator 1.11.5
    AntennaRangeRelays contract pack v1.3
    ModuleManager.2.6.24.dll

Reproduction steps on a clean install:
    1.Start new career game (nameed KopRelay)
    2.Build minimal safe rocket: Mk1 pod, Mk16 parachute, RT-5 Flea booster
    3.Launch
    4.Stage
        What is expected: smooth launch
        What I get: extremely stuttering frame rate
    5.Quit
    6.Zip all .log files (contract configurator, kopernicus, output_log, ksp.log)
    
Log:

logs zip file on google drive

 

Link to comment
Share on other sites

  • 3 weeks later...

I have implemented a mechanism that allows the mono heap to be forcibly extended resulting in it taking longer for the heap to fill up and the garbage collection to be triggered.  This can considerably reduce the frequency of the stutters with the tradeoff of increased memory usage and each stutter being somewhat longer.  This tradeoff may not be seen as a playability improvement by all people but I have plans to improve the padding mechanism both generally and by adding automatic tuning to fit the current heap usage pattern.  There will be heap usage patterns that do not work well with the current code, most notably, it isn't yet possible to provide enough padding for large block allocations without Unity deciding to give it back to the OS so, if the majority of the heap usage is large block allocations then it may not affect the stutter much.

I have added this code to my MemGraph mod (thread linked in my sig below).  I would appreciate it if people that try it could follow the recommended process in the OP and provide feedback as described to help me develop this further...

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...