Page 1 of 1

[2.0.35][linux] Crash starting on integrated graphics (ShaderOpenGL.cpp:15: Failed to create shader)

Posted: Thu Feb 20, 2025 2:02 pm
by dkind42
My Linux laptop system has both Intel integrated graphics and nVidia. I have usually set the BIOS to Mixed, so both GPUs can be used; I use the nVidia environment variables to run with nVidia, and leave them out to run with the Intel GPU. I usually tell Factorio to use either one or the other, at my whim; it works fine with them both.

BUT: I recently told BIOS to use the integrated GPU only (I was doing lots of non-Factorio work), and things went fine. But today I ran Factorio, it updated to 2.0.35, and then when restarting with 2.0.35 it said it crashed. I went back to BIOS and re-enabled Mixed GPUs, and Factorio comes up correctly using either GPU. But when I disable the nVidia GPU in BIOS, Factorio crashes at start.

There are two logs. factorio-current.log is a crash from starting Factorio with just the integrated GPU enabled in BIOS, and factorio-current-2.log is a non-crash from starting with both GPUs enabled in BIOS (but only the integrated GPU selected in software).

Re: [2.0.35][linux] Crash starting on integrated graphics (ShaderOpenGL.cpp:15: Failed to create shader)

Posted: Thu Feb 20, 2025 2:07 pm
by Rseding91
Thanks for the report however there's nothing here for us to do. The fault is with the drivers you're using and outside of our control.