I use 2 monitors on my computer, my primary one is 3440x1440 while my secondary is 1920x1080. If I switch the inputs of my primary monitor while I'm using the computer the computer switches to only using the secondary monitor, moving and resizing all open windows. When the computer does this to Factorio, the game crahses with the following error:
Unable to create sprite (1916X1013) probably not enough video memory.
I did a little more testing, and it does not happen when changing the resolution of the game through Windows, even when changing aspect ratios, however it does happen when I unplug the primary monitor. Additionally, if the monitors are the same resolution it does not crash, but if the original monitor is a higher resolution (regardless of aspect ratio - tested at 3440x1440, 2560x1440, 2560x1080, and 1920x1080 - every one crashed when going to a 1920x1080 monitor except when the primary monitor was set to 1920x1080)
Crash on forced monitor switch (Windows)
-
- Manual Inserter
- Posts: 1
- Joined: Tue Jun 13, 2017 4:49 am
- Contact:
Re: Crash on forced monitor switch (Windows)
Post the complete log, see my signature.
Re: Crash on forced monitor switch (Windows)
This just happend to me too
Factorio was running for hours, i unplugged my monitor cable on my laptop (while factorio was running on laptop screen)
See my log file, while the topic starter did not provide one.
Factorio was running for hours, i unplugged my monitor cable on my laptop (while factorio was running on laptop screen)
See my log file, while the topic starter did not provide one.
- Attachments
-
- factorio-current.log
- (149.63 KiB) Downloaded 116 times
Re: Crash on forced monitor switch (Windows)
I searched and found your thread. My game doesn't crash when I unplug my monitor, but it seems to improve memory usage.
My game did crash for another reason but gave me the same error. I understand that my system is weak, so I have the memory usage graphics setting on "All" which gives me the best performance. It uses more dynamic memory (taken from system memory), and the reason my game crashed is because it "ran out" of video memory, but what I really think happened was my system memory was maxed out because I started multi-tasking and was doing some alt+enter a few times and opening FRAPS.
viewtopic.php?f=7&t=52209&p=305025#p305025
My game did crash for another reason but gave me the same error. I understand that my system is weak, so I have the memory usage graphics setting on "All" which gives me the best performance. It uses more dynamic memory (taken from system memory), and the reason my game crashed is because it "ran out" of video memory, but what I really think happened was my system memory was maxed out because I started multi-tasking and was doing some alt+enter a few times and opening FRAPS.
viewtopic.php?f=7&t=52209&p=305025#p305025
