Blender now freezes when long (loop-like) geometry nodes chains are evaluated #93845
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#93845
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: GTX 1080ti
Blender Version
Broken: Blender 3.1,
aa440923c8
, 2021-11-09 and Blender 3.00 release,f1cca30557
, 2021-12-07Worked: Blender 3.00,
231d66d8ba
, master, 2021-10-23Short description of error
Long chains of math nodes in geometry nodes (specifically discovered in Newton's method numerical solves) that ran speedily in Blender versions up through at least mid-October now require compute time that feels exponential(!) with the number of iterations.
Exact steps for others to reproduce the error
Probably best to try the attached .blend rather than attempt to implement a Newton's method problem yourself.
In the file are four versions of the same geometry nodes parametric-equation solver, differing only in the number of Newton's method iterations. All four of them currently have their "Geometry Nodes" modifiers disabled in the viewport; enable them, one-at-a-time, in ascending order of iteration count (given in the objects' names and their respective nodetree names) and take note of the time it takes to evaluate them.
On my system, with the Oct. 23rd version, the 32-iteration case takes no more than two seconds to evaluate, and all the others are at least as fast.
With the later versions, the 3-iteration case takes less than a second, the 4-iteration case takes about four seconds, and the 8-iteration case freezes blender for at least five minutes (and the 32 iteration case is even worse.)
Parametric Heart - Newton's Method - 3.00 - 2021-12-07.blend
Added subscriber: @moak
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @HooglyBoogly
Changed status from 'Confirmed' to: 'Resolved'
Could you check the latest build? Jacques has done some great performance improvements lately, that will help this case, particularly
7b88a4a3ba
.On my Ryzen 3700x, the whole node setup executed in about 350ms.
I'm going to close this as resolved, since I'm fairly certain it should be solved, but if it isn't we can reopen this report. Thanks!
Yes, that solves it! It indeed runs speedily as before, even on a significantly less powerful machine than I was testing on before.
Excellent; thank you very much!