Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitchy behavior on mobile Quadro and Ubuntu 20.04 #8003

Open
pjozog opened this issue Nov 5, 2024 · 0 comments
Open

Glitchy behavior on mobile Quadro and Ubuntu 20.04 #8003

pjozog opened this issue Nov 5, 2024 · 0 comments
Labels
🪳 bug Something isn't working 🔺 re_renderer affects re_renderer itself

Comments

@pjozog
Copy link

pjozog commented Nov 5, 2024

Describe the bug
See the question I asked on discord.

I have a Ubuntu 20.04 laptop running an NVIDIA Quadro M2000.

When I run the rerun native viewer, I get very glitchy behavior. See attached video. "Glitches" include flickering video and geometric artifacts that are somehow being rendered but are clearly not part of the dataset (see big blue polygons).

2024-11-05_10-09_26.mp4

When I use the web/websocket viewer, there are no glitches in both Chrome and Firefox; everything renders just fine.

If I try to use --renderer=gl, it crashes

To Reproduce
Steps to reproduce the behavior:

  1. Install rerun-sdk==0.19.0 with the above hardware config on Ubuntu 20.04
  2. Run rerun and select one of the examples.

Expected behavior
Rendering the examples with no flickering video or geometric artifacts.

Screenshots

About menu for my machine:
Screenshot from 2024-11-05 10-38-53

Backtrace

Desktop (please complete the following information):

  • OS: Ubuntu 20.04

Rerun version

 $ rerun --version
rerun-cli 0.19.0 [rustc 1.79.0 (129f3b996 2024-06-10), LLVM 18.1.7] x86_64-unknown-linux-gnu 7799/merge 5efb166, built 2024-10-17T13:58:19Z
Video features: av1 nasm

Additional context

 $ RUST_LOG=debug rerun
[2024-11-05T15:45:12Z DEBUG rerun::commands::entrypoint] Detected 8 cores. Using 6 compute threads.
[2024-11-05T15:45:12Z DEBUG re_memory::memory_limit] Setting memory limit to 47.0 GiB, which is 75% of total available memory (62.7 GiB).
[2024-11-05T15:45:12Z INFO  re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-11-05T15:45:12Z DEBUG eframe] Using the wgpu renderer
[2024-11-05T15:45:12Z WARN  winit::platform_impl::linux::x11::xdisplay] error setting XSETTINGS; Xft options won't reload automatically
[2024-11-05T15:45:12Z DEBUG eframe::native::wgpu_integration] Event::Resumed
[2024-11-05T15:45:12Z DEBUG eframe::native::file_storage] Loading app state from "/home/paul-ozog/.local/share/rerun/app.ron"…
[2024-11-05T15:45:12Z INFO  winit::platform_impl::linux::x11::window] Guessed window scale factor: 1.1666666666666667
[2024-11-05T15:45:12Z WARN  wgpu_hal::vulkan::instance] Unable to find extension: VK_EXT_swapchain_colorspace
[2024-11-05T15:45:12Z WARN  wgpu_hal::gles::egl] No config found!
[2024-11-05T15:45:12Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2024-11-05T15:45:12Z WARN  wgpu_hal::gles::adapter] Max vertex attribute stride unknown. Assuming it is 2048
[2024-11-05T15:45:12Z WARN  wgpu_hal::gles::adapter] Max vertex attribute stride unknown. Assuming it is 2048
[2024-11-05T15:45:12Z INFO  egui_wgpu] There were 3 available wgpu adapters: {backend: Vulkan, device_type: Cpu, name: "llvmpipe (LLVM 12.0.0, 256 bits)", driver: "llvmpipe", driver_info: "Mesa 21.2.6 (LLVM 12.0.0)", vendor: 0x10005}, {backend: Vulkan, device_type: DiscreteGpu, name: "Quadro M2000M", driver: "NVIDIA", driver_info: "535.183.01", vendor: 0x10DE, device: 0x13B0}, {backend: Gl, device_type: Other, name: "Quadro M2000M/PCIe/SSE2", driver_info: "3.3.0 NVIDIA 535.183.01", vendor: 0x10DE}
[2024-11-05T15:45:12Z DEBUG egui_wgpu] Picked wgpu adapter: backend: Vulkan, device_type: DiscreteGpu, name: "Quadro M2000M", driver: "NVIDIA", driver_info: "535.183.01", vendor: 0x10DE, device: 0x13B0
[2024-11-05T15:45:12Z DEBUG egui_winit::clipboard] Cannot init smithay clipboard without a Wayland display handle
[2024-11-05T15:45:12Z DEBUG re_renderer::context] wgpu adapter backend: Vulkan, device_type: DiscreteGpu, name: "Quadro M2000M", driver: "NVIDIA", driver_info: "535.183.01"
[2024-11-05T15:45:12Z DEBUG re_entity_db::store_bundle] Creating a new blueprint Welcome screen
[2024-11-05T15:45:12Z DEBUG re_viewer_context::store_hub] Cloning Welcome screen as cf15e833-c69d-4200-b781-db8c4aef024e the active blueprint for Welcome screen to Welcome screen
[2024-11-05T15:45:14Z DEBUG re_log_encoding::stream_rrd_from_http] Downloading .rrd file from "https://app.rerun.io/version/0.19.0/examples/arkit_scenes.rrd"…
[2024-11-05T15:45:14Z DEBUG re_log_encoding::stream_rrd_from_http] Decoding .rrd file from "https://app.rerun.io/version/0.19.0/examples/arkit_scenes.rrd"…
[2024-11-05T15:45:14Z DEBUG re_entity_db::store_bundle] Creating new store: ea2b015d-ed41-4651-81ac-fbfa091e0f55
[2024-11-05T15:45:14Z DEBUG re_viewer::app] Activating blueprint that was loaded from https://app.rerun.io/version/0.19.0/examples/arkit_scenes.rrd
[2024-11-05T15:45:14Z DEBUG re_viewer_context::store_hub] Switching default blueprint for rerun_example_arkit_scenes to ea2b015d-ed41-4651-81ac-fbfa091e0f55
[2024-11-05T15:45:14Z DEBUG re_viewer_context::store_hub] Cloning ea2b015d-ed41-4651-81ac-fbfa091e0f55 as 28935050-929d-4111-b256-90242374ed2c the active blueprint for rerun_example_arkit_scenes to ea2b015d-ed41-4651-81ac-fbfa091e0f55
[2024-11-05T15:45:14Z DEBUG re_entity_db::store_bundle] Creating new store: 57102355-1ba1-4cb3-b90d-d4dc88c3cdfd
[2024-11-05T15:45:14Z DEBUG re_viewer::app] Opening a new recording: 57102355-1ba1-4cb3-b90d-d4dc88c3cdfd
[2024-11-05T15:45:14Z DEBUG re_space_view_spatial::proc_mesh] Generating mesh Cube…
[2024-11-05T15:45:14Z DEBUG re_space_view_spatial::mesh_cache] Loading CPU mesh "/world/mesh"…
[2024-11-05T15:45:15Z DEBUG re_log_encoding::stream_rrd_from_http] Finished decoding .rrd file from "https://app.rerun.io/version/0.19.0/examples/arkit_scenes.rrd"…
[2024-11-05T15:45:15Z DEBUG re_viewer] Shutting down ui_waker thread
[2024-11-05T15:45:15Z DEBUG re_viewer::app] Data source https://app.rerun.io/version/0.19.0/examples/arkit_scenes.rrd has finished
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB
[2024-11-05T15:45:17Z DEBUG re_renderer::allocator::gpu_readback_belt] Allocating new GpuReadbackBelt chunk of size 0.1 MiB

This is what happens if I try to use gl as the renderer:

 $ RUST_LOG=debug rerun --renderer=gl
[2024-11-05T15:47:21Z DEBUG rerun::commands::entrypoint] Detected 8 cores. Using 6 compute threads.
[2024-11-05T15:47:21Z DEBUG re_memory::memory_limit] Setting memory limit to 47.0 GiB, which is 75% of total available memory (62.7 GiB).
[2024-11-05T15:47:21Z INFO  re_sdk_comms::server] Hosting a SDK server over TCP at 0.0.0.0:9876. Connect with the Rerun logging SDK.
[2024-11-05T15:47:21Z INFO  re_viewer] Forcing graphics backend to Gl.
[2024-11-05T15:47:21Z DEBUG eframe] Using the wgpu renderer
[2024-11-05T15:47:21Z WARN  winit::platform_impl::linux::x11::xdisplay] error setting XSETTINGS; Xft options won't reload automatically
[2024-11-05T15:47:21Z DEBUG eframe::native::wgpu_integration] Event::Resumed
[2024-11-05T15:47:21Z DEBUG eframe::native::file_storage] Loading app state from "/home/paul-ozog/.local/share/rerun/app.ron"…
[2024-11-05T15:47:21Z INFO  winit::platform_impl::linux::x11::window] Guessed window scale factor: 1.1666666666666667
[2024-11-05T15:47:21Z WARN  wgpu_hal::gles::egl] No config found!
[2024-11-05T15:47:21Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2024-11-05T15:47:21Z WARN  wgpu_hal::gles::adapter] Max vertex attribute stride unknown. Assuming it is 2048
[2024-11-05T15:47:21Z WARN  wgpu_hal::gles::adapter] Max vertex attribute stride unknown. Assuming it is 2048
[2024-11-05T15:47:21Z INFO  egui_wgpu] The only available wgpu adapter was not suitable: backend: Gl, device_type: Other, name: "Quadro M2000M/PCIe/SSE2", driver_info: "3.3.0 NVIDIA 535.183.01", vendor: 0x10DE
[2024-11-05T15:47:21Z ERROR eframe::native::run] Exiting because of error: WGPU error: Failed to create wgpu adapter, no suitable adapter found.
[2024-11-05T15:47:21Z DEBUG eframe::native::run] Asking to exit event loop…
[2024-11-05T15:47:21Z DEBUG eframe::native::run] Received Event::LoopExiting - saving app state…
[2024-11-05T15:47:21Z DEBUG eframe::native::run] eframe window closed
@pjozog pjozog added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working labels Nov 5, 2024
@Wumpf Wumpf added 🔺 re_renderer affects re_renderer itself and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

No branches or pull requests

2 participants