Scopes in Image Editor make masking painfully slow #44761

Closed
opened 2015-05-19 10:24:15 +02:00 by Sebastian Koenig · 10 comments

System Information
OSX 10.10.2 GTX 660ti
Blender Version
Broken: 2.74.5 (183b643)
Worked: (optional)

Short description of error
Scopes in Image Editor make masking with Viewer Node as input painfully slow. I realize that this issue has been brought up in other instances before, with the simple answer "close the scopes panel". But the scopes are a Tab in the toolshelf, and for masking the user needs the masking tools as well, so the toolshelf has to be open. But scopes seem to be calculated even though the scopes tab isn't visible.
So maybe one way to fix this would be to make scopes aware if their tab is open. Or just make them smarter on when to update. Or make a button "use scopes".
Apart from that I think it is also annoying how much scopes slow down rendering. Even if the "Lock interface" button in Dimensions panel is pressed...

Exact steps for others to reproduce the error
Open attached file, do a render, try to edit the mask. Notice how slow it responds to user input. It gets a lot better when toolshelf is closed.

masking_scopes.blend

**System Information** OSX 10.10.2 GTX 660ti **Blender Version** Broken: 2.74.5 (183b643) Worked: (optional) **Short description of error** Scopes in Image Editor make masking with Viewer Node as input painfully slow. I realize that this issue has been brought up in other instances before, with the simple answer "close the scopes panel". But the scopes are a Tab in the toolshelf, and for masking the user needs the masking tools as well, so the toolshelf has to be open. But scopes seem to be calculated even though the scopes tab isn't visible. So maybe one way to fix this would be to make scopes aware if their tab is open. Or just make them smarter on when to update. Or make a button "use scopes". Apart from that I think it is also annoying how much scopes slow down rendering. Even if the "Lock interface" button in Dimensions panel is pressed... **Exact steps for others to reproduce the error** Open attached file, do a render, try to edit the mask. Notice how slow it responds to user input. It gets a lot better when toolshelf is closed. [masking_scopes.blend](https://archive.blender.org/developer/F177414/masking_scopes.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Campbell Barton was assigned by Sebastian Koenig 2015-05-19 10:24:15 +02:00
Author
Member

Added subscriber: @sebastian_k

Added subscriber: @sebastian_k

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi

I've looked at tab detection in the past and it's not so easy. Other possibility is to disable them completely just like in paint mode

I've looked at tab detection in the past and it's not so easy. Other possibility is to disable them completely just like in paint mode

Added subscriber: @Sergey

Added subscriber: @Sergey

Co-incidentally enough was looking into making scopes more realtime, but it's quite tricky to do actually -- computation is not so difficult, so even making it threaded makes it so worse CPU cache utilization kills all the performance. So started to think that it could make sense to make scopes a job, similar to the material update. This way it'll be possible to suspend actual scopes calculation for a few moment, allowing other tool to work and re-trigger update. And actual update will happen after tool started modifying the image.

Co-incidentally enough was looking into making scopes more realtime, but it's quite tricky to do actually -- computation is not so difficult, so even making it threaded makes it so worse CPU cache utilization kills all the performance. So started to think that it could make sense to make scopes a job, similar to the material update. This way it'll be possible to suspend actual scopes calculation for a few moment, allowing other tool to work and re-trigger update. And actual update will happen after tool started modifying the image.

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Scopes are painfully slow , this is old known TODO, no need to keep a report about it. ;)

Scopes are painfully slow , this is old known TODO, no need to keep a report about it. ;)
Author
Member

Just for the sake of completeness, I am not complaining that scopes are slow (well, sure, I would love to have them faster). I am complaining that they slow down masking even if I don't have the scopes open.

Just for the sake of completeness, I am not complaining that scopes are slow (well, sure, I would love to have them faster). I am complaining that they slow down masking even if I don't have the scopes open.
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#44761
No description provided.