Performance degradation in the shader & geometry node editor for larger scenes between 3.1 & 3.2 #99299

Closed
opened 2022-06-30 14:53:46 +02:00 by Mr Chocolate Bar · 12 comments

See:
WCSLS1ye25.mp4

│Blender & System Information:                                                 │
│ * Blender Version:                                                           │
│   - 3, 2, 0                                                                  │
│ * Blender Last Commit Date:                                                  │
│   - 2022-06-08                                                               │
│ * Blender Build Hash:                                                        │
│   - e05e1e369187                                                             │
│ * Blender Branch:                                                            │
│   - master                                                                   │
│ * Blender Executable Location:                                               │
│   - F:\Olliver\Olliver\programs\Blender\blender-3.2.0-windows-x64\blender.exe│
│ * Python Version:                                                            │
│   - 3.10.2 (main, Jan 27 2022, 08:34:43) [MSC v.1928 64 bit (AMD64)]         │
│ * Platform this Blender instance was built for:                              │
│   - Windows                                                                  │
│ * Windows Platform Information:                                              │
│   - Caption=Microsoft Windows 11 Pro                                         │
│   - OSArchitecture=64-bit                                                    │
│   - Version=10.0.22000                                                       │
│ * Hardware Information:                                                      │
│   - GPU: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2                               │
│   - GPU Driver Version: NVIDIA Corporation 4.5.0 NVIDIA 511.79               │
│   - CPU MaxClockSpeed=3187                                                   │
│   - CPU Name=12th Gen Intel(R) Core(TM) i9-12900K                            │
│   - CPU NumberOfCores=16                                                     │
│   - Total System RAM: 34.088476672 GB                                        │
│                                                                              │
│This info text was generated by the Fast PBR Viewport Render addon!           │
└──────────────────────────────────────────────────────────────────────────────┘```

Demo file (sorry about the filesize, but the issue is not apparent in lighter scenes, all the content in this file is made by me in my freetime so I have full rights of uploading all of it): [levelMockup.zip](https://archive.blender.org/developer/F13242488/levelMockup.zip)
See: [WCSLS1ye25.mp4](https://archive.blender.org/developer/F13242477/WCSLS1ye25.mp4) ```┌──────────────────────────────────────────────────────────────────────────────┐ │Blender & System Information: │ │ * Blender Version: │ │ - 3, 2, 0 │ │ * Blender Last Commit Date: │ │ - 2022-06-08 │ │ * Blender Build Hash: │ │ - e05e1e369187 │ │ * Blender Branch: │ │ - master │ │ * Blender Executable Location: │ │ - F:\Olliver\Olliver\programs\Blender\blender-3.2.0-windows-x64\blender.exe│ │ * Python Version: │ │ - 3.10.2 (main, Jan 27 2022, 08:34:43) [MSC v.1928 64 bit (AMD64)] │ │ * Platform this Blender instance was built for: │ │ - Windows │ │ * Windows Platform Information: │ │ - Caption=Microsoft Windows 11 Pro │ │ - OSArchitecture=64-bit │ │ - Version=10.0.22000 │ │ * Hardware Information: │ │ - GPU: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 │ │ - GPU Driver Version: NVIDIA Corporation 4.5.0 NVIDIA 511.79 │ │ - CPU MaxClockSpeed=3187 │ │ - CPU Name=12th Gen Intel(R) Core(TM) i9-12900K │ │ - CPU NumberOfCores=16 │ │ - Total System RAM: 34.088476672 GB │ │ │ │This info text was generated by the Fast PBR Viewport Render addon! │ └──────────────────────────────────────────────────────────────────────────────┘``` Demo file (sorry about the filesize, but the issue is not apparent in lighter scenes, all the content in this file is made by me in my freetime so I have full rights of uploading all of it): [levelMockup.zip](https://archive.blender.org/developer/F13242488/levelMockup.zip)

Added subscriber: @Olliver

Added subscriber: @Olliver

I should add that the performance is not affected by any visible amount on my system even if I have the viewport up in material preview mode. If I were to do some incredibly naive guessing perhaps the "dont recompute the shaders if no viewport is visible" & "dont recompute the shader if the node modifications do not affect the end result" optimizations has been broken?

I should add that the performance is not affected by any visible amount on my system even if I have the viewport up in material preview mode. If I were to do some incredibly naive guessing *perhaps* the "dont recompute the shaders if no viewport is visible" & "dont recompute the shader if the node modifications do not affect the end result" optimizations has been broken?
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

This is probably the same as #98574, but the author reports the same in 3.1, so we shouldn't merge until this is investigated further.

This is probably the same as #98574, but the author reports the same in 3.1, so we shouldn't merge until this is investigated further.

Added subscriber: @iss

Added subscriber: @iss

Checking with 3.3, can't reproduce any regression here.

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

Checking with 3.3, can't reproduce any regression here. System Information Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I compared 3.0 and 3.2 but didn't notice a difference. Although both had a delay in loading due to high memory consumption.
Task manager doesn't show any significant difference in memory usage in 3.2.

@Olliver, try the latest daily build: https://builder.blender.org/download/

Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

I compared 3.0 and 3.2 but didn't notice a difference. Although both had a delay in loading due to high memory consumption. Task manager doesn't show any significant difference in memory usage in 3.2. @Olliver, try the latest daily build: https://builder.blender.org/download/ Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.

Unless anyone can link this to any particular commits, perhaps we could close this. The performance may be quite on pair on all versions now that I test again. 3.2 does seem a bit slower than other versions, but it is not quite that significant of a difference.

On the other hand, it would be nice if the node graphs were more responsive (especially when selecting & deselecting nodes as well as when performing a box selection). Its the slowest part of Blenders UI for large scenes.

Here is a second test I did today with the latest 3.3 from buildbot and comparing that with the same builds tested previously:

kk6Xajs8aN.mp4

Unless anyone can link this to any particular commits, perhaps we could close this. The performance may be quite on pair on all versions now that I test again. 3.2 does seem a bit slower than other versions, but it is not quite that significant of a difference. On the other hand, it would be nice if the node graphs were more responsive (especially when selecting & deselecting nodes as well as when performing a box selection). Its the slowest part of Blenders UI for large scenes. Here is a second test I did today with the latest 3.3 from buildbot and comparing that with the same builds tested previously: [kk6Xajs8aN.mp4](https://archive.blender.org/developer/F13261325/kk6Xajs8aN.mp4)
Member

There is a very similar report, so I will merge it that one instead of closing this.

There is a very similar report, so I will merge it that one instead of closing this.
Member

Closed as duplicate of #98574

Closed as duplicate of #98574
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
4 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#99299
No description provided.