[0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

This subforum contains all the issues which we already resolved.
Post Reply
alfocep
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 10, 2018 3:54 am
Contact:

[0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by alfocep »

i just launch the game and black screen appears, few seconds later a crash dialog shows (image) telling me that i have to send the log file (attached)
Attachments
factorio-current.log
(13.05 KiB) Downloaded 138 times

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Crash while launching Factorio

Post by boskid »

Code: Select all

   0.033 Available displays: 1
   0.033  [0]: \\.\DISPLAY1 - AMD Radeon HD 8650G {0x05, [0,0], 1366x768, 32bit, 60Hz}
   0.132 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.182 Error CrashHandler.cpp:582: Received SIGSEGV

Code: Select all

ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BB045A38)
00007FF8BB045A38 (d3d11): (filename not available): D3D11CreateDeviceAndSwapChain
c:\cygwin64\tmp\factorio-build-kilrvo\src\graphics\dx11\graphicsinterfacedx11.cpp (588): GraphicsInterfaceDX11::createDeviceAndSwapchain
c:\cygwin64\tmp\factorio-build-kilrvo\src\graphics\dx11\graphicsinterfacedx11.cpp (1199): GraphicsInterfaceDX11::initialize
c:\cygwin64\tmp\factorio-build-kilrvo\src\graphics\sdlwindow.cpp (248): SDLWindow::initializeGraphicsInterface
c:\cygwin64\tmp\factorio-build-kilrvo\src\graphics\sdlwindow.cpp (194): SDLWindow::SDLWindow
c:\cygwin64\tmp\factorio-build-kilrvo\src\globalcontext.cpp (896): GlobalContext::loadGraphics
c:\cygwin64\tmp\factorio-build-kilrvo\src\globalcontext.cpp (453): GlobalContext::init
c:\cygwin64\tmp\factorio-build-kilrvo\src\mainloop.cpp (268): MainLoop::run
Ref 71927
Can you provide dump file - factorio-dump-current.dmp (if you did not start factorio again yet) or factorio-dump-previous.dmp ?

Formally this is "duplicate" but i say "Ref" so you provide some new details

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

Hello, try to open Factorio properties in Steam Library and set launch options to

Code: Select all

--dxgi-blit-model

alfocep
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 10, 2018 3:54 am
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by alfocep »

posila wrote:
Thu Jun 13, 2019 9:59 pm
Hello, try to open Factorio properties in Steam Library and set launch options to

Code: Select all

--dxgi-blit-model
It worked, now i can launch the game normally, but those launching parameters always need to be there?

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

alfocep wrote:
Fri Jun 14, 2019 2:26 am
It worked, now i can launch the game normally, but those launching parameters always need to be there?
On this computer, yes. Or until you upgrade your GPU (which I don't know if it is possible - depends if it a desktop or a laptop). It's a graphics driver issue, but there is no newer graphics driver for your current GPU.

Tricus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jun 23, 2019 2:01 pm
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by Tricus »

I've been having the same issue but using the --dxgi-blit-model method didn't fix it for me.

I can roll back to an earlier version of Factorio to get the game to start.

Thanks!
Attachments
factorio-current.log
(10.42 KiB) Downloaded 116 times

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

Tricus wrote:
Sun Jun 23, 2019 2:06 pm
I can roll back to an earlier version of Factorio to get the game to start.
To which version did you roll back?

Tricus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jun 23, 2019 2:01 pm
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by Tricus »

I removed the --dxgi-blit-model parameter and went backwards through each version.

0.17.38 through 0.17.50 all crashed (all available experimental builds) but 0.16 stable didn't crash.

Tricus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jun 23, 2019 2:01 pm
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by Tricus »

I changed my version back to 0.17 Experimental then verified the integrity of game files (all good) and the game was able to load normally without crashing. I didn't update windows or drivers so I'm not sure what changed.

Tricus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jun 23, 2019 2:01 pm
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by Tricus »

Final conclusion here:

I'm playing on a laptop plugged into a docking station. If I start factorio plugged into the docking station, the game crashes upon startup. If I start the game not plugged into the docking station then it loads properly. If I start unplugged in the docking station, get the game running, then plug into the docking station, that also works.

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

Tricus wrote:
Mon Jun 24, 2019 2:26 am
Final conclusion here:

I'm playing on a laptop plugged into a docking station. If I start factorio plugged into the docking station, the game crashes upon startup. If I start the game not plugged into the docking station then it loads properly. If I start unplugged in the docking station, get the game running, then plug into the docking station, that also works.
Can you please post here also factorio-dump-previous.dmp (it's in the same folder as the log)? You might need to pack it to ZIP to be able to upload it here.

Do other games work when your laptop is plugged into the docking station? (Factorio 0.16 was using DirectX 9, 0.17 was updated to DirectX 11 ... so I am interested whether other DirectX 11 games work)

EDIT: Also crashlog from 0.17.52 could help to diagnose the problem. Thank you.

User avatar
MasterZenII
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Apr 24, 2018 12:32 am
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by MasterZenII »

I'm having the same problem but my post was considered a duplicate. Any Factorio version that is 0.17.46 or newer crashes on startup.
I do not have the Steam version of the game. This is a clean install from the exe installer on Factorio.com with no mods whatsoever.

I'm on a Laptop so upgrading my GPU is not an option.
Attachments
factorio-previous.log
(12.16 KiB) Downloaded 113 times
factorio-dump-previous.dmp
(419.43 KiB) Downloaded 104 times
factorio-current.log
(228.51 KiB) Downloaded 96 times

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

MasterZenII wrote:
Mon Jun 24, 2019 5:19 pm
I'm having the same problem but my post was considered a duplicate. Any Factorio version that is 0.17.46 or newer crashes on startup.
I do not have the Steam version of the game. This is a clean install from the exe installer on Factorio.com with no mods whatsoever.

I'm on a Laptop so upgrading my GPU is not an option.
It is the same issue as original post (but different issue than Tricus has); Since you don't play on Steam, open Factorio's config.ini (%APPDATA%\Factorio\config\config.ini) and add following line at the bottom of the file

Code: Select all

use-flip-presentation-model=false

User avatar
MasterZenII
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Apr 24, 2018 12:32 am
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by MasterZenII »

posila wrote:
Mon Jun 24, 2019 5:37 pm
MasterZenII wrote:
Mon Jun 24, 2019 5:19 pm
I'm having the same problem but my post was considered a duplicate. Any Factorio version that is 0.17.46 or newer crashes on startup.
I do not have the Steam version of the game. This is a clean install from the exe installer on Factorio.com with no mods whatsoever.

I'm on a Laptop so upgrading my GPU is not an option.
It is the same issue as original post (but different issue than Tricus has); Since you don't play on Steam, open Factorio's config.ini (%APPDATA%\Factorio\config\config.ini) and add following line at the bottom of the file

Code: Select all

use-flip-presentation-model=false
Thank you for such a swift response!

I just tried that and started up Factorio again and got the same crash, it deleted my config.ini file on its own (leaving just a default_config.ini file)
New crash log included.

Edit: Tried making a duplicate of the default_config.ini file and renaming it config.ini and adding the code you provided to the bottom of that and it didn't work either.
Attachments
factorio-current.log
(228.51 KiB) Downloaded 109 times

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by Loewchen »

MasterZenII wrote:
Mon Jun 24, 2019 6:09 pm
New crash log included.
That log is ancient.

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

I just noticed, the log says you run the game on Intel HD Graphics 3000, but you have Radeon drivers; so your laptop has also dedicated GPU, can you try to update the driver for the Radeon GPU?

User avatar
MasterZenII
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Apr 24, 2018 12:32 am
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by MasterZenII »

My drivers are up to date. I could try uninstalling the driver for the Intel graphics?

This is the first and last laptop I'll ever buy that has an Intel processor and AMD graphics I swear.

Also derp on my part with that last log I posted, that's from my backup folder.
This is the most recent. File explorer trying to be too smart for it's own damn good.
Attachments
factorio-current.log
(12.36 KiB) Downloaded 105 times

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

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by posila »

MasterZenII wrote:
Mon Jun 24, 2019 6:22 pm
My drivers are up to date. I could try uninstalling the driver for the Intel graphics?
You are right ... I don't know what model you have, but as far as I could find the latest drivers for anything older than Radeon HD 8000M series are from 2015, so that's a bummer.

Attached is minimal config you'll need.
Attachments
config.ini
(62 Bytes) Downloaded 105 times

User avatar
MasterZenII
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Apr 24, 2018 12:32 am
Contact:

Re: [0.17.49] Crash: "GraphicsInterfaceDX11::createDeviceAndSwapchain"

Post by MasterZenII »

posila wrote:
Mon Jun 24, 2019 6:34 pm
MasterZenII wrote:
Mon Jun 24, 2019 6:22 pm
My drivers are up to date. I could try uninstalling the driver for the Intel graphics?
You are right ... I don't know what model you have, but as far as I could find the latest drivers for anything older than Radeon HD 8000M series are from 2015, so that's a bummer.

Attached is minimal config you'll need.
Boys we're automating again! I could cry. I haven't fulfilled my fix in a few days. Thank you!

Post Reply

Return to “Resolved Problems and Bugs”