Page 1 of 1

[1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Wed Nov 29, 2023 3:23 pm
by poe_7575
Bought a new laptop (Windows 11) and installed Steam and Factorio. About 10 seconds after trying to launch the game from Steam, an "unexpected error occurred" crash window pops up. The game runs fine on my older laptop.

Any help is greatly appreciated

Re: [1.1.94] Game Crashes immediately on opening

Posted: Wed Nov 29, 2023 3:36 pm
by Loewchen
Install the amd graphics driver.

Re: [1.1.94] Game Crashes immediately on opening

Posted: Thu Nov 30, 2023 3:45 am
by poe_7575
I have 2 options listed under the display adapters in my device manager. If I disable the AMD Radeon(TM) Graphics, the game will launch using the integrated windows graphics card but the game is so laggy its unplayable.

If I click on either driver and update the driver, it says I have the latest driver installed.

Re: [1.1.94] Game Crashes immediately on opening

Posted: Thu Nov 30, 2023 4:02 am
by FuryoftheStars
For laptop discrete graphics cards, it's best to update the drivers via the manufacturer's website, not via Windows.

Re: [1.1.94] Game Crashes immediately on opening

Posted: Thu Nov 30, 2023 4:37 am
by Loewchen
And when doing the installation chose "Full install".

Factorio Crashes on start of game

Posted: Thu Nov 30, 2023 6:07 am
by bludlust123
Fresh install of latest version (.99) on brand new Alien Ware M18 with AMD Ryzen 9 and AMD 7900. Installed latest drivers from website. No saves, no mods...can't play the game in order to even have those!

Merged...

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 6:38 am
by Loewchen
If you still have this issue after installing the latest AMD software, post a screenshot of the Display tab of dxdiag (win+r -> dxdiag -> enter)

Re: Factorio Crashes on start of game

Posted: Thu Nov 30, 2023 4:29 pm
by bludlust123
bludlust123 wrote:
Thu Nov 30, 2023 6:07 am
Fresh install of latest version (.99) on brand new Alien Ware M18 with AMD Ryzen 9 and AMD 7900. Installed latest drivers from website. No saves, no mods...can't play the game in order to even have those!

Merged...
Find attached the results of DXdiag. This laptop has two AMD graphics chips. I've included screenshots of both.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 4:48 pm
by Rseding91
Someone else had this same issue a while ago here: viewtopic.php?f=49&p=585258

Their fix was to fully uninstall and re-install the graphics drivers (vs re-install/update) - maybe that will work for you?

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 8:18 pm
by bludlust123
Well, I figured out what my issue was. the integrated graphics was getting in the way of the game. Once I disabled it in Windows device manager, the game started right up. BUT, and this is the killer for me, it was LAGGY as all get out. it took a half second for my engineer to move after pressing the key. Stuff moved in discrete steps instead of smoothly across the screen. It's a brand spanking new alien ware M18 R1, purchased yesterday. Unless there is a setting in the game, or on the machine that I missed, I have to take it back as playing this game to the super megabase level is the ONLY reason I bought the machine.

That being said, is there something I can adjust that would make the game run smoothly?

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 8:42 pm
by FuryoftheStars
As suggested, try uninstalling and reinstalling the graphics driver. For the uninstall, you can even use DDU (direct download from dev found here: https://www.wagnardsoft.com/forums/viewtopic.php?t=4731) to make sure it's completely cleaned out. When reinstalling, make sure to use the version provided by your PC manufacturer (or if self built, from the graphics card manufacturer), not from Windows Update/Device Manager.

Also, as in your case you seem to have dual graphics cards, you may want to make sure Factorio is utilizing the better of the two.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 9:42 pm
by Rseding91
bludlust123 wrote:
Thu Nov 30, 2023 8:18 pm
Well, I figured out what my issue was. the integrated graphics was getting in the way of the game. Once I disabled it in Windows device manager, the game started right up. BUT, and this is the killer for me, it was LAGGY as all get out. it took a half second for my engineer to move after pressing the key. Stuff moved in discrete steps instead of smoothly across the screen. It's a brand spanking new alien ware M18 R1, purchased yesterday. Unless there is a setting in the game, or on the machine that I missed, I have to take it back as playing this game to the super megabase level is the ONLY reason I bought the machine.

That being said, is there something I can adjust that would make the game run smoothly?
That sounds like it fell back to software rendering and isn't actually using the dedicated GPU at all.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 10:18 pm
by bludlust123
Any Idea on how to make it use the dedicated GPU, then?

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 11:02 pm
by Loewchen
You should be able to set the application to High Performance GPU in windows Display Graphics, but all of this should work with both gpus enabled.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Nov 30, 2023 11:14 pm
by bludlust123
I've solved my issue. Deep in the windows 11 home display properties, is a place where you can select which graphics card you want an individual application to use. However, all graphics card have to be enabled in Device Manager. Anyway, my game runs flawlessly now.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Fri Dec 22, 2023 12:57 am
by bludlust123
Same problem, different day. For some reason, the M18 R1 from alienware as two graphics cards, an AMD 610M integrated and a AMD 7900 discreet card. If the 610m is enabled the game crashed with the above errors listed earlier in this thread. If the 610M is disabled, the game boots, but it extremely laggy. I'm at my wits end. I've uninstallted the drivers for both cards, I've unstalled the AMD adrenalin software, I reinstalled the drivers from AMD, I've unstalled and reinstalled Factorio. I actually had it working for ONE evening of game play....no longer.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Wed Mar 20, 2024 9:24 pm
by Rseding91
Are all of these errors on the same laptop from the same manufacturer? I'm wondering if I could buy that laptop and reproduce this myself to figure out why it's broken with Radeon mobile graphics.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Thu Mar 21, 2024 2:02 am
by Divism
I found a potential work around for this issue, if you disable the problematic driver and open the game then while the game is still open re-enable the driver and use the offered solution it should work.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Fri Apr 12, 2024 7:54 am
by Yexo
I can reproduce this problem as well unfortunately. Laptop: https://frame.work/nl/en/products/laptop16-diy-amd-7040
Fresh windows 11 install, then Factorio via Steam. Game doesn't start with the error from this topic.

When I disable the 780M display adaptor, the game starts in software rendering mode (even main menu is super slow, checked via task manager and no load on gpu but there is cpu load).
Screenshot 2024-04-12 093902.png
Screenshot 2024-04-12 093902.png (10.27 KiB) Viewed 460 times
I've tried the solution offered by Loewchen / bludlust123, but the same crash occurs:
Screenshot 2024-04-12 094350.png
Screenshot 2024-04-12 094350.png (71.28 KiB) Viewed 460 times
I've found a solution via the AMD Software: Adreneline Edition. The default for "AMD SmartAccess Graphics" results in a crash (this is the default):
Screenshot 2024-04-12 095018.png
Screenshot 2024-04-12 095018.png (126.25 KiB) Viewed 460 times
But if I change that setting to "Hybrid graphics mode", the game starts/runs fine:
Screenshot 2024-04-12 093902.png
Screenshot 2024-04-12 093902.png (10.27 KiB) Viewed 460 times
Rseding91 / others: Let me know if I can provide further help, for example by running tests with different settings to see what works, and/or to verify a fix if you manage to find one.

Re: [1.1.94] Crash on start with Radeon mobile graphics (Failed to get SDL_DXGIGetOutputInfo.)

Posted: Wed Apr 17, 2024 5:48 pm
by rhejinald
Thanks for posting the AMD software links, Yexo! I ran into the same issue, and your fix did the trick. No mods (yet ;) ), fresh Windows 11 install, Factorio 1.1.104; same error as above. Leaving my notes to help with search results. I'm unstuck, but happy to help with diagnostics if there's a need.


Ran into this with Framework 16 + AMD Radeon 780M also, same as Yexo it looks like.

I tried updating the drivers both via AMD's Driver site (attempted both Full and Factory Reset installs) and Framework's custom bundle, all with no fix.

The "AMD Software: Adrenalin Edition" software only needed the "SmartAccess Graphics" to be set to Hybrid, rather than "AMD SmartAccess" and the game loaded. Config page for Factorio attached below for anyone else hitting this.

0.021 System info: [CPU: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics, 16 cores, RAM: 8414/32060 MB, page: 10195/36924 MB, virtual: 4344/134217727 MB, extended virtual: 0 MB]

Stack trace fragment:

0.333 [0]: \\.\DISPLAY1 - AMD Radeon(TM) 780M {0x05, [0,0], 2560x1600, 32bit, 165Hz}
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\graphics\sdlwindow.cpp (278): SDLWindow::initializeGraphicsInterface
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\graphics\sdlwindow.cpp (224): SDLWindow::SDLWindow
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\globalcontext.cpp (981): GlobalContext::loadGraphics
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\globalcontext.cpp (479): GlobalContext::init
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\mainloop.cpp (299): MainLoop::run
c:\users\build\appdata\local\temp\factorio-build-axh5wp\src\main.cpp (1267): wmain
d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFDA0C257D)
00007FFFDA0C257D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFDC1CAA48)
00007FFFDC1CAA48 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
3.504 Error SDLWindow.cpp:278: Failed to get SDL_DXGIGetOutputInfo. SDL_Error:
3.504 Error CrashHandler.cpp:641: Received 22

Image (fallback link https://imgur.com/a/VNopt55 -- I'm new here so not 100% sure on embedding)