Page 1 of 1

[2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Wed Oct 23, 2024 3:20 pm
by roy7
When I first loaded the game, it had to remove some mods. After restarting and doing the first time startup where it prepares bitmaps, it eventually finished but then gave me an error about graphic device removed. I didn't think to screenshot that. It asked me if I wanted to use OpenGL or restart. I tried clicking Use OpenGL, but now launching Factorio will cause a segfault before getting to the menu. Here's the log file. Note long ago I used to be able to play Factorio on this ancient office PC.

I'm attaching the log file and the dump file.

The core part where the error happens is:

Code: Select all

   0.075 System info: [CPU:         Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 4 cores, RAM: 5593/8104 MB, page: 11216/24488 MB, virtual: 4341/134217727 MB, extended virtual: 0 MB]
   0.216 Memory info:
   0.216  [0]: Undefined    CT51264BD160B.C16F 4096 MB 1600 MHz 
   0.216  [1]: Undefined    CT51264BD160B.C16F 4096 MB 1600 MHz 
   1.042 Info ModManager.cpp:255: Found duplicate mod EvoGUI, using higher version (0.4.601 > 0.4.15).
   1.143 Info ModManager.cpp:255: Found duplicate mod miniloader, using higher version (1.15.7 > 1.13.1).
   1.818 Display options: [FullScreen: false] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   2.031 Video driver: windows
   2.032 Available displays: 2
   2.032  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   2.032  [1]: \\.\DISPLAY2 - Intel(R) HD Graphics {0x8000001, [-1920,0], 1920x1080, 32bit, 60Hz}
   2.065 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...

Re: [2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Wed Oct 23, 2024 3:25 pm
by roy7
Going into config.ini and changing force-opengl=true to force-opengl=false allowed the game to get past the segfault and continue loading. But then I'm back to the prior error message:

Image

I realize this PC is ancient and far too old to be supported. Which is fine if I can't play on it any more. But I assume when trying to use OpenGL, it shouldn't simply segfault. :)

Re: [2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Wed Oct 23, 2024 3:27 pm
by roy7
Trying a couple more times, clicking Restart instead of Use OpenGL, it actually loaded the menu and is running. :) Although it gave me the DXGI error once I failed to connect to a server.

Re: [2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Wed Oct 23, 2024 3:30 pm
by vinzenz
In the log file it says: RAM: 5593/8104 MB, afaik the intel uses you system memory instead of having its own vram. So it might not be able to handle the memory pressure of all the new HD sprites. Please try to close all other applications before launching Factorio with Space Age and include the log file if it crashes. Are able to run regular 2.0 factorio without the expansion?

Re: [2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Wed Oct 23, 2024 4:24 pm
by posila
Hello, thanks for the report and uploading the crushdump.

Unfortunatelly, Intel HD Graphics on Sandy Bridge CPU is even bellow minimum requirements of Factorio 1.1. And it is slightly more deeper bellow Factorio 2.0 requirements and very far bellow Space Age requirements.

Log shows just the crash, without its origin in our code, and to my surprise the crash dump didn't show me the origin either (thank you for including it). I m

I still have a Sandy Bridge laptop from testing a 1.0 release, and on it correctly shows an error message, that OpenGL context could not be created. That is to be expected, because Intel Graphics drivers this generation of iGPUs didn't implement OpenGL 3.3 (which is even older than the CPU) required by the game. At least not on Windows (I think it was possible to run OpenGL 3.3 on that GPU using open source drivers on Linux, but that doesn't matter, I suppose). I do have Windows 7 on that laptop though, so it might be just Windows 10 thing. Anyway, I am sorry, we don't supported this hardware anymore, I gave it quick check if I can improve the error... I couldn't find what is crashing so I am moving this to Won't fix and moving on.

Re: [2.0.9] Intel HD Graphics segfault when using OpenGL

Posted: Thu Oct 24, 2024 6:07 pm
by roy7
No problem! I know it's super ancient. Hate to waste your time on something so unimportant. :)

Thank you for the prompt reply!