Cycles: Motion blur causing some frames to render objects incorrectly #95475

Closed
opened 2022-02-03 16:37:57 +01:00 by Jon Tetrino · 10 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23

Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: dc2d180181
Broken: 2.9+ including 3.1 Beta

Short description of error
There is an issue when motion blur is enabled in render settings while using Cycles that results in some objects in scene having incorrect lighting and material properties for one or more frames.

None of the below errors occur with Motion Blur disabled.

If the frame is the first frame to be rendered, it will always render correctly. However if the frame is rendered after another, it will always fail. See steps.

I've seen this issue with numerous files, though the actual frame number that errors is seemingly random. I assumed it was my pipeline until another user I know found the same issue.

It might be related to objects being children of other objects in the scene hierarchy. It only seems to effect animated objects.

Exact steps for others to reproduce the error
I have attached a blend file. Note that Render settings have Motion Blur enabled with shutter length of 1. File is set to render with Optix. Export file type does not matter in this instance.

render_error_reproduction.blend

Render Frame #64 immediately after opening the file, do not make any changes, and view in Render Result. Observe that result should appear like so:material_working.png

Render any other frame, then re-render #64. You will see one of these three results (full-black, full-bright, and no-object at all):
{F12843849}{F12843851}no_object.png

If you change the render engine from GPU to CPU and re-render #64 it will succeed. However if you follow the above steps again, while on CPU rendering, the error will once again occur. If you then flip the render engine to GPU Optix again, the frame error will be magically fixed until you repeat the above steps once again.

Closing and re-opening the file allows you to re-render #64 correctly as long as it is the first file to render.

Oddly if you repeat these steps using CUDA instead of OPTIX., the object can disappear entirely and we'll also have other rendering artefacts.

Again none of this occurs with Motion Blur disabled.

While we can work around it by re-rendering specific frames it's a bit of a headache, especially when working with EXR output via command line that we can't easily preview on the fly. Post-process motion blur is also not a great solution for us.

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23 **Blender Version** Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: `dc2d180181` Broken: 2.9+ including 3.1 Beta **Short description of error** There is an issue when motion blur is enabled in render settings while using Cycles that results in some objects in scene having incorrect lighting and material properties for one or more frames. None of the below errors occur with Motion Blur disabled. If the frame is the first frame to be rendered, it will always render correctly. However if the frame is rendered after another, it will always fail. See steps. I've seen this issue with numerous files, though the actual frame number that errors is seemingly random. I assumed it was my pipeline until another user I know found the same issue. It might be related to objects being children of other objects in the scene hierarchy. It only seems to effect animated objects. **Exact steps for others to reproduce the error** I have attached a blend file. Note that Render settings have Motion Blur enabled with shutter length of 1. File is set to render with Optix. Export file type does not matter in this instance. [render_error_reproduction.blend](https://archive.blender.org/developer/F12843902/render_error_reproduction.blend) Render Frame #64 immediately after opening the file, do not make any changes, and view in Render Result. Observe that result should appear like so:![material_working.png](https://archive.blender.org/developer/F12843847/material_working.png) Render any other frame, then re-render #64. You will see one of these three results (full-black, full-bright, and no-object at all): {[F12843849](https://archive.blender.org/developer/F12843849/no_material.png)}{[F12843851](https://archive.blender.org/developer/F12843851/fullbright.png)}![no_object.png](https://archive.blender.org/developer/F12843866/no_object.png) If you change the render engine from GPU to CPU and re-render #64 it will succeed. However if you follow the above steps again, while on CPU rendering, the error will once again occur. If you then flip the render engine to GPU Optix again, the frame error will be magically fixed until you repeat the above steps once again. Closing and re-opening the file allows you to re-render #64 correctly as long as it is the first file to render. Oddly if you repeat these steps using CUDA instead of OPTIX., the object can disappear entirely and we'll also have other rendering artefacts. Again none of this occurs with Motion Blur disabled. While we can work around it by re-rendering specific frames it's a bit of a headache, especially when working with EXR output via command line that we can't easily preview on the fly. Post-process motion blur is also not a great solution for us.
Author

Added subscriber: @Tetrino

Added subscriber: @Tetrino
Jon Tetrino changed title from Motion blur causing some frames to render objects incorrectly to Cycles: Motion blur causing some frames to render objects incorrectly 2022-02-03 16:40:42 +01:00

Added subscriber: @SteffenD

Added subscriber: @SteffenD

Sounds a lot like a problem with "Persistent Data" on:

image.png

Sounds a lot like a problem with "Persistent Data" on: ![image.png](https://archive.blender.org/developer/F12843929/image.png)
Author

Huh, @SteffenD you are entirely correct, I didn't even consider it - is it a known issue?

Huh, @SteffenD you are entirely correct, I didn't even consider it - is it a known issue?

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

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

Added subscriber: @Atair-1

Added subscriber: @Atair-1

GPU, Nvidia, Optix, Blender 3.0.1

having the same issue - can't share any screens or files, but it involves large scale objects (planets) and small objects (satellites). The planets are 100x smaller to avoid too big issues with the bvh, still after some time problems emerge with persistent data on.
Somehow the bvh gets corrupted? or is not properly built?
All of the above only when motion blur is enabled..
Is there any workaround? because reloading several 20k earth maps per frame is not fun

GPU, Nvidia, Optix, Blender 3.0.1 having the same issue - can't share any screens or files, but it involves large scale objects (planets) and small objects (satellites). The planets are 100x smaller to avoid too big issues with the bvh, still after some time problems emerge with persistent data on. Somehow the bvh gets corrupted? or is not properly built? All of the above only when motion blur is enabled.. Is there any workaround? because reloading several 20k earth maps per frame is not fun

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Brecht Van Lommel self-assigned this 2022-05-10 21:04:29 +02:00

Appears to be fixed by 94205e1.

Appears to be fixed by 94205e1.
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
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#95475
No description provided.