Every few minutes I get a tiny freeze
Every few minutes I get a tiny freeze
Me and a friend have been playing for a month now without any problem. Never had these freezes before (minus when he'd start downloading the map) but right now, I can't play without the game freezing. UPS/FPS look fine, and then boom, all of a sudden, it drops to 1.18 and then back on. There doesn't look like there's anything precise that seems to be causing it. Walking, Idling, Using the map, Building and opening inventories seems to be all valid ways to make the game die for a second.
I tried culling entities, lowering the Vram given to the game, disabling some details, nothing worked.
I'd like to also add that bots have started acting quite weird, not being able to build anymore despite having the provider chests connected to the network.
mods folder: https://drive.google.com/file/d/116wf42 ... sp=sharing
I tried culling entities, lowering the Vram given to the game, disabling some details, nothing worked.
I'd like to also add that bots have started acting quite weird, not being able to build anymore despite having the provider chests connected to the network.
mods folder: https://drive.google.com/file/d/116wf42 ... sp=sharing
- Attachments
-
- tioioioioioio.zip
- Save file
- (36.71 MiB) Downloaded 64 times
-
- factorio-current.log
- Logs
- (44.96 KiB) Downloaded 76 times
Re: Every few minutes I get a tiny freeze
You could press F4 and enable "show-time-usage"
When the freeze happens, you can look, if a mod or something is using a lot of time.
I checked the save, but didn't notice anything yet
When the freeze happens, you can look, if a mod or something is using a lot of time.
I checked the save, but didn't notice anything yet
Re: Every few minutes I get a tiny freeze
Did you try walking around? Maybe to the north a bit? Or examining the north front?jodokus31 wrote: Thu Nov 03, 2022 10:07 pm You could press F4 and enable "show-time-usage"
When the freeze happens, you can look, if a mod or something is using a lot of time.
I checked the save, but didn't notice anything yet
I wish I could read it, but unfortunately I have no idea of how it works.
Here's a screenshot of it freezing: and here's a bunch after unfreezing:
Re: Every few minutes I get a tiny freeze
I walked to the nothern border, but didn't notice any big freeze.Calamari wrote: Thu Nov 03, 2022 11:55 pmDid you try walking around? Maybe to the north a bit? Or examining the north front?jodokus31 wrote: Thu Nov 03, 2022 10:07 pm You could press F4 and enable "show-time-usage"
When the freeze happens, you can look, if a mod or something is using a lot of time.
I checked the save, but didn't notice anything yet
I wish I could read it, but unfortunately I have no idea of how it works.
Here's a screenshot of it freezing: and here's a bunch after unfreezing:here's what my task menager even says about the game while it's frozen
From the screenshots I don't see anything problematic.
The values show, how many miliseconds per update is used. shown as current/max/average, iirc.
An update is 16.66 ms, which is 1/60 of a second or 60 UPS
I don't think it's related to mods, but maybe I miss something.
Autosave of course takes some seconds. not sure, if you mean that by chance?
Maybe it's memory related, that it's getting low?
Re: Every few minutes I get a tiny freeze
No, it is average/min/max (Over the last few seconds, maybe 10?)jodokus31 wrote: Fri Nov 04, 2022 12:33 am The values show, how many miliseconds per update is used. shown as current/max/average, iirc.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: Every few minutes I get a tiny freeze
That's what I was thinking, that dedicated memory to factorio was somehow limited at lower values, or that maybe something is causing my game to consume much more memory than it's supposed to (but if it's a memory leak related to the map then it should be affecting you as well). Are there any diagnostic tools that show RAM usage? A way to dedicate more ram? Can this even be caused by the graphic's card?
Re: Every few minutes I get a tiny freeze
I have 32 GB RAM and factorio uses 6,6 GB. (That's on Linux) That's more than yours with 3.3GB. But you are already at 66% with you system. So, maybe it starts to use some virtual RAM on disk, which has to be swapped from time to time, which then would cause the freeze. You could try close some other programs like browser, discord etc., which consume a lot of memory.Calamari wrote: Fri Nov 04, 2022 1:32 amThat's what I was thinking, that dedicated memory to factorio was somehow limited at lower values, or that maybe something is causing my game to consume much more memory than it's supposed to (but if it's a memory leak related to the map then it should be affecting you as well). Are there any diagnostic tools that show RAM usage? A way to dedicate more ram? Can this even be caused by the graphic's card?
Your log says:
0.011 System info: [CPU: AMD Ryzen 7 1700X Eight-Core Processor, 16 cores, RAM: 6555/16333 MB, page: 11382/34765 MB, virtual: 4335/134217727 MB, extended virtual: 0 MB]
Mine just says:
0.009 System info: [CPU: AMD Ryzen 5 5600X 6-Core Processor, 12 cores, RAM: 32020 MB]
Could be related, that factorio is forced to used virtual RAM, because it doesn't get enough? But, I'm surely not expert with these logs.
Ah, thanks for clarifying
Re: Every few minutes I get a tiny freeze
I tried lowering it, down to 40% with Factorio active, but nothing.jodokus31 wrote: Fri Nov 04, 2022 12:38 pmI have 32 GB RAM and factorio uses 6,6 GB. (That's on Linux) That's more than yours with 3.3GB. But you are already at 66% with you system. So, maybe it starts to use some virtual RAM on disk, which has to be swapped from time to time, which then would cause the freeze. You could try close some other programs like browser, discord etc., which consume a lot of memory.Calamari wrote: Fri Nov 04, 2022 1:32 amThat's what I was thinking, that dedicated memory to factorio was somehow limited at lower values, or that maybe something is causing my game to consume much more memory than it's supposed to (but if it's a memory leak related to the map then it should be affecting you as well). Are there any diagnostic tools that show RAM usage? A way to dedicate more ram? Can this even be caused by the graphic's card?
I gave the save file to my friend, and he also plays fine despite having a worse.
I'd also like to mention, this problem doesn't seem to be for modded factorio only.
I've tried loading just a vanilla map and it'd also freeze from time to time, not as much as modded, but it'd still be there.
Re: Every few minutes I get a tiny freeze
It sounds like a special problem for you PC.Calamari wrote: Fri Nov 04, 2022 2:52 pmI tried lowering it, down to 40% with Factorio active, but nothing.jodokus31 wrote: Fri Nov 04, 2022 12:38 pmI have 32 GB RAM and factorio uses 6,6 GB. (That's on Linux) That's more than yours with 3.3GB. But you are already at 66% with you system. So, maybe it starts to use some virtual RAM on disk, which has to be swapped from time to time, which then would cause the freeze. You could try close some other programs like browser, discord etc., which consume a lot of memory.Calamari wrote: Fri Nov 04, 2022 1:32 amThat's what I was thinking, that dedicated memory to factorio was somehow limited at lower values, or that maybe something is causing my game to consume much more memory than it's supposed to (but if it's a memory leak related to the map then it should be affecting you as well). Are there any diagnostic tools that show RAM usage? A way to dedicate more ram? Can this even be caused by the graphic's card?
I gave the save file to my friend, and he also plays fine despite having a worse.
I'd also like to mention, this problem doesn't seem to be for modded factorio only.
I've tried loading just a vanilla map and it'd also freeze from time to time, not as much as modded, but it'd still be there.
Either OS/drivers or even hardware.
You could try to update drivers, OS
You should check CPU / GPU temperatures, which could throttle down the system, if too high
You can check for RAM (Memtest) or HD failures.
Re: Every few minutes I get a tiny freeze
If it's that the problem then it's not any of the components you mention.jodokus31 wrote: Fri Nov 04, 2022 3:52 pm It sounds like a special problem for you PC.
Either OS/drivers or even hardware.
You could try to update drivers, OS
You should check CPU / GPU temperatures, which could throttle down the system, if too high
You can check for RAM (Memtest) or HD failures.
Temperatures are normal, no faulty sectors in my HD, nothing to report from the Memtest diagnosis
Re: Every few minutes I get a tiny freeze
I have currently no further idea...Calamari wrote: Fri Nov 04, 2022 6:35 pmIf it's that the problem then it's not any of the components you mention.jodokus31 wrote: Fri Nov 04, 2022 3:52 pm It sounds like a special problem for you PC.
Either OS/drivers or even hardware.
You could try to update drivers, OS
You should check CPU / GPU temperatures, which could throttle down the system, if too high
You can check for RAM (Memtest) or HD failures.
Temperatures are normal, no faulty sectors in my HD, nothing to report from the Memtest diagnosis
Re: Every few minutes I get a tiny freeze
On a second note, I've been running the game off of steam and steam seems to be having the worst time of its life, constrantly freezing and stuttering as well
Re: Every few minutes I get a tiny freeze
Okay, I fixed it, but it's such a weird issue, I'm not sure how to even feel about it.
Having my 8bitdo controller plugged in, in nintendo switch mode, as the first controller, completely destroys my steam and, by proxy, Factorio gets really finicky as well.
Having my 8bitdo controller plugged in, in nintendo switch mode, as the first controller, completely destroys my steam and, by proxy, Factorio gets really finicky as well.
Re: Every few minutes I get a tiny freeze
Well, strange. But glad you found it. Sometimes, the problem is unexpected, but I guess we found out, that it was specific to your setup, so something must be different there compared to other setups.Calamari wrote: Fri Nov 04, 2022 8:30 pm Okay, I fixed it, but it's such a weird issue, I'm not sure how to even feel about it.
Having my 8bitdo controller plugged in, in nintendo switch mode, as the first controller, completely destroys my steam and, by proxy, Factorio gets really finicky as well.