The application crashes on startup on modern Linux systems. Two separate issues happen:
- Wayland error on native Wayland:
interface 'wl_surface' has no event 2.
Caused by winit 0.24.0 using wayland-client 0.28, which is incompatible with current Wayland compositors.
- SIGSEGV + swap chain panic when forcing X11 via WINIT_UNIX_BACKEND=x11 (it was an attempt to make it run on Wayland): thread 'main' panicked at gui/src/app.rs:175:14:
Failed to acquire next swap chain texture: Outdated
fish: Job terminated by signal SIGSEGV (Address boundary error)
It was tested with both WGPU_BACKEND=gl and WGPU_BACKEND=vulkan, same result.
Root cause seems to be that the GUI crate pins very old versions that are incompatible with modern drivers and compositors:
wgpu = "0.8.1" (current: 28.x), uses the removed SwapChain API
winit = "0.24.0" (current: 0.30.x), uses old wayland-client
The application crashes on startup on modern Linux systems. Two separate issues happen:
interface 'wl_surface' has no event 2.Caused by
winit0.24.0 usingwayland-client0.28, which is incompatible with current Wayland compositors.Failed to acquire next swap chain texture: Outdated
fish: Job terminated by signal SIGSEGV (Address boundary error)
It was tested with both
WGPU_BACKEND=glandWGPU_BACKEND=vulkan, same result.Root cause seems to be that the GUI crate pins very old versions that are incompatible with modern drivers and compositors:
wgpu = "0.8.1"(current: 28.x), uses the removedSwapChainAPIwinit = "0.24.0"(current: 0.30.x), uses old wayland-client