[0.12.29] Failed to create display!

This subforum contains all the issues which we already resolved.
Post Reply
torakles
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Apr 13, 2016 11:14 am
Contact:

[0.12.29] Failed to create display!

Post by torakles »

I just updated the game to v0.12.29 and everytime I try to open the game, it crashes and shows a screen saying "failed to create display!". I have windows 10 64 bits and I have never had any problem while playing previous versions of the game. In fact I also have the 0.11.something (pirate) version of the game I used to play before buying the game and it still works right now. So far I've tried to repair the game's cache (playing the steam version), redownload/reinstall and restart the computer, but it didn't help. Anyone has any idea of why this is caused and what could be the fix? Thank you in advance.
Last edited by torakles on Wed Apr 13, 2016 12:05 pm, edited 1 time in total.

Koub
Global Moderator
Global Moderator
Posts: 7198
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: [0.12.30] Failed to create display!

Post by Koub »

Logfile, or or it never happened :).
Koub - Please consider English is not my native language.

torakles
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Apr 13, 2016 11:14 am
Contact:

Re: [0.12.30] Failed to create display!

Post by torakles »

Here you go:
log file

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

Re: [0.12.30] Failed to create display!

Post by posila »

Try set launch options in Factorio properties in Steam to

Code: Select all

--force-d3d
torakles wrote:

Code: Select all

   0.138  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 3000 {0x05, [0,0], 1366x768, 32bit, 60Hz}
   0.139 Create display on adapter 0. Size 1266x668 at position [40, 32].
   0.155 Allegro requires at least OpenGL version 1.2 to work.
   0.160 Error Util.cpp:58: failed to create display!
I don't understand why it tries to use OpenGL and why your computer does some old version or doesn't have it at all.

torakles
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Apr 13, 2016 11:14 am
Contact:

Re: [0.12.29] Failed to create display!

Post by torakles »

I tried setting launch options as you said and it works! Thank you!! :D

NukerNoah
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Apr 27, 2016 6:27 pm
Contact:

Re: [0.12.29] Failed to create display!

Post by NukerNoah »

For what it's worth I've been able to consistently reproduce this error.
When I launch through steam it fires it's wrapper that allows the use of steam overlay and launches the game.
I have found that if, during this time, I switch windows to another active window (I used Chrome) before the game window opens instead of the black background and loading screen it's white instead and shortly throws the error "Failed to create display"

So yeah, make sure the game at least gets to it's loading screen before tabbing out.

alexzzzz
Inserter
Inserter
Posts: 36
Joined: Sat Jan 17, 2015 5:28 pm
Contact:

Re: [0.12.29] Failed to create display!

Post by alexzzzz »

NukerNoah wrote:For what it's worth I've been able to consistently reproduce this error.
When I launch through steam it fires it's wrapper that allows the use of steam overlay and launches the game.
I have found that if, during this time, I switch windows to another active window (I used Chrome) before the game window opens instead of the black background and loading screen it's white instead and shortly throws the error "Failed to create display"

So yeah, make sure the game at least gets to it's loading screen before tabbing out.
I confirm. When launching the game from Steam, don't Alt-Tab before the loading screen shows up, otherwise: "Failed to create display!"

Reproducible in 0.13.9
Using --force-d3d helps.
Log

Post Reply

Return to “Resolved Problems and Bugs”