[1.1.104] Crash in wayland_get_system_cursor
Posted: Tue Mar 12, 2024 6:15 pm
This is with SDL_VIDEODRIVER=wayland. Note that Factorio is unplayable without this set; the window blinks white several times per second during normal gameplay.
No mods are loaded. It reliably happens while scrolling the mod menu; I haven't gotten far enough to try gameplay.
No mods are loaded. It reliably happens while scrolling the mod menu; I haven't gotten far enough to try gameplay.
Code: Select all
svein@saya ~/factorio [1]> SDL_VIDEODRIVER=wayland steam-run ./bin/x64/factorio
0.000 2024-03-12 18:10:53; Factorio 1.1.104 (build 62119, linux64, full)
0.004 Operating system: Linux (NixOS 24.05)
0.004 Program arguments: "./bin/x64/factorio"
0.004 Config path: /home/svein/factorio/config/config.ini
0.004 Read data path: /home/svein/factorio/data
0.004 Write data path: /home/svein/factorio [1297355/1875676MB]
0.004 Binaries path: /home/svein/factorio/bin
0.007 System info: [CPU: AMD Ryzen 9 7950X3D 16-Core Processor, 32 cores, RAM: 127955 MB]
0.007 Environment: DISPLAY=:1 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.007 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 1] [Special: lmw] [Lang: en]
0.011 Video driver: wayland
0.011 Available displays: 3
0.011 [0]: ACI ROG PG279Q/40680 - {[6000,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
0.011 [1]: DEL Dell AW3423DW/811160659 - {[2560,0], 3440x1440, SDL_PIXELFORMAT_RGB888, 120Hz}
0.011 [2]: ACI ROG PG279Q/95040 - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
libEGL warning: egl: failed to create dri2 screen
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
0.112 Initialised OpenGL:[1] zink Vulkan 1.3(NVIDIA GeForce RTX 4090 (NVIDIA_PROPRIETARY)); driver: 4.6 (Core Profile) Mesa 24.0.1
0.112 [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
0.112 [Version] 4.6
0.112 Graphics settings preset: very-high
0.112 Dedicated video memory size 24564 MB
0.139 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
0.139 [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
0.145 [Audio] Backend:SDL(default); Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
0.306 Loading mod core 0.0.0 (data.lua)
0.331 Loading mod base 1.1.104 (data.lua)
0.406 Loading mod base 1.1.104 (data-updates.lua)
0.464 Checksum for core: 607699937
0.464 Checksum of base: 1054619811
0.572 Prototype list checksum: 3034860339
0.599 Loading sounds...
0.644 Info PlayerData.cpp:76: Local player-data.json available, timestamp 1710266896
0.644 Info PlayerData.cpp:83: Cloud player-data.json unavailable
0.708 Initial atlas bitmap size is 16384
0.726 Created atlas bitmap 16384x16372 [none]
0.727 Created atlas bitmap 16384x13232 [none]
0.727 Created atlas bitmap 8192x4188 [decal]
0.728 Created atlas bitmap 16384x5568 [low-object]
0.728 Created atlas bitmap 8192x4432 [mipmap, linear-minification, linear-magnification, linear-mip-level]
0.728 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
0.728 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
0.728 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
0.728 Created atlas bitmap 4096x3104 [mipmap]
0.729 Created atlas bitmap 8192x2272 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
0.729 Created atlas bitmap 8192x1496 [alpha-mask]
0.731 Created atlas bitmap 16384x14764 [shadow, linear-magnification, alpha-mask]
0.731 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
0.731 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
0.843 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
1.115 Parallel Sprite Loader initialized (threads: 31)
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0xc00bc80
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0xa5e0180
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0xa5c5340
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0xa5f8fc0
MESA: warning: zink: PERF WARNING! > 100 copy boxes detected for 0xa5e7f40
4.714 Sprites loaded
4.731 Generated mipmaps (4) for atlas [3] of size 16384x5568
4.736 Generated mipmaps (3) for atlas [4] of size 8192x4432
4.746 Generated mipmaps (3) for atlas [5] of size 16384x6064
4.759 Generated mipmaps (3) for atlas [6] of size 4096x3216
4.764 Generated mipmaps (3) for atlas [7] of size 4096x1840
4.787 Generated mipmaps (3) for atlas [8] of size 4096x3104
4.789 Generated mipmaps (5) for atlas [9] of size 8192x2272
4.798 Generated mipmaps (3) for atlas [12] of size 8192x2352
4.802 Custom mipmaps uploaded (1942)
4.850 Factorio initialised
4.851 Info HttpSharedState.cpp:58: Downloading https://updater.factorio.com/updater/get-available-versions?username=Baughn&token=<private>&apiVersion=2
5.466 0 packages available to download (experimental updates disabled).
7.983 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/categories?version=1.1.104&lang=en
7.983 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods?page_size=max&version=1.1&lang=en
7.984 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/bookmarks?version=1.1.104&lang=en&username=Baughn&token=<private>
17.878 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods/MileStoneSaves/full?version=1.1.104&lang=en
18.274 Info HttpSharedState.cpp:58: Downloading https://mods-data.factorio.com/assets/05e81a39677059e4a8e4ba442895e660120956db.thumb.png
21.437 Error CrashHandler.cpp:639: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
/tmp/factorio-build-MzGUjo/src/Util/Logger.cpp (336): Logger::writeStacktrace(FileWriteStream*, StackTraceInfo*) [clone .constprop.0]
/tmp/factorio-build-MzGUjo/src/Util/CrashHandler.cpp (188): CrashHandler::writeStackTrace(CrashHandler::CrashReason)
/tmp/factorio-build-MzGUjo/src/Util/CrashHandler.cpp (642): CrashHandler::commonSignalHandler(int)
/tmp/factorio-build-MzGUjo/src/Util/CrashHandler.cpp (648): CrashHandler::SignalHandler(int)
0x7f3c7193feaf
/tmp/factorio-build-MzGUjo/libraries/SDL2/src/video/wayland/SDL_waylandmouse.c (283): wayland_get_system_cursor
/tmp/factorio-build-MzGUjo/libraries/SDL2/src/video/wayland/SDL_waylandmouse.c (516): Wayland_ShowCursor
/tmp/factorio-build-MzGUjo/src/MainLoop.cpp (1179): MainLoop::prepare()
/tmp/factorio-build-MzGUjo/src/MainLoop.cpp (715): MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode)
/tmp/factorio-build-MzGUjo/src/MainLoop.cpp (423): MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode)
/tmp/factorio-build-MzGUjo/src/Main.cpp (1267): main
__libc_start_call_main
__libc_start_main_impl
0x783342
0xffffffffffffffff
Stack trace logging done
21.515 Error Util.cpp:100: 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.
21.541 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [zenity reported error or failed to launch: 129]
21.541 Uploading log file
21.548 Info SystemUtil.cpp:878: Started /home/svein/factorio/bin/x64/factorio; trampoline PID: 323052