Smoke bake: A/V sync breaks simulation baking #61648

Closed
opened 2019-02-18 01:35:56 +01:00 by Vyacheslav Kobozev · 21 comments

Operating system: Win7 x64

Second bake-cache stucks, plays random pieces of baked animation, even if file is saved.
Free scrolling through second bake also working only after reloading file.

Minor Bake-UI flaw: new cache should prompt to bake current quantity of frames: 1—80 in the video, not 1-250 every time, ignoring setted length.

Blender Version

Broken:
2.8 15/02/2019

Worked:
In 2.79b rarely stuck if file saved and random frame picked. Instantly switches between bakes on the flow (2nd video).

2019-02-18_02-27-33.mp4

2019-02-18_03-38-40.mp4

Operating system: Win7 x64 Second bake-cache stucks, plays random pieces of baked animation, even if file is saved. Free scrolling through second bake also working only after reloading file. Minor Bake-UI flaw: new cache should prompt to bake current quantity of frames: 1—80 in the video, not 1-250 every time, ignoring setted length. **Blender Version** Broken: 2.8 15/02/2019 Worked: In 2.79b rarely stuck if file saved and random frame picked. Instantly switches between bakes on the flow (2nd video). [2019-02-18_02-27-33.mp4](https://archive.blender.org/developer/F6645451/2019-02-18_02-27-33.mp4) [2019-02-18_03-38-40.mp4](https://archive.blender.org/developer/F6645545/2019-02-18_03-38-40.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I can't reproduce this on my end. Does this still happen for you with the latest blender beta?

I can't reproduce this on my end. Does this still happen for you with the latest blender beta?

It is strange. Sometimes it work pretty stable and nice without reload.
Sometimes glitchy.
Once 3rd bake killed 2nd bake despite I saved file after each one. Here I catched 1rst frame killed. Sometimes 1-3 frames of previous bake are missed.
Anyway now Blender reacts for switching between bakes.

May it depend on HDD speed? Or bake goes into RAM at first?

2019-02-24_12-16-48.mp4

It is strange. Sometimes it work pretty stable and nice without reload. Sometimes glitchy. Once 3rd bake killed 2nd bake despite I saved file after each one. Here I catched 1rst frame killed. Sometimes 1-3 frames of previous bake are missed. Anyway now Blender reacts for switching between bakes. May it depend on HDD speed? Or bake goes into RAM at first? [2019-02-24_12-16-48.mp4](https://archive.blender.org/developer/F6702657/2019-02-24_12-16-48.mp4)

Which beta build are you currently on?

Which beta build are you currently on?

Usually I use fresh one. ATM 2.80 (sub 45), 893fa59831, 2019-02-24 22:02
Bug still here. After reloading file I have normal 1st bake and broken 2 and 3.

I found that problem is only for big domain and large cache. So try to upscale domain with slowest hdd you have.
It feels like smoke baking system just run faster than HDD-recording and skips frames in baking and loading.

Just tested fresh 2.79b with similar domain size, fast smoke. Works fine even with high compressed cache and slow hdd.

Usually I use fresh one. ATM 2.80 (sub 45), 893fa598319e, 2019-02-24 22:02 Bug still here. After reloading file I have normal 1st bake and broken 2 and 3. I found that problem is only for big domain and large cache. So try to upscale domain with slowest hdd you have. It feels like smoke baking system just run faster than HDD-recording and skips frames in baking and loading. Just tested fresh 2.79b with similar domain size, fast smoke. Works fine even with high compressed cache and slow hdd.

Added subscriber: @Sergey

Added subscriber: @Sergey

@Sergey any ideas?

@Sergey any ideas?

Had similar weird behavior with regular animation when AV sync is enabled. Try disabling it and see if that affects on anything.

Had similar weird behavior with regular animation when AV sync is enabled. Try disabling it and see if that affects on anything.

Yup, it works good, if baked without AV-sync.
But AV-sync playback works good with this proper bake.

Yup, it works good, if *baked* without AV-sync. But AV-sync playback works good with this proper bake.

So, my guess is that AV-sync has some effect on the backing, even though it shouldn't. At least, i don't see a reason why it is affected by sync option.

So, my guess is that AV-sync has some effect on the backing, even though it shouldn't. At least, i don't see a reason why it is affected by sync option.

May be something indirect: AV-sync affects to playing frames, frames switching during baking, so pace of frame switching affects baking somehow…
As I said, sometimes it looks like skipped frames and interrupted simulation.

May be something indirect: AV-sync affects to playing frames, frames switching during baking, so pace of frame switching affects baking somehow… As I said, sometimes it looks like skipped frames and interrupted simulation.

@Sergey unless something changed since I last tried, this is also a problem with the cloth sim. If you have AV-sync on, it will skip frames and the simulation will not run correctly.

@Sergey unless something changed since I last tried, this is also a problem with the cloth sim. If you have AV-sync on, it will skip frames and the simulation will not run correctly.

Can i help anything else?
I see status, that info required. What kind of info do you need?

Can i help anything else? I see status, that info required. What kind of info do you need?
Sergey Sharybin was assigned by Sebastian Parborg 2019-03-01 11:19:29 +01:00
Sebastian Parborg changed title from Smoke bake: second cache not showing properly until reloading file. to Smoke bake: A/V sync breaks simulation baking 2019-03-01 11:19:53 +01:00
[untitled.blend](https://archive.blender.org/developer/F6735284/untitled.blend)

Removed subscriber: @Vyach

Removed subscriber: @Vyach
Sergey Sharybin was unassigned by Dalai Felinto 2019-12-23 16:35:07 +01:00

Added subscriber: @iss

Added subscriber: @iss

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

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

I have re-triaged this report and can not reproduce it.
Can you please check if this is still an issue in latest build?
https://builder.blender.org/download/

I have re-triaged this report and can not reproduce it. Can you please check if this is still an issue in latest build? https://builder.blender.org/download/

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

Changed status from 'Needs User Info' to: 'Resolved'
Sebastian Parborg self-assigned this 2020-02-05 14:17:41 +01:00

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.
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
4 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#61648
No description provided.