Geometry Nodes: Subdivide Surface Node Performance Discrepancy Due to 'Use Limit Surface' Option #112912

Open
opened 2023-09-26 16:40:31 +02:00 by baoyu · 7 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.99

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-09-25 21:53, hash: 2aa393e72771
Worked: (newest version of Blender that worked as expected)

Short description of error
When using the subdivide surface node in geometry nodes (especially dealing with large amount of points), it slows down the whole peformance a lot compared to the Subdivision Modifier.
Around 3~5x slower from my personal observation.

Exact steps for others to reproduce the error
I made a demo file:
A mesh with 54121 points, subd level 2.
Enable one mesh and disable the other, then watch the play back fps
GN subd: ~0.6 fps / Subd modifier: ~2.7 fps

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.99 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-09-25 21:53, hash: `2aa393e72771` Worked: (newest version of Blender that worked as expected) **Short description of error** When using the subdivide surface node in geometry nodes (especially dealing with large amount of points), it slows down the whole peformance a lot compared to the Subdivision Modifier. Around 3~5x slower from my personal observation. **Exact steps for others to reproduce the error** I made a demo file: A mesh with 54121 points, subd level 2. Enable one mesh and disable the other, then watch the play back fps `GN subd: ~0.6 fps / Subd modifier: ~2.7 fps`
baoyu added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-26 16:40:32 +02:00
Member

It is possible that the difference is caused by the viewport GPU subdivision, which isn't implemented in GN at the moment. Otherwise in my test it's not prominent enough.

Edit:

From your test file both mesh gives me around 0.3~0.5 fps.

It is possible that the difference is caused by the viewport GPU subdivision, which isn't implemented in GN at the moment. Otherwise in my test it's not prominent enough. Edit: From your test file both mesh gives me around 0.3~0.5 fps.
YimingWu added
Module
Nodes & Physics
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-09-27 04:19:36 +02:00
Author

It is possible that the difference is caused by the viewport GPU subdivision, which isn't implemented in GN at the moment. Otherwise in my test it's not prominent enough.

Edit:

From your test file both mesh gives me around 0.3~0.5 fps.

  1. GPU subd requires that the modifier should at the tail of the stack.
  2. the two meshes shouldn't exisit at the same time, while testing did you enable only one of them at once?
> It is possible that the difference is caused by the viewport GPU subdivision, which isn't implemented in GN at the moment. Otherwise in my test it's not prominent enough. > > Edit: > > From your test file both mesh gives me around 0.3~0.5 fps. 1. GPU subd requires that the modifier should at the tail of the stack. 2. the two meshes shouldn't exisit at the same time, while testing did you enable only one of them at once?

I can confirm this, not sure if this is a bug, but will confirm the issue and let module decide,

I can confirm this, not sure if this is a bug, but will confirm the issue and let module decide,
Richard Antalik added
Status
Confirmed
and removed
Status
Needs Info from Developers
labels 2023-09-29 05:02:43 +02:00
Iliya Katushenock self-assigned this 2023-09-30 13:36:27 +02:00
Iliya Katushenock changed title from Subdivide surface node in geometry nodes is significantly slower than the Subdivision Modifier to Geometry Nodes: Subdivide surface node in geometry nodes is 8 time slower than Modifier without GPU 2023-09-30 14:31:02 +02:00

This caused by the fact what use_limit_surface (is_adaptive == false) for geometry node version is always setted to false.

This caused by the fact what `use_limit_surface` (`is_adaptive == false`) for geometry node version is always setted to false.
Iliya Katushenock removed their assignment 2023-09-30 15:31:34 +02:00
Iliya Katushenock added
Type
Known Issue
and removed
Type
Report
labels 2023-09-30 15:32:02 +02:00
Contributor

Is changing type to Know Issue really appropriate here? Reports labeled as Known Issue usually mean "It's a bug but we won't do anything about it in near future"

If the problem is one internal flag being hardcoded, then I don't think it's appropriate to categorize it as Known Issue. Known issues should be things that are hard to solve, or are waiting for some larger refactor of the code, and flipping one flag or exposing it to UI aren't anywhere near difficult solution. It's not really acceptable to have Subdivision in GN 8x slower than it could be.

Is changing type to Know Issue really appropriate here? Reports labeled as Known Issue usually mean "It's a bug but we won't do anything about it in near future" If the problem is one internal flag being hardcoded, then I don't think it's appropriate to categorize it as Known Issue. Known issues should be things that are hard to solve, or are waiting for some larger refactor of the code, and flipping one flag or exposing it to UI aren't anywhere near difficult solution. It's not really acceptable to have Subdivision in GN 8x slower than it could be.

The result of the node operation is different. The fix would be a new socket. And I'm not sure what the status of this is. But this particular report is not a bug or a problem. It's just how it works. For the result to be identical to the modifier, you need to disable this option.
image

Probably this can be Good First Issues and Design to added this socket input, but not sure in this idea.

The result of the node operation is different. The fix would be a new socket. And I'm not sure what the status of this is. But this particular report is not a bug or a problem. It's just how it works. For the result to be identical to the modifier, you need to disable this option. ![image](/attachments/e477acda-a2ac-4f14-82ab-470d5f795198) Probably this can be `Good First Issues` and `Design` to added this socket input, but not sure in this idea.
Member

@mod_moder Good job locating the issue. I think Good First Issues would be fine, I'll notify in the chat

@mod_moder Good job locating the issue. I think `Good First Issues` would be fine, I'll notify in the chat
Germano Cavalcante changed title from Geometry Nodes: Subdivide surface node in geometry nodes is 8 time slower than Modifier without GPU to Geometry Nodes: Subdivide Surface Node Performance Discrepancy Due to 'Use Limit Surface' Option 2023-12-05 14:24:47 +01:00
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
5 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#112912
No description provided.