[0.16.51] Extreme long loading time

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
mitchieboy1999
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Oct 30, 2018 5:07 pm
Contact:

[0.16.51] Extreme long loading time

Post by mitchieboy1999 »

Hi,

I've played factorio for over 400hours now, but as of the installation I've got a problem…
The first time I started factorio it took around 2 min to start. After the first time it takes around 20 to 30 minutes to start. After reinstalling factorio it was the same, first time very fast, as of the second time extremely slow. My drivers are up-to-date and I updated my BIOS yesterday, but that doesn't change anything.

This is the latest log-file https://pastebin.com/EB1WfXrm. It was already before I had a mod installed.

I hope you guys can help me.

Dear regards,

Mitchel, a Factorio addict

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

Re: [0.16.51] Extreme long loading time

Post by Loewchen »

Code: Select all

   0.004 2018-10-30 16:06:03; Factorio 0.16.51 (build 36654, win64, alpha)
   0.004 Operating system: Windows 10 (version 1803) 
   0.004 Program arguments: "C:\Program Files\Factorio\bin\x64\factorio.exe" 
   0.004 Read data path: C:/Program Files/Factorio/data
   0.004 Write data path: C:/Users/mit25/AppData/Roaming/Factorio [1210912/1894157MB]
   0.004 Binaries path: C:/Program Files/Factorio/bin
   0.041 System info: [CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 4 cores, RAM: 2040/8112 MB, page: 2091/9392 MB, virtual: 4246/134217727 MB, extended virtual: 0 MB]
   0.042 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.066 Available display adapters: 1
   0.066  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics Family {0x05, [0,0], 1366x768, 32bit, 60Hz}
   0.067 Create display on adapter 0. Size 1280x718 at position [33, 7].
   2.218 Failed to load D3DX9 library. Library is not installed.
   2.220 Initialised Direct3D:[0] AMD Radeon R7 M260; driver: aticfx64.dll 8.17.10.1404
   2.298   Video memory size (dedicated video/dedicated system/shared system/available): 2035/0/4056/4092 MB
   4.413 DSound: Starting _dsound_update thread
   4.414 DSound: Enter _dsound_update; tid=10996
   4.415 Device reset internal.
   4.799 Desktop composition is active.
   4.799 Graphics settings preset: high
   4.799 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
   4.799                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   6.797 Loading mod settings DivOresity 1.0.1 (settings.lua)
   6.853 Loading mod core 0.0.0 (data.lua)
   7.037 Loading mod base 0.16.51 (data.lua)
   9.984 Loading mod base 0.16.51 (data-updates.lua)
  10.191 Checksum for core: 840319042
  10.191 Checksum of base: 3323233190
  10.191 Checksum of DivOresity: 219021409
  11.422 Loading sounds...
  33.277 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1540863900
  33.277 Info PlayerData.cpp:72: Cloud player-data.json unavailable
  33.787 Loaded shader file C:/Program Files/Factorio/data/core/graphics/shaders/game.cso
  33.804 Loaded shader file C:/Program Files/Factorio/data/core/graphics/shaders/zoom-to-world.cso
  33.810 Loaded shader file C:/Program Files/Factorio/data/core/graphics/shaders/alpha-mask.cso
  33.852 Initial atlas bitmap size is 16384
  33.895 Created atlas bitmap 16384x5944 [none]
  33.898 Created atlas bitmap 16384x847 [shadow]
  33.906 Created atlas bitmap 16384x682 [decal]
  33.921 Created atlas bitmap 8192x1496 [mipmap]
  33.922 Created atlas bitmap 8192x800 [mipmap, smoke]
  33.937 Created atlas bitmap 8192x2376 [linear-minification, mipmap, terrain]
  33.938 Created atlas bitmap 8192x1036 [no-crop, trilinear-filtering, icon, light]
  33.939 Created atlas bitmap 8192x238 [alpha-mask]
2288.909 Sprites loaded
2288.909 Convert atlas 8192x1496 to: mipmap 
2289.440 Convert atlas 8192x800 to: mipmap 
2289.787 Convert atlas 8192x2376 to: min-linear 
2290.333 Convert atlas 8192x1036 to: trilinear-filtering 
2290.730 Convert atlas 8192x238 to: alpha-mask
2292.672 Custom inputs active: 0
2297.798 0 packages available to download (experimental updates disabled).
2297.979 Factorio initialised

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

Re: [0.16.51] Extreme long loading time

Post by posila »

Hello, can you try to disable multithreaded sprite loading? To do that, you need to open config.ini. It is in config subfolder of the same folder that contains the log.

Open it in notepad, find line

Code: Select all

; thread-sprite-loading=true
and change it to

Code: Select all

thread-sprite-loading=false
(don't forget to remove the semicolon at the start of the line)

mitchieboy1999
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Oct 30, 2018 5:07 pm
Contact:

Re: [0.16.51] Extreme long loading time

Post by mitchieboy1999 »

It didn't change the loading time :-(
Log

quyxkh
Smart Inserter
Smart Inserter
Posts: 1028
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: [0.16.51] Extreme long loading time

Post by quyxkh »

I'm thinking you've had that system a while and it's got the HDD you started with, right? The CPU's a little newer than mine, but it's... what, 4 years old? I'm thinking the atlas file might be really badly fragmented. I don't have a windows system to test it on and the defragger I used to use (mydefrag) isn't made any more so I've got nothing beyond this, and odds are pretty good I'm wrong anyway, but this is what I've got.

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

Re: [0.16.51] Extreme long loading time

Post by posila »

Code: Select all

  1.105 Initialised Direct3D:[0] AMD Radeon R7 M260; driver: aticfx64.dll 8.17.10.1404
That driver is at least 3 years old, I suggest you to update it. (But I don't think it will fix the problem)

Code: Select all

   6.986 Loading sounds...
  25.421 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1540949676
Difference between these two timestamps is normally on PCs with your CPU under half a second. In that time, SoundLibrary goes through sounds registered by prototypes and checks that the file exists, and if the sound is supposed to be preloaded, it adds it to a queue in a background thread that will preload it.
So, it looks like disk accesses are very slow on your computer - either some other application uses disk heavily (ie. large file downloads); some other application is intercepting Factorio's disk accesses and makes it slow (ie. an antivirus being suspicious of Factorio, so it's making sure the game doesn't do anything malicious to your files); or the disk is failing.
I might be also wrong and something else is slow (not disk). How long does it take to copy folder C:\Program Files\Factorio\data to somewhere else?

I searched for your CPU + GPU combination in our crash reports, and found one. That computer had slow "Loading sounds..." step, but loaded high-res sprites in 3 minutes (which is also slow, but somewhat expected on PC with Ultra-low power CPU), so slow disk access theory doesn't seem to hold. Try the graphics driver then.

Code: Select all

 
    0.002 Operating system: Windows 10 (version 1803) 
    0.126 System info: [CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 4 cores, RAM: 2902/8072 MB, page: 4586/16264 MB, virtual: 4324/134217727 MB, extended virtual: 0 MB]
    1.182 Initialised Direct3D:[0] AMD Radeon R7 M260; driver: aticfx64.dll 24.20.11001.5003
    1.329 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 100%] [DXT: false] [Shader: 1]
    1.329                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
    7.287 Loading sounds...
   22.520 Info PlayerData.cpp:67: Local player-data.json unavailable
   23.267 Initial atlas bitmap size is 16384
   23.276 Created atlas bitmap 16384x13062 [none]
          ...
   23.292 Created atlas bitmap 8192x924 [alpha-mask]
  173.154 Sprites loaded
  173.154 Convert atlas 8192x5596 to: mipmap 
          ...
  174.358 Convert atlas 8192x924 to: alpha-mask
  175.919 Custom inputs active: 0
  176.306 Factorio initialised

mitchieboy1999
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Oct 30, 2018 5:07 pm
Contact:

Re: [0.16.51] Extreme long loading time

Post by mitchieboy1999 »

Okay, thank you.

I think it is Windows defender that is causing the issue. My HDD is pretty new (I think 8months old(my PC around 3/4years I think)) and when I copy the folders of Factorio, the folder in Appdata /Roaming takes under one minute and the other one in program files takes a few seconds to copy.


When I installed Factorio, Windows Defender added it to the 'virus list' and put it in quarantaine so I told windows that it is a save/trusted app. It says Factorio won't get blocked by Windows.


I will try to get my driver updated this weekend and will defrag it.


Thank you for helping me :D .

Post Reply

Return to “Technical Help”