You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Render preview: the 128 MiB geometry budget blocks large assemblies on desktop, and its message is nearly unreadable #4127
area:renderGPU, viewport drawing, materials and the rendererin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
What happens
Opening a large assembly (a Prusa Core One STEP, 194 bodies) in the Render workspace shows only this line, centred on an empty pane:
product preview exceeds the 128 MiB geometry upload budget
Two problems:
The limit.gpu_scene in crates/ui-egui/src/render_workspace.rs refuses to build the preview once the product meshes pass a fixed 128 MiB (MAX_GEOMETRY_BYTES). It was added with the integrated render workspace in render: persist and consume opaque PBR in product preview and PNG #1046. On a desktop with a real GPU this is not a hardware limit, so the user simply cannot render a normal assembly. There is no setting to raise it and no way to render a part of it from this screen.
The message. It is light grey text on a light grey background, so it is barely visible (see the screenshot below). It does not say which part is too big, how big the scene is, or what to do about it (hide or isolate bodies, lower the detail).
Expected
On desktop there is no fixed limit. If the scene cannot be rendered, the user gets a warning that says why (for example "the GPU could not allocate 1.4 GiB for the geometry") instead of a hard refusal at an arbitrary size.
The message uses normal text contrast, says the size against what failed, and names what the user can do (hide or isolate bodies, then try again).
Platforms that really are limited (web, small devices) can keep a cap, documented per platform.
Notes
The job-side limit in crates/render/src/job/image.rs (MAX_GEOMETRY_BYTES, "retained product geometry exceeds 128 MiB") is a separate cap and may need the same treatment.
Reproduced on main@55587f4a, as you traced it: gpu_scene (crates/ui-egui/src/render_workspace.rs:373) refuses before building anything once the product meshes pass 128 MiB.
For scale: it charges 3 vertices × 48 bytes = 144 bytes per triangle, so the cap is 932,067 triangles for the whole scene. A generated, non-overlapping grid of 932,068 triangles opens fine and is refused by the preview with exactly your message. A 194-body printer assembly is well past that.
I couldn't capture the Render pane on the test machine, so I haven't checked the contrast part myself. Your screenshot is the evidence for that.
area:renderGPU, viewport drawing, materials and the rendererin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
Activity
raykholo commentedon Oct 21, 2026
Reproduced on main@55587f4a, as you traced it:
gpu_scene(crates/ui-egui/src/render_workspace.rs:373) refuses before building anything once the product meshes pass 128 MiB.For scale: it charges 3 vertices × 48 bytes = 144 bytes per triangle, so the cap is 932,067 triangles for the whole scene. A generated, non-overlapping grid of 932,068 triangles opens fine and is refused by the preview with exactly your message. A 194-body printer assembly is well past that.
I couldn't capture the Render pane on the test machine, so I haven't checked the contrast part myself. Your screenshot is the evidence for that.
github-actions commentedon Oct 21, 2026
Claimed by @raykholo through #4154. The claim lapses after 14 days without pushes.
Screenshot for tangency-labs#4127: render preview budget message
2 remaining items
Render preview: geometry budget from the device, readable refusals (t…