Viewport: Selecting many objects causes constant CPU usage #46536

Closed
opened 2015-10-19 03:48:14 +02:00 by Jeffrey · 11 comments

System Information
Centos 7 x64
GTX 970 (main) + 560 Ti (secondary)
driver version 355.11

Blender Version
Broken: 2.76 + master bfdb420
Worked: 2.75a official release

Short description of error
Having a massive number of objects selected in the viewport causes blender process to consume an entire core, despite no interaction with the software. This happens with both new and old depsgraphs (use new graph for this report).

Exact steps for others to reproduce the error
Open provided blend with new depsgraph. Deselect all objects and look at your CPU usage. It should be zero. Now select all objects. I've seen one entire core used, hopping among my 6 cores constantly. I've only gotten a readout from my terminal once, and that read "Too many objects in select buffer" - I haven't been able to recreate that message.

I open the same file in 2.75a official release and I don't get the high CPU usage, although I get the same viewport sluggishness inherent to having hundreds or thousands of objects selected (2.76 is much slower, but that might be a different report).

new-depsgraph.blend

**System Information** Centos 7 x64 GTX 970 (main) + 560 Ti (secondary) driver version 355.11 **Blender Version** Broken: 2.76 + master bfdb420 Worked: 2.75a official release **Short description of error** Having a massive number of objects selected in the viewport causes blender process to consume an entire core, despite no interaction with the software. This happens with both new and old depsgraphs (use new graph for this report). **Exact steps for others to reproduce the error** Open provided blend with new depsgraph. Deselect all objects and look at your CPU usage. It should be zero. Now select all objects. I've seen one entire core used, hopping among my 6 cores constantly. I've only gotten a readout from my terminal once, and that read "Too many objects in select buffer" - I haven't been able to recreate that message. I open the same file in 2.75a official release and I don't get the high CPU usage, although I get the same viewport sluggishness inherent to having hundreds or thousands of objects selected (2.76 is much slower, but that might be a different report). [new-depsgraph.blend](https://archive.blender.org/developer/F245839/new-depsgraph.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @italic

Added subscriber: @italic

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Can't redo this on ArchLinux with 2.76.

Started with: blender --factory-startup --enable-new-depsgraph


Things to try:

  • factory settings - --factory-startup.
  • disable audio in system prefs.
  • you could try profiling this with http://sysprof.com, which can give some useful info even on non-debug builds.
Can't redo this on ArchLinux with 2.76. Started with: `blender --factory-startup --enable-new-depsgraph` ---- Things to try: - factory settings - `--factory-startup`. - disable audio in system prefs. - you could try profiling this with http://sysprof.com, which can give some useful info even on non-debug builds.
Author

In #46536#342386, @ideasman42 wrote:
Can't redo this on ArchLinux with 2.76.

Started with: blender --factory-startup --enable-new-depsgraph

I guess it's time to redo my prefs again. I got the same result you did and couldn't bring it back, even when manually copying all my old prefs over to the system prefs. But I load my prefs and I have terrible performance. Maybe it's one of my addons. I'll have to explore that at another time.

> In #46536#342386, @ideasman42 wrote: > Can't redo this on ArchLinux with 2.76. > > Started with: `blender --factory-startup --enable-new-depsgraph` I guess it's time to redo my prefs again. I got the same result you did and couldn't bring it back, even when manually copying all my old prefs over to the system prefs. But I load my prefs and I have terrible performance. Maybe it's one of my addons. I'll have to explore that at another time.

Added subscriber: @willi-2

Added subscriber: @willi-2

FYI, can't repro on Win7/64, GTX 750 Ti, Blender 2.76 official

FYI, can't repro on Win7/64, GTX 750 Ti, Blender 2.76 official

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-10-21 09:02:57 +02:00

That's possibly some addon which operates on the selection. So please try deducting which exact addon is causing this and submit bug to that addon.

Archiving the report since it's most likely an addon issue.

That's possibly some addon which operates on the selection. So please try deducting which exact addon is causing this and submit bug to that addon. Archiving the report since it's most likely an addon issue.
Author

Just to follow up, this seems to be caused by the animation nodes package. I'll bring it up with Jackes when I get the chance.

Just to follow up, this seems to be caused by the animation nodes package. I'll bring it up with Jackes when I get the chance.
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#46536
No description provided.