Page 1 of 1

[Steam][0.12.24][posila] Crash when switching to full screen

Posted: Wed Mar 02, 2016 3:28 am
by Sinxar
Can't switch to full screen mode.
factorio-current.log
(3.78 KiB) Downloaded 97 times
System
Windows 10 x64
16GB DDR3-1800
i7-4790k
GTX 970 4GB
Asus Z97-E
Soundblaster Z
Acer XB270HU (2560x1440 - 144hz - G-Sync - primary)
Acer B233HU (2048x1152 - 60hz - secondary)
OCZ Trion 150 480GB (installed to this drive)

Steam overlay enabled, default install location, cloud sync enabled.

Re: [Steam][0.12.24] Crash when switching to full screen

Posted: Thu Mar 03, 2016 1:06 pm
by posila
Hi, did it crash once or does it crash every time? Does it also crash if you resize or maximize window?
Could you please test this scenario:
  • 1) start game and in graphics options select Screen 2
    2) exit Factorio
    3) start Factorio again and switch to fullscreen
I am trying to determine if it crashes only if it tries to go to fullscreen on G-sync/144hz monitor.

Re: [Steam][0.12.24] Crash when switching to full screen

Posted: Thu Mar 03, 2016 6:37 pm
by Sinxar
posila wrote:Hi, did it crash once or does it crash every time? Does it also crash if you resize or maximize window?
Could you please test this scenario:
  • 1) start game and in graphics options select Screen 2
    2) exit Factorio
    3) start Factorio again and switch to fullscreen
I am trying to determine if it crashes only if it tries to go to fullscreen on G-sync/144hz monitor.
Crashes every time.

I reinstalled the game and deleted everything in the Factorio appdata folder so it would regenerate the default configs.

Selecting screen 2 and restarting results in the game opening on screen 1 (still windowed). Setting full screen then going 'back' causes the game to hang and requires it to be closed forcefully. Opening the game again lets it open normally in fullscreen on screen 2. Once in fullscreen selecting screen 1 allows it to open in fullscreen on screen 1 normally. Selecting windowed mode (while in fullscreen on screen 1) causes the game to hang and requires a force close.

You can make it go fullscreen on screen 1 by editing the config so it starts in fullscreen mode.

In other words, it is the act of switching between full screen and windowed modes that causes the problem on this monitor (both ways)

Re: [Steam][0.12.24][pending] Crash when switching to full screen

Posted: Fri Mar 04, 2016 6:19 pm
by Sinxar
Tested in 0.12.25 and it still happens except now the error claims I am using some form of monitoring software which simply isn't the case.

Re: [Steam][0.12.24][posila] Crash when switching to full screen

Posted: Fri Mar 18, 2016 12:18 pm
by posila
Thank you for the additional information.

I haven't managed to reproduce the issue, I made blind fix in function that crashed, but I suspect it is more like treating symptoms that fixing actual cause. When 0.12.27 is released, could you try if the issue is fixed, please?