Lag Making Game Unplayable

Started by BlueTressym, September 29, 2017, 01:22:09 PM

Previous topic - Next topic

BlueTressym

Hi.  My current game is lagging so badly that it's unplayable; it just stutters and freezes.  :(

I have nine colonists and about fifteen animals.  I have tried using Runtime GC to carry out various cleanups but it is still happening.  I thought at first it might be rain causing the problem but it's still freezing even after the rain ceased.  The other possibility I wondered about was Fertile Planet, whether the extra vegetation was causing the trouble but I really don't know.  If that last was the case, I'd expect anyone using the Increased forest Density mods to grind to a halt very soon after starting. 

Does anyone have any ideas?  Are there any mods known to cause lag issues of this severity? 

I have about 200 mods active; the game started OK and was running fine until the past few hours' play.  It isn't the first time I've had lag issues but this is the worst. 

I am using Windows 10 Pro v. 1703
Processor is AMD A8-6500 APU with Radeon HD Graphics 3.50 GHz
Installed RAM 8.00 GB
Graphics Card is NVIDIA GeForce GTX 1050 Ti

XeoNovaDan

#1
This section is for issues with the vanilla game; not modded.

It looks like it's simply the fact your CPU can't handle all of the extra instructions introduced by mods. AMD's bulldozer architecture wasn't exactly renowned for single-core performance, and that extra mod-induced load doesn't help.

Bozobub

Exactly.  EVERY mod that isn't cosmetic-only or basic QoL adds more code to parse per tick, that simple.
Thanks, belgord!

Calahan

#3
I've moved this to GD from bugs because (as XeoNovaDan says) this issue is not a vanilla bug problem. It might be a mod bug problem but you will need to post your log file to confirm (or not) that. (I'm not exactly sure this belongs in GD either, but it seems the best of several ill fitting homes)


But it's fair more likely to just be a normal lag issue that is associated with the game, and exacerbated significantly due to the number of mods you are using. There is no magic cure for lag and a lot of the choices players make have a consequential effect on it. re: mods, map size, base size, etc etc.

Edit - It might be useful for you to read through this helpful lag/performance guide (on Reddit) written by Mehni (which I hope he doesn't mind me linking to) https://www.reddit.com/r/RimWorld/wiki/performance

BlueTressym

#4
I apologise; I intended to post it in Mods Bugs in the first place.

Since I know very little about all this stuff, I thought as I have mods, I should put it there. 


tonsrd

200-250 mods wow that was a read

make love not war = removes social interatcions between ur colonists ( no social fights / marriges / break-ups )

pychology needs to be removed from ur list way 2laggy / buggy with other mods. ( with or without ML-NW )

some of ur mods double up on what can be done might wanna unclick some...


kubolek01

I use old Core i3 1st gen with 40 mods, problems come when I grow to 15 people. Better Core=FPS! (1 core is used to process)
Eat lead, walking pile of silver! (greedy Player)
I...I can't do it. Leave it alive, please!(inner soul)
It lives 200 years to end up as a jacket?!(realists mind)
If I would go to vacation in off-Earth, even fictional place, I'd choose Nibel.

Bolgfred

My little asus laptop which has a CPU around 1,3ghz and no graphic card at all, and runs rimworld quite smootly. A little bit slower than a real computer, but it works for 5-10 colonists even after 10 years whilst a 30 tribals attack.

I mostly play on small desert maps as I am used to avoid these(in DF trees cause lags). planet gen goes for 30%, just to be sure nothing unneccessary gets load.
"The earth has only been lent to us,
but no one has said anything about returning."
-J.R. Van Devil

BlueTressym

So, started a new save and I'm getting the same problems.  Save link below, as I've tried Runtime GC and various suggestions and this has happened again.  I've done a clean reinstall, I've shuffled mods.  I only have six colonists and one of them (Princess, see save) is 'stuck'. 

Last night I had no lag problems; I loaded today and ridiculous lag; seems to have triggered when it started raining.  I know rain can cause lag, but the lag is just ridiculous and it's occurring even when zoomed in.  The lag is also persisting even after the rain stops.  Right now I cannot progress because it's stuttering so badly. 

Save

Output Log

BlueTressym

Quote from: tonsrd on October 02, 2017, 12:45:01 AM
some of ur mods double up on what can be done might wanna unclick some...

Which ones, please?  If I've got redundancy, then yes, removing them would be a good idea, but I'm not sure which ones you're referring to. 

CannibarRechter

The truth is, about 75% of your mods should probably be removed, just on volume alone. Every time you add a mod, you're taking a risk, _particularly_ if your mod as an Assembly. Many modders only barely know what they are doing, and things break. But the most likely causes of performance degradation are going to be mods that change C# (i.e., has an Assembly).

I _highly_ recommend you reconsider your mod set, and winnow it down to what is actually important to you. If you want to know which ones have assemblies, open a powershell prompt, go to your Mods directory, and type this:

> ls -recurse *.dll

Reconsider every mod that has a .dll file. Remove the mod if it's not important.

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

tonsrd

Quote from: BlueTressym on October 08, 2017, 06:56:15 AM
Quote from: tonsrd on October 02, 2017, 12:45:01 AM
some of ur mods double up on what can be done might wanna unclick some...

Which ones, please?  If I've got redundancy, then yes, removing them would be a good idea, but I'm not sure which ones you're referring to.

if u don't know what a mod does uninstall

ive got my game folder and a download folder for rimworld mods with rw.versions, un-install from rw mod folder and move to download folder so u can install at a later date

also u c an download the latest versions and leave them there until u start a new colony so it doesn't mess up saves.

I currently have 60-90 mods. uve got 200-300

BlueTressym

I've had a poke around and discovered that several of the mods are using old versions of either HugsLibChecker or Harmony.  I'm now going through and trying to sort it out, so i'll see if that helps. 

CannibarRechter

If you're out of sink on harmony, most common effect is it simply doesn't work. A performance killer is bad coding; I can't think of something in harmony that would lead to bad performance; I can think of any variety of things that would make the game malfunction, but not just go mysteriously slow. I presume you have checked your output_log.txt file at this point, and it's not spamming errors? I can make my game slow to a crawl while debugging by simply causing a log to occur with every draw().
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects