-
Notifications
You must be signed in to change notification settings - Fork 529
Closed
Labels
🏎️ Quick IssueCan be fixed in a few hours or lessCan be fixed in a few hours or less📺 re_vieweraffects re_viewer itselfaffects re_viewer itself🔺 re_rendererrendering, graphics, GPUrendering, graphics, GPU🪳 bugSomething isn't workingSomething isn't working
Description
Describe the bug
When resizing the viewer for a little while it eventually crashes with the following error
2023-12-07T10:44:52Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'ThreadId(1)' panicked at 'wgpu error: Validation Error
Caused by:
In a RenderPass
note: encoder = `encoder`
In a set_viewport command
Viewport has invalid rect Rect { x: 224.0, y: 72.0, w: 932.0, h: 496.0 }; origin and/or size is less than or equal to 0, and/or is not contained in the render target Extent3d { width: 1055, height: 631, depth_or_array_layers: 1 }
2023-12-07.12-00-15.mp4
To Reproduce
Open the viewer and continuously resize for a few seconds. I think what matters is that it is fast (I guess too fast for my computer to handle something, wouldn't be surprised if this is harder to reproduce on better hardware or different OS). This is the code I use here, but I don't think it matters:
import numpy as np
import rerun as rr
rr.init("collapsing", spawn=True)
rr.log("parent/p1", rr.Points3D(np.random.rand(10,3)))
rr.log("parent/p2", rr.Points3D(np.random.rand(10,3)))
rr.log("parent/p3", rr.Points3D(np.random.rand(10,3)))
rr.log("parent/p4", rr.Points3D(np.random.rand(10,3)))
rr.log("parent/p5", rr.Points3D(np.random.rand(10,3)))
rr.log("parent/p6", rr.Points3D(np.random.rand(10,3)))
Desktop (please complete the following information):
- OS: Ubuntu 20.04
Rerun version
rerun_py 0.12.0-alpha.1+dev [rustc 1.74.0 (79e9716c9 2023-11-13), LLVM 17.0.4] x86_64-unknown-linux-gnu
Metadata
Metadata
Assignees
Labels
🏎️ Quick IssueCan be fixed in a few hours or lessCan be fixed in a few hours or less📺 re_vieweraffects re_viewer itselfaffects re_viewer itself🔺 re_rendererrendering, graphics, GPUrendering, graphics, GPU🪳 bugSomething isn't workingSomething isn't working