Page 1 of 1

[0.14.22] Crash on waking up from computer sleep

Posted: Thu Feb 23, 2017 10:37 pm
by octorok
I have a fairly beefy gaming laptop, but every time it wakes from sleep mode with the new version the game crashes with the following error message:

---------------------------
Error
---------------------------
Unable to create sprite (1916X1053) probably not enough of video memory.
---------------------------
OK
---------------------------

I assume that there isn't enough video memory, though I'm surprised to see the game trying to create such a large image.

Re: [0.14.22] Crash on waking up from computer sleep

Posted: Fri Feb 24, 2017 8:04 am
by Rseding91
We don't support putting the computer to sleep while Factorio is running.

Re: [0.14.22] Crash on waking up from computer sleep

Posted: Fri Feb 24, 2017 9:56 am
by posila
I have put non-trivial effort into fixing this in 0.14 and it works on computers I tested it on. I am sad to see it still crashes on some computers. Well ... it might work eventually, but not any time soon.
If you need this feature, use --force-opengl launch option in Factorio properties in Steam library. OpenGL shouldn't suffer from this crash on computer wake up.

Re: [0.14.22] Crash on waking up from computer sleep

Posted: Sat Feb 25, 2017 3:32 pm
by octorok
Bummer this won't be fixed. But thank you for the reply, I'll try the `--force-opengl` workaround. Thanks for looking into it.