I have encountered a bug on Windows 10 x64 where the game freezes when I pause the game and unfocus/refocus the game. It doesn't happen instantly, but it has happened to me within 30 seconds several times. I've found that the CPU usage keeps fluctuating (opposed to being at 0% consistently) whilst frozen.
The quickest my game has frozen was within 30 seconds from tabbing out after pressing ESC to go to the pause screen.
This is all I have to go on:
I've created an archive containing my mods folder, a process memory dump, and my factorio-current.log (compressed ~300MB, uncompressed ~2GB). You can download it here: https://drive.google.com/open?id=0B5k1t ... UhUSXZfOHc
I hope this helps!
[0.14.21] Game freezing when paused and tabbed out
Re: [0.14.21] Game freezing when paused and tabbed out
Hi, thanks for the report. I tried to reproduce it, but was not successful. I enabled GeForce Experience overlay to reproduce your setup as closely as possible and even tried to enable shadowplay recording. Still no freeze. I have newer nVidia driver though.
Anyway, does it also happen if you set launch option in Factorio properties in Steam to
From the memory dump it looks like Direct3D might be dead-locked for some reason, but it is hard to tell if that is really the case.
Anyway, does it also happen if you set launch option in Factorio properties in Steam to
Code: Select all
--force-opengl
Re: [0.14.21] Game freezing when paused and tabbed out
Hi posila, thanks! I'm glad to hear the memory dump was useful. After playing for a few hours using the fix you recommended the game indeed did not freeze anymore. When I later went back to zero added startup parameters the freezing started happening again. I'll be using your solution, and I hope you can potentially fix this bug!