"Lag" in Factorio

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Maddie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri Jul 18, 2014 4:39 pm
Contact:

"Lag" in Factorio

Post by Maddie »

I have been playing Factorio for quite a while now, and only yesterday did this problem occur.
The game kind of pauses for a second, every five seconds or so (my fully upgraded shotgun can fire five shots before it pauses), even though
the game is running at 50-60 fps.
I have tried uninstalling the game and instaling it again, but it does not fix the problem.
The pauses does only happen on that savefile, if I start a new game, the pauses does not happen.
I am running Factorio 10,6 64bit on Windows.

Does anyone know how to fix this problem?


Thanks.

SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: "Lag" in Factorio

Post by SilverWarior »

If the lag is only occuring on specific savegame it would be verry helpfull to developers if you could upload your save game to dropbox or some other file sharing site so they can download it and test it.

Based on your description this migt be caused by bitrs expansion algorithm, pathfinding or maybe even chunk generation.
The only way to know for certain is for developers to open your savegame and test it while debugging.

Maddie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri Jul 18, 2014 4:39 pm
Contact:

Re: "Lag" in Factorio

Post by Maddie »

The lag gets worse the closer I get to any biters, so you might be right.

I have uploaded the save to dropbox:
https://www.dropbox.com/s/vb46vu4w7k3zz ... thmods.zip

The mods I have installed are:
bobassembly
bobores
bobplates
bobpower
Dytech Core
Dytech Energy
Dytech Inserters
Dytech Logistic
Dytech Metallurgy
Dytech Mining
Dytech Tools
Dytech Transportation
Dytech Warfare
F-Mod
Landfill
Liquid Station Mod
Magnet
NoMoreBots
SmartSplitters
Treefarm-Mod

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: "Lag" in Factorio

Post by cube »

Hi, please post a screenshot with debug info enabled (press F5). You need the game to run for at least 10-20 seconds before making that screenshot to measure all timings correctly.

Maddie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri Jul 18, 2014 4:39 pm
Contact:

Re: "Lag" in Factorio

Post by Maddie »

Here is a screenshot with debug info enabled:

Image


Maddie

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: "Lag" in Factorio

Post by bobingabout »

Bobores and DyTech Metalurgy will cause lag on chunk generation due to all the extra noise layers for generting the ores (Fortunately DyTech shares quite a few with BobOres, so having both doesn't increase the issue by much)
As for general gameplay lag, DyTech Warfare likely causes a bit due to excessive memory usage due to it loading lots of large sprites for the new biters.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Maddie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Fri Jul 18, 2014 4:39 pm
Contact:

Re: "Lag" in Factorio

Post by Maddie »

I have tried removing Dytech Warfare, but it made no difference to the lag.


Maddie

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: "Lag" in Factorio

Post by cube »

Sorry for the large response time. The lags are definitely caused by mods, but I can't see by which one exactly (due to what looks like a bug in the timing measurements).
Anyway DyTech-core takes about 30% of your update time, I'd try removing it first to see what happens.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: "Lag" in Factorio

Post by Rseding91 »

It's lagging due to the item collectors from DyTech. Every 60 ticks they're looking for all "item-on-ground"s in their area (100x100 centered on the chest) as well as checking if each one is on a belt or not.

You've got two of them right next to a zillion belts loaded up with items so it's checking all of them every 60 ticks if it can pick them up which is a very costly check.


Remove the DyTech item collectors you have setup and the lag will stop.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Technical Help”