Anim playback breaks with Audio Sync on #91057
Labels
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
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
Viewport & EEVEE
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#91057
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.13.13-arch1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-29 21:39, hash:
b42354672e
Worked: (newest version of Blender that worked as expected)
Short description of error
When playing back animation anywhere in Blender with Audio Sync turned on, either immediately or after a few playbacks, playback goes only one frame forward and holds there. Also, when it does play back, viewport is very choppy compared to earlier incarnations of 3.0.0 alpha.
Exact steps for others to reproduce the error
Note: Problem does not exist in other Sync modes, in my experience. Also, Saving the file and restarting Blender mostly resets the issue, but it comes back eventually.
Added subscriber: @HaigPetrus
Added subscribers: @neXyon, @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Is this only the case for PulseAudio?
Preferences
>System
>Sound
>Audio Device
CC @neXyon
I just switched to OpenAL and it seems to run smoothly, at the moment. Time will tell during production if this provides a workaround, for now.
If this is the case, why would PulseAudio be the culprit? It appears to be quite standard on Linux systems. And if Pulse is going to cause problems, which of the other options is the gold star standard?
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
There have been issues with PulseAudio, see e.g. #89045 (VSE playback periodically refuses to work (Pulseaudio, OpenAL seems fine))
This should be fixed though, see
19d19970e4
@neXyon : ideas?
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Yeah, seems like this is not completely fixed, i.e. there are multiple bugs at play that trigger sometimes on some systems - making them hard to find. I do have this on my list, just need to get the time to work on it...
@HaigPetrus: Previously, the default was OpenAL so it's fine, there are just a few issues when it comes to 3D audio, so if you don't use that, OpenAL works fine for now. Pulseaudio was recently added and as such has some infancy issues. Since I have problems reproducing the issues however, it would be helpful if people like you who experience the problems can help by testing experimental builds once available.
@neXyon : Interesting story behind this. PulseAudio is a good idea to switch to for default, so I'd be happy to test at every step of the way. Bring in on.
Scrubbing with Audio Sync is essential for our projects from storyboard/animatic to lip sync to final animation to post, so this is of great interest to me.
This issue was referenced by
93c7e83b2a
This issue was referenced by
8324ac8457
Here is a build of D12564, a patch that hopefully deals with this bug. Please try if you can still reproduce the problem with it! https://builder.blender.org/download/patch/D12564/
@neXyon: This appears to be working with PulseAudio, now. I have to do a much deeper torture test to make sure, but it looks very promising, so far. I can do crazy scrubbing and it seems to be in sync and not holding on a frame. Also, playback is smooth and not choppy anymore. I have a much more complex project that I will test this on and will let you know how that goes. Nonetheless, I think this might have done it.
Great! Let me know when you did the deeper torture test, then I'll commit this patch to master!
Added subscriber: @ChristofferHolmstedt
Differential reference should be D12564. Linking for future reference.
Torture test appears to be positive. I think this should be merged to master, if the code passes muster. Certainly, thereafter, a lot more production will be done and we'll see how it holds up over the days and weeks ahead. Right now, it appears to work as well as the older OpenAL, in terms of reliability and performance.
Let me know if there's any sort of PulseAudio lmessaging that you'd like me to log, if you feel the need.
Changed status from 'Confirmed' to: 'Resolved'
Great, I just pushed the fix to master, thanks for checking!
Added subscriber: @Alumx
this issue seems a bit simillar to this current one #91352
Operating system: Wndows 10 pro
Graphics card: NVIDIA GeForce GTX 3050 Ti
Audio sync issue.
I did this
Change Playback>Sync to 'Sync to Audio' with Scrubbing turned on
But sync is still not working.