Simulation zone pauses randomly during render (with "Lock Interface" turned ON) #112001

Open
opened 2023-09-06 03:58:40 +02:00 by Josh Maros · 22 comments
Contributor

This bug has an easy workaround, mostly posting this so anyone running into the same issue knows the solution.

Operating system: Linux-5.15.0-79-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.30.02
**System Information**
Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14
version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-12 21:34, hash: `6b81fbced817`
**System Information**
Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14
version: 4.2.0 Alpha, branch: main, commit date: 2024-03-14 23:27, hash: `2e6a8ae49c1c`

Broken: version: 3.6.2, branch: blender-v3.6-release, commit date: 2023-08-16 16:43, hash: e53e55951e7a
Worked: N/A, 3.6 is the first version with simulation nodes.

In Eevee, Cycles, and Workbench, rendering an object with a simple simulation zone applied in geometry nodes results in some rendered frames being duplicates of each other, effectively making the simulation pause at random in the final render.

The workaround is to bake the simulation zone result before rendering (see screenshot.)

Check out the attached .blend file for reproduction.

This bug has an easy workaround, mostly posting this so anyone running into the same issue knows the solution. ``` Operating system: Linux-5.15.0-79-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.30.02 ``` ``` **System Information** Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14 version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-12 21:34, hash: `6b81fbced817` ``` ``` **System Information** Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14 version: 4.2.0 Alpha, branch: main, commit date: 2024-03-14 23:27, hash: `2e6a8ae49c1c` ``` Broken: version: 3.6.2, branch: blender-v3.6-release, commit date: 2023-08-16 16:43, hash: `e53e55951e7a` Worked: N/A, 3.6 is the first version with simulation nodes. In Eevee, Cycles, and Workbench, rendering an object with a simple simulation zone applied in geometry nodes results in some rendered frames being duplicates of each other, effectively making the simulation pause at random in the final render. The workaround is to bake the simulation zone result before rendering (see screenshot.) Check out the attached .blend file for reproduction.
Josh Maros added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-09-06 03:58:41 +02:00
YimingWu added
Module
Nodes & Physics
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-09-06 04:28:33 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
label 2023-09-06 19:08:22 +02:00
Iliya Katushenock added this to the 3.6 LTS milestone 2023-09-15 21:58:55 +02:00
Iliya Katushenock added
Status
Confirmed
and removed
Status
Needs Info from Developers
labels 2023-09-15 22:04:51 +02:00
Member

I'm not able to reproduce the issue. Will close this for now. Please reopen if the issue still exists. In that case, please also try to provide an example that doesn't render 5000 frames.

I'm not able to reproduce the issue. Will close this for now. Please reopen if the issue still exists. In that case, please also try to provide an example that doesn't render 5000 frames.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-10 14:16:44 +01:00
Author
Contributor

This issue still exists on the current release of 4.0:

version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727, type: release
build date: 2023-12-05, 08:48:50
platform: 'Linux-5.15.0-100-generic-x86_64-with-glibc2.35'

As well as the current beta of 4.1:

version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-09 11:27, hash: 0f1e93e78a85, type: Release
build date: 2024-03-10, 01:39:18
platform: 'Linux-5.15.0-100-generic-x86_64-with-glibc2.35'

See the attached images for examples of identical rendered frames.

This issue still exists on the current release of 4.0: ``` version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727, type: release build date: 2023-12-05, 08:48:50 platform: 'Linux-5.15.0-100-generic-x86_64-with-glibc2.35' ``` As well as the current beta of 4.1: ``` version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-09 11:27, hash: 0f1e93e78a85, type: Release build date: 2024-03-10, 01:39:18 platform: 'Linux-5.15.0-100-generic-x86_64-with-glibc2.35' ``` See the attached images for examples of identical rendered frames.
Author
Contributor

I apologize for the long file, it was originally used in a bug report for a rarer issue. I have shortened the render time to 500 frames. I have also attached examples of what frames 250 and 500 should look like. If the simulation is pausing somewhere during the render, these will not match with what is actually rendered.

Since the issue is intermittent, you may have to run the render a couple of times to see it come up. In case this is relevant, I will also note that I am not rendering from the command line, instead using the "render animation" option in the interface.

I apologize for the long file, it was originally used in a bug report for a rarer issue. I have shortened the render time to 500 frames. I have also attached examples of what frames 250 and 500 should look like. If the simulation is pausing somewhere during the render, these will not match with what is actually rendered. Since the issue is intermittent, you may have to run the render a couple of times to see it come up. In case this is relevant, I will also note that I am not rendering from the command line, instead using the "render animation" option in the interface.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2024-03-10 17:59:07 +01:00

I found the provided files are not reproducing the issue. but I noticed that once you enable "Lock Interface", it will very likely trigger the stop around 20+ frames.
image

I found the provided files are not reproducing the issue. but I noticed that once you enable "Lock Interface", it will very likely trigger the stop around 20+ frames. ![image](/attachments/7804384f-9f01-4898-a496-181983d5c76e)
4.1 KiB
Member

Hi, unable to confirm in current main 09666e149871769b5b77ac8c2a404e3a4ea35f30
Can we know steps used here for replicating the issue to ensure we're on same page? What I did is:

  • Baked the simulation
  • Then rendered the animation
  • Imported render output in VSE to check any frame is incorrectly rendered
Hi, unable to confirm in current main `09666e149871769b5b77ac8c2a404e3a4ea35f30` Can we know steps used here for replicating the issue to ensure we're on same page? What I did is: - Baked the simulation - Then rendered the animation - Imported render output in VSE to check any frame is incorrectly rendered
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-14 10:20:34 +01:00

Hi, unable to confirm in current main 09666e149871769b5b77ac8c2a404e3a4ea35f30
Can we know steps used here for replicating the issue to ensure we're on same page? What I did is:

  • Baked the simulation
  • Then rendered the animation
  • Imported render output in VSE to check any frame is incorrectly rendered

Hi, Baking the simulation is a workaround to solve the problem, where the problem is shown if you do not bake.
In short, Render simulation without a bake + "Lock Interface" will pause the render simulation very quickly. If You do not Lock Interface, it will render to the end without problem.

> Hi, unable to confirm in current main `09666e149871769b5b77ac8c2a404e3a4ea35f30` > Can we know steps used here for replicating the issue to ensure we're on same page? What I did is: > - Baked the simulation > - Then rendered the animation > - Imported render output in VSE to check any frame is incorrectly rendered Hi, Baking the simulation is a workaround to solve the problem, where the problem is shown if you do not bake. In short, Render simulation without a bake + "Lock Interface" will pause the render simulation very quickly. If You do not Lock Interface, it will render to the end without problem.
Member

Thanks. Still not able to replicate though (without baked simulation)

Thanks. Still not able to replicate though (without baked simulation)
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-03-14 10:35:31 +01:00

Thanks. Still not able to replicate though (without baked simulation)

Have you activate "Lock Interface" as suggested above? I can still reproduce it in the latest main.
4.2.0 Alpha, branch: main, commit date: 2024-03-14 00:20, hash: 09666e149871

> Thanks. Still not able to replicate though (without baked simulation) Have you activate "Lock Interface" as suggested above? I can still reproduce it in the latest main. 4.2.0 Alpha, branch: main, commit date: 2024-03-14 00:20, hash: `09666e149871`
Member

Have you activate "Lock Interface" as suggested above

yes

> Have you activate "Lock Interface" as suggested above yes

hmm, that's weird. It's so easy to replicate on my end.
Here's a recreated file, everything is already set. People should just render animation brainlessly to check if the problem exist.
People should find that in the viewport the cube is rotating. but in the render cube is not driven by the simulation.

hmm, that's weird. It's so easy to replicate on my end. Here's a recreated file, everything is already set. People should just render animation brainlessly to check if the problem exist. People should find that in the viewport the cube is rotating. but in the render cube is not driven by the simulation.
Contributor

So to reproduce just "Render Animation"? The cube isn't moving at all
I can confirm with Blender 4.2 from today on Windows 11

So to reproduce just "Render Animation"? The cube isn't moving at all I can confirm with Blender 4.2 from today on Windows 11

So to reproduce just "Render Animation"? The cube isn't moving at all
Blender 4.2 from today

Yes, that's exactly the problem discussed here. If you play the animation in the viewport, you can see the cube is rotating due to simulation nodes. So you can confirm the issue as us.

> So to reproduce just "Render Animation"? The cube isn't moving at all > Blender 4.2 from today > Yes, that's exactly the problem discussed here. If you play the animation in the viewport, you can see the cube is rotating due to simulation nodes. So you can confirm the issue as us.
Contributor

"Lock Interface" prevents the simulation node from working.

"Lock Interface" prevents the simulation node from working.

hmmm, for comparison I tested how other blender simulation behaves.
It seems cloth simulation can work without a bake in Lock Interface,
but Rigid body and softbody will stop as well.

Perhaps this is a known issue, but I am still not sure.

hmmm, for comparison I tested how other blender simulation behaves. It seems cloth simulation can work without a bake in Lock Interface, but Rigid body and softbody will stop as well. Perhaps this is a known issue, but I am still not sure.
Member

Hmm, still not able to confirm (even in Replica.blend) :/

Hmm, still not able to confirm (even in `Replica.blend`) :/
Member

but Rigid body and softbody will stop as well.

#99700

> but Rigid body and softbody will stop as well. #99700
Contributor

Funny, I don't even remember writing that report :)

Funny, I don't even remember writing that report :)

I can only say that I am on windows, nothing more.

Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.61

I can only say that I am on windows, nothing more. Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 531.61
Member

I'll ask in triaging channel for help.
I'm on windows as well:

**System Information**
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.76
I'll ask in triaging channel for help. I'm on windows as well: ``` **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.76 ```
Contributor

Maybe it is reproducible for you in background mode :)
blender -b Replica_Ray.blend -a
The animation doesn't move as it should.

Unrelated to this bug: Shouldn't Blender print a message where it saved the .mkv file??

Maybe it is reproducible for you in background mode :) ```blender -b Replica_Ray.blend -a``` The animation doesn't move as it should. Unrelated to this bug: Shouldn't Blender print a message where it saved the .mkv file??
Member

Nope, can't confirm in background mode either :/

Nope, can't confirm in background mode either :/
Member

I can confirm

**System Information**
Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14
version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-12 21:34, hash: `6b81fbced817`
**System Information**
Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14
version: 4.2.0 Alpha, branch: main, commit date: 2024-03-14 23:27, hash: `2e6a8ae49c1c`
I can confirm ``` **System Information** Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14 version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-03-12 21:34, hash: `6b81fbced817` ``` ``` **System Information** Operating system: Linux-6.7.7-200.fc39.x86_64-x86_64-with-glibc2.38 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14 version: 4.2.0 Alpha, branch: main, commit date: 2024-03-14 23:27, hash: `2e6a8ae49c1c` ```
Philipp Oeser added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-03-15 12:03:00 +01:00
Philipp Oeser changed title from Simulation zone pauses randomly during render to Simulation zone pauses randomly during render (with "Lock Interface" turned ON) 2024-03-15 12:03:51 +01:00
Philipp Oeser removed this from the 3.6 LTS milestone 2024-03-15 12:05:10 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
Asset Browser Project
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
6 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#112001
No description provided.