failed to initialize display device

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

failed to initialize display device

Post 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!

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

Re: failed to initialize display device

Post by posila »

Hi, Radeon drivers have some problem with Direct3D9 lately, rebooting computer usually fixes it.

bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

Re: failed to initialize display device

Post by bradk2588 »

DO you know of anything else to try I have rebooted a couple times lol

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

Re: failed to initialize display device

Post by posila »

Hmm, in that case replace "--video-memory-usage=medium" launch option with

Code: Select all

--force-opengl

bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

Re: failed to initialize display device

Post by bradk2588 »

well lol still no luck I found that post about the differ setting and tried them all lol

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

Re: failed to initialize display device

Post by posila »

Can you post log with --force-opengl set?

bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

Re: failed to initialize display device

Post 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

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

Re: failed to initialize display device

Post 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

bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

Re: failed to initialize display device

Post by bradk2588 »

yes but i can uninstall them and and reinstall thats no big deal i will try that real quick

bradk2588
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jul 28, 2017 5:01 pm
Contact:

Re: failed to initialize display device

Post by bradk2588 »

not sure what that was about but i uninstalled/installed the graphics and all works beautifully thank you very much

Post Reply

Return to “Technical Help”