Geometry nodes/modifiers: separate system influence to another GN performance (like invisible link). Performance drop #102327

Closed
opened 2022-11-07 12:08:53 +01:00 by Vyacheslav Kobozev · 12 comments

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
3.2 is broken too

Short description of error
There are three systems with Suzannas. All have GN modifiers.
If one of them enabled, that drops fps and performance for other systems.
If only another (blue, identical!) system enabled, it will not influence on green`s performance and fps.

Open file, drag factor for green suzanna on curve.
It is slow.
Disable modifiers on red suzanna, green will follow curve with good fps, if you will drag factor again
But blue suzanna have full copy of red`s modifiers. And it do not influence to all others.

Important! «Nurbs path.001» was copied from «Nurbs path», and «Follow curve w» modifier was copied from «Follow curve» modifier.
But blue suzanna made with shift A, and its modifier was not copied as modifier, but modifier was created from scratch and nodes was copied from red to blue.
So there is somwhere invisible link, that bonds green to red and force to recalculate it!

follow.blend
2022-11-07_13-42-08.mp4

2022-11-07_13-53-32.mp4

**System Information** Operating system: Windows-10-10.0.17763-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.95 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` 3.2 is broken too **Short description of error** There are three systems with Suzannas. All have GN modifiers. If one of them enabled, that drops fps and performance for other systems. If only another (blue, identical!) system enabled, it will not influence on green`s performance and fps. Open file, drag factor for green suzanna on curve. It is slow. Disable modifiers on red suzanna, green will follow curve with good fps, if you will drag factor again But blue suzanna have full copy of red`s modifiers. And it do not influence to all others. Important! «Nurbs path.001» was copied from «Nurbs path», and «Follow curve w» modifier was copied from «Follow curve» modifier. But blue suzanna made with shift A, and its modifier was not copied as modifier, but modifier was created from scratch and nodes was copied from red to blue. So there is somwhere invisible link, that bonds green to red and force to recalculate it! [follow.blend](https://archive.blender.org/developer/F13864201/follow.blend) [2022-11-07_13-42-08.mp4](https://archive.blender.org/developer/F13864172/2022-11-07_13-42-08.mp4) [2022-11-07_13-53-32.mp4](https://archive.blender.org/developer/F13864195/2022-11-07_13-53-32.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

I can't notice any significance in FPS in either cases, but that might be because my viewport is already very slow. So I will leave this to someone else.

I can't notice any significance in FPS in either cases, but that might be because my viewport is already very slow. So I will leave this to someone else.

In #102327#1442594, @OmarEmaraDev wrote:
I can't notice any significance in FPS in either cases, but that might be because my viewport is already very slow. So I will leave this to someone else.

Try to drop subdivisions on green (to 4-5) and disable modifiers on red suzanna or even delete it. Anyway thanks for try

> In #102327#1442594, @OmarEmaraDev wrote: > I can't notice any significance in FPS in either cases, but that might be because my viewport is already very slow. So I will leave this to someone else. Try to drop subdivisions on green (to 4-5) and disable modifiers on red suzanna or even delete it. Anyway thanks for try

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm the problem.

My guess is that since the Suzanne object was referenced in the Object Info node before it was plugged into the Group Input, it continues to be referenced in the modifier even after it has been removed.

This creates a false dependency.

So it's probably a side effect of the same bug reported in #101615 (Geometry Nodes Object Group input does not remove dependencies).

But I'm confirming it as a separate bug since I'm not sure.

I can confirm the problem. My guess is that since the Suzanne object was referenced in the `Object Info` node before it was plugged into the `Group Input`, it continues to be referenced in the modifier even after it has been removed. This creates a false dependency. So it's probably a side effect of the same bug reported in #101615 (Geometry Nodes Object Group input does not remove dependencies). But I'm confirming it as a separate bug since I'm not sure.

Added subscribers: @HooglyBoogly, @iss

Added subscribers: @HooglyBoogly, @iss

I am able to reproduce, but not quite sure how the problem was created. this may be information we need to resolve the issue.

Will CC @HooglyBoogly in meanwhile. I am not sure if there is bug or not especially without steps since I am not very familiar with GN in its details.

From what I understand steps to test are :

  • Select object NurbsPath
  • Tweak Factor input of geometry nodes (should be fast)
  • Select object Suzanne.001
  • Enable Subdivision modifier
  • Select object NurbsPath
  • Tweak Factor input of geometry nodes (should be fast, but it's slow)
I am able to reproduce, but not quite sure how the problem was created. this may be information we need to resolve the issue. Will CC @HooglyBoogly in meanwhile. I am not sure if there is bug or not especially without steps since I am not very familiar with GN in its details. From what I understand steps to test are : - Select object NurbsPath - Tweak Factor input of geometry nodes (should be fast) - Select object Suzanne.001 - Enable Subdivision modifier - Select object NurbsPath - Tweak Factor input of geometry nodes (should be fast, but it's slow)

Added subscriber: @mod_moder

Added subscriber: @mod_moder

This is not a regression
In the example file, just a bunch of objects has users that I couldn't find. I also tried to figure out how to print the dependency graph (I didn’t figure it out to understand who causes the lags. But the dependencies in this file are very strange)

This is not a regression In the example file, just a bunch of objects has users that I couldn't find. I also tried to figure out how to print the dependency graph (I didn’t figure it out to understand who causes the lags. But the dependencies in this file are very strange)
Member

Closed as duplicate of #101615

Closed as duplicate of #101615
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
6 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#102327
No description provided.