Fluid Simulator Stops in Complex Scene #41606

Closed
opened 2014-08-28 01:04:22 +02:00 by Sofus Rose · 19 comments
  • System Info
    uname -a output: Linux iceraven 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux (jessie)
    CPU: Intel i7-4700MQ
    GPU: NVIDIA 780M
    Desktop Environment: GNOME 3 (latest)
    GPU Driver: nvidia-driver package on jessie repo (340.29)
    CUDA Driver: nvidia-cuda-toolkit package on jessie repo (5.5; just stopped working as support for pre-6.0 just dropped)

  • Blender Version:
    Broken: Latest Dev Version (2.71.6, Hash: 24ea3ab)
    Worked: None yet. Testing 2.71 stable as I'm typing.

  • Description
    I have a complex scene where a bullet impacts a coffee cup, with coffee inside, that goes everywhere. It involves a large domain, high resolution fluid simulation, and hundreds of collision objects that are keyframed from a Rigid Body simulation.

At one point this worked flawlessly. However, now it merely stops once reaching enough complexity. Here's what I've been able to gather:

  • Lowering the resolution makes the simulation continue baking a bit longer, but only the lowest resolutions (120-) actually complete.
  • top tells me that the CPU is being used plenty. The RAM usage is well within what should work.
  • Blender's memory usage is never above 600M, according to itself. top agrees; however I'm using GPU for rendering, so this could have been an issue.

It probably means nothing, but I uncommented the Experimental GPU features in kernel_types.h before compiling Blender.

  • Reproducing the error:
  1. Load file.
  2. Set offset in the fluid simulation to 25.
  3. With the resolution at 425, attempt a bake.
  4. The bake should, without any kind of error, simply stop, uncompleted, after 50 frames
    NOTE: In this file all the keyframing has been moved back 27 frames, so you don't have to wait more than neccessary for a complex high-res bake.

Thank you in advance!

- System Info uname -a output: Linux iceraven 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux (jessie) CPU: Intel i7-4700MQ GPU: NVIDIA 780M Desktop Environment: GNOME 3 (latest) GPU Driver: nvidia-driver package on jessie repo (340.29) CUDA Driver: nvidia-cuda-toolkit package on jessie repo (5.5; just stopped working as support for pre-6.0 just dropped) - Blender Version: Broken: Latest Dev Version (2.71.6, Hash: 24ea3ab) Worked: None yet. Testing 2.71 stable as I'm typing. - Description I have a complex scene where a bullet impacts a coffee cup, with coffee inside, that goes everywhere. It involves a large domain, high resolution fluid simulation, and hundreds of collision objects that are keyframed from a Rigid Body simulation. At one point this worked flawlessly. However, now it merely stops once reaching enough complexity. Here's what I've been able to gather: - Lowering the resolution makes the simulation continue baking a bit longer, but only the lowest resolutions (120-) actually complete. - top tells me that the CPU is being used plenty. The RAM usage is well within what should work. - Blender's memory usage is never above 600M, according to itself. top agrees; however I'm using GPU for rendering, so this could have been an issue. It probably means nothing, but I uncommented the Experimental GPU features in kernel_types.h before compiling Blender. - Reproducing the error: 1. Load file. 2. Set offset in the fluid simulation to 25. 3. With the resolution at 425, attempt a bake. 4. The bake should, without any kind of error, simply stop, uncompleted, after 50 frames NOTE: In this file all the keyframing has been moved back 27 frames, so you don't have to wait more than neccessary for a complex high-res bake. - Filesize: 25MB. https://docs.google.com/uc?id=0Bx0YaKfeuWSrUnFScDAtLVdtU2s&export=download Thank you in advance!
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Darkfie9825

Added subscriber: @Darkfie9825

#41612 was marked as duplicate of this issue

#41612 was marked as duplicate of this issue

Added subscriber: @Sergey

Added subscriber: @Sergey

Does it stop or blender just crashes?

Edit: also, please run blender from the command line and see whether any issues are being reported there.

Does it stop or blender just crashes? Edit: also, please run blender from the command line and see whether any issues are being reported there.

Added subscribers: @MichaelN-3, @mont29

Added subscribers: @MichaelN-3, @mont29

◀ Merged tasks: #41612.

◀ Merged tasks: #41612.

Windows 7
Intel i5-2520m @2.5GHz 2 Kerne
8GB Speicher
Intel HD Graphics Family

Windows 7 Intel i5-2520m @2.5GHz 2 Kerne 8GB Speicher Intel HD Graphics Family
Author

The fluid simulator simply stops. Blender keeps on running just fine.

I'm not quite sure what you mean by runnning blender from the command line. To start the blender dev release, I use the script supplied in the compiled build (when I use the blender command, or click on blender in Applications, it's actually a symbolic link to that script), which is the one that fails. I've heard of methods to bake from the command line, but you'd have to clarify a bit more.

Also, quite interestingly, Blender 2.71 stable just did a perfect bake overnight. Some of the bake files are pretty large - the largest is 91MB for one of the complex frames, with 15 for the preview. Could the bug in the more recent version be related to that complexity?

The fluid simulator simply stops. Blender keeps on running just fine. I'm not quite sure what you mean by runnning blender from the command line. To start the blender dev release, I use the script supplied in the compiled build (when I use the blender command, or click on blender in Applications, it's actually a symbolic link to that script), which is the one that fails. I've heard of methods to bake from the command line, but you'd have to clarify a bit more. Also, quite interestingly, Blender 2.71 stable just did a perfect bake overnight. Some of the bake files are pretty large - the largest is 91MB for one of the complex frames, with 15 for the preview. Could the bug in the more recent version be related to that complexity?

System Information
Windows 7
Blender Version 2.71

simulation stops and no fluid flows???

just start the baking and you will see

wasserbecken_mit_Rührer_mit_Stromstörer_6.blend

System Information Windows 7 Blender Version 2.71 simulation stops and no fluid flows??? just start the baking and you will see wasserbecken_mit_Rührer_mit_Stromstörer_6.blend
Author

MichealN: Your CPU doesn't look all too powerful, maybe the calculations are a little too much... Does it by any chance fail earlier if you up the resolution

It could be the same issue - from what I can gather, my bake becomes more unstable as I up the resolution, therefore the computation volume. There wouldn't by any chance be a time out counter for fluid sims, like there is for building BVH?

Something else to consider is that the only time it worked (on 2.7 stable), I clicked bake and didn't click anything else - I didn't even leave the window or move the mouse. Otherwise, I would be browing the internet, checking (not changing) other settings, etc.

MichealN: Your CPU doesn't look all too powerful, maybe the calculations are a little too much... Does it by any chance fail earlier if you up the resolution It could be the same issue - from what I can gather, my bake becomes more unstable as I up the resolution, therefore the computation volume. There wouldn't by any chance be a time out counter for fluid sims, like there is for building BVH? Something else to consider is that the only time it worked (on 2.7 stable), I clicked bake and didn't click anything else - I didn't even leave the window or move the mouse. Otherwise, I would be browing the internet, checking (not changing) other settings, etc.

Darkfie9825: followimg your experience I also did not touched the mouse again after Start Baking. And it looked the simulation run at least for one hour.
Thanks for this. But sounds still strange.

The issue i stil see is that the domain is filled with fluid from the very beginning. It shall be empty and filled with the inflow sphere.
So how can the initial condition of a domain be defined?

Darkfie9825: followimg your experience I also did not touched the mouse again after Start Baking. And it looked the simulation run at least for one hour. Thanks for this. But sounds still strange. The issue i stil see is that the domain is filled with fluid from the very beginning. It shall be empty and filled with the inflow sphere. So how can the initial condition of a domain be defined?
Daniel Genrich was assigned by Sergey Sharybin 2014-10-14 14:58:50 +02:00

Added subscribers: @miikah, @n_t

Added subscribers: @miikah, @n_t

Daniel, any thoughts? @n_t might also be interested, same to @miikah.

Daniel, any thoughts? @n_t might also be interested, same to @miikah.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Are there news on this? @Darkfie9825, do you still have the issue in Blender 2.74 RC ?

Are there news on this? @Darkfie9825, do you still have the issue in Blender [2.74 RC ](http://download.blender.org/release/Blender2.74/)?
Author

As mentioned, it did end up working; it could be an update or me just not touching anything. The .blend itself could also be the culprit; I did mess around quite a bit with a lot of pieces during that project. In any case, I haven't personally had problems with the fluid simulator since.

Considering that I was running a self-compiled dev release (three words that tend to lead to stress put together :) ) on the testing version of Debian, just before a freeze... Even considering that it was reproducible, any number of factors could have played into the weirdness; factors that might well be gone considering the freeze and just general development.

To be thourough, though, I'll run the blend overnight on the RC.

As mentioned, it did end up working; it could be an update or me just not touching anything. The .blend itself could also be the culprit; I did mess around quite a bit with a lot of pieces during that project. In any case, I haven't personally had problems with the fluid simulator since. Considering that I was running a self-compiled dev release (three words that tend to lead to stress put together :) ) on the testing version of Debian, **just** before a freeze... Even considering that it was reproducible, any number of factors could have played into the weirdness; factors that might well be gone considering the freeze and just general development. To be thourough, though, I'll run the blend overnight on the RC.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Eeek, somehow I have missed your answer. Anyway, glad to hear it's working again :)

Eeek, somehow I have missed your answer. Anyway, glad to hear it's working again :)
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#41606
No description provided.