[0.14.21] Crash after taking large screenshot

Bugs that are actually features.
Bilka
Factorio Staff
Factorio Staff
Posts: 3433
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[0.14.21] Crash after taking large screenshot

Post by Bilka »

My game crashed after taking a 7200 x 12800 (zoom level 0.2) screenshot, followed by a 3000 x 5000 (zoom level 0.2) screenshot.

After I took the first screenshot and the game unfreezed, the screenshot was not saved in the script-output folder so I tried again, that time with lower resolution. Immediately after the game unfreezed and the console message appeared in blue, the game crashed. Then the first screenshot was actually saved in the script-output folder.
Last edited by Bilka on Sun Feb 25, 2018 1:11 am, edited 1 time in total.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [0.14.21] Crash after taking large screenshot

Post by daniel34 »

http://lua-api.factorio.com/latest/LuaG ... screenshot
resolution :: Position (optional): Maximum allowed resolution is 16384x16384 (resp. 8196x8196 when anti_alias is true), but maximum recommended resolution is 4096x4096 (resp. 2048x2048).
The maximum possible resolution depends on the amount of video memory your card has, with 2GB (dedicated) VRAM it is around 8192x8192. If you want to take larger screenshots you should take smaller screenshots of various parts instead and stitch them together manually.

It shouldn't crash when taking a smaller screenshot after the bigger one failed though, unless taking the first screenshot already corrupted some RAM/VRAM. The top left portion of your screenshot looks like it has been corrupted.
quick links: log file | graphical issues | wiki
Bilka
Factorio Staff
Factorio Staff
Posts: 3433
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.14.21] Crash after taking large screenshot

Post by Bilka »

The top left corner of the screenshot is actually unexplored terrain, which would explain why it is black. I took the big screenshot on mistake, actually. Yes, the game froze, but it also unfroze and worked normally until I took the second screenshot.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Not a bug”