Lags after the map view

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.
Satoshi
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 11, 2024 7:13 pm
Contact:

Lags after the map view

Post by Satoshi »

Good day! :3

Being playing for a while, and noticed some stuttering in a particular place.
The thing is, that is only happening in the space age new game save, even almost empty one (like 5 MWatt base, which I attached in the save game file).
I loaded my old base from Factorio 1.0 (with all new space age default mods enabled) which is bigger (like 5 GWatt), and there all run just fine! I could not reproduce that issue.
So, this is not a big base problem.
I suspect that has something to do with the logic combinators, in Factorio 1.0 I was not using them, and now I do that a lot.

What is the problem: AFTER I close the map view game start to lag seriously, like "stuttering", "spiking", or how is that called. It shows around ~40 FPS (UPS also can be low at that time, but more rarely). But it does not feels like steady 40 FPS, it feels much worse, like several unlucky frames got 0.5 second delay or something.
After several seconds FPS returns to 60 and stays there until I open the map again. On the map itself it also looks ok (60 FPS).

I did not noticed any spikes in the CPU usage or GPU usage or SSD usage at those moments, its all relatively low, GPU about 10% (30 watts from 300 watts), CPU about 50% of a single core (like 4% total load), SSD load is just zero. I have nothing else running in the background, no thermal issues or...
I have win 10, Ryzen 5 3600x, RTX 4080, 64 GB DDR4 3200, some decent SSD, have not noticed any significant issues with other games recently.

What should I do here? Some detailed performance statistics? What is happening? Where do I look?

UPD: that save has some weird stuff done using the combinators. But I also noticed the same issue on another save (slightly bigger one), but without any "unusual" combinator usage. I am not sure, could it matter HOW I use the combinators?
Attachments
screen.png
screen.png (15.94 MiB) Viewed 287 times
_fps_drop.zip
(8.9 MiB) Downloaded 10 times
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Lags after the map view

Post by Loewchen »

Post the log and screenshot with these specific debug settings: 68653
Satoshi
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 11, 2024 7:13 pm
Contact:

Re: Lags after the map view

Post by Satoshi »

Sure!

I did enable those options: show-fps, show-time-usage, show-gpu-time-usage, show-multiplayer-waiting-icon, show-multiplayer-statistics, hide-mod-guis, but it seems that the last 3 have not had any visible effect. Hope that is expected because of a singleplayer mode and no mods.
Here are 4 screenshots: The ones with less than 60 FPS are the ones with the problem, which is observed a couple of seconds after I close the map view. The ones with the 60 FPS captured after the performance returns to normal. Each pair of screenshots are taken on a separate playthrough with an independent base designs. The first one is the one from the save file from the previous post.

An the log file, yes.
Attachments
factorio-current.log
(8.29 KiB) Downloaded 11 times
4.png
4.png (14.99 MiB) Viewed 249 times
3.png
3.png (14.39 MiB) Viewed 249 times
2.png
2.png (15.29 MiB) Viewed 249 times
1.png
1.png (15.78 MiB) Viewed 249 times
Satoshi
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 11, 2024 7:13 pm
Contact:

Re: Lags after the map view

Post by Satoshi »

Unless you have reason to believe your problem is caused by a bug, report it in Technical Help instead please.
Well, I have reason to believe that could be considered a bug, because lag is occurred only after the specific action when nothing obvious that could hurt performance is here...
But I still posted it in Technical Help, sorry =)
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Lags after the map view

Post by Loewchen »

It's all lost in the memory flip which usually means the driver is slow or a vsync problem. First make sure to disable G-sync for factorio in your driver, if this does not work try disabling vsync in the game settings as well.
Satoshi
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 11, 2024 7:13 pm
Contact:

Re: Lags after the map view

Post by Satoshi »

After looking at those stats I can see several options that behave similarly when my issue is occurred: frame, draw-engine, fog, light-composition.
When the things are normal, they tend to show 3 relatively similar numbers. And when there are lags, they show second number significantly less then first, and the third significantly greater then the first.
Satoshi
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 11, 2024 7:13 pm
Contact:

Re: Lags after the map view

Post by Satoshi »

Loewchen wrote: Wed Dec 11, 2024 9:53 pm It's all lost in the memory flip which usually means the driver is slow or a vsync problem. First make sure to disable G-sync for factorio in your driver, if this does not work try disabling vsync in the game settings as well.
Thank you, will be trying that!
Post Reply

Return to “Technical Help”