Crash when swapping between Factorio and other applications
Posted: Mon Jun 22, 2026 3:13 pm
Complete game log is below. This has been happening for a while but has got considerable worse lately - often seems that I just can't switch from Factorio to another window without it crashing.
I'm running on Ubuntu 26.04 with an Nvidia RTX 4070 mobile and the nvidia-dkms-580 driver package. My session is Wayland. It is not necessary to load a game or even to reach the main menu - this can happen with the loading screen still displayed.
Switching to the native Wayland driver does seem to resolve this.
I'm running on Ubuntu 26.04 with an Nvidia RTX 4070 mobile and the nvidia-dkms-580 driver package. My session is Wayland. It is not necessary to load a game or even to reach the main menu - this can happen with the loading screen still displayed.
Switching to the native Wayland driver does seem to resolve this.
Code: Select all
0.000 2026-06-22 15:54:42; Factorio 2.0.77 (build 84539, linux64, full, space-age)
0.019 Operating system: Linux (Ubuntu 26.04)
0.019 Program arguments: "/home/tkcook/Applications/factorio/bin/x64/factorio"
0.019 Config path: /home/tkcook/Applications/factorio/config/config.ini
0.019 Read data path: /home/tkcook/Applications/factorio/data
0.019 Write data path: /home/tkcook/Applications/factorio [63525/502872MB]
0.019 Binaries path: /home/tkcook/Applications/factorio/bin
0.032 System info: [CPU: 13th Gen Intel(R) Core(TM) i9-13900HX, 32 cores, RAM: 31888 MB]
0.032 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=gnome XDG_SESSION_DESKTOP=gnome XDG_CURRENT_DESKTOP=GNOME 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.039 Display options: [FullScreen: true] [VSync: true] [UIScale: manual-display-points (200.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
0.069 Video driver: x11
0.069 Available displays: 1
0.069 [0]: eDP-1 16" - {[0,0], 4096x2560, SDL_PIXELFORMAT_RGB888, 60Hz}
0.434 Initialised OpenGL:[0] NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2; driver: 3.3.0 NVIDIA 580.159.03
0.434 [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
0.434 [Version] 3.3
0.472 Graphics settings preset: very-high
0.472 Dedicated video memory size 8188 MB (detected from NVIDIA GeForce RTX 4070 Laptop GPU; VendorID: 0x10de; DeviceID: 0x2860)
0.499 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
0.499 [Max threads (load/render): 32/32] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
0.537 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
0.796 Info ModManager.cpp:449: FeatureFlag expansion-shaders = true
0.796 Info ModManager.cpp:449: FeatureFlag freezing = true
0.796 Info ModManager.cpp:449: FeatureFlag quality = true
0.796 Info ModManager.cpp:449: FeatureFlag rail-bridges = true
0.796 Info ModManager.cpp:449: FeatureFlag segmented-units = true
0.796 Info ModManager.cpp:449: FeatureFlag space-travel = true
0.796 Info ModManager.cpp:449: FeatureFlag spoiling = true
0.835 Loading mod settings Inventory Sensor 2.0.6 (settings.lua)
0.837 Loading mod settings LogisticTrainNetwork 2.4.2 (settings.lua)
0.838 Loading mod settings miniloader-redux 0.12.0 (settings.lua)
0.844 Loading mod settings nixie-tubes 2.0.9 (settings.lua)
0.845 Loading mod settings Warehousing 1.0.3 (settings.lua)
0.846 Loading mod settings compaktcircuit 2.0.26 (settings.lua)
0.848 Loading mod settings visible-planets 1.6.1 (settings.lua)
0.851 Loading mod core 0.0.0 (data.lua)
0.874 Loading mod base 2.0.77 (data.lua)
1.073 Loading mod elevated-rails 2.0.77 (data.lua)
1.102 Loading mod flib 0.16.5 (data.lua)
1.111 Loading mod Inventory Sensor 2.0.6 (data.lua)
1.119 Loading mod LogisticTrainNetwork 2.4.2 (data.lua)
1.133 Loading mod miniloader-redux 0.12.0 (data.lua)
1.154 Loading mod nixie-tubes 2.0.9 (data.lua)
1.169 Loading mod quality 2.0.77 (data.lua)
1.198 Loading mod Warehousing 1.0.3 (data.lua)
1.215 Loading mod compaktcircuit 2.0.26 (data.lua)
1.231 Loading mod space-age 2.0.77 (data.lua)
1.630 Loading mod visible-planets 1.6.1 (data.lua)
1.643 Loading mod base 2.0.77 (data-updates.lua)
1.657 Loading mod miniloader-redux 0.12.0 (data-updates.lua)
1.684 Loading mod nixie-tubes 2.0.9 (data-updates.lua)
1.698 Loading mod quality 2.0.77 (data-updates.lua)
1.719 Loading mod Warehousing 1.0.3 (data-updates.lua)
1.733 Loading mod space-age 2.0.77 (data-updates.lua)
1.750 Loading mod LogisticTrainNetwork 2.4.2 (data-final-fixes.lua)
1.751 Script @__LogisticTrainNetwork__/data-final-fixes.lua:12: [LTN] (data_final_fixes) [0] - Found 1 locomotives, 1 cargo wagons, 1 fluid wagons, 1 artillery wagons.
1.762 Loading mod miniloader-redux 0.12.0 (data-final-fixes.lua)
1.784 Loading mod nixie-tubes 2.0.9 (data-final-fixes.lua)
1.796 Loading mod Warehousing 1.0.3 (data-final-fixes.lua)
1.808 Loading mod compaktcircuit 2.0.26 (data-final-fixes.lua)
1.820 Loading mod visible-planets 1.6.1 (data-final-fixes.lua)
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for nauvis
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for vulcanus
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for gleba
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for fulgora
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for aquilo
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:152: Skipping visible-planets for space-location-unknown; Blacklisted.
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:30: Skipping visible-planets for solar-system-edge; Starmap icon missing.
1.822 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:38: Adding visible-planets for shattered-planet
1.922 Checksum for core: 4187927925
1.922 Checksum of base: 1879415942
1.922 Checksum of elevated-rails: 70351106
1.922 Checksum of flib: 728527376
1.922 Checksum of Inventory Sensor: 3207498094
1.922 Checksum of LogisticTrainNetwork: 3904481548
1.922 Checksum of miniloader-redux: 3925142977
1.922 Checksum of nixie-tubes: 2432398288
1.922 Checksum of quality: 1142589254
1.922 Checksum of Warehousing: 1774364939
1.922 Checksum of compaktcircuit: 2181395788
1.922 Checksum of space-age: 1510664043
1.922 Checksum of visible-planets: 116556701
2.425 Prototype list checksum: 433173621
2.474 Loading sounds...
3.011 Info PlayerData.cpp:64: Local player-data.json available, timestamp 1782140081
3.011 Info PlayerData.cpp:71: Cloud player-data.json unavailable
3.014 Post-data load graphics options: [Light occlusion: YES]
3.333 Crop bitmaps.
3.337 Parallel sprite loader initialized (threads: 29, bitmaps: 8398)
13.375 Initial atlas bitmap size is 16384
13.398 Created an atlas bitmap (size 16384x16384) [none]
13.428 Created an atlas bitmap (size 16384x16376) [none]
13.463 Created an atlas bitmap (size 16384x16384) [none]
13.463 Created an atlas bitmap (size 16384x15228) [none]
13.469 Created an atlas bitmap (size 16384x16384) [low-object]
13.469 Created an atlas bitmap (size 4096x2528) [low-object]
13.472 Created an atlas bitmap (size 16384x16324) [corpse-decay]
13.472 Created an atlas bitmap (size 4096x2848) [corpse-decay]
13.472 Created an atlas bitmap (size 16384x9316) [decal]
13.472 Created an atlas bitmap (size 896x128) [icon]
13.472 Created an atlas bitmap (size 16384x5596) [none]
13.472 Created an atlas bitmap (size 1676x79) [not-compressed]
13.472 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
13.472 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
13.480 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
13.480 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
13.480 Created an atlas bitmap (size 8192x5760) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
13.480 Created an atlas bitmap (size 8192x2608) [mipmap]
13.480 Created an atlas bitmap (size 3504x768) [mipmap]
13.480 Created an atlas bitmap (size 4096x3152) [mipmap]
13.480 Created an atlas bitmap (size 4096x3152) [mipmap]
13.480 Created an atlas bitmap (size 4096x3152) [mipmap]
13.480 Created an atlas bitmap (size 8192x4288) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
13.481 Created an atlas bitmap (size 16384x6120) [alpha-mask]
13.515 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
13.521 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
13.521 Created an atlas bitmap (size 16384x3880) [shadow, linear-magnification, alpha-mask]
13.521 Created an atlas bitmap (size 8192x4016) [shadow, mipmap, linear-magnification, alpha-mask]
13.521 Created an atlas bitmap (size 4096x368) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
13.521 Loading 3D bitmaps.
13.559 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
13.559 Atlases were not loaded from disk cache.
13.864 Parallel sprite loader initialized (threads: 29, bitmaps: 8553)
32.149 Sprites loaded
39.569 Atlas cache saved in 6.853983 seconds.
40.870 Generated mipmaps (4) for atlas [4] of size 16384x16384
40.872 Generated mipmaps (4) for atlas [5] of size 4096x2528
40.877 Generated mipmaps (5) for atlas [9] of size 896x128
40.882 Generated mipmaps (3) for atlas [12] of size 16384x4240
40.885 Generated mipmaps (3) for atlas [13] of size 4096x3040
40.923 Generated mipmaps (3) for atlas [14] of size 16384x16352
40.938 Generated mipmaps (3) for atlas [15] of size 16384x4944
40.946 Generated mipmaps (3) for atlas [16] of size 8192x5760
41.055 Generated mipmaps (3) for atlas [17] of size 8192x2608
41.057 Generated mipmaps (3) for atlas [18] of size 3504x768
41.059 Generated mipmaps (3) for atlas [19] of size 4096x3152
41.095 Generated mipmaps (3) for atlas [20] of size 4096x3152
41.099 Generated mipmaps (3) for atlas [21] of size 4096x3152
41.145 Generated mipmaps (5) for atlas [22] of size 8192x4288
41.155 Generated mipmaps (3) for atlas [27] of size 8192x4016
41.169 Custom mipmaps uploaded (3580)
41.237 Video memory usage: 3675.66 MB (Atlases: 3545.36 MB, Textures: 130.30 MB)
41.249 Custom inputs active: 3
41.369 Factorio initialised
41.372 Info AuthServerConnector.cpp:620: Performing TLS check.
41.373 Info HttpSharedState.cpp:57: Downloading https://auth.factorio.com/tls-check/success
41.515 Info AuthServerConnector.cpp:653: TLS check success.
41.515 Info HttpSharedState.cpp:57: Downloading https://updater.factorio.com/updater/get-available-versions?username=<private>&token=<private>&apiVersion=2
41.878 0 packages available to download (experimental updates disabled).
83.390 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
0x7c9bfd645caf
./nptl/pthread_kill.c (44): __pthread_kill_implementation
./nptl/pthread_kill.c (89): __pthread_kill_internal
./nptl/pthread_kill.c (100): __GI___pthread_kill
../sysdeps/posix/raise.c (26): __GI_raise
./stdlib/abort.c (77): __GI_abort
0x7c9bea0b4612
0x7c9bea910109
0x7c9bea7f8898
0x7c9bec4407bb
0x7c9bec40eb2f
X11_GL_SwapWindow
libraries/SDL2/src/video/SDL_video.c (4211): SDL_GL_SwapWindowWithResult
libraries/SDL2/src/video/SDL_video.c (4216): SDL_GL_SwapWindow
src/Graphics/OpenGL/GraphicsInterfaceOpenGL.cpp (264): swapBuffers
_ZNK9SDLWindow4swapEv
src/GlobalContext.cpp (1535): swapRenderBuffers
src/MainLoop.cpp (731): mainLoopStep
src/MainLoop.cpp (414): run
src/Main.cpp (906): fmain
src/Main.cpp (928): main
../sysdeps/nptl/libc_start_call_main.h (59): __libc_start_call_main
../csu/libc-start.c (360): __libc_start_main_impl
_start
0xffffffffffffffff
Stack trace logging done
86.100 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
94.269 Uploading log file
94.352 Info SystemUtil.cpp:842: Started /home/tkcook/Applications/factorio/bin/x64/factorio; trampoline PID: 3516220