-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Labels
🔺 re_rendererrendering, graphics, GPUrendering, graphics, GPU🪳 bugSomething isn't workingSomething isn't working
Description
With wgpu 0.20 we no longer get crashes in these situations, but whenever there's no available graphics adapter we exit with a less than optimal error message.
One such instance was successfully reproduced by @02alexander:
✨ Pixi task (rerun in default): cargo run --package rerun-cli --no-default-features --features native_viewer -- --renderer gl
Finished dev [optimized + debuginfo] target(s) in 0.18s
Running `target/debug/rerun --renderer gl`
[2024-05-30T11:50:29Z DEBUG rerun::run] Detected 12 cores. Using 10 compute threads.
[2024-05-30T11:50:29Z DEBUG re_memory::memory_limit] Setting memory limit to 22.9 GiB, which is 75% of total available memory (30.5 GiB).
[2024-05-30T11:50:29Z INFO re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-05-30T11:50:29Z INFO re_viewer] Forcing graphics backend to Gl.
[2024-05-30T11:50:29Z DEBUG eframe] Using the wgpu renderer
[2024-05-30T11:50:29Z WARN winit::platform_impl::platform::x11::xdisplay] error setting XSETTINGS; Xft options won't reload automatically
[2024-05-30T11:50:29Z DEBUG eframe::native::wgpu_integration] Event::Resumed
[2024-05-30T11:50:29Z DEBUG eframe::native::file_storage] Loading app state from "/home/alexander/.local/share/rerun/app.ron"…
[2024-05-30T11:50:29Z INFO winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
[2024-05-30T11:50:29Z DEBUG winit::platform_impl::platform::x11::window] Calculated physical dimensions: 1461x908
[2024-05-30T11:50:29Z WARN wgpu_hal::gles::egl] No config found!
[2024-05-30T11:50:29Z WARN wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2024-05-30T11:50:29Z INFO egui_wgpu] The only available wgpu adapter was not suitable: backend: Gl, device_type: Other, name: "NVIDIA GeForce RTX 3060/PCIe/SSE2", driver: "OpenGL", driver_info: "4.6.0 NVIDIA 550.78", vendor: 0x10DE
[2024-05-30T11:50:29Z ERROR eframe::native::run] Exiting because of error: WGPU error: Failed to create wgpu adapter, no suitable adapter found. during event Resumed
[2024-05-30T11:50:29Z DEBUG eframe::native::run] Asking to exit event loop…
[2024-05-30T11:50:29Z DEBUG eframe::native::run] Received Event::LoopExiting - saving app state…
[2024-05-30T11:50:29Z DEBUG eframe::native::run] eframe window closed
Error: WGPU error: Failed to create wgpu adapter, no suitable adapter found.
This bit here is likely relevant:
[2024-05-30T11:50:29Z WARN wgpu_hal::gles::egl] No config found!
[2024-05-30T11:50:29Z WARN wgpu_hal::gles::egl] EGL says it can present to the window but not natively
This is the wgpu-info output for this adapter wgpu-info.txt
Metadata
Metadata
Assignees
Labels
🔺 re_rendererrendering, graphics, GPUrendering, graphics, GPU🪳 bugSomething isn't workingSomething isn't working