Extreme lag on a high end PC [performance]

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

Previous topic - Next topic

nife552

For some reason whenever I get to the point of about 10-15 colonists, my game drops to like 1 fps, and I have no idea why. My computer can handle any game out there with ultra graphics and not even break a sweat, but this game lags like crazy. Its not really a steady increase in lag the more colonists I get, its just once I reach a certain point on any world, it starts lagging like crazy almost instantly.

I have a 4 gig nvidia gtx 680, an intel 4770k, and 12 gigs of 1600 Mhz ram.

What could be going on? Do I need to allocate more ram or something? I've already tried setting priority to high in task manager.

ItchyFlea

The game hardly has any optimisation at this stage in development, and there are a few in-game bugs that may only start becoming apparent at the same time you reach that number of colonists.
The next version, alpha 2, should have a significant performance increase, as noted in the public changelog, here: https://docs.google.com/document/d/1_rCdGYp3nbSUXFG4Ky96RZW1cJGt9g_6ANZZPOHyNsg/pub (Specifically the Jan 29 entry.)

One of the things I've personally noticed that causes an immediate huge loss in performance is having multiple debris stockpiles with differing priority levels. The only solution to that particular bug is to either set both to the same priority level, or to remove all but one of them.

If you can, next time the game suddenly gives you a massive performance drop, save the game, zip up that save and the autosaves, and post them in the Bugs section, as there could be an as yet unknown bug that is causing the sudden significant performance drop. In Windows the saves are located here: Users\[Current user name]\AppData\LocalLow\Ludeon Studios\RimWorld\

I hope this helps.  :)
All my mods are licensed under a Attribution-NonCommercial-ShareAlike 4.0 International
Ask for permission before using in ModPacks

Click here for a list of the mods I've created

colonistPally

I'm having this problem also. Not only is it running at 2 FPS but the game is literally also only progressing at 2 fps.

We need a *central* area to post this defect, there are posts across 3 forums about it all saying the same thing. Which forum should we all post in, is it a defect or do we need support or is it a general discussion topic? :(

I'm going to upload my game save that I'm having the problem with in Support, since I need support to fix it? But it's a defect also? :( Waaah :(

Tynan

Most likely you hit a bugged state. Normal operation would cause a smooth performance falloff; 1fps means something is wrong. Some colonist is stuck or something, recalculating something each frame.

A lot has changed in terms of bugs and perf so hopefully this will be fixed for next build.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

colonistPally

Quote from: Tynan on February 15, 2014, 11:33:25 PM
Most likely you hit a bugged state. Normal operation would cause a smooth performance falloff; 1fps means something is wrong. Some colonist is stuck or something, recalculating something each frame.

A lot has changed in terms of bugs and perf so hopefully this will be fixed for next build.

Was trying to get on the freeway yesterday and this guy in his Jag was on his cellphone traveling at 1 fps. Sort of reminds me of the same situation we're talking about. He'd pause, everyone in front of him would go, but he'd still be there. Jag + driver on phone just some how made it that much more irritating.

Now I have the sudden urge to randomly scream, "RECALCULATING" like I'm a maniacal GPS device.

So at this point I'm going to chalk it up to one of my colonists looking down at his cell as he's walking around instead of paying attention.

Can't wait for the fix. :) I'll hang off on playing until the next patch comes out.

nife552

I think I may have figured out the general problem. I did some screwing around with it, and I'm fairly certain it involves hauling. Specifically hauling dead bodies. There seems to be a major glitch with dead bodies. Some of them haul just fine, others will sit there for weeks, and no one picks them up, and when I try to prioritize it, it's either not an option, or they pick up the body and immediately drop it. It seems that whenever I start to get a few of these glitches bodies laying around is when the lag starts.

Nasikabatrachus

Quote from: nife552 on February 16, 2014, 01:31:16 PM
I think I may have figured out the general problem. I did some screwing around with it, and I'm fairly certain it involves hauling. Specifically hauling dead bodies. There seems to be a major glitch with dead bodies. Some of them haul just fine, others will sit there for weeks, and no one picks them up, and when I try to prioritize it, it's either not an option, or they pick up the body and immediately drop it. It seems that whenever I start to get a few of these glitches bodies laying around is when the lag starts.

Does the bug involve corpses in prisons? I've noticed the unhaulable-corpses-in-prisons bug, but haven't noticed any lag from that.

I have come across a bug with dumping zones that causes lag. It seems to only occur if a dumping zone has its priority set to "preferred" or higher priority, although I haven't checked to see if the lag is caused by differences in priority between dumping zones.

Semmy

Quote from: nife552 on February 16, 2014, 01:31:16 PM
I think I may have figured out the general problem. I did some screwing around with it, and I'm fairly certain it involves hauling. Specifically hauling dead bodies. There seems to be a major glitch with dead bodies. Some of them haul just fine, others will sit there for weeks, and no one picks them up, and when I try to prioritize it, it's either not an option, or they pick up the body and immediately drop it. It seems that whenever I start to get a few of these glitches bodies laying around is when the lag starts.

Please provide us with a savegame.
So we can look if this is a new bug or something linked to another bug.

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

nife552

QuotePlease provide us with a savegame.
So we can look if this is a new bug or something linked to another bug.
ok well ill have to wait till i play on windows again. I'm booted into osx right now, and it doesn't seem to have the same problem.

nife552

Quote from: Semmy on February 16, 2014, 02:52:06 PM


Please provide us with a savegame.
So we can look if this is a new bug or something linked to another bug.

moved to bugs.
How should I attach the save games if the maximum upload size is 300 KB per file?

ItchyFlea

Zip it up with something like 7zip. If the file is still too large after being zipped (which sometimes happens) you can either split the archive into 300kb chunks, or upload it somewhere like mediafire and post the link here.  :)
All my mods are licensed under a Attribution-NonCommercial-ShareAlike 4.0 International
Ask for permission before using in ModPacks

Click here for a list of the mods I've created

nife552

#11
Quote from: ItchyFlea on February 17, 2014, 10:01:06 PM
Zip it up with something like 7zip. If the file is still too large after being zipped (which sometimes happens) you can either split the archive into 300kb chunks, or upload it somewhere like mediafire and post the link here.  :)

Ok here you go. Autosave 1, everything is fine, 2 minutes later the Elysium save is giving me 1 fps.

Oh yeah, and these were on OSX, so it turns out it wasn't just a windows problem, it just took much longer to happen in Mavericks.

http://www.mediafire.com/download/cqpkey1zvpbov40/Autosave-1.rim.zip
http://www.mediafire.com/download/7em8klv11k53cpu/Elysium.rim.zip

ItchyFlea

#12
Having a look now.

There is definitely something strange going on there. I've seen this before personally in my long-term worlds but never worried about it, mainly because the performance issues (on my machine) weren't as severe as they are on yours.

Unfortunately I am unable to pinpoint the cause of this. Semmy, can you have a look and see if you can pinpoint the problem?
All my mods are licensed under a Attribution-NonCommercial-ShareAlike 4.0 International
Ask for permission before using in ModPacks

Click here for a list of the mods I've created

colonistPally

Please please. My Colony 9 is crippled down to 2 fps (in game speed is actually 2 fps) and it's breaking my heart because I was having such an absolute blast playing this. Decked out my PC hard core and like within 5 seconds it was down to 2 fps again :(

Semmy

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.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke