OpenCL mantaflow smoke rendering hanging/crashes #74178

Closed
opened 2020-02-24 20:54:17 +01:00 by Fynn Grotehans · 18 comments
Contributor

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX 590 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 20.1.3 26.20.15015.1007

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd7
Worked: (optional)

Short description of error
when baking the smoke simulation (with or without noise), and than rendering with OpenCL (dosent happen with CPU) blender hangs after a few tiles and a few samples. I waited for a long time, but nothin happens anymore and canceling the rendering results in a crash

Exact steps for others to reproduce the error
In the .blend file I attached, bake the smoke simulation (with or without noise) and than render with cycles, OpenCL, and wait for a few tiles to render.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX 590 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 20.1.3 26.20.15015.1007 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: `77d23b0bd7` Worked: (optional) **Short description of error** when baking the smoke simulation (with or without noise), and than rendering with OpenCL (dosent happen with CPU) blender hangs after a few tiles and a few samples. I waited for a long time, but nothin happens anymore and canceling the rendering results in a crash **Exact steps for others to reproduce the error** In the .blend file I attached, bake the smoke simulation (with or without noise) and than render with cycles, OpenCL, and wait for a few tiles to render.
Author
Contributor

Added subscriber: @FynnGr

Added subscriber: @FynnGr
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

you missed the blend file

you missed the blend file
Author
Contributor

Open CL smoke bug.blend i'm sorry, I accidentally deleted it. Here it is

[Open CL smoke bug.blend](https://archive.blender.org/developer/F8367392/Open_CL_smoke_bug.blend) i'm sorry, I accidentally deleted it. Here it is
Member

crashed while baking:

aborting: Invalid dt encountered! Shouldnt happen...
Error raised in /Users/ankitkumar/blender-build/blender/extern/mantaflow/preprocessed/fluidsolver.cpp:243 
crashed while baking: ``` aborting: Invalid dt encountered! Shouldnt happen... Error raised in /Users/ankitkumar/blender-build/blender/extern/mantaflow/preprocessed/fluidsolver.cpp:243 ```
Member

mDt Real 0.0012029988
mDtMin Real 0.0260417499
assertMsg((mDt > (mDtMin / 2.)), "Invalid dt encountered! Shouldnt happen...");

mDt Real 0.0012029988 mDtMin Real 0.0260417499 assertMsg((mDt > (mDtMin / 2.)), "Invalid dt encountered! Shouldnt happen...");
Author
Contributor

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

I rendered 100 frames but was unable to reproduce the bug on a Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13586 Core Profile Context 19.50.01.05 26.20.15001.5006

It is a GPU a little older than yours but works with the same driver (only the version is a bit different).

As I was unable to reproduce the problem with this similar setup, I find it very difficult for someone else to reproduce it.

Operating system: Windows-10-10.0.18941 64 Bits

I rendered 100 frames but was unable to reproduce the bug on a Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13586 Core Profile Context 19.50.01.05 26.20.15001.5006 It is a GPU a little older than yours but works with the same driver (only the version is a bit different). As I was unable to reproduce the problem with this similar setup, I find it very difficult for someone else to reproduce it. **Operating system:** Windows-10-10.0.18941 64 Bits
Author
Contributor

thats strange, its even the same architecture(Polaris).
I've tested a lot today and it dosen't happen with Tile sizes of 64 and lower, extremly low sample count or volume without simulation data. Also Raw cache worked, but not VDB or Uni cache. RAM and VRAM are both utilized lower than 50%. (combining CPU and GPU or disabeling Noise had no impact).

thats strange, its even the same architecture(Polaris). I've tested a lot today and it dosen't happen with Tile sizes of 64 and lower, extremly low sample count or volume without simulation data. Also Raw cache worked, but not VDB or Uni cache. RAM and VRAM are both utilized lower than 50%. (combining CPU and GPU or disabeling Noise had no impact).

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

The cause of problems so dependent on the setup is very difficult to investigate.
Have you tried upgrading GPU drivers?
See https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

The cause of problems so dependent on the setup is very difficult to investigate. Have you tried upgrading GPU drivers? See https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html
Author
Contributor

That was the first thing I tried when I had the Problem, but the Update had no impact. I searched for new drivers today, but they are up to date. The manual also was not helpfull for me, but the error dosen't seem to be a comon problem and as you sad very Hardware configuration dependent.

That was the first thing I tried when I had the Problem, but the Update had no impact. I searched for new drivers today, but they are up to date. The manual also was not helpfull for me, but the error dosen't seem to be a comon problem and as you sad very Hardware configuration dependent.

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Author
Contributor

The Bug seems to be fixed in 2.83.10. I rendered the file a few times today and had no problems

The Bug seems to be fixed in 2.83.10. I rendered the file a few times today and had no problems
Author
Contributor

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
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
3 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#74178
No description provided.