[16.0] Crash or freeze after locking computer

Things that has been reported already before.
Post Reply
Vatharian
Inserter
Inserter
Posts: 45
Joined: Mon Feb 01, 2016 10:09 pm
Contact:

[16.0] Crash or freeze after locking computer

Post 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.
Veni, Vici, Spaghettici - never bus! (tm)


Vatharian
Inserter
Inserter
Posts: 45
Joined: Mon Feb 01, 2016 10:09 pm
Contact:

Re: [16.0] Crash or freeze after locking computer

Post 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.
Veni, Vici, Spaghettici - never bus! (tm)

Loewchen
Global Moderator
Global Moderator
Posts: 8285
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.0] Crash or freeze after locking computer

Post 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.

Vatharian
Inserter
Inserter
Posts: 45
Joined: Mon Feb 01, 2016 10:09 pm
Contact:

Re: [16.0] Crash or freeze after locking computer

Post by Vatharian »

Veni, Vici, Spaghettici - never bus! (tm)

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

Re: [16.0] Crash or freeze after locking computer

Post 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.

Vatharian
Inserter
Inserter
Posts: 45
Joined: Mon Feb 01, 2016 10:09 pm
Contact:

Re: [16.0] Crash or freeze after locking computer

Post 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.
Veni, Vici, Spaghettici - never bus! (tm)

Post Reply

Return to “Duplicates”