[0.12.29] Failed to create display!
[0.12.29] Failed to create display!
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.
Re: [0.12.30] Failed to create display!
Logfile, or or it never happened
.

Koub - Please consider English is not my native language.
Re: [0.12.30] Failed to create display!
Here you go:
log file
Re: [0.12.30] Failed to create display!
Try set launch options in Factorio properties in Steam to
Code: Select all
--force-d3d
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 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!
Re: [0.12.29] Failed to create display!
I tried setting launch options as you said and it works! Thank you!! 

Re: [0.12.29] Failed to create display!
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.
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.
Re: [0.12.29] Failed to create display!
I confirm. When launching the game from Steam, don't Alt-Tab before the loading screen shows up, otherwise: "Failed to create display!"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.
Reproducible in 0.13.9
Using --force-d3d helps.
Log