[2.0.42] Massive freezes every 10-20 seconds

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.
helfull
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jul 21, 2016 1:14 pm
Contact:

[2.0.42] Massive freezes every 10-20 seconds

Post by helfull »

Hi

i had this exact same problem already once with an older version of the game

see here: viewtopic.php?t=119541

It got fixed in 2.0.14

Now i upgraded my system because i had overall performance problems, because of weak hardware.

I can see the behaviour in the menu screen with the background action. Also immediately visible after starting a new game with just standing around.

I did not include a save file, as only starting a new game without doing anything is showing this behaviour already.

I am not using any mods, no space age, no elevated rails, no quality, nothing, just pure factorio 2.0.42

System specs:

AMD Ryzen 7 7800X3D
DDR 5 32 GB 6000mhz
RTX 3080

Tried on a SSD and on an NVMe M2

Here are two screenshots right after the freeze happened
03-29-2025, 17-49-49.png
03-29-2025, 17-49-49.png (8.67 MiB) Viewed 364 times
03-29-2025, 17-50-15.png
03-29-2025, 17-50-15.png (8.98 MiB) Viewed 364 times
here is one where i have normal performance in between
03-29-2025, 17-50-51.png
03-29-2025, 17-50-51.png (8.91 MiB) Viewed 364 times
Attachments
factorio-previous.log
(6.28 KiB) Downloaded 14 times
factorio-current.log
(6.28 KiB) Downloaded 18 times
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2452
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Jap2.0 »

Something happening in the render "pre-prepare" stage. I don't think I've seen that before.
There are 10 types of people: those who get this joke and those who don't.
Loewchen
Global Moderator
Global Moderator
Posts: 9914
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Loewchen »

A lot of stuff seems off, the update rate is low while the update time is consistently less than 1ms. No idea how to make sense of those values, I'd check temperatures.
helfull
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jul 21, 2016 1:14 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by helfull »

The Temps are fine, cpu around 65-75°C, gpu around 50-60°C, i have no problems in any other game. So i doubt it is a direct problem with my system (hardware wise)
03-30-2025, 00-43-20.png
03-30-2025, 00-43-20.png (13.79 KiB) Viewed 265 times
Loewchen
Global Moderator
Global Moderator
Posts: 9914
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Loewchen »

Well, it shows low UPS while update times are minimal which does not make any sense unless you changed the game speed. It show low FPS while the graphics card is sleeping more than 50% of the time which does not make sense, on top of that a very high pre-prepare time which is unprecedented. And all of this while running a brand new save without mods on very common capable hardware and windows.

Try if the issue persists on a default .zip install.
User avatar
pioruns
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by pioruns »

Also run some common benchmarks or other games, to verify if your hardware results matches expected performance.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2452
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Jap2.0 »

Loewchen wrote: Sat Mar 29, 2025 9:53 pm A lot of stuff seems off, the update rate is low while the update time is consistently less than 1ms. No idea how to make sense of those values, I'd check temperatures.
I think it's just skewed by one or a couple really slow frames
There are 10 types of people: those who get this joke and those who don't.
User avatar
pioruns
Long Handed Inserter
Long Handed Inserter
Posts: 71
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by pioruns »

Jap2.0 wrote: Sun Mar 30, 2025 1:48 am
Loewchen wrote: Sat Mar 29, 2025 9:53 pm A lot of stuff seems off, the update rate is low while the update time is consistently less than 1ms. No idea how to make sense of those values, I'd check temperatures.
I think it's just skewed by one or a couple really slow frames
Ryzen 7 7800X3D with RTX 3080 shouldn't have any slow frames. I have much slower CPU Ryzen 5800X and my FPS UPS is always 60/60. OP needs to investigate his Factorio and Windows installations and verify hardware performance so find out what is wrong.
Loewchen
Global Moderator
Global Moderator
Posts: 9914
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Loewchen »

Jap2.0 wrote: Sun Mar 30, 2025 1:48 am I think it's just skewed by one or a couple really slow frames
I am just looking at UPS and update times here, rendering has no bearing on them. The slowest update of the last 10s in the first two screenshots is below 1ms, so just counting those worst case updates this could easily run 1000/s and yet fails to do 60.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2452
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Jap2.0 »

pioruns wrote: Sun Mar 30, 2025 2:11 am
Jap2.0 wrote: Sun Mar 30, 2025 1:48 am
Loewchen wrote: Sat Mar 29, 2025 9:53 pm A lot of stuff seems off, the update rate is low while the update time is consistently less than 1ms. No idea how to make sense of those values, I'd check temperatures.
I think it's just skewed by one or a couple really slow frames
Ryzen 7 7800X3D with RTX 3080 shouldn't have any slow frames. I have much slower CPU Ryzen 5800X and my FPS UPS is always 60/60. OP needs to investigate his Factorio and Windows installations and verify hardware performance so find out what is wrong.
Well yes, we agree that something is wrong.
Loewchen wrote: Sun Mar 30, 2025 3:07 am
Jap2.0 wrote: Sun Mar 30, 2025 1:48 am I think it's just skewed by one or a couple really slow frames
I am just looking at UPS and update times here, rendering has no bearing on them. The slowest update of the last 10s in the first two screenshots is below 1ms, so just counting those worst case updates this could easily run 1000/s and yet fails to do 60.
Hmm, I know that render is asynchronous to update but is all of the render preparation stuff? I thought not but I'm second-guessing myself now. If it has to wait for those render preparation steps to start the next update that would explain the UPS discrepancy.
There are 10 types of people: those who get this joke and those who don't.
Loewchen
Global Moderator
Global Moderator
Posts: 9914
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by Loewchen »

Jap2.0 wrote: Sun Mar 30, 2025 3:11 am Hmm, I know that render is asynchronous to update but is all of the render preparation stuff? If it has to wait for those to start the next update that would explain the UPS discrepancy though.
It is done on the cpu but from my understanding fully parallel to the next update, so it impacts FPS but not UPS.
helfull
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Jul 21, 2016 1:14 pm
Contact:

Re: [2.0.42] Massive freezes every 10-20 seconds

Post by helfull »

Thanks for the replies so far.

I am able to play others games without freezes.

- played RoR2 without interruptions.
- ran 3dmark timespy extreme without stutters or freezes
- ran dyson sphere program on a late game save without freezes, only lower fps and ups, but had that before as well

So i am pretty certain that it is not faulty hardware at this point, i am running the 3dmark stress test right now and will run the memtest afterwards. But i doubt it will show faulty hardware or problems.

I will also try to run factorio from a fresh zip download and see how it compares to the steam version of it.


3DMark Steel Nomad Stress Test
03-30-2025, 11-04-15.png
03-30-2025, 11-04-15.png (196.91 KiB) Viewed 130 times
Fresh downloaded ZIP factorio on the NVMe
03-30-2025, 11-11-41.png
03-30-2025, 11-11-41.png (8.85 MiB) Viewed 123 times
factorio-current.log
(6.44 KiB) Downloaded 13 times

Fresh downloaded ZIP factorio on the SSD
03-30-2025, 11-14-27.png
03-30-2025, 11-14-27.png (11.27 MiB) Viewed 123 times
factorio-current.log
(6.43 KiB) Downloaded 14 times
Ran the Memtest64+ And it did pass
Post Reply

Return to “Technical Help”