Cycles viewport unneccessary update calls #76970
Labels
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
13 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#76970
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 20.04
Graphics card: Nvidia MX150
Blender Version
Broken: 2.83.17,
8a8c61190b
, Beta and 2.90.2,8f21f867e7
, AlphaWorked: 2.82a official
Short description of error
#76970.blend
Added subscriber: @nacioss
#76992 was marked as duplicate of this issue
Added subscriber: @Alaska
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm. It definitely seems like a bug, but I leave the decision of how to tag this task to the developers as I don't know the reason for why this was changed.
Added subscriber: @Jeroen-Bakker
Introduced by {27e3361eb5399dc1a700d7f05d5b7b329bc4eafd}
Added subscriber: @bent
Added subscribers: @Sergey, @brecht
This is an issue for Eevee as well, selecting nodes will also restart the render there.
I guess we need more fine grained depsgraph updates. Ideally the viewport would only redraw when the active texture changes and workbench with texture color is selected.
Added subscriber: @Nikhil.Net
I have a potential patch that prevents the depgraph update when clicking/dragging on the background. Basically if the selected node is null, it doesn't fire the update.
Is it worth putting into a diff or would that be considered too simplistic a fix?
I did add a diff for this and also caught the use case for when a node is simply clicked on but not changed.
The Diff is https://developer.blender.org/D7824. Should I set Sergey as the reviewer?
Added subscriber: @Vyach
Additional info: #76992 (Regression: Viewport render recalculations when nothing changed in scene.)
Problem exist since 2.80.
Added subscriber: @APEC
Added subscribers: @YegorSmirnov, @MikhailShablin, @TheRedWaxPolice
This issue was referenced by
77fdd189e4
Changed status from 'Confirmed' to: 'Resolved'
Changed status from 'Resolved' to: 'Confirmed'
The current workaround isn't the system we would like to have. The target situation would add a mechanism in the depsgraph where viewports can check if they need to be redrawn.
Currently when you have 2 viewports one Cycles rendered mode and the other in workbench texture mode the updates would still happen.
@jabakker imo it is better to have workaround, that work in half of cases, than to have nothing.
But yes, it will be great to have «supervisor», who have list of important changes (and rules), and pokes viewport, when it should rerender view.
Thanks guys, I noticed progress in this area today.
Now viewport is not recalculating, when I add routes to disconnected part of tree.
But still called if new disconnected node appears.
Added subscriber: @ankitm
(Linking the two reports, so both can be taken care of, when this one is fixed)
#78358 (Crash while modifying shader nodes ): introduced by
77fdd189e4
Edit: it got fixed.
Added subscriber: @jfmatheu
Added subscriber: @dfelinto
Without this being in the BF Blender project it doesn't show in most of the tags.
@Jeroen-Bakker FYI instead of removing 2.93 tag you could have just added "BF Blender" tag that would have automatically removed the 2.93 tag AND kept any BF related tag.
Added subscriber: @silex
Hello.
Over some time of work I compiled a short list of conditions when potentially unwanted calls are made. Will posting it here be helpful?
I tested the cases inside one editor window on the default cube with basic Principled BSDF shader.
Sure, you can post it here.
System Information
platform: 'Linux-5.10.0-7-rt-amd64-x86_64-with-glibc2.31'
Graphics card: AMD Radeon VII (VEGA20, DRM 3.40.0, 5.10.0-7-rt-amd64, LLVM 11.0.1) version: '4.6 (Core Profile) Mesa 20.3.4'
Blender Version
Broken: 3.0.0 Alpha, branch: master, commit date: 2021-06-22 12:06, hash:
e3bdb189a7
Steps to reproduce:
Viewport updates:
Node connection independent:
On unused nodes (unconnected to Material Output):
On both used and unused nodes:
Node Wrangler & Node Arrange addons - here pretty much every action either used through N panel or shortcut triggers a viewport update.
Ok, we make no effort at all currently to detect which type of node changes need a re-render. If nodes are modified in some way it will refresh. So most listed cases are explained by that.
Object name affect Object Info > Random and potentially OSL scripts, so that also requires a refresh.
This is kind of fixed I guess, but I noticed the viewport being redrawn when you select the Material Output node.
There has indeed been some improvement in this area in the context of improving node updates for geometry nodes. There's still various cases that can be improved though, so will leave this open.