[0.15.3] Failed to create display [Radeon/DirectX] (MR)
[0.15.3] Failed to create display [Radeon/DirectX] (MR)
When starting the Factorio icon flashed in a semi-transparent moving way on the taskbar.
Then I got an error message: "failed to create display!"
This happened after a fresh boot just after I updated to 0.15.3.
Before this I had tested 0.15.0 and 0.15.1, both run fine.
Running on an AMD Radeon HD 7970, with a 2560x1440@99Hz desktop.
There was no changes/updates to the system or drivers.
This seems to happen every time I start Factorio now.
Then I got an error message: "failed to create display!"
This happened after a fresh boot just after I updated to 0.15.3.
Before this I had tested 0.15.0 and 0.15.1, both run fine.
Running on an AMD Radeon HD 7970, with a 2560x1440@99Hz desktop.
There was no changes/updates to the system or drivers.
This seems to happen every time I start Factorio now.
- Attachments
-
- factorio-current.log
- Crash log
- (109.14 KiB) Downloaded 188 times
Re: [0.15.3] Failed to create display
Hi, that is really strange. After 0.15.0, there were no changes related to initialization of graphics API.
There was change in graphics config settings, but only difference it could make is that v-sync used to be turned off by default, now it is turned on by default.
Please save attached config.ini to %APPDATA%\Factorio\config and let me know if the game loads after that.
There was change in graphics config settings, but only difference it could make is that v-sync used to be turned off by default, now it is turned on by default.
Please save attached config.ini to %APPDATA%\Factorio\config and let me know if the game loads after that.
- Attachments
-
- config.ini
- (60 Bytes) Downloaded 199 times
Re: [0.15.3] Failed to create display
Code: Select all
0.003 2017-04-28 17:03:40; Factorio 0.15.3 (build 29201, win64, steam)
0.003 Operating system: Windows 7 Service Pack 1
0.003 Program arguments: "C:\Spill\steam\SteamApps\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.003 Read data path: C:/Spill/steam/SteamApps/steamapps/common/Factorio/data
0.003 Write data path: C:/Users/SandyBridge/AppData/Roaming/Factorio
0.003 Binaries path: C:/Spill/steam/SteamApps/steamapps/common/Factorio/bin
0.014 System info: [CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 16367MB]
0.014 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.015 Available display adapters: 1
0.015 [0]: \\.\DISPLAY1 - AMD Radeon HD 7900 Series {0x8080005, [0,0], 2560x1440, 32bit, 99Hz}
0.015 Create display on adapter 0. Size 1280x720 at position [630, 342].
0.196 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.215 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.232 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.241 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.296 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.326 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.335 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.343 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.386 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=1;pi=-2147483648;ms=0;swap=1;flags=1
0.416 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.425 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.434 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.467 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=1;pi=-2147483648;ms=0;swap=1;flags=1
0.497 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.505 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.514 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.548 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=1;pi=-2147483648;ms=0;swap=1;flags=1
0.577 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.586 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.594 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.628 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=1;pi=-2147483648;ms=0;swap=1;flags=1
0.658 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.666 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.675 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
...
15.367 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=1;pi=1;ms=1;swap=3;flags=0
15.367 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
15.374 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
15.382 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
15.383 Error Util.cpp:58: failed to create display!
19.676 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Re: [0.15.3] Failed to create display
I tried the config file, but the result is the same.
Neither vsync,fullscreen or desktop display frequency seems to change the behavior.
In fullscreen mode a window is opening and closing at a very very high rate, making the entire screen flicker.
However, I did find that setting 'force-opengl=true' made the game start
Neither vsync,fullscreen or desktop display frequency seems to change the behavior.
In fullscreen mode a window is opening and closing at a very very high rate, making the entire screen flicker.
However, I did find that setting 'force-opengl=true' made the game start
- Attachments
-
- factorio-current_force_opengl.log
- forced opengl
- (2.67 KiB) Downloaded 173 times
-
- factorio-current_vsync_off.log
- From the provided config.
- (111.43 KiB) Downloaded 163 times
Re: [0.15.3] Failed to create display
I am having the same issue, It is usually resolved by restarting the game.
I am also using a Radeon 7970, could this be a driver compatibility issue?
I am also using a Radeon 7970, could this be a driver compatibility issue?
- Attachments
-
- factorio-current.log
- (111.96 KiB) Downloaded 173 times
-
- Inserter
- Posts: 21
- Joined: Mon Jun 09, 2014 5:59 pm
- Contact:
[0.15.12] Failed to load window icon
After updating to 0.15.12 I can't start factorio anymore.
Verifying the game chache through steam and completely redownloading the game didn't help.
I checked, the image exists with that name
It also seems that the window tries to open multiple times, the icon in the taskbar disappears and reappears multiple times before the error
Log:
Merged...
Verifying the game chache through steam and completely redownloading the game didn't help.
I checked, the image exists with that name
It also seems that the window tries to open multiple times, the icon in the taskbar disappears and reappears multiple times before the error
Log:
Code: Select all
0.007 2017-05-18 17:59:33; Factorio 0.15.12 (build 29834, win64, steam)
0.007 Operating system: Windows 10 (version 1607)
0.007 Program arguments: "D:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.007 Read data path: D:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.007 Write data path: C:/Users/Nathan/AppData/Roaming/Factorio
0.007 Binaries path: D:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.066 System info: [CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 8 cores, RAM: 16266MB]
0.067 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.070 Available display adapters: 3
0.070 [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x80001, [-1920,0], 1920x1080, 32bit, 59Hz}
0.070 [1]: \\.\DISPLAY2 - AMD Radeon R9 200 Series {0x80005, [0,0], 1920x1080, 32bit, 59Hz}
0.070 [6]: \\.\DISPLAY7 - Intel(R) HD Graphics 4600 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
0.070 Create display on adapter 1. Size 1280x720 at position [310, 162].
0.352 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.371 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.404 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.451 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.463 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.483 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.514 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.561 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.568 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.585 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.616 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.663 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.671 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.688 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.718 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.764 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.773 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=1;flags=1
0.790 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.821 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.869 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.876 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=1;flags=1
0.892 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.923 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
0.972 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
0.981 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=1;flags=1
0.997 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.028 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.076 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.085 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=1;flags=1
1.100 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.134 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.180 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.190 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=3;flags=1
1.206 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.239 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.286 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.292 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=3;flags=1
1.308 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.342 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.390 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.397 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=3;flags=1
1.415 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.454 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.501 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.508 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=3;flags=1
1.524 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.557 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.604 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.613 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=3;flags=1
1.632 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.672 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.724 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.730 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=3;flags=1
1.747 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.779 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.827 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.835 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=3;flags=1
1.851 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.884 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
1.937 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.946 D3DPRESENT_PARAMETERS: fmt=0x17{0xd}; w=1280,h=720,Hz=0; ads=0;pi=1;ms=0;swap=3;flags=1
1.963 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
1.998 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_INVALIDCALL[-2005530516]
2.056 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_NOTAVAILABLE[-2005530518]
2.060 Failed to create display on adapter 1. Trying adapter 0.
2.060 Create display on adapter 0. Size 1280x720 at position [-1610, 162].
2.138 Initialised Direct3D:[1] AMD Radeon R9 200 Series; driver: aticfx64.dll 22.19.162.4
2.146 Video memory size (dedicated video/dedicated system/shared system/available): 3053/0/8133/4092 MB
2.146 Render to texture is NOT SUPPORTED!
2.250 Error Util.cpp:62: Failed to load window icon! Loading from: D:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/factorio-icon.png
156.279 Goodbye
Re: [0.15.3] Failed to create display [Radeon/DirectX] (MR)
@Nathan1852: Does it still happen if you try to reboot the computer? It fails to initialize DirectX for whatever reason.
-
- Inserter
- Posts: 21
- Joined: Mon Jun 09, 2014 5:59 pm
- Contact:
Re: [0.15.3] Failed to create display [Radeon/DirectX] (MR)
Yes, it still happens after a reboot
Edit: It works when I set --force-opengl as launch option
Edit: It works when I set --force-opengl as launch option
[0.15.12] Game crashes with D3D
Hello there,
i don't know, if it's really a bug.
If i'm trying to start the game, i got a D3D-Error (You can see it in the attached file). If i'm changing the game-config to use OpenGL, the game starts normally.
Factorio worked in 0.15.10 with default-config fine.
edit:
I'm using an AMD RX480 with 4GB of VRAM.
Thx for support,
Greetings, Ronny
Merged...
edit2: Reboot did it for me.
i don't know, if it's really a bug.
If i'm trying to start the game, i got a D3D-Error (You can see it in the attached file). If i'm changing the game-config to use OpenGL, the game starts normally.
Factorio worked in 0.15.10 with default-config fine.
edit:
Code: Select all
0.013 Available display adapters: 2
0.013 [0]: \\.\DISPLAY1 - Radeon (TM) RX 480 Graphics {0x80005, [0,0], 1680x1050, 32bit, 60Hz}
0.014 [1]: \\.\DISPLAY2 - Radeon (TM) RX 480 Graphics {0x80001, [1680,-30], 1920x1080, 32bit, 29Hz}
0.014 Create display on adapter 0. Size 1280x720 at position [190, 147].
0.070 D3DPRESENT_PARAMETERS: fmt=0x16{0x17}; w=1280,h=720,Hz=0; ads=0;pi=-2147483648;ms=0;swap=1;flags=1
0.085 CreateDevice(HAL, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.119 CreateDevice(REF, HARDWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
0.152 CreateDevice(REF, SOFTWARE_VERTEXPROCESSING) failed: D3DERR_DEVICELOST[-2005530520]
Thx for support,
Greetings, Ronny
Merged...
edit2: Reboot did it for me.
- Attachments
-
- factorio-previous.log
- (55.49 KiB) Downloaded 160 times
Last edited by rldml on Thu May 18, 2017 8:02 pm, edited 1 time in total.
Re: [0.15.3] Failed to create display [Radeon/DirectX] (MR)
I had the same issue today, cause by the update of windows 10.posila wrote:@Nathan1852: Does it still happen if you try to reboot the computer? It fails to initialize DirectX for whatever reason.
But for me, rebooting my computer solved the problem.
Re: [0.15.3] Failed to create display [Radeon/DirectX] (MR)
Today I came to the office and had the same error (wall of CreateDevice() failed with eventual "failed to create display" error message), so I had opportunity to investigate it a little bit.
It seems to be some problem with Radeon driver, none of the DX9 sample ran, or it ran only on my second graphics card (GTX 750Ti). Also Portal 1 (which is DX9 game) didn't run.
When I tried to run the game on the GTX, it crashed on "Failed to load window icon!" error which Nathan1852 had. It turned out Allegro does some checks against default graphics adapter (Radeon in my case) that caused the game not to run on secondary graphics card. So I fixed that.
After reboot, everything works as expected (Factorio, DX9 samples, Portal 1).
It seems to be some problem with Radeon driver, none of the DX9 sample ran, or it ran only on my second graphics card (GTX 750Ti). Also Portal 1 (which is DX9 game) didn't run.
When I tried to run the game on the GTX, it crashed on "Failed to load window icon!" error which Nathan1852 had. It turned out Allegro does some checks against default graphics adapter (Radeon in my case) that caused the game not to run on secondary graphics card. So I fixed that.
After reboot, everything works as expected (Factorio, DX9 samples, Portal 1).