[0.13.12] Factorio crashes when other screen (HDMI) is unplugged
Posted: Sat Jul 30, 2016 8:40 pm
by Synergiance
This is a bit of an odd one, someone came in, and tripped over my TV cable from my computer, while I was playing factorio, unfortunately I didn't get to get a good look at the error message displayed because something important had come up, but it was something about a GL texture I think, and the game was crashed, didn't end up recovering.
Re: [0.13.12] Factorio crashes when other screen is unplugged
Posted: Sat Jul 30, 2016 8:48 pm
by TruePikachu
Crashlog? IIRC I haven't had issues disconnecting my alt in 0.12.
Re: [0.13.12] Factorio crashes when other screen is unplugged
Posted: Sun Jul 31, 2016 11:40 pm
by Synergiance
Crashlog is saved? I'll edit this post with it when I acquire it. The alternate monitor was an HDMI television, to be specific, the main monitor, which the game was running on was just an ordinary DVI monitor.
Re: [0.13.12] Factorio crashes when other screen is unplugged
Posted: Mon Aug 01, 2016 2:20 am
by TruePikachu
Unable to reproduce in 0.13.13 on Win7x64 with a SVGA monitor external to my laptop. WinDbg didn't catch anything weird, either.
Re: [0.13.12] Factorio crashes when other screen is unplugged
Posted: Mon Aug 01, 2016 4:04 pm
by Synergiance
Ok I got it, apologies for the delay, it's heavily reproducible on my system from the looks of it, game updated to 0.13.13 for this test
0.001 2016-08-01 11:54:31; Factorio 0.13.13 (build 23721, win64, steam)
0.001 Operating system: Windows 7 Service Pack 1
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Synergiance/AppData/Roaming/Factorio
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.090 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
0.091 Available display adapters: 2
0.091 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
0.091 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
0.091 Create display on adapter 1. Size 1280x720 at position [310, 222].
0.151 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvd3dumx.dll 10.18.13.6839
0.154 Video memory size (dedicated video/dedicated system/shared system/available): 4007/0/7915/3728 MB
0.207 Desktop composition is active.
0.590 Loading mod core 0.0.0 (data.lua)
0.711 Loading mod base 0.13.13 (data.lua)
2.878 Checksum for core: 3471280900
2.878 Checksum for mod base: 439759882
3.938 Initial atlas bitmap size is 16384
3.941 Created atlas bitmap 16384x6373
4.357 Created atlas bitmap 4096x968
44.371 Sprites loaded
44.371 Convert atlas 4096x968 to: trilinear-filtering
44.655 Loading sounds...
49.626 Custom inputs active: 0
49.771 Factorio initialised
61.434 Loading map C:/Users\Synergiance\AppData\Roaming\Factorio\saves\July Start.zip
61.524 Info Scenario.cpp:127: Map version 0.13.13-0
62.337 Checksum for script C:/Users/Synergiance/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
80.207 Error Util.cpp:57: Unable to create sprite (1898X1116) probably not enough of video memory.
122.087 Steam API shutdown.
122.088 Goodbye
I was going to post the error box but it just says the same thing as the error in the log, then I click ok and factorio terminates
This is a bit of an uncommon problem, I just wanted to report the bug
EDIT: my bad I thought I was running 0.13.12 last time, it was clearly 0.13.13 based on the log
Re: [0.13.12] Factorio crashes when other screen is unplugged
Posted: Tue Aug 02, 2016 11:44 am
by Klonan
Thanks for the report,
I suppose your video card realizes that the screen in unplugged and shuts down that area of the screen, while factorio still tries to render there, I cannot reproduce it using a display port screen
Re: [0.13.12] Factorio crashes when other screen (HDMI) is unplugged
Posted: Tue Aug 02, 2016 10:31 pm
by Synergiance
I don't understand, why would it try to render on a screen it wasn't using in the first place? Perhaps the 970 purges the video memory when there's a screen unplugged? I don't really get it. Also looking at the logs it shows the TV as monitor 0, and the DVI monitor it was running on as monitor 1, which would I would assume change to become monitor 0
Just a couple thoughts I had just now