Excessive CPU load and slow animation playback #86658

Closed
opened 2021-03-17 10:03:28 +01:00 by steven · 12 comments

System Information
Operating system: Win 10 1909
CPU: Threadripper 3990X
RAM: 128GB
Graphics card: RTX 2080 TI

Blender Version
Broken: 2.93A, 2.92, 2.91
Worked: 2.83 LTS all versions

Short description of error
Playing back the animation results in an excessive CPU load and very low FPS in all 2.9X versions of blender.
Even removing all meshes from the scene and having just the armature results in an extreme CPU load with very slow playback.
This issue is not present in 2.83.

Below are some screenshots I took with the tree creature file, as well as a human rig.
as you can see the CPU load is around 4% with the human rig in 2.83 and 54FPS. when opening the same in 2.9X, the CPU load is 80% with 42FPS.
This is with no keyframes set, when using a scene that has keyframes, the difference is much greater. 48FPS in 2.83 vs 11FPS in 2.9x.

2.83.PNG

2.93.PNG

human 2.83.PNG

human 2.93.PNG

Exact steps for others to reproduce the error

  • Load any character with an animated armature
  • hit space to play and look at frame rate and CPU load.
**System Information** Operating system: Win 10 1909 CPU: Threadripper 3990X RAM: 128GB Graphics card: RTX 2080 TI **Blender Version** Broken: 2.93A, 2.92, 2.91 Worked: 2.83 LTS all versions **Short description of error** Playing back the animation results in an excessive CPU load and very low FPS in all 2.9X versions of blender. Even removing all meshes from the scene and having just the armature results in an extreme CPU load with very slow playback. This issue is not present in 2.83. Below are some screenshots I took with the tree creature file, as well as a human rig. as you can see the CPU load is around 4% with the human rig in 2.83 and 54FPS. when opening the same in 2.9X, the CPU load is 80% with 42FPS. This is with no keyframes set, when using a scene that has keyframes, the difference is much greater. 48FPS in 2.83 vs 11FPS in 2.9x. ![2.83.PNG](https://archive.blender.org/developer/F9896103/2.83.PNG) ![2.93.PNG](https://archive.blender.org/developer/F9896105/2.93.PNG) ![human 2.83.PNG](https://archive.blender.org/developer/F9896107/human_2.83.PNG) ![human 2.93.PNG](https://archive.blender.org/developer/F9896109/human_2.93.PNG) **Exact steps for others to reproduce the error** - Load any character with an animated armature - hit space to play and look at frame rate and CPU load.
Author

Added subscriber: @steven850

Added subscriber: @steven850

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can see an increase in CPU usage from 26% to 33% with the tree creature file.
However, the FPS remained the same (around 12 fps in my case).

**System Information**
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14760 Core Profile Context 20.45.37.01 27.20.14537.1001

The apparent regression occurred at some point between 826f6dd9ee (Apr 23) and fdebdfa320 (May 4)

I can see an increase in CPU usage from 26% to 33% with the tree creature file. However, the FPS remained the same (around 12 fps in my case). ``` **System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14760 Core Profile Context 20.45.37.01 27.20.14537.1001 ``` The apparent regression occurred at some point between 826f6dd9ee20 (Apr 23) and fdebdfa320ec (May 4)
Author

What CPU did you test that with? I can go to single numa node, and disable cores to match yours to see if I get the same numbers.

What CPU did you test that with? I can go to single numa node, and disable cores to match yours to see if I get the same numbers.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

My CPU is an AMD Ryzen 7 1800x
The increase in CPU usage was caused by d8a3f3595a.

I don’t know if it’s a known effect in favor of something, but I believe it deserves an investigation, so I am confirming it as a bug for now.

My CPU is an `AMD Ryzen 7 1800x` The increase in CPU usage was caused by d8a3f3595a. I don’t know if it’s a known effect in favor of something, but I believe it deserves an investigation, so I am confirming it as a bug for now.
Author

To clarify, on the tree creature file I obviously have all objects except the creature hidden, and subsurf turned off.

I disabled some cores and went to 8 to match your CPU and these are the results I got.
CPU load goes from 39 to 65%
2.83 8 core tree.PNG

2.93 8 core tree.PNG

Increased to 32 cores, single numa node and got the following
Still seeing a doubling of the cpu load, but also a decrease in FPS as core count increases.

8 cores = 25 fps
32 cores= 21 fps
64cores= 18 fps
2.83 32 core tree.PNG

2.93 32 core tree.PNG

seeing the same results with the human rig. As Core count increases CPU load increases and FPS drops. With 8 cores I was actually getting 60FPS.
2.83 8 core.PNG

2.93 8 core.PNG

2.83 32 core.PNG

2.93 32 core.PNG

To clarify, on the tree creature file I obviously have all objects except the creature hidden, and subsurf turned off. I disabled some cores and went to 8 to match your CPU and these are the results I got. CPU load goes from 39 to 65% ![2.83 8 core tree.PNG](https://archive.blender.org/developer/F9899181/2.83_8_core_tree.PNG) ![2.93 8 core tree.PNG](https://archive.blender.org/developer/F9899183/2.93_8_core_tree.PNG) Increased to 32 cores, single numa node and got the following Still seeing a doubling of the cpu load, but also a decrease in FPS as core count increases. 8 cores = 25 fps 32 cores= 21 fps 64cores= 18 fps ![2.83 32 core tree.PNG](https://archive.blender.org/developer/F9899185/2.83_32_core_tree.PNG) ![2.93 32 core tree.PNG](https://archive.blender.org/developer/F9899187/2.93_32_core_tree.PNG) seeing the same results with the human rig. As Core count increases CPU load increases and FPS drops. With 8 cores I was actually getting 60FPS. ![2.83 8 core.PNG](https://archive.blender.org/developer/F9899195/2.83_8_core.PNG) ![2.93 8 core.PNG](https://archive.blender.org/developer/F9899197/2.93_8_core.PNG) ![2.83 32 core.PNG](https://archive.blender.org/developer/F9899199/2.83_32_core.PNG) ![2.93 32 core.PNG](https://archive.blender.org/developer/F9899201/2.93_32_core.PNG)

In #86658#1132392, @steven850 wrote:
To clarify, on the tree creature file I obviously have all objects except the creature hidden, and subsurf turned off.

In that case it would be good to attach a simplified file where the problem is more evident.

I tested it with a different number of threads,
I noticed a bigger difference between 8 and 16 threads.

EDITED:

threads fps
8 13.1
16 11.9
> In #86658#1132392, @steven850 wrote: > To clarify, on the tree creature file I obviously have all objects except the creature hidden, and subsurf turned off. In that case it would be good to attach a simplified file where the problem is more evident. I tested it with a different number of threads, I noticed a bigger difference between 8 and 16 threads. EDITED: |threads|fps| | -- | -- | |8|13.1| |16|11.9|
Author
Here is the file http://www.fileconvoy.com/dfl.php?id=g8be654343cf404e61000336304833419b611f3af6e
Added subscribers: @JulianEisel, @Jeroen-Bakker, @dr.sybren, @mont29

@JulianEisel @dr.sybren @Jeroen-Bakker Ping for reference since this concerns either new TBB integration and/or general animation/depsgraph evaluation areas.

But in any case, we need decently simple reproducible case stored on this tracker (the linked file is no longer available, and a 400Mb one is not exactly suitable for investigation).

So will archive for now, thanks for the report anyway.

@JulianEisel @dr.sybren @Jeroen-Bakker Ping for reference since this concerns either new TBB integration and/or general animation/depsgraph evaluation areas. But in any case, we need decently simple reproducible case stored on this tracker (the linked file is no longer available, and a 400Mb one is not exactly suitable for investigation). So will archive for now, thanks for the report anyway.

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
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
3 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#86658
No description provided.