Page MenuHome

Complex scenes cause node editor interactions to be very laggy
Closed, InvalidPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-18 14:52, hash: rB38d4483c6a51
Worked: (optional)

Short description of error
I have some more complex scenes where the node editor interactions are quite laggy even if the 3D viewport is not part of the layout at all. Simple things like dragging selection box or moving around nodes in viewport cause stutter and UI lag. Pretty much any mouse cursor interaction with node editor does.

Exact steps for others to reproduce the error

  1. In a new .blend file, subdivide the default cube several times, so it has around 25k polygons
  2. Duplicate (not instantiate) this cube about 500 times
  3. Select about half (250) of the cubes, and parent them to one of the cubes
  4. Select other half of the cubes, and again, parent them to one another cube
  5. You should have two cubes each with around 249 children.
  6. Select one random cube, and assign a new material to it
  7. Open node editor and interact with the material.
  8. Notice the node editor interaction is very laggy
  9. Create a new cube, that is not parented to anything (not part of the complex hierarchy)
  10. Assign a new material to it
  11. Notice the node editor interaction is still extremely laggy
  12. Remove 3D view from the active workspace
  13. Notice the node editor interaction is still extremely laggy

Result: The sheer complexity of the scene causes node editor interaction to be very laggy, even when using node editor to interact with nodes which are not a direct part of the scene complexity (A new unique material on a new unique cube with a new unique mesh data block). Also, removing 3D viewport from the workspace layout does not help.

Expected: Node editor interaction remains smooth regardless of scene complexity

It appears that every single UI interaction such as mouse click in the node editor is evaluating a lot more data than it needs to.

Event Timeline

Ludvik Koutny (rawalanche) renamed this task from Complex scenes cause node editor interactions to be laggy to Complex scenes cause node editor interactions to be very laggy.Jul 22 2019, 9:57 AM
Ludvik Koutny (rawalanche) updated the task description. (Show Details)
Ludvik Koutny (rawalanche) updated the task description. (Show Details)

I´m working with around 20million polygons and around 10000objects every day. The node editor is then most of the time very laggy.
So I can confirm that that the interaction in the node editor is very laggy when working in complex scenes.

Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86
Graphics card: GeForce GTX 1080TI/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.
Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.Sep 16 2019, 6:34 PM

Profiling shows that this is related to undo system writing, particularly since it happens when the 3D viewport is hidden.

For that we have T60695: Optimized per-datablock global undo, the third step there is what would address this case.