Thank you for looking into this. Since the latest update of nVidia open source driver released, Factorio started to crash on hyprland/wayland.
Code: Select all
❯ cat /etc/os-release
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /etc/os-release
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ ANSI_COLOR="1;34"
2 │ BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
3 │ BUILD_ID="24.11.20250615.daa45f1"
4 │ CPE_NAME="cpe:/o:nixos:nixos:24.11"
5 │ DEFAULT_HOSTNAME=nixos
6 │ DOCUMENTATION_URL="https://nixos.org/learn.html"
7 │ HOME_URL="https://nixos.org/"
8 │ ID=nixos
9 │ ID_LIKE=""
10 │ IMAGE_ID=""
11 │ IMAGE_VERSION=""
12 │ LOGO="nix-snowflake"
13 │ NAME=NixOS
14 │ PRETTY_NAME="NixOS 24.11 (Vicuna)"
15 │ SUPPORT_END="2025-06-30"
16 │ SUPPORT_URL="https://nixos.org/community.html"
17 │ VARIANT=""
18 │ VARIANT_ID=""
19 │ VENDOR_NAME=NixOS
20 │ VENDOR_URL="https://nixos.org/"
21 │ VERSION="24.11 (Vicuna)"
22 │ VERSION_CODENAME=vicuna
23 │ VERSION_ID="24.11"
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Code: Select all
Hyprland 0.45.2 built from branch v0.45.2-b at commit 12f9a0d0b93f691d4d9923716557154d74777b0a ([gha] Nix: update inputs).
Date: 2024-11-19
Tag: v0.45.2, commits: 12f9a0d0b93f691d4d9923716557154d74777b0a
built against aquamarine 0.4.4
Code: Select all
0.000 2025-06-24 02:18:15; Factorio 2.0.55 (build 83138, linux64, steam, space-age)
0.000 Operating system: Linux
0.000 Initializing Steam API.
0.000 Program arguments: "/home/k1ng/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" "--join-game-by-steam-id" "76561199487170636"
0.000 Config path: /home/k1ng/.factorio/config/config.ini
0.000 Read data path: /home/k1ng/.local/share/Steam/steamapps/common/Factorio/data
0.000 Write data path: /home/k1ng/.factorio [3239873/3814406MB]
0.000 Binaries path: /home/k1ng/.local/share/Steam/steamapps/common/Factorio/bin
0.007 System info: [CPU: AMD Ryzen 9 5950X 16-Core Processor, 32 cores, RAM: 64210 MB]
0.007 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=Hyprland XDG_CURRENT_DESKTOP=Hyprland 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.010 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
0.071 Video driver: x11
0.071 Available displays: 3
0.071 [0]: DP-1 34" - {[0,0], 3440x1440, SDL_PIXELFORMAT_RGB888, 120Hz}
0.071 [1]: HDMI-A-1 43" - {[3440,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
0.071 [2]: DP-2 34" - {[5360,0], 3440x1440, SDL_PIXELFORMAT_RGB888, 100Hz}
0.286 Initialised OpenGL:[0] NVIDIA GeForce RTX 3080/PCIe/SSE2; driver: 3.3.0 NVIDIA 565.77
0.286 [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.286 [Version] 3.3
0.286 Graphics settings preset: very-high
0.286 Dedicated video memory size 10240 MB
0.303 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
0.303 [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
0.358 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
0.519 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
0.519 Info ModManager.cpp:444: FeatureFlag freezing = true
0.519 Info ModManager.cpp:444: FeatureFlag quality = true
0.519 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
0.519 Info ModManager.cpp:444: FeatureFlag segmented-units = true
0.519 Info ModManager.cpp:444: FeatureFlag space-travel = true
0.519 Info ModManager.cpp:444: FeatureFlag spoiling = true
0.547 Loading mod core 0.0.0 (data.lua)
0.565 Loading mod base 2.0.55 (data.lua)
0.707 Loading mod elevated-rails 2.0.55 (data.lua)
0.729 Loading mod quality 2.0.55 (data.lua)
0.740 Loading mod space-age 2.0.55 (data.lua)
0.934 Loading mod base 2.0.55 (data-updates.lua)
0.941 Loading mod quality 2.0.55 (data-updates.lua)
0.952 Loading mod space-age 2.0.55 (data-updates.lua)
1.018 Checksum for core: 1599024484
1.018 Checksum of base: 2095342242
1.018 Checksum of elevated-rails: 755107374
1.018 Checksum of quality: 3594706471
1.018 Checksum of space-age: 2561352795
1.323 Prototype list checksum: 611276394
1.359 Loading sounds...
1.929 Info PlayerData.cpp:66: Local player-data.json unavailable
1.929 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1750709893
1.932 Post-data load graphics options: [Light occlusion: YES]
2.089 Initial atlas bitmap size is 16384
2.098 Created an atlas bitmap (size 16384x16368) [none]
2.110 Created an atlas bitmap (size 16384x16380) [none]
2.125 Created an atlas bitmap (size 16384x16384) [none]
2.125 Created an atlas bitmap (size 16384x15084) [none]
2.127 Created an atlas bitmap (size 16384x16384) [low-object]
2.127 Created an atlas bitmap (size 4096x2528) [low-object]
2.128 Created an atlas bitmap (size 16384x14140) [corpse-decay]
2.128 Created an atlas bitmap (size 16384x9316) [decal]
2.128 Created an atlas bitmap (size 16384x5596) [none]
2.128 Created an atlas bitmap (size 1676x79) [not-compressed]
2.128 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
2.128 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
2.132 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
2.132 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
2.132 Created an atlas bitmap (size 8192x5760) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
2.132 Created an atlas bitmap (size 8192x2608) [mipmap]
2.132 Created an atlas bitmap (size 3504x768) [mipmap]
2.132 Created an atlas bitmap (size 4096x3152) [mipmap]
2.132 Created an atlas bitmap (size 4096x3152) [mipmap]
2.132 Created an atlas bitmap (size 4096x3152) [mipmap]
2.132 Created an atlas bitmap (size 8192x3872) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
2.133 Created an atlas bitmap (size 16384x6120) [alpha-mask]
2.148 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
2.150 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
2.150 Created an atlas bitmap (size 16384x3880) [shadow, linear-magnification, alpha-mask]
2.150 Created an atlas bitmap (size 8192x4016) [shadow, mipmap, linear-magnification, alpha-mask]
2.150 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
2.150 Loading 3D bitmaps.
2.159 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
2.280 Parallel sprite loader initialized (threads: 31, bitmaps: 8380)
11.967 Sprites loaded
12.016 Generated mipmaps (4) for atlas [4] of size 16384x16384
12.022 Generated mipmaps (4) for atlas [5] of size 4096x2528
12.024 Generated mipmaps (3) for atlas [10] of size 16384x4240
12.026 Generated mipmaps (3) for atlas [11] of size 4096x3040
12.068 Generated mipmaps (3) for atlas [12] of size 16384x16352
12.083 Generated mipmaps (3) for atlas [13] of size 16384x4944
12.091 Generated mipmaps (3) for atlas [14] of size 8192x5760
12.115 Generated mipmaps (3) for atlas [15] of size 8192x2608
12.116 Generated mipmaps (3) for atlas [16] of size 3504x768
12.120 Generated mipmaps (3) for atlas [17] of size 4096x3152
12.134 Generated mipmaps (3) for atlas [18] of size 4096x3152
12.137 Generated mipmaps (3) for atlas [19] of size 4096x3152
12.309 Generated mipmaps (5) for atlas [20] of size 8192x3872
12.310 Generated mipmaps (3) for atlas [25] of size 8192x4016
12.314 Custom mipmaps uploaded (3444)
12.340 Video memory usage: 3609.13 MB (Atlases: 3478.82 MB, Textures: 130.30 MB)
12.458 Factorio initialised
12.459 Steam Storage Quota: 17827/23841
12.460 Info AppManagerStates.cpp:1057: Connecting to game: STEAM ID:({76561199487170636})
12.460 Joining game STEAM ID:({76561199487170636})
12.460 Info UDPSocket.cpp:43: Opening socket
12.464 Info ClientMultiplayerManager.cpp:608: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
13.052 Connection refused
13.052 Info ClientMultiplayerManager.cpp:199: Quitting multiplayer connection.
13.052 Info ClientMultiplayerManager.cpp:608: UpdateTick(18446744073709551615) changing state from(Connecting) to(Disconnected)
13.052 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=6
14.141 Info AuthServerConnector.cpp:147: Received key from auth server.
14.142 Info UDPSocket.cpp:237: Closing socket
14.142 Info UDPSocket.cpp:267: Socket closed
14.142 Joining game STEAM ID:({76561199487170636})
14.142 Info UDPSocket.cpp:43: Opening socket
14.142 Info ClientMultiplayerManager.cpp:608: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
14.899 Info ClientSynchronizer.cpp:27: Initialized Synchronizer local peer(1) latency(32).
14.900 Info ClientMultiplayerManager.cpp:608: UpdateTick(18446744073709551615) changing state from(Connecting) to(ConnectedWaitingForMap)
14.900 Info ClientRouter.cpp:228: ConnectionAccepted
15.151 Info ClientMultiplayerManager.cpp:747: Received mapReadyForDownload
15.151 Downloading file /home/k1ng/.factorio/temp/mp-download.zip (11083715 B, auxiliary 228 B, 22037 blocks)
15.155 Info ClientMultiplayerManager.cpp:608: UpdateTick(18446744073709551615) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
18.005 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 (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x7f7f3d6b361f
__pthread_kill_implementation
__GI_raise
__GI_abort
0x7f7f3b2ab74e
0x7f7f3bae7b99
0x7f7f3b9fb56e
0x7f7f3d2bcf8b
0x7f7f3d28b48f
glXSwapBuffers
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 (1518): swapRenderBuffers
src/MainLoop.cpp (782): mainLoopStep
src/MainLoop.cpp (415): run
src/Main.cpp (1397): fmain
src/Main.cpp (1419): main
__libc_start_call_main
__libc_start_main_alias_1
_start
0xffffffffffffffff
Stack trace logging done
19.814 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.
20.244 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [zenity reported error or failed to launch: 255]
20.244 Uploading log file
20.305 Info SystemUtil.cpp:869: Started /home/k1ng/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 1596129