Skip to content

Wayland + Nvidia: rerun --skip-welcome-screen causes Rerun to hang on launch #5283

@jleibs

Description

@jleibs

So far Rerun works fine in all other contexts, however when skipping the welcome screen the viewer hangs consistently.

Happens in either debug or release.

Output:

$ ./target/release/rerun --skip-welcome-screen
[2024-02-26T12:40:22Z DEBUG rerun::run] Detected 32 cores. Using 30 compute threads.
[2024-02-26T12:40:22Z DEBUG re_memory::memory_limit] Setting memory limit to 46.9 GiB, which is 75% of total available memory (62.5 GiB).
[2024-02-26T12:40:22Z INFO  re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-02-26T12:40:22Z DEBUG eframe] Using the wgpu renderer
[2024-02-26T12:40:22Z DEBUG sctk] Bound new global [44] wl_output v4
[2024-02-26T12:40:22Z DEBUG sctk] Bound new global [45] wl_output v4
[2024-02-26T12:40:22Z DEBUG sctk] Bound new global [8] zxdg_output_manager_v1 v3
[2024-02-26T12:40:22Z DEBUG sctk] Bound new global [42] wl_seat v7
[2024-02-26T12:40:22Z DEBUG sctk] supported wl_shm format Argb8888
[2024-02-26T12:40:22Z DEBUG sctk] supported wl_shm format Xrgb8888
[2024-02-26T12:40:22Z DEBUG sctk] supported wl_shm format Xbgr8888
[2024-02-26T12:40:22Z DEBUG sctk] supported wl_shm format Abgr8888
[2024-02-26T12:40:22Z DEBUG eframe::native::wgpu_integration] Event::Resumed
[2024-02-26T12:40:22Z DEBUG eframe::native::file_storage] Loading app state from "/home/jleibs/.local/share/rerun/app.ron"…
[2024-02-26T12:40:22Z DEBUG egui_winit] Failed to set window size
[2024-02-26T12:40:22Z DEBUG egui_wgpu] Picked the only available wgpu adapter: backend: Vulkan, device_type: DiscreteGpu, name: "NVIDIA Graphics Device", driver: "NVIDIA", driver_info: "545.29.06", vendor: 0x10DE, device: 0x2705
[2024-02-26T12:40:22Z INFO  tracing::span] perform;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=Auth(Some(External), Some([49, 48, 48, 48]))
[2024-02-26T12:40:22Z INFO  tracing::span] read_command;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=NegotiateUnixFD
[2024-02-26T12:40:22Z INFO  tracing::span] read_command;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=Begin
[2024-02-26T12:40:22Z INFO  tracing::span] socket reader;
[2024-02-26T12:40:22Z INFO  tracing::span] perform;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=Auth(Some(External), Some([49, 48, 48, 48]))
[2024-02-26T12:40:22Z INFO  tracing::span] read_command;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=NegotiateUnixFD
[2024-02-26T12:40:22Z INFO  tracing::span] read_command;
[2024-02-26T12:40:22Z INFO  zbus::handshake] write_command; command=Begin
[2024-02-26T12:40:22Z INFO  tracing::span] socket reader;
[2024-02-26T12:40:22Z INFO  zbus::connection] {}; obj_server_task_name="ObjectServer task"
[2024-02-26T12:40:22Z INFO  zbus::object_server] dispatch_message; msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.1"))), path: ObjectPath("/org/a11y/atspi/accessible/root"), iface: InterfaceName(Str(Borrowed("org.freedesktop.DBus.Properties"))), member: MemberName(Str(Borrowed("Set"))), body: Signature("ssv") }
[2024-02-26T12:40:22Z INFO  zbus::object_server] dispatch_method_call; msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.1"))), path: ObjectPath("/org/a11y/atspi/accessible/root"), iface: InterfaceName(Str(Borrowed("org.freedesktop.DBus.Properties"))), member: MemberName(Str(Borrowed("Set"))), body: Signature("ssv") }
[2024-02-26T12:40:22Z INFO  zbus::object_server] dispatch_method_call_try; msg=Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.1"))), path: ObjectPath("/org/a11y/atspi/accessible/root"), iface: InterfaceName(Str(Borrowed("org.freedesktop.DBus.Properties"))), member: MemberName(Str(Borrowed("Set"))), body: Signature("ssv") }
[2024-02-26T12:40:22Z DEBUG re_renderer::context] wgpu adapter backend: Vulkan, device_type: DiscreteGpu, name: "NVIDIA Graphics Device", driver: "NVIDIA", driver_info: "545.29.06"
[2024-02-26T12:40:22Z DEBUG sctk] Bound new global [42] wl_seat v7
[2024-02-26T12:40:22Z DEBUG egui::context] Loading new font definitions

Some window decorations show up but the app is otherwise totally unresponsive:
screen

In debugger, everthing paused except:
image

Metadata

Metadata

Assignees

Labels

🐧 linuxLinux-specific problems📺 re_vieweraffects re_viewer itself🪳 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions