[2.0.73][linux] Crash (SDL_waylandopengles:Wayland_GLES_SwapWindow)

Bugs that are actually features.
mph
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jan 26, 2026 6:10 am
Contact:

[2.0.73][linux] Crash (SDL_waylandopengles:Wayland_GLES_SwapWindow)

Post by mph »

Code: Select all

   0.000 2026-01-25 22:30:25; Factorio 2.0.73 (build 84377, linux64, steam, space-age)
   0.000 Operating system: Linux
   0.000 Initializing Steam API.
   0.000 Program arguments: "/home/michael/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.000 Config path: /home/michael/.factorio/config/config.ini
   0.000 Read data path: /home/michael/.local/share/Steam/steamapps/common/Factorio/data
   0.000 Write data path: /home/michael/.factorio [2301042/3814934MB]
   0.000 Binaries path: /home/michael/.local/share/Steam/steamapps/common/Factorio/bin
   0.004 System info: [CPU: AMD Ryzen 7 9800X3D 8-Core Processor, 16 cores, RAM: 61887 MB]
   0.004 Environment: DISPLAY=:1 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.004 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.025 Video driver: wayland
   0.025 Available displays: 1
   0.025  [0]: LG Electronics LG ULTRAGEAR+ - {[0,0], 4267x1800, SDL_PIXELFORMAT_RGB888, 165Hz}
   0.085 Initialised OpenGL:[0] NVIDIA GeForce RTX 5090/PCIe/SSE2; driver: 3.3.0 NVIDIA 590.48.01
   0.085   [Size] Window: 4267x1800, Backbuffer: 5120x2160
   0.085   [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.085   [Version] 3.3
   0.085 Verbose GraphicsInterfaceOpenGL.cpp:1020: [Caps] Tex:32768, TexArr:2048, TexBufSz:131072kB; TexUnits:192; UboSz:64kB
   0.111 Graphics settings preset: very-high
   0.111   Dedicated video memory size 32607 MB (detected from NVIDIA GeForce RTX 5090; VendorID: 0x10de; DeviceID: 0x2b85)
   0.147 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.147                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.168 [Audio] Driver:alsa, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.294 Info ModManager.cpp:449: FeatureFlag expansion-shaders = true
   0.294 Info ModManager.cpp:449: FeatureFlag freezing = true
   0.294 Info ModManager.cpp:449: FeatureFlag quality = true
   0.294 Info ModManager.cpp:449: FeatureFlag rail-bridges = true
   0.294 Info ModManager.cpp:449: FeatureFlag segmented-units = true
   0.294 Info ModManager.cpp:449: FeatureFlag space-travel = true
   0.294 Info ModManager.cpp:449: FeatureFlag spoiling = true
   1.174 Verbose PipelineStateObject.cpp:104: Time to load shaders: 0.880153 seconds.
   1.176 Loading mod core 0.0.0 (data.lua)
   1.184 Loading mod base 2.0.73 (data.lua)
   1.240 Loading mod elevated-rails 2.0.73 (data.lua)
   1.250 Loading mod quality 2.0.73 (data.lua)
   1.256 Loading mod space-age 2.0.73 (data.lua)
   1.332 Loading mod base 2.0.73 (data-updates.lua)
   1.338 Loading mod quality 2.0.73 (data-updates.lua)
   1.347 Loading mod space-age 2.0.73 (data-updates.lua)
   1.384 Checksum for core: 3316885848
   1.384 Checksum of base: 1879415942
   1.384 Checksum of elevated-rails: 70351106
   1.384 Checksum of quality: 1142589254
   1.384 Checksum of space-age: 1510664043
   1.562 Prototype list checksum: 3295867752
   1.564 Verbose ModManager.cpp:648: Time to load mods: 1.27021
   1.588 Loading sounds...
   1.650 Info PlayerData.cpp:66: Local player-data.json unavailable
   1.650 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1769409014
   1.651 Post-data load graphics options: [Light occlusion: YES]
   1.786 Initial atlas bitmap size is 16384
   1.793 Created an atlas bitmap (size 16384x16368) [none]
   1.804 Created an atlas bitmap (size 16384x16380) [none]
   1.818 Created an atlas bitmap (size 16384x16384) [none]
   1.818 Created an atlas bitmap (size 16384x15080) [none]
   1.821 Created an atlas bitmap (size 16384x16384) [low-object]
   1.821 Created an atlas bitmap (size 4096x2496) [low-object]
   1.822 Created an atlas bitmap (size 16384x16324) [corpse-decay]
   1.822 Created an atlas bitmap (size 4096x2848) [corpse-decay]
   1.822 Created an atlas bitmap (size 16384x9316) [decal]
   1.822 Created an atlas bitmap (size 16384x5596) [none]
   1.822 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.822 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.822 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
   1.825 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   1.825 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   1.825 Created an atlas bitmap (size 8192x5760) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.825 Created an atlas bitmap (size 8192x2608) [mipmap]
   1.825 Created an atlas bitmap (size 3504x768) [mipmap]
   1.825 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.825 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.825 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.825 Created an atlas bitmap (size 8192x3888) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.825 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.840 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   1.843 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   1.843 Created an atlas bitmap (size 16384x3852) [shadow, linear-magnification, alpha-mask]
   1.843 Created an atlas bitmap (size 8192x4016) [shadow, mipmap, linear-magnification, alpha-mask]
   1.843 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.843 Loading 3D bitmaps.
   1.848 Verbose TextureProcessor.cpp:1135: GPU accelerated compression test: Time 3.974 ms; YCoCg_DXT PSNR: 35.83, BC3 PSNR: 33.82
   1.848 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.889 Parallel sprite loader initialized (threads: 15, bitmaps: 8398)
  13.371 Sprites loaded
  13.380 Generated mipmaps (4) for atlas [4] of size 16384x16384   
  13.381 Generated mipmaps (4) for atlas [5] of size 4096x2496   
  13.381 Generated mipmaps (3) for atlas [11] of size 16384x4240   
  13.382 Generated mipmaps (3) for atlas [12] of size 4096x3040   
  13.390 Generated mipmaps (3) for atlas [13] of size 16384x16352   
  13.393 Generated mipmaps (3) for atlas [14] of size 16384x4944   
  13.395 Generated mipmaps (3) for atlas [15] of size 8192x5760   
  13.413 Generated mipmaps (3) for atlas [16] of size 8192x2608   
  13.413 Generated mipmaps (3) for atlas [17] of size 3504x768   
  13.414 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  13.424 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  13.425 Generated mipmaps (3) for atlas [20] of size 4096x3152   
  13.435 Generated mipmaps (5) for atlas [21] of size 8192x3888   
  13.435 Generated mipmaps (3) for atlas [26] of size 8192x4016   
  13.439 Custom mipmaps uploaded (3493)
  13.439 Verbose AtlasBuilder.cpp:830: Atlas memory size: 3235.70MB; 0.00MB (virtual)
  13.439 Verbose AtlasBuilder.cpp:703: Size of sprites outside of atlas: 107.45MB
  13.439 Verbose ParallelSpriteLoader.cpp:145: Sprite loader stats> Worker loaded max size: 170.03MB, Total worker loaded max size: 1974.79MB
  13.440 Verbose AtlasBuilder.cpp:1336: Prepared alpha-mask lookup table. Count = 21515
  13.449 Video memory usage: 3654.54 MB (Atlases: 3524.24 MB, Textures: 130.30 MB)
  13.556 Factorio initialised
  13.557 Steam Storage Quota: 23576/23841
  13.558 Verbose SteamContext.cpp:577: SteamUserStats initialized.
  21.889 Verbose CompiledMapGenSettings.cpp:339: MapGenSettings compilation took 0.002066 seconds.
  21.889 Verbose CompiledMapGenSettings.cpp:444:   Cliff noise program processed 377 expressions (220 unique) and has 134 operations and 17 registers; estimated complexity: 287.
  21.889 Verbose CompiledMapGenSettings.cpp:444:   Entity noise program processed 3274 expressions (1421 unique) and has 1060 operations and 164 registers; estimated complexity: 12440.
  21.889 Verbose CompiledMapGenSettings.cpp:444:   Tile noise program processed 1244 expressions (554 unique) and has 455 operations and 52 registers; estimated complexity: 10602.
  53.056 Verbose CompiledMapGenSettings.cpp:339: MapGenSettings compilation took 0.002196 seconds.
  53.056 Verbose CompiledMapGenSettings.cpp:444:   Cliff noise program processed 377 expressions (220 unique) and has 134 operations and 17 registers; estimated complexity: 287.
  53.056 Verbose CompiledMapGenSettings.cpp:444:   Entity noise program processed 3274 expressions (1421 unique) and has 1060 operations and 164 registers; estimated complexity: 12440.
  53.056 Verbose CompiledMapGenSettings.cpp:444:   Tile noise program processed 1244 expressions (554 unique) and has 455 operations and 52 registers; estimated complexity: 10602.
  60.329 Error CrashHandler.cpp:641: Received SIGSEGV
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
0x7fe78f23e4cf
drmIoctl
drmSyncobjTimelineWait
0x7fe781b8fb1f
0x7fe781d8c9ca
0x7fe781d2c55f
libraries/SDL2/src/video/wayland/SDL_waylandopengles.c (181): Wayland_GLES_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
0x7fe78f227634
__libc_start_main
_start
0xffffffffffffffff
Stack trace logging done
  61.247 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.
  61.311 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [Couldn't load font -*-*-medium-r-normal--*-120-*-*-*-*-*-*]
  61.311 Uploading log file
  61.319 Info SystemUtil.cpp:842: Started /home/michael/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 61385

What did you do?
I opened the game, left it in the main menu, didn't interact with the game at all

What happened?
The game crashes after ~1min, varying in time

What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expect it to not crash

Does it happen always, once, or sometimes?
It seems to always happen while at the menu

Switched to wayland renderer in game from X11, that didn't help, also disabling game simulations in background didn't help
Switching to pipewire for audio seems to fix the problem
Last edited by mph on Mon Jan 26, 2026 7:21 am, edited 3 times in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16578
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.73][linux] Crash (SDL_waylandopengles:Wayland_GLES_SwapWindow)

Post by Rseding91 »

Thanks for the report however there's nothing we can do about this crash. The crash is happening in the graphics driver on your system (specifically a Direct Rendering Manager driver) which is outside of our control.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”