0.17.11 Occasionally crashing on startup -- copyTextureToMemoryBitmap failure

This subforum contains all the issues which we already resolved.
jpole1
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

0.17.11 Occasionally crashing on startup -- copyTextureToMemoryBitmap failure

Post by jpole1 »

As the title suggests, sometimes the game fails to load on startup. It crashes anywhere between 25 and 45%. I do have some mods active now, but the behavior persists without mods as well.

I can't find a rhyme or reason to why it sometimes starts or doesn't start.

Playing on PC
Launch options: --force-d3d

Log attached.
factorio-previous.log
(4.54 KiB) Downloaded 97 times
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: 0.17.11 Occasionally crashing on startup -- copyTextureToMemoryBitmap failure

Post by TruePikachu »

Looks like possible 1/0, but I'd wait for confirmation.

Code: Select all

   0.018 Available displays: 2
   0.018  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4600 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.021  [1]: \\.\DISPLAY2 - Intel(R) HD Graphics 4600 {0x01, [1920,0], 1920x1080, 32bit, 59Hz}
   0.066 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.067 Verbose GraphicsInterfaceDX11.cpp:245: DXGI 1.2 detected
   0.067  Adapter [0]: NVIDIA GeForce GT 730M (9.18.8.5)
   0.068  Adapter [1]: Intel(R) HD Graphics 4600 (9.18.8.5)
   0.068  Adapter [2]: Microsoft Basic Render Driver (6.3.9600.19176)
   1.556 Initialised Direct3D[0]: NVIDIA GeForce GT 730M; id: 10de-1290; driver: dlumd9.dll 9.18.8.5
   1.556   D3D Feature Level: 11.0, DXGI 1.2+
   1.556   Tiled resources: Tier 1
   1.556   BGR 565 Supported: Yes
   1.556   MaximumFrameLatency: 3, GPUThreadPriority: 0
…
   2.982 Created atlas bitmap 16384x216 [alpha-mask]
   2.983 Created atlas bitmap 16384x3472 [shadow, linear-magnification, alpha-mask]
   2.983 Created atlas bitmap 16384x384 [shadow, mipmap, linear-magnification, alpha-mask]
   6.245 D3D11_ERROR: ID3D11DeviceContext::Map failed in copyTextureToMemoryBitmap on line 97. Error [0x887a0005] - DXGI_ERROR_DEVICE_REMOVED
   6.245 Error Util.cpp:83: VideoBitmapDX11::copyTextureToMemoryBitmap failed
"DXGI_ERROR_DEVICE_REMOVED" apparently means the device was removed from the computer (be it physically or via driver upgrade).
posila
Factorio Staff
Factorio Staff
Posts: 5362
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: 0.17.11 Occasionally crashing on startup -- copyTextureToMemoryBitmap failure

Post by posila »

Hello, please try to use launch option --gfx-safe-mode
jpole1
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 15, 2018 7:45 pm
Contact:

Re: 0.17.11 Occasionally crashing on startup -- copyTextureToMemoryBitmap failure

Post by jpole1 »

--gfx-safe-mode
Using that in launch options has worked smoothly each time. Thanks!
Post Reply

Return to “Resolved Problems and Bugs”