[Mantaflow] low domain transformation performance #76687

Closed
opened 2020-05-12 16:46:12 +02:00 by Pavel Blend · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: AMD Radeon HD 7560D ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008

Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-11 19:18, hash: 8956e9e5f6
Worked: (newest version of Blender that worked as expected)

Short description of error
If you move, rotate or scale the domain, then the performance of the blender decreases.

Exact steps for others to reproduce the error
Playable in any scene:
mantaflow_domain_transforms.mp4

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: AMD Radeon HD 7560D ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008 **Blender Version** Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-11 19:18, hash: `8956e9e5f6` Worked: (newest version of Blender that worked as expected) **Short description of error** If you move, rotate or scale the domain, then the performance of the blender decreases. **Exact steps for others to reproduce the error** Playable in any scene: [mantaflow_domain_transforms.mp4](https://archive.blender.org/developer/F8530889/mantaflow_domain_transforms.mp4)
Author

Added subscriber: @Pavel_Blend

Added subscriber: @Pavel_Blend

#77566 was marked as duplicate of this issue

#77566 was marked as duplicate of this issue
Member

Added subscriber: @sebbas

Added subscriber: @sebbas

Added subscriber: @mano-wii

Added subscriber: @mano-wii

This must be happening because by default the cache type is now Replay. And this cache tries to recalculate the simulation with each change.
@Pavel_Blend, can you test changing the cache to Modular or skipping a few frames ahead (frame 10 for example)?

@sebbas, we could update the simulation only if G.moving == 0.
I'm not sure if this is really a bug.

This must be happening because by default the cache type is now Replay. And this cache tries to recalculate the simulation with each change. @Pavel_Blend, can you test changing the cache to Modular or skipping a few frames ahead (frame 10 for example)? @sebbas, we could update the simulation only if `G.moving == 0`. I'm not sure if this is really a bug.
Author

@mano-wii yes, switching cache mode to modular helped me.

@mano-wii yes, switching cache mode to modular helped me.

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

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

I will confirm it as a bug for now as heavy operations like these should not be performed while we are editing the objects in a scene.

I will confirm it as a bug for now as heavy operations like these should not be performed while we are editing the objects in a scene.

Added subscribers: @Wyk, @ankitm

Added subscribers: @Wyk, @ankitm

This issue was referenced by 952279a366

This issue was referenced by 952279a366783bf471c900e368ee2fc3055cb64b

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sebastián Barschkis self-assigned this 2020-07-13 16:16:13 +02:00

@mano-wii Yes, the check for that flag seemed like a good idea to me too!

@mano-wii Yes, the check for that flag seemed like a good idea to me too!
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
5 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#76687
No description provided.