Page 1 of 1
[16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 9:48 am
by Vatharian
This happened before in, but I couldn't put a finger on it. Now I have fresh OS install so I could verify.
Game crashes with either message like this:
Unable to create sprite (2460X1577) probably not enough of video memory.
or freezes with black screen. In the case of freeze I have to manually kill the game from task manager.
This happens after locking screen (Win+L), and unlocking. Reproducibility is around 10-20%.
Log 1:
https://pastebin.com/MDmWKGKy
Log 2:
https://pastebin.com/p5JkYTdL
Screenshots & hardware:
https://imgur.com/a/YBFee
It's Windows 10 v1607, HP ZBook G2 15.
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 10:29 am
by Loewchen
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 1:50 pm
by Vatharian
This is lock, not standby, this doesn't invalidate graphics context, there is no reinitialization of video driver in between. Literally nothing should happen - the OS puts an overlay over screen, switching session to null.
I can even play Factorio using remote desktop, which locks screen.
Same happened in Windows 8.1.
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 2:14 pm
by Loewchen
Hm, must have linked the wrong report, I was very sure there was a report with the same conclusion for locked, but can not find it now. Ill clean this up later.
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 2:17 pm
by Vatharian
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 2:46 pm
by posila
50124 was linked when I saw this thread first time. And it is the same case and the same conclusion - it will probably be fixed sometime in future.
When you lock screen or change user, Windows switches desktops (either to other user's or secure desktop) which resets Direct3D9. That is fine, the game just doesn't render itself anymore. When you switch back, D3D resets again, so the game starts to recovers its textures and GPU buffers, but then it resets again in middle of it for some reason and things get screwed.
Linked Mac issue is something else. OpenGL should handle all these things automatically.
Re: [16.0] Crash or freeze after locking computer
Posted: Thu Dec 14, 2017 3:48 pm
by Vatharian
That would suggest domain/AD joined Windows behave differently than normal ones. I can switch outputs, lock/relock, suspend and whatever on my home PC.