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.
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.
Re: [0.12.29] Failed to create display!
Posted: Wed Apr 13, 2016 12:30 pm
by torakles
I tried setting launch options as you said and it works! Thank you!!
Re: [0.12.29] Failed to create display!
Posted: Fri Apr 29, 2016 7:12 pm
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.
Re: [0.12.29] Failed to create display!
Posted: Mon Jul 18, 2016 7:40 pm
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
0.001 2016-07-18 22:42:35; Factorio 0.13.9 (build 23372, win64, steam)
0.001 Operating system: Windows 10
0.001 Program arguments: "C:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/SteamLibrary/steamapps/common/Factorio/data
0.001 Write data path: H:/Users/Alex/AppData/Roaming/Factorio
0.001 Binaries path: C:/SteamLibrary/steamapps/common/Factorio/bin
0.013 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 0] [DXT: false]
0.013 Available display adapters: 2
0.014 [0]: \\.\DISPLAY8 - AMD Radeon R9 200 Series {0x8080001, [-1680,0], 1680x1050, 32bit, 60Hz}
0.014 [1]: \\.\DISPLAY9 - AMD Radeon R9 200 Series {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
0.014 Create display on adapter 0. Size 1280x720 at position [190, 147].
0.033 Allegro requires at least OpenGL version 1.2 to work.
0.042 Error Util.cpp:57: failed to create display!