Extreme lag on a high end PC [performance]

Started by nife552, February 15, 2014, 08:32:11 PM

Previous topic - Next topic

nife552

Quote from: Semmy on February 18, 2014, 01:08:51 AM
Colonistpaly and others. I will look into the savegames when i get home from work.

I got a good idea what might cause it since there are a 1 or 2 fps game breakers.

It doesn't appear to be any sort of graphical bottleneck, because its not a steady 1-2 fps. It goes in these weird waves of about a half second of smooth play, half second frozen, and it just keeps cycling between the two. There must be something that the game is stuck calculating over and over again, although strangely enough I don't see any spike in CPU power whenever the lag starts.

Semmy

Quote from: nife552 on February 18, 2014, 01:29:21 AM
Quote from: Semmy on February 18, 2014, 01:08:51 AM
Colonistpaly and others. I will look into the savegames when i get home from work.

I got a good idea what might cause it since there are a 1 or 2 fps game breakers.

It doesn't appear to be any sort of graphical bottleneck, because its not a steady 1-2 fps. It goes in these weird waves of about a half second of smooth play, half second frozen, and it just keeps cycling between the two. There must be something that the game is stuck calculating over and over again, although strangely enough I don't see any spike in CPU power whenever the lag starts.

I know.
I will have to look into it to give a complete answer. But it might have to do with stockpiles and pathing through them.
We have a known bug in wich stockpiles wich have slag debris allowed cause lag while pathing.
But like i said i need some dev tools and the savegame to be sure what is happening.

So savegames right before it happens or when it happens.
You can send them to my email or upload them here.
I know a 300kb size limit is here. But if you zip the savegame that should be enough room.

Thanks very much for helping us find and eliminate these hard bugs.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke

colonistPally

#17
Quote from: nife552 on February 18, 2014, 01:29:21 AM
Quote from: Semmy on February 18, 2014, 01:08:51 AM
Colonistpaly and others. I will look into the savegames when i get home from work.

I got a good idea what might cause it since there are a 1 or 2 fps game breakers.

It doesn't appear to be any sort of graphical bottleneck, because its not a steady 1-2 fps. It goes in these weird waves of about a half second of smooth play, half second frozen, and it just keeps cycling between the two. There must be something that the game is stuck calculating over and over again, although strangely enough I don't see any spike in CPU power whenever the lag starts.

I already told you guys, it's because the director AI is checking his damn phone for texts every 2 seconds while trying to follow a GPS at 80 miles per hour down a road that just had construction done with a kid screaming in the back seat. I have no idea what that's like, but I can imagine it's something like what's happening to my RimWorld map.

Oh wait, walking through slag piles? Yeah that's all my colonists do. I have the slag piles in the way as a natural barrier for the raiders... Hm that makes a lot of sense actually. I've been working on moving the slag to non-traffic areas but it..s....ha..a..r...d...whh..e.eennn....(checks texts, gps, misses turn, asks kid to stop kicking back of his chair)

I don't do any of that, but that's how I imagine it!

Semmy

The solution is to disable slag debris of that stockpile go try it d-;
Maybe even remove the stockpile at all.

If that is the bug that should fix it (-:
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke

Semmy

#19
Its already reported at Mantis

If you remove the stockpiles accepting debris it should fix it.

Colonistpally your goons/game stopped freezing. This is a performance issue that might even be fixed in the upcoming build.



nife552

For you it just has to do with your entire base being walled in.
I deleted a piece of wall and the lag was gone.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke

colonistPally

Quote from: Semmy on February 18, 2014, 01:02:47 PM
Its already reported at Mantis

If you remove the stockpiles accepting debris it should fix it.

Colonistpally your goons/game stopped freezing. This is a performance issue that might even be fixed in the upcoming build.



nife552

For you it just has to do with your entire base being walled in.
I deleted a piece of wall and the lag was gone.

!!!!!!!!!! Thank you thank you thank you thank you thank you!

nife552

Quote from: Semmy on February 18, 2014, 01:02:47 PM
Its already reported at Mantis
nife552

For you it just has to do with your entire base being walled in.
I deleted a piece of wall and the lag was gone.

Will it also work if I dig a hole through the rock to the edge of the map? Because if I leave a hole in the wall, it will cripple my defense.

Semmy

The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke

palandus

I've noticed similar issues.. but with a Dev Console active, its usually easy to pinpoint the issue. Do Non-Dev builds produce an output_log.txt file? If they did, then you could look at the bottom of that txt file and see what error is being produced.