PulseAudio: Animation playback in viewport corrupts sound output on linux #88089
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#88089
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: manjaro-kde-21.0.3-210428-linux510 switched to linux512 kernel
Graphics card: rx6800
Blender Version
Broken: 2.93
Worked: (newest version of Blender that worked as expected)
Short description of error
hitting space in blender viewport corrupts sound output as long as blender is open.
Exact steps for others to reproduce the error
play some music in the background and hit space in the viewport to play animation, you should notice noise that is correlated with volume of the music. it stops upon closing blender.
Added subscriber: @leonardos
UPDATE: After switching Audio Device to none under System>Sound my issue went away, but still it should not have happened in first place.
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Is this about Jack?
Is this also happening with PulseAudio for example?
i dont know who jack is but yes, PulseAudio was default i switched to none and issue fixed
Changed status from 'Needs User Info' to: 'Needs Triage'
Jack is another soundsystem. If blender uses jack, then I can sort of reproduce other sound stopping ( but I think this is normal, one would probably have to wire connections up with qjackctl or something ).
PulseAudio is fine on my side though
yes my problem was with plusaudio
Added subscriber: @HDMaster84
I do experience the same issue on
System Information
Operating system: Linux-5.8.0-2-amd64-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66
Blender Version
Broken: version: 3.0.0 Alpha,
It's also for me PulseAudio specific so I switched to OpenAL in the preferences as a work around. JACK does not work (suspect it isn't installed properly).
My installed PulseAudio version is 13.0-5 (from apt output)
Added subscriber: @ankitm
related #87584 (weird audio noise when starting playback in blender) #86923 (Bledner-2.93 Pulseaudio crack in start playback)
Added subscriber: @neXyon
Unfortunately, I and a pulseaudio developer I talked to cannot reproduce the issue, but there are some things we can try:
Can you please try if the issue persists if you choose a different (bigger) mixing buffer size in the preferences?
If you can it would be nice to get a verbose log of pulseaudio about what happens between you starting blender and the start of the problem. You can increase the verbosity of pulseaudio's loggin with the command
pacmd set-log-level 4
if you know where to get the log (on my system it's in the journal). If not it might be easier to follow one of these guides to get a log:https://www.freedesktop.org/wiki/Software/PulseAudio/BugReports/#gettingverboseserverlogsfrompulseaudio
https://wiki.ubuntu.com/PulseAudio/Log
@HDMaster84 which distribution and version are you using? Ubuntu?
Changed status from 'Needs Triage' to: 'Needs User Info'
Animation playback in viewport corrupts sound output on linuxto PulseAudio: Animation playback in viewport corrupts sound output on linux@neXyon I am using Debian current testing.
Here is my
pacmd --version
:here is a very verbose log:
{F10158285}
I think the stuff around line 2790 looks interesting.
Thank you, I created an issue on the pulseuaudio issue tracker with your log.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
@neXyon : I assume we consider this "Confirmed"? or has this been resolved along with other commits lately?
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Sure! Unfortunately, I didn't get any responses yet from the issue in the pulseaudio tracker. Here's the link: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1221
Added subscriber: @MD.FahadHassan
Hi all, After inspecting pulse log What I think pulse is facing mismatch buffer and sample rate to sync with other sources. Could be wrong.
Although forcing mixing buffer beyond 4096 samples eliminates the statics. Hope it helps. Thanks.
Also, in 2.79 default driver was OpenAL. Not sure is it beneficial to use pulse in Blender?
O/S Mint 20.1
I wonder if that is the same issue @MD.FahadHassan - Can you check if increasing the mixing buffer size helps @HDMaster84, @leonardos? Unfortunately, there's still no progress in the pulseaudio bug report...
I just committed two more fixes for pulseaudio, I'm again not sure if they help, please check out a recent build of master (3.0.0 alpha), e.g.: https://builder.blender.org/download/experimental/blender-3.0.0-alpha+master.a217e043be2d-linux.x86_64-release.tar.xz
Seems to be solved for me. Thanks. Also tried different sample rates and it worked.
I guess the fixes you are talking are
a112adf16a
anda217e043be
SOLVED in Blender hash
a217e043be
Thanks!
O/S Mint 20.1
Changed status from 'Confirmed' to: 'Resolved'
Perfect, thanks for checking!