[0.13.10] [Pending] [Twinsen] New performance issues FPS/UPS drops

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

[0.13.10] [Pending] [Twinsen] New performance issues FPS/UPS drops

Post by HeilTec »

Since updating from 0.13.9 to 0.13.10 the game repeatedly drops to 30 UPS and then returns to normal (60)
Sometimes UPS remains normal and the FPS drops to 30.

This was observed on a new unexplored map.

I am not alone: http://steamcommunity.com/app/427520/di ... 719213115/

(edit) Memory usage seems to be rising during game (memory leak?)
Google is my friend. Searching the forum and the wiki is always a first.

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

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Rseding91 »

Do you have any mods?

Upload your save file and game log(s) + any mods you have.
If you want to get ahold of me I'm almost always on Discord.

User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by HeilTec »

Problem shows on empty map - no mods.

My laptop is slow, but it worked fine in 0.13.9

(It seems related to player location - in the woods by the copper)
Attachments
factorio-current.log
(2.07 KiB) Downloaded 128 times
Empty map.zip
(2.03 MiB) Downloaded 113 times
Google is my friend. Searching the forum and the wiki is always a first.

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

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Rseding91 »

If you've got a slow computer try turn video memory usage to medium/low.
If you want to get ahold of me I'm almost always on Discord.

malloc
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Jun 16, 2016 5:03 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by malloc »

I have this issue as well since the update to .10 but my machine is not low spec. Opening the same save file in .09 works fine at a solid 60FPS at all times but in .10 it's at 30FPS about 90% of the time. Tried it for about an hour but couldn't detect any pattern to when it would switch back to 60FPS.

Pure vanilla steam install on Windows 10. Video is NVIDIA GTX 970.

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

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Rseding91 »

malloc wrote:I have this issue as well since the update to .10 but my machine is not low spec. Opening the same save file in .09 works fine at a solid 60FPS at all times but in .10 it's at 30FPS about 90% of the time. Tried it for about an hour but couldn't detect any pattern to when it would switch back to 60FPS.

Pure vanilla steam install on Windows 10. Video is NVIDIA GTX 970.
Are you using any mods?
If you want to get ahold of me I'm almost always on Discord.

User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by HeilTec »

malloc wrote:Pure vanilla
Must mean not using any mods.
Google is my friend. Searching the forum and the wiki is always a first.

User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by HeilTec »

Rseding91 wrote:If you've got a slow computer try turn video memory usage to medium/low.
Thank You for the advice.

It is sad if new performance issues forces me to lower the quality even further.
I would much prefer to continue with the settings that have worked so well in previous versions.
Google is my friend. Searching the forum and the wiki is always a first.

malloc
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Jun 16, 2016 5:03 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by malloc »

Rseding91 wrote:
malloc wrote:I have this issue as well since the update to .10 but my machine is not low spec. Opening the same save file in .09 works fine at a solid 60FPS at all times but in .10 it's at 30FPS about 90% of the time. Tried it for about an hour but couldn't detect any pattern to when it would switch back to 60FPS.

Pure vanilla steam install on Windows 10. Video is NVIDIA GTX 970.
Are you using any mods?
As HeilTec surmised no mods at all.

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

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Rseding91 »

Can anyone experiencing FPS/UPS drops please enable the debug option for time stats and post screenshots?
If you want to get ahold of me I'm almost always on Discord.

malloc
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Jun 16, 2016 5:03 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by malloc »

Rseding91 wrote:Can anyone experiencing FPS/UPS drops please enable the debug option for time stats and post screenshots?
Is this what you need?
Factorio_v.13.10_30FPS_Issue.png
Factorio_v.13.10_30FPS_Issue.png (18.12 MiB) Viewed 6240 times

malloc
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Jun 16, 2016 5:03 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by malloc »

The other possibly related change I've noticed is the load screen hangs at Sprites 40% for 5+ seconds with no pause at any other part of the load. This isn't the case in .9 and earlier.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by posila »

Most likely it is somehow related to Twinsen's rewrite of the game loop.

Loewchen
Global Moderator
Global Moderator
Posts: 8285
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Loewchen »

posila wrote:Most likely it is somehow related to Twinsen's rewrite of the game loop.
I am not so sure.
The frame time is lost in the flip, I have seen this behavior in several reports in .12 but assumed driver issues until I experienced it myself in .13 (13.5 if think).
I could gather those reports if you think it is not a new thing.

Greetings Loewchen

waduk
Filter Inserter
Filter Inserter
Posts: 372
Joined: Tue Feb 10, 2015 5:44 pm
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by waduk »

Can confirm, i have this massive slowdown to 30 fps as well from time to time. This is not happening with 0.13.9.
No mods, pure vanilla.
Can't post my debug though.

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

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Rseding91 »

malloc wrote:The other possibly related change I've noticed is the load screen hangs at Sprites 40% for 5+ seconds with no pause at any other part of the load. This isn't the case in .9 and earlier.
Nothing changed sprite loading wise between 13.9 and 13.10 which leads me to believe there's something else going on here... I don't know what though.
If you want to get ahold of me I'm almost always on Discord.

vortex1967
Inserter
Inserter
Posts: 40
Joined: Fri Apr 15, 2016 8:48 am
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by vortex1967 »

Hello all,

I have the same issue but worse.
I run the downloadable zip version of Factorio extracted onto an external HDD.(so I can take Factorio where ever I go) :D

When 0.13 came out I made two separate installs.
One is heavily modded and the other is pure vanilla.
They are both updated to the same version at the same time as each new update comes out.
They are both fresh 0.13 installs on a Windows 7 64bit computer.

Heavily modded version:
Since updating from 13.9 to 13.10 is unplayable from the start.
My FPS drops to 0.8 and the UPS drops to 1.6 and stays there.
In the debug screen(when it finally opened)I noticed the reading for script updates would fluctuate between 500 up to 1200 and sometimes higher.
(I checked a heavily modded 12.35 version and script updates sat between 0.7 & 0.8)

Pure vanilla:
When I switch from map view back to game, occasionally the game slows down as if in slow motion for a couple of seconds.
During normal game play it goes into slow motion for a couple of seconds and then comes good.
The time between events varies, I could play the game for an hour and nothing would happen or it could be 5 minutes.
There doesn't seem to be any particular action that will trigger the event.
Script updates usually sit at 0.001 during game play but does seem to fluctuate higher when I get a slow down.

Before you say it :) , I know the game is installed on an external HDD.
I moved both versions onto the computers main HDD with the same results.
The only difference I have noticed between external HDD and main computer HDD is slightly slower load and save times.

sambot
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jul 13, 2016 3:15 am
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by sambot »

I have been experiencing a drop similar to those described. I initially blamed a mod (Orbital Ion Cannon), but after uninstalling it, I still encountered it. I never had it happen in 0.13.9. I did, however, discover that it occurs fairly reliably when I walk through specific parts of my factory. It rarely happens anywhere else (could just be luck).
Three drops walking through the same area, and one in which things are fine (my UPS usually holds steady at 60, my FPS tends to misbehave at 40-50):
drop1.jpg
drop1.jpg (918.49 KiB) Viewed 6170 times
drop3.jpg
drop3.jpg (994.19 KiB) Viewed 6170 times
drop2.jpg
drop2.jpg (944.42 KiB) Viewed 6170 times
fine.jpg
fine.jpg (997.42 KiB) Viewed 6170 times
I had the thought that the trees overlapping the ore may be an issue, as I got the same UPS drop at a similar location on this map where I haven't built anything. Doesn't make much sense for a UPS drop though, and I couldn't get it to happen in a similar spot in a new world when I tested it.
Screenshots are after disabling all mods and restarting game.
vortex1967 wrote:Hello all,

I have the same issue but worse.
I run the downloadable zip version of Factorio extracted onto an external HDD.(so I can take Factorio where ever I go) :D

When 0.13 came out I made two separate installs.
One is heavily modded and the other is pure vanilla.
They are both updated to the same version at the same time as each new update comes out.
They are both fresh 0.13 installs on a Windows 7 64bit computer.

Heavily modded version:
Since updating from 13.9 to 13.10 is unplayable from the start.
My FPS drops to 0.8 and the UPS drops to 1.6 and stays there.
In the debug screen(when it finally opened)I noticed the reading for script updates would fluctuate between 500 up to 1200 and sometimes higher.
(I checked a heavily modded 12.35 version and script updates sat between 0.7 & 0.8)

Pure vanilla:
When I switch from map view back to game, occasionally the game slows down as if in slow motion for a couple of seconds.
During normal game play it goes into slow motion for a couple of seconds and then comes good.
The time between events varies, I could play the game for an hour and nothing would happen or it could be 5 minutes.
There doesn't seem to be any particular action that will trigger the event.
Script updates usually sit at 0.001 during game play but does seem to fluctuate higher when I get a slow down.

Before you say it :) , I know the game is installed on an external HDD.
I moved both versions onto the computers main HDD with the same results.
The only difference I have noticed between external HDD and main computer HDD is slightly slower load and save times.
I think you are running into two separate issues, I saw another bug report regarding severe lag with mods due to the scripting changes made in 0.13.10 (see comments on viewtopic.php?f=3&t=29612).

Let me know if saves or logs etc might help.

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by noliVe »

linux 64 bit serverversion

100% cpu usage

clean new map -


Startcommand
screen -dmS factorio"$counter"_ $pfad/game/bin/x64/factorio -c $pfad/config"$counter"/config.ini --start-server-load-latest --autosave-slots 3 --autosave-interval 20 --allow-commands admins-only --server-settings $pfad/config"$counter"/server-settings.json

Twinsen
Factorio Staff
Factorio Staff
Posts: 1329
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.13.10] New performance issues FPS/UPS drops

Post by Twinsen »

Loewchen wrote:
posila wrote:Most likely it is somehow related to Twinsen's rewrite of the game loop.
I am not so sure.
The frame time is lost in the flip, I have seen this behavior in several reports in .12 but assumed driver issues until I experienced it myself in .13 (13.5 if think).
I can't see how my changes can be related. I call render and flip the same as before. Only thing I can think of is some timing magic inside the drivers.
I'll investigate.

For now the people who have this problem should disable Vsync and restart the game.
If you still have this issue with vsync off, upload a screenshot with the timings as some of the people above.

Post Reply

Return to “Pending”