[13.13] Crash when loading in background: "57: failed to create display!"

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 869
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

[13.13] Crash when loading in background: "57: failed to create display!"

Post by mexmer »

i had this error few times even with "stable" version, and also with previous releases. but with current i'm able to replicate it 100%

what i do
1) run factorio
2) bring another application to front (for example web browser)
factorio in "background" stops loading and throws error.

this doesn't happen if you bring to front other application, after you see factorio logo and "loading" progress. also seems steam version is more susceptible to this problem.
it's just matter of convenience, no big issue, but still i think should be reported ;) , i put windowed games into background during loading phase, since they tend to take long (especially when you have lot of mods installed and such)

bellow is content of log

Code: Select all

   0.012 2016-08-04 18:45:53; Factorio 0.13.13 (build 23721, win64, steam)
   0.012 Operating system: Windows 7 Service Pack 1
   0.012 Program arguments: "C:\ProgramData\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.012 Read data path: C:/ProgramData/SteamLibrary/steamapps/common/Factorio/data
   0.013 Write data path: C:/Users/Josef Micka/AppData/Roaming/Factorio
   0.013 Binaries path: C:/ProgramData/SteamLibrary/steamapps/common/Factorio/bin
   0.068 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 1] [DXT: auto]
   0.073 Available display adapters: 2
   0.074  [0]: \\.\DISPLAY1 - AMD Radeon R7 200 Series {0x05, [0,0], 1920x1200, 32bit, 60Hz}
   0.074  [1]: \\.\DISPLAY2 - AMD Radeon R7 200 Series {0x01, [1920,0], 1920x1200, 32bit, 60Hz}
   0.076 Create display on adapter 1. Size 1280x720 at position [310, 222].
  10.082 Failed to create a window.
  10.082 Failed to create display on adapter 1. Trying adapter 0.
  20.089 Failed to create a window.
  20.091 Error Util.cpp:57: failed to create display! 


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

Re: [13.13] Crash when loading in background: "57: failed to create display!"

Post by posila »

That does it! I am fixing it, so at least we are going to find out why Allegro enforces Window to be in foreground when it initialized OpenGL :)
Fixed for 0.13.14
Thanks for the report, by the way :)

User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 869
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: [1.13.13]Game throws error on when loading in background

Post by mexmer »

Loewchen wrote:Did you try those?: viewtopic.php?f=7&t=9300
i know how to prevent this from happening, i also mentioned it in my first post. but i felt it should be reported, since it's possible to reproduce it 100%.
posila wrote:That does it! I am fixing it, so at least we are going to find out why Allegro enforces Window to be in foreground when it initialized OpenGL :)
Fixed for 0.13.14
Thanks for the report, by the way :)
good to know, really didn't expected to be fixed this fast :D

Killerbee
Long Handed Inserter
Long Handed Inserter
Posts: 80
Joined: Thu Mar 17, 2016 8:44 pm
Contact:

Re: [1.13.13]Game throws error on when loading in background

Post by Killerbee »

mexmer wrote:good to know, really didn't expected to be fixed this fast :D
It is probably fixed this fast because you are not the only person that reported this issue: viewtopic.php?f=48&t=22497
So that linked issue can also be closed after this release.

Post Reply

Return to “Resolved Problems and Bugs”