Complex scenes cause node editor interactions to be very laggy #67429

Closed
opened 2019-07-22 09:48:28 +02:00 by Ludvik Koutny · 5 comments
Contributor

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: 38d4483c6a
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.

**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: `38d4483c6a` 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. 7. Select one random cube, and assign a new material to it 8. Open node editor and interact with the material. 9. Notice the node editor interaction is very laggy 10. Create a new cube, that is not parented to anything (not part of the complex hierarchy) 11. Assign a new material to it 12. Notice the node editor interaction is still extremely laggy 13. Remove 3D view from the active workspace 14. 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.
Author
Contributor

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche
Ludvik Koutny changed title from Complex scenes cause node editor interactions to be laggy to Complex scenes cause node editor interactions to be very laggy 2019-07-22 09:57:37 +02:00

Added subscriber: @machieb

Added subscriber: @machieb

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

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
Brecht Van Lommel was assigned by Sebastian Parborg 2019-07-30 16:52:13 +02:00

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

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

For that we have #60695 (Optimized per-datablock global undo), the third step there is what would address this case.

Profiling shows that this is related to undo system writing, particularly since it happens when the 3D viewport is hidden. For that we have #60695 (Optimized per-datablock global undo), the third step there is what would address this case.
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#67429
No description provided.