PulseAudio breaks animation playback in new scene (no imported sound involved) LTS backport, 3.0 is fine #90887

Closed
opened 2021-08-24 09:54:27 +02:00 by Aleksandr · 18 comments

System Information
Operating system: Linux-5.11.0-27-generic-x86_64-with-glibc2.31 64 Bits "Kubuntu 20.04"
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.57.02

Blender Version
Broken: version: 2.93.3, branch: master, commit date: 2021-08-17 18:30, hash: 8b80d19f36
Worked: 3.0

Short description of error
When I creating new scene in blend file animation playback proceed only 1 frame in the new scene.

Exact steps for others to reproduce the error
Open my file (or quick create your own) => create new scene (scene.001) => create cube => create simple animation with few keyframes => click play animation.

Screencast-2021-08-24_10.45.49.mp4

Blender_BUG_SceneNoAnim.blend

workaround:

  • set Playback > Sync > Play Every Frame OR
  • set Preferences > System > Sound > Audio Device to None (or something other than PulseAudio)
**System Information** Operating system: Linux-5.11.0-27-generic-x86_64-with-glibc2.31 64 Bits "Kubuntu 20.04" Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.57.02 **Blender Version** Broken: version: 2.93.3, branch: master, commit date: 2021-08-17 18:30, hash: `8b80d19f36` Worked: 3.0 **Short description of error** When I creating new scene in blend file animation playback proceed only 1 frame in the new scene. **Exact steps for others to reproduce the error** Open my file (or quick create your own) => create new scene (scene.001) => create cube => create simple animation with few keyframes => click play animation. [Screencast-2021-08-24_10.45.49.mp4](https://archive.blender.org/developer/F10317778/Screencast-2021-08-24_10.45.49.mp4) [Blender_BUG_SceneNoAnim.blend](https://archive.blender.org/developer/F10317776/Blender_BUG_SceneNoAnim.blend) workaround: - set `Playback` > `Sync` > `Play Every Frame` OR - set `Preferences` > `System` > `Sound` > `Audio Device` to None (or something other than PulseAudio)
Author

Added subscriber: @viadvena

Added subscriber: @viadvena
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Does it work when

  • you set Playback > Sync > Play Every Frame OR
  • you set Preferences > System > Sound > Audio Device to None (or something else? what is this set to at the moment?)
Does it work when - you set `Playback` > `Sync` > `Play Every Frame` OR - you set `Preferences` > `System` > `Sound` > `Audio Device` to None (or something else? what is this set to at the moment?)
Member

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

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

Added subscriber: @neXyon

Added subscriber: @neXyon
Member

@neXyon : mind checking? I know there are other reports, but this one does not involve imported audio at all and still blocks playback, so will set this to high prio

@neXyon : mind checking? I know there are other reports, but this one does not involve imported audio at all and still blocks playback, so will set this to high prio
Philipp Oeser changed title from Animation playback broken in new scene to PulseAudio breaks animation playback in new scene (no imported sound involved) 2021-08-24 11:09:38 +02:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Please check if this also happens in the Blender 3.0.0 Alpha (https://builder.blender.org/download/daily/). The bug should be fixed there.

Please check if this also happens in the Blender 3.0.0 Alpha (https://builder.blender.org/download/daily/). The bug should be fixed there.
Member

Hm, I swear I tested in 983280b014, but now cannot reproduce anymore (will try a restart soonish).
I also see this in my console (with no trace to blender sourcecode?):

Released audio card Audio0
audio_reservation_finish
Hm, I swear I tested in 983280b014, but now cannot reproduce anymore (will try a restart soonish). I also see this in my console (with no trace to blender sourcecode?): ``` Released audio card Audio0 audio_reservation_finish ```
Member

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

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

OK, so even after restart, I cannot reproduce fully now [mystery to me].
I do get a slight stutter though, so maybe that is related.

@viadvena : how is it for you? Do you have the issue in https://builder.blender.org/download/daily/?
@neXyon : which were the commits in 3.0 (these could/should be backported?)

OK, so even after restart, I cannot reproduce fully now [mystery to me]. I do get a slight stutter though, so maybe that is related. @viadvena : how is it for you? Do you have the issue in https://builder.blender.org/download/daily/? @neXyon : which were the commits in 3.0 (these could/should be backported?)
Author

@lichtwerk

you set Playback > Sync > Play Every Frame

Doesn't work

set Preferences > System > Sound > Audio Device to None (or something else? what is this set to at the moment?)

Set to OpenAL device and it's working fine - sound and animation in all scenes (but it looks like the animation is a bit slower in playback) - it helps for the moment.
Set to None device is helping too with the animation in scenes.

Please check if this also happens in the Blender 3.0.0 Alpha (https://builder.blender.org/download/daily/). The bug should be fixed there.

3.0 just fine!

@lichtwerk > you set Playback > Sync > Play Every Frame Doesn't work > set Preferences > System > Sound > Audio Device to None (or something else? what is this set to at the moment?) Set to **OpenAL** device and it's working fine - sound and animation in all scenes (but it looks like the animation is a bit slower in playback) - it helps for the moment. Set to **None** device is helping too with the animation in scenes. > Please check if this also happens in the Blender 3.0.0 Alpha (https://builder.blender.org/download/daily/). The bug should be fixed there. 3.0 just fine!
Member

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

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

OK, @neXyon : so this is just about backporting your fixes, would be nice to know which these were (and if they can be backported at all)

OK, @neXyon : so this is just about backporting your fixes, would be nice to know which these were (and if they can be backported at all)
Philipp Oeser changed title from PulseAudio breaks animation playback in new scene (no imported sound involved) to PulseAudio breaks animation playback in new scene (no imported sound involved) LTS backport, 3.0 is fine 2021-08-24 13:45:05 +02:00
Member

Yes that should be possible: a112adf16a (not sure if that one made it already?) and a217e043be should do it.

Yes that should be possible: a112adf16a (not sure if that one made it already?) and a217e043be should do it.
Member

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

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Philipp Oeser self-assigned this 2021-08-24 15:30:43 +02:00
Member

In #90887#1210785, @neXyon wrote:
Yes that should be possible: a112adf16a (not sure if that one made it already?) and a217e043be should do it.

Apparently both have not been backported yet, added them to the list #88449 (Blender LTS: Maintenance Task 2.93).
So these will (hopefully) be available with the next LTS release.
Think we can close this task now, thx everyone involved!

> In #90887#1210785, @neXyon wrote: > Yes that should be possible: a112adf16a (not sure if that one made it already?) and a217e043be should do it. Apparently both have not been backported yet, added them to the list #88449 (Blender LTS: Maintenance Task 2.93). So these will (hopefully) be available with the next LTS release. Think we can close this task now, thx everyone involved!
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#90887
No description provided.