[0.15.15] FPS drops // nvidia releated?

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

[0.15.15] FPS drops // nvidia releated?

Post by Jan »

Hi,

I play with an friend on our server. While my friend have constant 60 fps (i7 3770; AMD 290X), i have just 5fps/60ups. (i7 4770k; nVidia 1070GTX)

https://i.imgur.com/AM6vs7a.jpg

I play with some settings, but its does not help to solve the performance issues. https://i.imgur.com/iiQOGJn.jpg

The game runs fine at 60fps at a ingame night. but its maybe related to the engery issues.

Save game attached.

Edit: It only happend near the main bus // mall.
Attachments
performance.zip
(13.68 MiB) Downloaded 138 times
Zavian
Smart Inserter
Smart Inserter
Posts: 1650
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Zavian »

The screenshot you posted shows your problem. The key figure is the game update is over 16.6ms. That means your cpu is unable to keep up with 60 updates per second. That is why you are 400 jumps behind. In an effort to help catch up, Factorio is dropping frames and is only rendering about every tenth frame. That is why you are only getting about are only getting about 5.7 fps. I'm not sure why an 3770 is faster than a 4770k. Is your friend's cpu overclocked?
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Jan »

Hi, there is any chance to see what is soo cpu intensive? Its happend shortly form playable to unplayable..
Zaflis
Filter Inserter
Filter Inserter
Posts: 520
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Zaflis »

Yes, press F5 ingame to see details. How many ms each thing does.

edit: Nvm you already showed screen with that. Still, you answered your own question. Doesn't go more detailed than "Entity update 16ms".
Last edited by Zaflis on Fri May 26, 2017 10:23 pm, edited 2 times in total.
Zavian
Smart Inserter
Smart Inserter
Posts: 1650
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Zavian »

From previous experience in 0.14, the game is playable pretty much right up to 16ms. Over 16.6, it isn't (at least not at 60 ups). It could be as simple as some part of your factory that was idle has suddenly started working. eg a mining outpost has suddenly started mining because a train has picked up some ore.

Fixing the power issues might help. In 0.14 I actually power switched large parts of my factory to shut them down when accumulator charge dropped below 20%. Back then I noticed a large performance hit during a brownout.

From the 0.15.14 changelog there were some changes made that were designed to improve performance, but it's possible that in your case the changes caused a regression, so you could test with 15.13. You could also try changing the game.speed to 0.9.
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Jan »

Zavian wrote: so you could test with 15.13.
There is any chance to load a savegame from 15.15 in 15.13?
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by posila »

It is not rendering problem. As Zavian explained, your computer is dropping frames to keep up update rate with the server. The fact that your 4770k has trouble to keep up with 3770 is interesting, I wanted to explain it by your computer having to do more work (latency hiding, but latency update time is very low on your screenshots), or your friend having faster RAM sticks. But on my puny i5-3470S I have update time ~10ms (in singleplayer though). I will test on Monday with i7 4770k in multiplayer.

Anyway, I profiled the save and about 60% of time is spent in belt update. Beacons take almost nothing, that brown-out would cause performance issue with those 350 beacons in 0.15.13.

It is not possible to load 0.15.15 save in older version.
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Jan »

Anyway, I profiled the save and about 60% of time is spent in belt update.
Thanks for figure it out. I read in your FAQ that using underground belts can help. Right?
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by posila »

The recommended workaround is to lower game speed using command

Code: Select all

/c game.speed = 0.9
However your PC should be able to keep up with i7-3770. I tried the save on i7-6700K and had update ~7.5ms both in single player and multiplayer with latency 28. Do you possibly have some power saving mode turned on? Or maybe problems with overheating?
Jan
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Jun 07, 2016 3:08 pm
Contact:

Re: [0.15.15] FPS drops // nvidia releated?

Post by Jan »

Hi,

thanks for getting into this.
Do you possibly have some power saving mode turned on? Or maybe problems with overheating?
I don't think so. Windows energy plan is set to "High performance". Overheating should be result into drop of ghz, but the cpu is consistent at 45°C / 3.8GHz. Also the game runs on a SSD. Task Manager gives me the info there is on other cpu intensive application.

I think its some magic somewhere, But not in Factorio I think.

Thanks for the support and providing a great game.
Post Reply

Return to “1 / 0 magic”