[14.21] Failed to Create Display [Not-So-Resolved-But-Kinda]

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

[14.21] Failed to Create Display [Not-So-Resolved-But-Kinda]

Post by Starfoth »

Before you post:
1. Yes, I have checked the pinned post, none of those solutions help
2. i5-3210M 2.5 GHz 4 Core; 8 GB RAM; DX12; HD Graphics 4000
3. All drivers up-to-date
4. Removing Mods has not worked
5. Going back to a previous version has not worked
6. Reinstalling has not worked
7. Verifying cache has not worked

"failed to create display" is the only message displayed after instantly crashing
Last edited by Starfoth on Sun Dec 11, 2016 10:22 pm, edited 2 times in total.

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: [14.21] Failed to Create Display

Post by Smarty »


daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [14.21] Failed to Create Display

Post by daniel34 »

You forgot to post your Log file.
quick links: log file | graphical issues | wiki

Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

Re: [14.21] Failed to Create Display

Post by Starfoth »

factorio current

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [14.21] Failed to Create Display

Post by daniel34 »

Starfoth wrote:

Code: Select all

D3DERR_NOTAVAILABLE[-2005530518]
This is a DirectX error (-2005530518 Device does not support the queried technique), make sure DirectX and your graphics drivers are up to date: https://www.microsoft.com/en-us/downloa ... aspx?id=35

Alternatively you can launch the game using OpenGL by setting the Steam launch options to --force-opengl in the game properties (link).
quick links: log file | graphical issues | wiki

Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

Re: [14.21] Failed to Create Display

Post by Starfoth »

daniel34 wrote:
Starfoth wrote:

Code: Select all

D3DERR_NOTAVAILABLE[-2005530518]
This is a DirectX error (-2005530518 Device does not support the queried technique), make sure DirectX and your graphics drivers are up to date: https://www.microsoft.com/en-us/downloa ... aspx?id=35

Alternatively you can launch the game using OpenGL by setting the Steam launch options to --force-opengl in the game properties.
I'll try that and get back to you. My Direct X is up to date, I checked beforehand but thank-you very much for the suggestion.
When Steam decides to cooperate, I'll try the force opengl thing.

Thank you for the response, I will get back to you.

Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

Re: [14.21] Failed to Create Display

Post by Starfoth »

How do you set the force opengl in game properties?
Edit; Nvm, set it. Going to try now.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [14.21] Failed to Create Display

Post by daniel34 »

Starfoth wrote:How do you set the force opengl in game properties?
Right-click on the game in your Steam library, select Properties.
Press the "Set launch options" button in the General tab and enter --force-opengl.
factorio-properties.png
factorio-properties.png (21.18 KiB) Viewed 7482 times
quick links: log file | graphical issues | wiki

Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

Re: [14.21] Failed to Create Display [Unresolved]

Post by Starfoth »

It's not 'quite' resolved because running it with opengl is excruciatingly slow. When I try to run my factory (not a megabase, does not have level 3 modules yet), it barely runs whatsoever.

I'm not sure there's a way to resolve it at this point. Has Factorio been optimized for DX12?

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

Re: [14.21] Failed to Create Display [Unresolved]

Post by Rseding91 »

Starfoth wrote:Has Factorio been optimized for DX12?
No, Factorio uses DX9 still :(
If you want to get ahold of me I'm almost always on Discord.

Starfoth
Inserter
Inserter
Posts: 27
Joined: Thu Sep 22, 2016 10:29 pm
Contact:

Re: [14.21] Failed to Create Display [Unresolved]

Post by Starfoth »

Rseding91 wrote:
Starfoth wrote:Has Factorio been optimized for DX12?
No, Factorio uses DX9 still :(
That could be the issue

My drivers are TOO up-to-date, lol

However, DX9 should still work and not create this failure? Strange. Aw well, I guess I could try to slug through with low UPS until I can figure out how to get it to run with DX. Thanks for your help.

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

Re: [14.21] Failed to Create Display [Not-So-Resolved-But-Kinda]

Post by posila »

Hmm, I tried Factorio on laptop with Core i5-3320M, HD Graphics 4000 with freshly installed Windows 10 and it worked in DirectX without problems.
It is true on new map it dropped to 30 FPS in forest (with default zoom). With OpenGL it ran about the same.
I'll try it later again to see if it runs better if I connect power adapter. The laptop might have been running in some power saving mode.

Anyway, currently I have no idea why Factorio would fail to initialize Direct3D on your computer this way.

xtremeqg
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 10, 2016 9:27 am
Contact:

Re: [14.21] Failed to Create Display [Not-So-Resolved-But-Kinda]

Post by xtremeqg »

Anyway, currently I have no idea why Factorio would fail to initialize Direct3D on your computer this way.
Resolution mismatch? Some cards are really picky... (expanded flags for sanity). Try forcing windowed mode by editing config file and setting fullscreen=0.

[0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4000 {0x05, [0,0], 1366x768, 32bit, 60Hz}
D3DPRESENT_PARAMETERS: fmt=X8R8G8B8; w=1280,h=720,Hz=0; ads=0;pi=INTERVAL_IMMEDIATE;ms=0;swap=D3DSWAPEFFECT_DISCARD;flags=D3DPRESENTFLAG_LOCKABLE_BACKBUFFER

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

Re: [14.21] Failed to Create Display [Not-So-Resolved-But-Kinda]

Post by posila »

Based on the log fullscreen was not enabled.

I did more tests on laptop I currently have available and I just could not get good performance out of it. Enabling high performance mode in Intel graphics controle center helped a little bit but not much. I eventually found out the HD 4000 have 32MB of dedicated memory (I know it is actully still RAM in case of intergrated graphics cards, but it still makes difference in performance). On desktop it is usually possible to configure how much RAM should be dedicated to IGP, but I couldn't find this option on the laptop.

Sometime I'll have to test how different sizes of dedicated memory for IGP affect FPS in Factorio on desktop.

Post Reply

Return to “Pending”