Page 1 of 1

failed to initialize display device

Posted: Fri Jul 28, 2017 5:07 pm
by bradk2588
Hello I just bought the game and after downloading (through steam) when I click to install and play error box pops up with "Failed to initialize display device"
Thank you

0.003 2017-07-28 12:52:07; Factorio 0.15.31 (build 30773, win64, steam)
0.003 Operating system: Windows 10 (version 1607)
0.003 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--video-memory-usage=medium"
0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.003 Write data path: C:/Users/bradk/AppData/Roaming/Factorio
0.003 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.010 System info: [CPU: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz, 12 cores, RAM: 32678MB]
0.011 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.013 Available display adapters: 2
0.013 [0]: \\.\DISPLAY1 - Radeon (TM) RX 470 Graphics {0x80005, [0,0], 1600x900, 32bit, 60Hz}
0.013 [1]: \\.\DISPLAY2 - Radeon (TM) RX 470 Graphics {0x80001, [-1360,129], 1360x768, 32bit, 60Hz}
0.014 Create display on adapter 0. Size 1280x720 at position [150, 72].
0.166 D3D9: Skipping adapter 0 as it doesn't have any available modes.
0.228 D3D9: Skipping adapter 1 as it doesn't have any available modes.
0.228 D3D9: al_get_d3d_adapter_from_win_adapter failed. Using adapter -1 instead
0.525 d3d_create_display failed.

0.525 Failed to create display (NULL)

0.525 Error Util.cpp:62: Failed to initialize display device!

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 5:28 pm
by posila
Hi, Radeon drivers have some problem with Direct3D9 lately, rebooting computer usually fixes it.

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 5:44 pm
by bradk2588
DO you know of anything else to try I have rebooted a couple times lol

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 5:47 pm
by posila
Hmm, in that case replace "--video-memory-usage=medium" launch option with

Code: Select all

--force-opengl

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 6:21 pm
by bradk2588
well lol still no luck I found that post about the differ setting and tried them all lol

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 6:28 pm
by posila
Can you post log with --force-opengl set?

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 6:39 pm
by bradk2588
0.006 2017-07-28 14:37:19; Factorio 0.15.31 (build 30773, win64, steam)
0.006 Operating system: Windows 10 (version 1607)
0.006 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--force-opengl"
0.006 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.006 Write data path: C:/Users/bradk/AppData/Roaming/Factorio
0.006 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.015 System info: [CPU: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz, 12 cores, RAM: 32678MB]
0.016 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.019 Available display adapters: 2
0.019 [0]: \\.\DISPLAY1 - Radeon (TM) RX 470 Graphics {0x80005, [0,0], 1600x900, 32bit, 60Hz}
0.019 [1]: \\.\DISPLAY2 - Radeon (TM) RX 470 Graphics {0x80001, [-1360,129], 1360x768, 32bit, 60Hz}
0.020 Create display on adapter 0. Size 1280x720 at position [150, 72].
0.040 WGL_ARB/EXT_pf not supported.

0.041 Allegro requires at least OpenGL version 1.2 to work.
0.045 Failed to create display (NULL)

0.045 Error Util.cpp:62: Failed to initialize display device!
5.464 Steam API shutdown.
5.466 Goodbye

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 6:58 pm
by posila
It almost looks like you don't have graphics drivers installed. Other games work for you normally?
Driver: http://support.amd.com/en-us/download/d ... 0%20-%2064

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 7:00 pm
by bradk2588
yes but i can uninstall them and and reinstall thats no big deal i will try that real quick

Re: failed to initialize display device

Posted: Fri Jul 28, 2017 7:13 pm
by bradk2588
not sure what that was about but i uninstalled/installed the graphics and all works beautifully thank you very much