Poor performance [0.17.56]

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.
Post Reply
User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Poor performance [0.17.56]

Post by fur_and_whiskers »

Since the release of 0.17 and many of the updates I've had performance issues despite having a pretty decent computer
Its an i7 8700K 3.7MHz 32GB RAM with RTX 2080 Ti 11 GB video card, dual monitor setup.
All drivers are up to date. Using Windows Defender and Firewall.
Factorio-current.log at the end of this post for more.

Every month or so I try the latest release hoping that these things are sorted out, but sadly not yet.
I've tried searching but haven't seen this addressed anywhere so figure this must be an issue at my end.

The issues I experience include:
* CPU cores 0,1,2 are being heavily used and sometimes maxed out while the game is running, even at the start menu.
Today I had to close Firefox to get a little improvement, never had this with 0.16
* Each map generation while using preview max out all CPU cores 100% and the CPU fans crank up to keep tempurature down.
* Mouse movement both in the start up menu and ingame feels sluggish and slightly erratic.
* In game running around again is sluggish and slightly erratic with a fair amount of hitching, desert, water, trees - the lot.

Today I thought I'd give it another go, but the above symptoms are even worse now.
Something thats new today while playing the start of the campaign or a new game there is a pronounced tearing in the middle of the screen when moving around.
But not just a tear along a line, but a thick ribbon left to right, shifting up and down. I'm not sure how else to describe it.
I tried starting the new campaign and the helpful bot was almostly like he wass lagging out, again with erratic movement to where it was going rather than smoothly rolling along like you'd expect.

This ongoing experience really makes my heart sink because I had a ball in 0.16 and was so much looking forward to playing 0.17.

Factorio-current.log
0.000 2019-07-13 17:52:22; Factorio 0.17.56 (build 46133, win64, steam)
0.001 Operating system: Windows 10 (version 1803)
0.001 Program arguments: "C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Greg/AppData/Roaming/Factorio [522138/952833MB]
0.001 Binaries path: C:/Steam/steamapps/common/Factorio/bin
0.013 System info: [CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz, 12 cores, RAM: 16000/32714 MB, page: 35558/51146 MB, virtual: 4337/134217727 MB, extended virtual: 0 MB]
0.013 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 1] [Special: 0000] [Lang: en]
0.018 Available displays: 2
0.018 [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 2080 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.019 [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 2080 Ti {0x01, [1920,90], 1920x1080, 32bit, 60Hz}
0.089 [Direct3D11] Display: 1, Output: 1, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.198 Initialised Direct3D[0]: NVIDIA GeForce RTX 2080 Ti; id: 10de-1e07; driver: nvldumdx.dll 26.21.14.3086
0.198 D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.198 [Local Video Memory] Budget: 9390MB, CurrentUsage: 2MB, Reservation: 0/4971MB
0.198 [Non-Local Vid.Mem.] Budget: 14721MB, CurrentUsage: 0MB, Reservation: 0/7769MB
0.198 Tiled resources: Tier 2
0.198 Unified Memory Architecture: No
0.198 BGR 565 Supported: Yes
0.198 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.241 Desktop composition is active.
0.241 Graphics settings preset: very-high
0.241 Dedicated video memory size 11048 MB
0.241 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
0.241 [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
0.264 DSound: Starting _dsound_update thread
0.264 DSound: Enter _dsound_update; tid=754900
0.553 Logitech LED Controller initialized.
0.832 Loading mod core 0.0.0 (data.lua)
0.988 Loading mod base 0.17.56 (data.lua)
1.936 Loading mod base 0.17.56 (data-updates.lua)
2.068 Checksum for core: 2678823001
2.068 Checksum of base: 3299896472
2.301 Loading sounds...
6.162 Info PlayerData.cpp:69: Local player-data.json unavailable
6.162 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1562286728
6.260 Crop bitmaps.
10.935 Parallel Sprite Loader initialized (threads: 11)
16.513 Initial atlas bitmap size is 16384
16.560 Created atlas bitmap 16384x16376 [none]
16.563 Created atlas bitmap 16384x11200 [none]
16.564 Created atlas bitmap 8192x3884 [decal]
16.565 Created atlas bitmap 16384x4256 [low-object, linear-minification]
16.565 Created atlas bitmap 8192x3680 [mipmap, linear-minification, linear-magnification, linear-mip-level]
16.566 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level]
16.566 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
16.567 Created atlas bitmap 4096x1712 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
16.567 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
16.567 Created atlas bitmap 8192x1496 [alpha-mask]
16.569 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
16.570 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
16.579 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
17.257 Parallel Sprite Loader initialized (threads: 11)
24.855 Sprites loaded
24.891 Generated mipmaps (4) for atlas [3] of size 16384x4256
24.902 Generated mipmaps (3) for atlas [4] of size 8192x3680
24.935 Generated mipmaps (3) for atlas [5] of size 16384x6880
24.946 Generated mipmaps (3) for atlas [6] of size 4096x1600
24.957 Generated mipmaps (4) for atlas [7] of size 4096x1712
24.969 Generated mipmaps (3) for atlas [11] of size 8192x2352
24.969 Custom mipmaps uploaded.
24.975 Custom inputs active: 0
25.043 Factorio initialised
205.851 Loading level.dat: 3634835 bytes.
205.851 Info Scenario.cpp:187: Map version 0.17.49-1
206.397 Checksum for script C:/Users/Greg/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3525709413
206.397 Applying migration: Base Mod: 2019-06-28_Factorio_0.17.53.lua
206.402 Applying migration: Base Mod: 2019-06-28_Factorio_0.17.54.lua
206.523 Checksum for script C:/Users/Greg/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3525709413
206.771 Checksum for script C:/Users/Greg/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3525709413
360.943 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
361.353 Info AppManagerStates.cpp:1754: Saving finished
442.711 Quitting: user-quit.
442.761 DSound: Stopping voice
442.761 DSound: Joining thread
442.765 DSound: Exit _dsound_update; tid=754900
442.765 DSound: Waiting for voice to stop ... signaled
442.766 DSound: Joined thread
442.766 DSound: Destroying thread
442.766 DSound: Thread destroyed
442.766 DSound: Releasing buffer
442.766 DSound: Voice stopped
442.766 DSound: Deallocating voice
442.766 DSound: Deallocated voice
442.853 Steam API shutdown.
442.877 Goodbye

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

Re: Poor performance [0.17.56]

Post by Rseding91 »

fur_and_whiskers wrote: * CPU cores 0,1,2 are being heavily used and sometimes maxed out while the game is running, even at the start menu.
Today I had to close Firefox to get a little improvement, never had this with 0.16
If you're running a save file that's expected: the game uses the hardware you have to run the simulation at the desired speed. Sitting on the main menu the game uses near zero CPU.
Capture.PNG
Capture.PNG (68.41 KiB) Viewed 3406 times
fur_and_whiskers wrote:* Each map generation while using preview max out all CPU cores 100% and the CPU fans crank up to keep tempurature down.
This is working as intended: it's using the hardware you have to run faster.
fur_and_whiskers wrote:* Mouse movement both in the start up menu and ingame feels sluggish and slightly erratic.
* In game running around again is sluggish and slightly erratic with a fair amount of hitching, desert, water, trees - the lot.
I really have no idea why you would be having problems but considering you're the first person I've personally seen say they have problems like this I'm willing to bet the issue is hardware or software on your end and not the game. Like maybe you don't have the correct drivers installed for your USB ports or something.
If you want to get ahold of me I'm almost always on Discord.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Poor performance [0.17.56]

Post by orzelek »

This looks suprisingly similar to this one:
viewtopic.php?f=49&t=73170

Configuration of PC is similar and 100% usage of CPU on main menu also.

User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Re: Poor performance [0.17.56]

Post by fur_and_whiskers »

Interesting, similar hardware but different issues.
I get performance issues regardless of full screen or windowed. I have tried a number of settings with no change.
My GPU is ticking over at around 40%. The CPU is just high usage of first 3 cores regardless of what I'm doing in the game.

Thank you Rseding for explaining "working as intended", I'm not sure where to go from here.

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

Re: Poor performance [0.17.56]

Post by posila »

Before you do anything, try to disable Discord overlay.

100% CPU utilization of 3 cores in main menu (with exception of generating map preview) is not intended. Is that utilized by Factorio? (given your 12core CPU, I would expect to see Factorio utilize 25% CPU in the task manager, if it is using 100% of cores 0, 1, 2)

If Factorio utilizes ~25% of your CPU even with Discord overlay disabled, please make a profiler capture and post it here, please. See instructions how to do that here: viewtopic.php?f=49&t=71328#p434662

User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Re: Poor performance [0.17.56]

Post by fur_and_whiskers »

Thank you Posila
I disabled Discord overlay as soon as it was introduced.

I will use Very Sleepy and come back with the results

User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Re: Poor performance [0.17.56]

Post by fur_and_whiskers »

@Polisa & Rseding
Today I ran Factorio and it has updated to the latest version 0.17.64 and there have been some very positive changes.

I view Task manager on the Performance tab with the CPU pane showing all the cores, so when I say all cores are at 100% I mean 100% CPU utilization. When I say the first 3 cores are at 100% usage, I am only referring to the first 3 of 12 cores.

* When Factorio is starting up the mouse is sluggish as originally reported. 1st 3 cores are at 100% during this time as before.
* Now when in main menu all CPU cores now have low usage. This is very positive improvement.
* Previewing maps still causes ALL 12 CORES to run at 100% while generating the preview. Rseding has already explained this is working as intended.
* Playing a new game, the mouse is responsive. Animations working properly and no tearing across the screen.
CPU cores 0, 1 & 2 are working hard and at times held at a solid 100% for long periods of time - one example is while mining ore by hand.
* Started a new campaign, Complitron is behaving himself, everything is responsive and displaying properly. But again CPU cores 0-2 are held at 100% when doing certain things including mining ore by hand.

So a very positive improvement. There have been further updates for the MSI motherboard, a Microsoft USB driver and NVidia since our last exchange. I'll have to put it down to that.

Concerned about exposing my computer to long periods of 100% usage of the first 3 cores or 28% usage total.
Installed and ran Very Sleepy, recording a few minutes whilst playing the Campaign including while mining. I'm not sure where to post the Sleepy capture file since its not ASCII.

Maybe this is completely misplaced concern, but I don't have any other games or software that work cores at 100% for sustained periods of time, let alone Factorio 0.16.

Thank you again for your time.

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

Re: Poor performance [0.17.56]

Post by posila »

fur_and_whiskers wrote:
Thu Aug 15, 2019 6:31 am
Concerned about exposing my computer to long periods of 100% usage of the first 3 cores or 28% usage total.
Installed and ran Very Sleepy, recording a few minutes whilst playing the Campaign including while mining. I'm not sure where to post the Sleepy capture file since its not ASCII.
You can add it as attachement to a post on this forum, or you can send it to me to posila@factorio.com

Mike Rosoft
Inserter
Inserter
Posts: 47
Joined: Mon Nov 03, 2014 6:38 pm
Contact:

Re: Poor performance [0.17.56]

Post by Mike Rosoft »

As a heads-up for those who have been experiencing the same issue: Today I have been experiencing intermittent slowdowns of the game (especially after an autosave). After trying several things (such as enabling the debug options and checking the drivers), I found out that the cause was that I didn't connect my laptop to grid power (I have been playing the game during a train trip), and this apparently caused the machine to reduce its performance to conserve the battery.

User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Re: Poor performance [0.17.56]

Post by fur_and_whiskers »

posila wrote:
Thu Aug 15, 2019 7:00 am
fur_and_whiskers wrote:
Thu Aug 15, 2019 6:31 am
Concerned about exposing my computer to long periods of 100% usage of the first 3 cores or 28% usage total.
Installed and ran Very Sleepy, recording a few minutes whilst playing the Campaign including while mining. I'm not sure where to post the Sleepy capture file since its not ASCII.
You can add it as attachement to a post on this forum, or you can send it to me to posila@factorio.com
I had to add ".log" to the end of the file name before I could select it as an attachment.
Thank you!
Attachments
19 08 15 Whiskers Factorio 0.17.65 capture.sleepy.log
(12.77 KiB) Downloaded 81 times

User avatar
fur_and_whiskers
Inserter
Inserter
Posts: 39
Joined: Mon Aug 06, 2018 4:51 am
Contact:

Re: Poor performance [0.17.56]

Post by fur_and_whiskers »

Mike Rosoft wrote:
Thu Aug 15, 2019 5:42 pm
As a heads-up for those who have been experiencing the same issue: Today I have been experiencing intermittent slowdowns of the game (especially after an autosave). ...
... I found out that the cause was that I didn't connect my laptop to grid power ...
For the record, my PC is not a laptop.

Post Reply

Return to “Technical Help”