[0.17.50] Game Plays then Freezes Repeat

This subforum contains all the issues which we already resolved.
ltnickmage
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Jan 15, 2015 10:18 pm
Contact:

[0.17.50] Game Plays then Freezes Repeat

Post by ltnickmage »

This issue seemed to only appear when I updated to 0.17.50. It now stops for a number of minutes then moves forward a few ticks then repeats. I have attached the mods I use and the base.

The latest construction was adding more fluid production. I am thinking that the problem is either in robot pathing or fluid handling.

Here is the link to the files. Let me know if I need to fix the link or share another way.
ltnickmage
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Jan 15, 2015 10:18 pm
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by ltnickmage »

Here a few screen shots before and after freezes. CPU and memory did not max at any time.
Attachments
20190621043119_1.jpg
20190621043119_1.jpg (1.05 MiB) Viewed 3852 times
20190621043020_2.jpg
20190621043020_2.jpg (1.06 MiB) Viewed 3852 times
20190621043020_1.jpg
20190621043020_1.jpg (1.06 MiB) Viewed 3852 times
20190621042952_1.jpg
20190621042952_1.jpg (1.06 MiB) Viewed 3852 times
20190621042921_1.jpg
20190621042921_1.jpg (1.06 MiB) Viewed 3852 times
20190621042920_1.jpg
20190621042920_1.jpg (1.05 MiB) Viewed 3852 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14338
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Rseding91 »

This should be fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Jon8RFC »

I'm curious to know what the issue and fix was for this one.

Also, since the most mods I've run is about two, I noticed that mod loading is slow and hardly used the cpu grunt available. I set it to launch using just one core and it was very slightly slower, so I'm guessing that mods don't load in parallel? Is it possible to work some magic on that, similarly to sprite loading?

previous.log is using /affinity 1
current.log has it removed
1tb 860 EVO
Attachments
factorio-previous.log
(44.28 KiB) Downloaded 155 times
factorio-current.log
(44.28 KiB) Downloaded 158 times
Image
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2379
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Jap2.0 »

Jon8RFC wrote: Sun Jun 23, 2019 4:07 am Also, since the most mods I've run is about two, I noticed that mod loading is slow and hardly used the cpu grunt available. I set it to launch using just one core and it was very slightly slower, so I'm guessing that mods don't load in parallel? Is it possible to work some magic on that, similarly to sprite loading?
I'm fairly certain no, because mods can change/overwrite stuff done by other mods, so having them done sequentially in a set order is pretty much the only way to do it for both compatibility (dependencies load first) and determinism.

But then again, I don't develop games.
(at least not good ones)
There are 10 types of people: those who get this joke and those who don't.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14338
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Rseding91 »

Jap2.0 wrote: Sun Jun 23, 2019 5:57 am
Jon8RFC wrote: Sun Jun 23, 2019 4:07 am Also, since the most mods I've run is about two, I noticed that mod loading is slow and hardly used the cpu grunt available. I set it to launch using just one core and it was very slightly slower, so I'm guessing that mods don't load in parallel? Is it possible to work some magic on that, similarly to sprite loading?
I'm fairly certain no, because mods can change/overwrite stuff done by other mods, so having them done sequentially in a set order is pretty much the only way to do it for both compatibility (dependencies load first) and determinism.

But then again, I don't develop games.
(at least not good ones)
Correct.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14338
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Rseding91 »

Jon8RFC wrote: Sun Jun 23, 2019 4:07 am I'm curious to know what the issue and fix was for this one.
The issue was the crazy speeds of the robots combined with the amount of items they where asked to move. A few thousand robots would all at once queue to bring items from the south ore mines into the same storage chest. Clearly they can't fit more than 1 chests worth of ore into 1 chest. However, it would queue up > 2 million ore for one chest then 99% of the robots would arrive, find it didn't fit, and scan directly around the chest for other chests to store into.

The fix was making them pick a different chest once a given chest had orders to deliver > the chest could hold.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [0.17.50] Game Plays then Freezes Repeat

Post by Jon8RFC »

Thanks for the information for all of my questions.

For the bug, I find it really interesting especially when it's edge-cases of pushing the game in a weird or unexpected manner, like this or the volume slider disk writing. Thanks for sharing!
Image
Post Reply

Return to “Resolved Problems and Bugs”