[16.51] Loading sprites failed: Sprite couldn't be loaded

This subforum contains all the issues which we already resolved.
Skybreaker
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Oct 15, 2016 3:45 am
Contact:

[16.51] Loading sprites failed: Sprite couldn't be loaded

Post by Skybreaker »

Code: Select all

   0.000 2018-07-04 15:06:40; Factorio 0.16.51 (build 36654, win64, steam)
   0.000 Operating system: Windows 10 (version 1803) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/User/AppData/Roaming/Factorio [38874/237972MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.014 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 3573/16339 MB, page: 5899/18771 MB, virtual: 4324/134217727 MB, extended virtual: 0 MB]
   0.015 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.020 Available display adapters: 1
   0.020  [0]: \\.\DISPLAY1 - Radeon (TM) RX 470 Graphics {0x8000005, [0,0], 2048x1152, 32bit, 60Hz}
   0.021 Create display on adapter 0. Size 1280x720 at position [374, 198].
   0.138 Initialised Direct3D:[0] Radeon (TM) RX 470 Graphics; driver: aticfx64.dll 24.20.11001.5003
   0.143   Video memory size (dedicated video/dedicated system/shared system/available): 4041/0/8169/4087 MB
   0.171 DSound: Starting _dsound_update thread
   0.172 DSound: Enter _dsound_update; tid=4024
   0.172 Device reset internal.
   0.175 Desktop composition is active.
   0.175 Graphics settings preset: extreme
   0.175 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 49.8641%] [DXT: false] [Shader: 1]
   0.175                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.273 Loading mod core 0.0.0 (data.lua)
   0.326 Loading mod base 0.16.51 (data.lua)
   0.680 Loading mod base 0.16.51 (data-updates.lua)
   0.724 Checksum for core: 840319042
   0.724 Checksum of base: 3323233190
   0.814 Loading sounds...
   2.265 Info PlayerData.cpp:67: Local player-data.json unavailable
   2.265 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1530174522
   2.386 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   2.388 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   2.391 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   2.411 Initial atlas bitmap size is 16384
   2.442 Created atlas bitmap 16384x16383 [none]
   2.443 Created atlas bitmap 16384x4290 [none]
   2.446 Created atlas bitmap 16384x6916 [shadow]
   2.446 Created atlas bitmap 16384x2104 [decal]
   2.447 Created atlas bitmap 8192x5572 [mipmap]
   2.447 Created atlas bitmap 8192x800 [mipmap, smoke]
   2.449 Created atlas bitmap 8192x8172 [linear-minification, mipmap, terrain]
   2.449 Created atlas bitmap 8192x1360 [linear-minification, mipmap, terrain]
   2.450 Created atlas bitmap 8192x2092 [no-crop, trilinear-filtering, icon, light]
   2.450 Created atlas bitmap 8192x924 [alpha-mask]
   5.685 Error ParallelSpriteLoader.cpp:185: Parallel sprite loading Failed: Sprite "__base__/graphics/achievement/automated-cleanup.png" couldn't be loaded.
Falling back to normal sprite loading.
   5.772 Error AtlasSystem.cpp:1136: Loading sprites failed: Sprite "__base__/graphics/achievement/automated-cleanup.png" couldn't be loaded
   5.772 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
   5.975 Device reset external.
   5.976 Device reset internal.
   7.162 Info AtlasSystem.cpp:989: Direct3D device found
   8.559 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
   8.769 Device reset external.
   8.770 Device reset internal.
  10.743 Info AtlasSystem.cpp:989: Direct3D device found
  12.141 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  12.352 Device reset external.
  12.353 Device reset internal.
  14.314 Info AtlasSystem.cpp:989: Direct3D device found
  15.718 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  15.932 Device reset external.
  15.933 Device reset internal.
  18.050 Info AtlasSystem.cpp:989: Direct3D device found
  19.442 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  19.642 Device reset external.
  19.644 Device reset internal.
  21.608 Info AtlasSystem.cpp:989: Direct3D device found
  23.009 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  23.205 Device reset external.
  23.207 Device reset internal.
  25.188 Info AtlasSystem.cpp:989: Direct3D device found
  26.572 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  26.769 Device reset external.
  26.771 Device reset internal.
  28.748 Info AtlasSystem.cpp:989: Direct3D device found
  30.148 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  30.343 Device reset external.
  30.344 Device reset internal.
  32.319 Info AtlasSystem.cpp:989: Direct3D device found
  33.707 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  33.908 Device reset external.
  33.910 Device reset internal.
  35.883 Info AtlasSystem.cpp:989: Direct3D device found
  37.283 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  37.481 Device reset external.
  37.483 Device reset internal.
  39.450 Info AtlasSystem.cpp:989: Direct3D device found
  40.844 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  41.039 Device reset external.
  41.041 Device reset internal.
  43.027 Info AtlasSystem.cpp:989: Direct3D device found
  44.414 Info AtlasSystem.cpp:981: Direct3D device lost during loading of sprites
  44.612 Device reset external.
  44.614 Device reset internal.
  46.594 Info AtlasSystem.cpp:989: Direct3D device found
The game occasionally will not load. It get's stuck at 'Cropping bitmaps ... 40%'
Force killing the .exe and trying again eventually works.

I have tried:
- Checking the checksum of the file graphics/achievement/automated-cleanup.png against another install and it matches; SHA256: 372363BFF1D5780BA1D98174B1B9E743A6B49A476C3BDCEA83E9653971F5C161
- Checking the Steam install
- Deleting the file graphics/achievement/automated-cleanup.png and letting steam replace it (by doing a check install)
- Rebooting Windows

Notes:
My system is running on an SSD with 38 GB free still. I've had no issues so far with it.
As Factorio is stuck in its loading loops its memory is going up and down by ~1 GB.
I've attached a log from when Factorio does start properly.
I can't think of anything I've changed since this started happening. It was working before with the same OS and game version.
Typically Factorio loads again after it successfully does once, but going to sleep or restarting is likely to trigger failures again.

Edit: I found this post viewtopic.php?f=35&t=60846#p367063 with the same symptoms also on AMD. I have an RX 470. I also was on 18.4.1 (But have been for a while). I just updated to the latest, 18.6.1, and still have the issue. I've attached that log as well.
Attachments
factorio-bad-new-driver.log
Bad loading with 18.6.1
(14.5 KiB) Downloaded 111 times
factorio-good.log
Log of Factorio starting properly
(3.4 KiB) Downloaded 115 times
posila
Factorio Staff
Factorio Staff
Posts: 5388
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [16.51] Loading sprites failed: Sprite couldn't be loaded

Post by posila »

Thanks for the report.

It's also similar to: 62612

Assumption is, that migration to DirectX 11 and related changes in loading sprites will fix this.
Post Reply

Return to “Resolved Problems and Bugs”