Page 1 of 1

[SOLVED][2.0.76][linux] Crash on startup

Posted: Fri Mar 20, 2026 8:28 pm
by cultab
Factorio crashes on startup and the proccess remains running. It appears on the taskbar but never goes into fullscreen.

Crash log (also attached as file):

Code: Select all

   0.000 2026-03-20 22:00:08; Factorio 2.0.76 (build 84451, linux64, steam)
   0.000 Operating system: Linux
   0.000 Initializing Steam API.
   0.000 Program arguments: "/var/home/evan/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio"
   0.000 Config path: /var/home/evan/.factorio/config/config.ini
   0.000 Read data path: /var/home/evan/.local/share/Steam/steamapps/common/Factorio/data
   0.000 Write data path: /var/home/evan/.factorio [28497/476938MB]
   0.000 Binaries path: /var/home/evan/.local/share/Steam/steamapps/common/Factorio/bin
   0.009 System info: [CPU: AMD Ryzen 5 3600 6-Core Processor, 12 cores, RAM: 23967 MB]
   0.009 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.020 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   1.003 Video driver: x11
   1.003 Available displays: 2
   1.003  [0]: DP-1 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 144Hz}
   1.003  [1]: HDMI-A-1 22" - {[1920,0], 1080x1920, SDL_PIXELFORMAT_RGB888, 75Hz}
   1.183 Initialised OpenGL:[0] NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2; driver: 3.3.0 NVIDIA 580.95.05
   1.183   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
   1.183   [Version] 3.3
   1.365 Error CrashHandler.cpp:643: Received 6
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (336): writeStacktrace
src/Util/Logger.cpp (381): logStacktrace
src/Util/CrashHandler.cpp (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x7f0447acd28f
__pthread_kill_implementation
raise
abort
__libc_message_impl.cold
malloc_printerr
malloc_printerr_tail
0x7f042324e5fb
0x7f042325d2f5
0x7f04232cea43
0x7f04233d9223
start_thread
__GI___clone3
0xffffffffffffffff
Stack trace logging done
Tested various versions:
  • 2.0.76 crash
  • 2.0.75 crash
  • 2.0.69 crash
  • 2.0.60 crash
  • 2.0.32 works
  • 2.0.7 works
Tested:
both x11 and wayland in factorio's config.ini

Re: [2.0.76][linux] Crash on startup

Posted: Sat Mar 21, 2026 9:49 am
by pioruns
Try running directly, not through Steam. Download the game from https://factorio.com/download

Re: [2.0.76][linux] Crash on startup

Posted: Sat Mar 21, 2026 8:09 pm
by cultab
pioruns wrote: Sat Mar 21, 2026 9:49 am Try running directly, not through Steam. Download the game from https://factorio.com/download
Huh, works just fine this way. Any idea why? I'd like to avoid having to move my saves, blueprints, etc. out of the steam cloud.

EDIT: changed write data directory to .factorio and got all my saves etc.

Re: [2.0.76][linux] Crash on startup

Posted: Sat Mar 21, 2026 11:51 pm
by pioruns
Glad you sorted it.

I think that's the reason:

Code: Select all

Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0
Video driver: x11
You are running Wayland but X11 gets involved somehow, and game crashes. Maybe Steam is telling it to do it - do you have Steam installed indirectly via some Snap or Flatpak?

I've checked my logs (running Factorio directly), and I see:

Code: Select all

WAYLAND_DISPLAY=wayland-0
Video driver: wayland
That's how it should be I guess.

Re: [2.0.76][linux] Crash on startup

Posted: Sun Mar 22, 2026 12:16 am
by cultab
pioruns wrote: Sat Mar 21, 2026 11:51 pm Glad you sorted it.

I think that's the reason:

Code: Select all

Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0
Video driver: x11
You are running Wayland but X11 gets involved somehow, and game crashes. Maybe Steam is telling it to do it - do you have Steam installed indirectly via some Snap or Flatpak?

I've checked my logs (running Factorio directly), and I see:

Code: Select all

WAYLAND_DISPLAY=wayland-0
Video driver: wayland
That's how it should be I guess.
Probably not, because the same env vars show up in the standalone version. I don't know exactly how Bazzite installs steam, but I know it's deliberately not a snap nor flatpak, to avoid issues.

Code: Select all

   0.000 2026-03-21 22:06:56; Factorio 2.0.76 (build 84451, linux64, full)
   0.011 Operating system: Linux (Bazzite 43)
   0.011 Program arguments: "/home/evan/Games/factorio/bin/x64/factorio" 
   0.011 Config path: /var/home/evan/Games/factorio/config/config.ini
   0.011 Read data path: /var/home/evan/Games/factorio/data
   0.011 Write data path: /var/home/evan/Games/factorio [22809/476938MB]
   0.011 Binaries path: /var/home/evan/Games/factorio/bin
   0.018 System info: [CPU: AMD Ryzen 5 3600 6-Core Processor, 12 cores, RAM: 23967 MB]
   0.018 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
Anyway, the workaround works, thank you :D !

Re: [2.0.76][linux] Crash on startup

Posted: Thu Apr 02, 2026 3:22 pm
by TarsiSurdi
I'm facing the same issue, how did you manage to solve it? I tried deleting "$HOME/.factorio", changing the value of config-path to false and nothing managed to make it launch on Steam again :/

Even using SDL_VIDEODRIVER=wayland %command% as launch parameters doesn't seem to help. However the standalone version downloaded through the website works just fine...

Re: [2.0.76][linux] Crash on startup

Posted: Thu Apr 02, 2026 4:20 pm
by pioruns
If the standalone, website version works fine it's not Factorio's fault.
You could open a bug report on Steam, or on your distro forum page, whatever is causing it, it is not Factorio code directly.

Re: [2.0.76][linux] Crash on startup

Posted: Fri May 01, 2026 11:02 pm
by cultab
As of today, standalone no longer works either, with the same error log :|. I will try older bazzite versions in case this has something to do with it.

EDIT: no luck on previews bazitte versions

Re: [2.0.76][linux] Crash on startup

Posted: Sat May 02, 2026 8:37 pm
by pioruns
Bazzite is Fedora based. Factorio is broken on Bazzite you're saying, but not on Fedora (I know because I use Fedora, and it works well there).
Maybe Bazzite devs meddled too much and broke something.
Consider switching distro. You don't need latest cutting edge Bazzite modifications to play games well on Linux.

Re: [2.0.76][linux] Crash on startup

Posted: Sat May 02, 2026 10:29 pm
by cultab
MangoHUD is broken on factorio with wayland they have an open issue about this: https://github.com/flightlessmango/MangoHud/issues/937
I had mangohud enabled globaly by editing /etc/environment. Then I completely forgot about it. Why the standalone version worked I can only assume is due to some login shell shenanigans.

Re: [SOLVED][2.0.76][linux] Crash on startup

Posted: Tue May 12, 2026 3:10 pm
by TarsiSurdi
I know this is supposed to be solved, but I can't run Factorio anymore on my system after upgrading to Fedora 44. It already didn't work on Steam with Fedora 43, but I was able to launch the standalone version successfully. Now I get the same errors from logs posted in this thread with both versions. I've already tried deleting .factorio, replacing config.ini, --gfx-safe-mode... nothing seems to make a difference.

Re: [SOLVED][2.0.76][linux] Crash on startup

Posted: Tue May 12, 2026 3:21 pm
by Loewchen
TarsiSurdi wrote: Tue May 12, 2026 3:10 pm I know this is supposed to be solved, but I can't run Factorio anymore on my system after upgrading to Fedora 44. It already didn't work on Steam with Fedora 43, but I was able to launch the standalone version successfully. Now I get the same errors from logs posted in this thread with both versions. I've already tried deleting .factorio, replacing config.ini, --gfx-safe-mode... nothing seems to make a difference.
This does not sound like the issue discussed here, open your own report following 52433 instead.