-
Notifications
You must be signed in to change notification settings - Fork 703
Open
Labels
💣 crashcrash, deadlock/freeze, do-no-startcrash, deadlock/freeze, do-no-start🪳 bugSomething isn't workingSomething isn't working
Description
On WSL2, the native viewer crashes immediately on launch with "Could not find wayland compositor".
$ rerun
[2024-07-03T15:03:02Z INFO re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-07-03T15:03:02Z INFO re_viewer] Forcing graphics backend to Gl.
Error: winit EventLoopError: os error at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.9/src/platform_impl/linux/wayland/event_loop/mod.rs:81: Could not find wayland compositor -> os error at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.9/src/platform_impl/linux/wayland/event_loop/mod.rs:81: Could not find wayland compositor
The documented workaround of setting WAYLAND_DISPLAY= works, but we could at least try to improve the error message.
Tested on both rerun 0.16.1 and latest main.
System information
Windows Subsystem for Linux (WSL2)
Build: 19045
Branch: vb_release
Release: Ubuntu 22.04.4 LTS
Kernel: Linux 5.15.153.1-microsoft-standard-WSL2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💣 crashcrash, deadlock/freeze, do-no-startcrash, deadlock/freeze, do-no-start🪳 bugSomething isn't workingSomething isn't working