Page 1 of 1

[0.12.33] [Pending] Game crash on resising window

Posted: Sun May 08, 2016 4:37 pm
by MrNihil
I am playing on laptop with integrated intel graphics. When trying to change size of window using windows tool (dragging my mouse over window border and resizing, game freezes and crashes. I do a resize because I have no centered research screen and cannot click the research buttons in few cases :|

Processor: Intel i5-4210U
System: 32Bit Windows 7
Factorio playing on steam.

Re: [0.12.33] Game crash on resising window

Posted: Sun May 08, 2016 4:38 pm
by daniel34
Please post a log file (after the game crashed). You can find it here.

Re: [0.12.33] Game crash on resising window

Posted: Sun May 08, 2016 5:03 pm
by MrNihil
Sorry, thought I attached it :D

The bug described in thread: http://pastebin.com/C6S29GcG

The bug I had when trying to change windowed to full screen during game:

Code: Select all

   0.000 2016-05-08 18:31:14; Factorio 0.12.33 (Build 18092, win32, steam)
   0.000 Operating system: Windows 7 Service Pack 1
   0.000 Program arguments: "D:\SteamLibrary\steamapps\common\Factorio\bin\Win32\Factorio.exe" 
   0.000 Read data path: D:/SteamLibrary/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users//AppData/Roaming/Factorio
   0.001 Binaries path: D:/SteamLibrary/steamapps/common/Factorio/bin
   0.019 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 255]
   0.020 Available display adapters: 1
   0.020  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics Family {0x05, [0,0], 1366x768, 32bit, 60Hz}
   0.020 Create display on adapter 0. Size 1266x668 at position [40, 32].
   0.106 Initialised Direct3D:[0] Intel(R) HD Graphics Family; driver: igdumdim32.dll 10.18.14.4332
   0.160 Desktop composition is active.
   0.251 Loading mod core 0.0.0 (data.lua)
   0.254 Loading mod base 0.12.33 (data.lua)
   0.342 Checksum for core: 3711505753
   0.342 Checksum for mod base: 2829195351
   0.852 Initial atlas bitmap size is 8192
   0.867 Created atlas bitmap 8192x8192
   0.868 Created atlas bitmap 8192x7129
  14.970 Sprites loaded
  16.077 Loading sounds...
  18.907 Factorio initialised
1379.384 Loading map C:/Users\\AppData\Roaming\Factorio\saves\_autosave1.zip
1379.756 Info Scenario.cpp:124: Map version 0.12.33-0
1379.830 Checksum for script C:/Users//AppData/Roaming/Factorio/temp/currently-playing/control.lua: 3588785579
1417.099 Error Util.cpp:58: Unable to create sprite (1366X768) probably not enough of video memory.
1422.620 Steam API shutdown.
1422.624 Goodbye
Hope this form instead of file upload is fine.

Re: [0.12.33] Game crash on resising window

Posted: Sun May 08, 2016 5:20 pm
by prg

Code: Select all

1417.099 Error Util.cpp:58: Unable to create sprite (1366X768) probably not enough of video memory.
So how much VRAM does this IGP have?

Re: [0.12.33] Game crash on resising window

Posted: Sun May 08, 2016 5:27 pm
by MrNihil
@prg
According to windows:
Total available graphic memory: 1,5GB
Dedicated memory: 192MB

Quite humble amount, but this gear should have handled a resolution change. My guess is screen is stretching and/or copies elements to new window clogging the memory.
My main PC has 2GB graphic and 8GB system memory and had no problems with that (I believe I changed resolution in game and possibly stretched the window accidentally without crash)

Re: [0.12.33] Game crash on resising window

Posted: Sun May 08, 2016 5:54 pm
by daniel34
As you are on steam, try starting Factorio with the launch options set to --video-memory-usage=low
To do so, right click on the game in your library, then select properties, then set launch options.

This will result in a longer loading time (and may impact game performance), but uses less video memory.

The log file doesn't identify your graphics card. Can you also post a screenshot from the main tab of the GPU-Z tool (link) ?