Cloth simulation + motion blur = rendering slower 100x and driver crush. #47322
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#47322
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Windows 7 64bit, i5 4460, GTX 970, 16GB DDR3
2.76
48f7dd6
Problem makes baked cloth simulation and motion blur. Problem exists, when baked simulation is shorter than sceene. For example: sceene has 190 frames, simulation is ending on 180 frame.
After end of simulation (in that case on 181 frame) rendering on CPU is slower 100 times and rendering on CUDA is crushed by drivers' error.
Download file slow_rendering_s6.blend
Go to 179 frame and render (you can use CPU or GPU)
Rendering should takes several seconds (4s on GTX 970)
Go to frame 180 or later and try to render - it will be much slower
If you are using CUDA, then driver will crush and send to http:nvidia.custhelp.com/app/answers/detail/a_id/3633
If you are using CPU, then it will be 100 times slower - you must close BlenderReload file and select red ragSee, that cloth simulation is baked only to 180 frame and there is 190 frames//
Delete red rag and render 179 or 180 or later - everything will work fine
Reload file and turn-off motion blur
Render 179 and 180 (without deleting red rag) - everything will work fine
BTW - sometimes on rendered image appears random distortion. Not everytime so I can't prepare file to show the problem.
If you want to see them in 3D_view change shading to 'Rendered' and then press F12. Sometimes "shadows" appers, someteimes not.
Changed status to: 'Open'
Added subscriber: @piotr-14
Links to screens:
http://wstaw.org/m/2016/02/04/randomshadow_01.jpg
http://wstaw.org/m/2016/02/04/randomshadow_02.jpg
Added subscriber: @Sergey
Changed status from 'Open' to: 'Archived'
This is a subframe access issue with simulated physics -- basically the subframe state of the cloth at the end of the simulated region jumps back to the original object state, making it really long trail of the object, which slows down ray shooting a lot.
Just bake the full range of frames, that's recommended for simulations anyway.
Improvements here are possible, but would consider it a TODO for a bigger picture reconsideration of how dependency graph works together with physics. Thanks for the report anyway.