[15.x] Crash during loading on macOS

Things that has been reported already before.
nymfact
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon May 01, 2017 9:35 am
Contact:

[15.x] Crash during loading on macOS

Post by nymfact »

Hello.

The game crashes while loading on all 0.15.x versions. 0.14 stable works fine.
Similar to this issue: viewtopic.php?f=7&t=45772&p=263175
It starts loading, gets to ~40% and "Cropping Bitmaps ...", then crashes and generates a log.
I tried with --max-texture-size 4096, 2048 and 1024, still crashes at the same point, but as you can see from the logs I attached, it creates more "atlas bitmap" before crashing than without the argument.

Edit: downloaded the release from the website to test if it was related to Steam, but still the same problem.
Attachments
factorio-previous.log
with --max-texture-size 2048
(5.56 KiB) Downloaded 126 times
factorio-current.log
(4.17 KiB) Downloaded 131 times
posila
Factorio Staff
Factorio Staff
Posts: 5409
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [15.x] Crash during loading on macOS

Post by posila »

Hi, we have enabled some more logging in graphics library we use in 0.15.13. Could you please post log from the latest experimental version?
knutaldrin
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Jun 03, 2017 9:07 pm
Contact:

Re: [15.x] Crash during loading on macOS

Post by knutaldrin »

I have exactly the same bug, posting my log from 15.18.
Attachments
factorio-current.log
15.18
(4.37 KiB) Downloaded 118 times
knutaldrin
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Jun 03, 2017 9:07 pm
Contact:

Re: [15.x] Crash during loading on macOS

Post by knutaldrin »

Hi.

This seems to be caused by a config settings from 0.14 saying "video-memory-usage=high". Changing it to "medium" fixed the issue.
Apparently, the game seems to not check how much memory is available on the machine, and thus crashes.
dgw
Fast Inserter
Fast Inserter
Posts: 197
Joined: Tue Apr 12, 2016 7:06 pm
Contact:

Re: [15.x] Crash during loading on macOS

Post by dgw »

Yep, I reported this upon first upgrading from 0.14 to 0.15 on my MacBook Pro and manually editing the config file to use less video memory fixed it. viewtopic.php?f=23&t=48397
Rseding91
Factorio Staff
Factorio Staff
Posts: 14631
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [15.x] Crash during loading on macOS

Post by Rseding91 »

We attempt to detect video memory but some graphics cards (notably ones on Mac OSs) don't give useful numbers and or crash instead of returning failure when trying to create the atlas images.

It's a known problem that we hope will be addressed by updating the game to use newer versions of Open GL (on non-windows) and DirectX (on windows).

Until then setting the video memory usage to a lower value is the official way of fixing it.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Duplicates”