UI slows down while nodes are being calculated #36393

Closed
opened 2013-08-05 19:13:44 +02:00 by Björn Sonnenschein · 9 comments

Duplicates: #36239

%%%--- Operating System, Graphics card ---
Fedora 18, 64 bit, Nvidia GTX 460, proprietary drivers.

- Blender version with error, and version that worked ---

2.68a, and git show the bug.

- Short description of error ---

While nodes are being calculated, if there is either the backdrop or an UV/Image Editor area is showing a viewer node, the ui gets unresponsive and stutters.
This gets even worse if a scopes panel is visible in the Image Editor.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Open the attached blendfile, change the current frame and then drag some nodes around while blender is calculating.

%%%

**Duplicates**: #36239 %%%--- Operating System, Graphics card --- Fedora 18, 64 bit, Nvidia GTX 460, proprietary drivers. - Blender version with error, and version that worked --- 2.68a, and git show the bug. - Short description of error --- While nodes are being calculated, if there is either the backdrop or an UV/Image Editor area is showing a viewer node, the ui gets unresponsive and stutters. This gets even worse if a scopes panel is visible in the Image Editor. - Steps for others to reproduce the error (preferably based on attached .blend file) --- Open the attached blendfile, change the current frame and then drag some nodes around while blender is calculating. %%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Browser crashed while uploading, hopefully the blend gets attached now.%%%

%%%Browser crashed while uploading, hopefully the blend gets attached now.%%%
Member

%%%I don't get a noticeable slowdown with the basic ui setup in that file, but showing histogram in the image editor clearly shows blocking ui. gprof confirms that a lot of time is spent on scopes_update(), which calculates the scopes data after each image update:
http://www.pasteall.org/44686

Disabling the actual calculation in scopes_update() removes the ui blocking. So, unless we want to move scope updates into an independent non-blocking job, we should probably avoid these very frequent updates. The scopes get tagged dirty all the time during compositor jobs via the ND_COMPO_RESULT notifier -> image_listener callback. The notifiers get set both by a 0.1 second timer as well as on job update, i.e. when the compositor updates its progress.%%%

%%%I don't get a noticeable slowdown with the basic ui setup in that file, but showing histogram in the image editor clearly shows blocking ui. gprof confirms that a lot of time is spent on scopes_update(), which calculates the scopes data after each image update: http://www.pasteall.org/44686 Disabling the actual calculation in scopes_update() removes the ui blocking. So, unless we want to move scope updates into an independent non-blocking job, we should probably avoid these very frequent updates. The scopes get tagged dirty all the time during compositor jobs via the ND_COMPO_RESULT notifier -> image_listener callback. The notifiers get set both by a 0.1 second timer as well as on job update, i.e. when the compositor updates its progress.%%%
Member

%%%Same issue with Cycles reported in 36239%%%

%%%Same issue with Cycles reported in 36239%%%
Member

%%%The problem here is that the scopes updating is slow and it gets repeated frequently during render/compositing. Proper solution would involve making scopes updates an independent threaded job, but that's more of a ToDo than a simple bugfix. Added to our list, for now you'll just have to accept it or close the scopes panel during render/composite, sorry.%%%

%%%The problem here is that the scopes updating is slow and it gets repeated frequently during render/compositing. Proper solution would involve making scopes updates an independent threaded job, but that's more of a ToDo than a simple bugfix. Added to our list, for now you'll just have to accept it or close the scopes panel during render/composite, sorry.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

%%%Okay, so the problem with the scopes is a known Issue.

For some reason, I also get a slowdown with the basic setup of the file, so without scopes. It seems to me that this is an other Bug, unrelated to the scopes.
Can anyone else reproduce this? Because Lukas can't, I have also tried this on a fresh system and blender build + blender 2.68a release Version to get sure it is not related to some configuration Issues. but still get slowdowns. A video showing the effect is attached now.%%%

%%%Okay, so the problem with the scopes is a known Issue. For some reason, I also get a slowdown with the basic setup of the file, so without scopes. It seems to me that this is an other Bug, unrelated to the scopes. Can anyone else reproduce this? Because Lukas can't, I have also tried this on a fresh system and blender build + blender 2.68a release Version to get sure it is not related to some configuration Issues. but still get slowdowns. A video showing the effect is attached now.%%%
Member

%%%Have you tried "Load Factory Settings" (File menu)? It might be some threads setting ... Can you give us more detailed system info (Help->System Info)%%%

%%%Have you tried "Load Factory Settings" (File menu)? It might be some threads setting ... Can you give us more detailed system info (Help->System Info)%%%

%%%I have attached the system Info and figured out, that the slowdown is caused by the Images Draw Method being set to GLSL. If it is set to 2D Texture or Pixel Draw, the stuttering is greatly reduced.%%%

%%%I have attached the system Info and figured out, that the slowdown is caused by the Images Draw Method being set to GLSL. If it is set to 2D Texture or Pixel Draw, the stuttering is greatly reduced.%%%
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
2 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#36393
No description provided.