PulseAudio: Audio Files Don't Play in Video Sequencer #88507

Closed
opened 2021-05-23 20:15:06 +02:00 by Stanley · 21 comments

System Information
Operating system: Linux-5.4.0-73-generic-x86_64-with-glibc2.28 64 Bits
Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.4.0-73-generic, LLVM 10.0.0) X.Org 3.3 (Core Profile) Mesa 20.0.8

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-21 18:43, hash: d5c3bff6e7
Worked: (newest version of Blender that worked as expected)

P.S. I downloaded this version:

  May 23, 02:59:17 - blender-v293-release - d5c3bff6e774 - tar.xz - 149.34MB

P.P.S. Is it supposed to say d5c3bff6e7, which is the same as the May 22 build?

 And my bug report says "commit date: 2021-05-21".
 And the splash screen doesn't say the specific version. It just says "2.93.0 Beta".
 I tried using the latest daily build of 2.93. I'm new to reporting bugs.

P.S even though this is the same as a previous bug report, that previous report is marked resolved from 9 months ago. But it apparently isn't resolved, at least in the version of Blender I used.
Previous similar bug report:
https://developer.blender.org/T79544

Short description of error
No sound in video sequencer preview.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]

  Boot blender with factory startup.
  Modify editor type to "Video Sequencer".
  Add an m4a sound file to frame 1.
  Press play animation button.
  No sound is played.
  mp3's don't work either.
  Moving audio strip to another channel doesn't work, either.

But both m4a and mp3 works in Blender 2.92 stable.

System Info txt file:
system-info.txt

**System Information** Operating system: Linux-5.4.0-73-generic-x86_64-with-glibc2.28 64 Bits Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.4.0-73-generic, LLVM 10.0.0) X.Org 3.3 (Core Profile) Mesa 20.0.8 **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-21 18:43, hash: `d5c3bff6e7` Worked: (newest version of Blender that worked as expected) P.S. I downloaded this version: ``` May 23, 02:59:17 - blender-v293-release - d5c3bff6e774 - tar.xz - 149.34MB ``` P.P.S. Is it supposed to say d5c3bff6e774, which is the same as the May 22 build? ``` And my bug report says "commit date: 2021-05-21". And the splash screen doesn't say the specific version. It just says "2.93.0 Beta". I tried using the latest daily build of 2.93. I'm new to reporting bugs. ``` P.S even though this is the same as a previous bug report, that previous report is marked resolved from 9 months ago. But it apparently isn't resolved, at least in the version of Blender I used. Previous similar bug report: https://developer.blender.org/T79544 **Short description of error** No sound in video sequencer preview. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] ``` Boot blender with factory startup. Modify editor type to "Video Sequencer". Add an m4a sound file to frame 1. Press play animation button. No sound is played. mp3's don't work either. Moving audio strip to another channel doesn't work, either. ``` But both m4a and mp3 works in Blender 2.92 stable. System Info txt file: [system-info.txt](https://archive.blender.org/developer/F10137290/system-info.txt)
Author

Added subscriber: @A-Mix-of-Geek-Stuff

Added subscriber: @A-Mix-of-Geek-Stuff
Member

Added subscriber: @HDMaster84

Added subscriber: @HDMaster84
Member

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

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

Which sound system are you using? Its located at Preferences > System > Sound > Audio Device.

Which sound system are you using? Its located at Preferences > System > Sound > Audio Device.
Author

Audio Device was set to PulseAudio (in both May 23 and May 24 builds). I changed it to OpenAL - OpenAL Soft, which is what stable Blender 2.92 was set to, and now sound works for both audio formats (in both builds).

So, I guess set the factory default audio device to OpenAL - OpenAL Soft, please?

Thanks.

Audio Device was set to PulseAudio (in both May 23 and May 24 builds). I changed it to OpenAL - OpenAL Soft, which is what stable Blender 2.92 was set to, and now sound works for both audio formats (in both builds). So, I guess set the factory default audio device to OpenAL - OpenAL Soft, please? Thanks.
Member

You can try updating the pulse audio library, that at least helped here #87584. I Agree that PulseAudio was set a little to quick to default, even though it makes sense as a linux default.
Also see #88089 and #86923. Maybe you can also reproduce the crackling in the audio played by other programs.

You can try updating the pulse audio library, that at least helped here #87584. I Agree that PulseAudio was set a little to quick to default, even though it makes sense as a linux default. Also see #88089 and #86923. Maybe you can also reproduce the crackling in the audio played by other programs.
Philipp Oeser changed title from Audio Files Don't Play in Video Sequencer to PulseAudio: Audio Files Don't Play in Video Sequencer 2021-06-04 13:40:35 +02:00
Member

Added subscriber: @neXyon

Added subscriber: @neXyon
Member

@A-Mix-of-Geek-Stuff could you try if this build works with pulseaudio (!) on your system: https://builder.blender.org/download/experimental/blender-3.0.0-alpha+master.a112adf16a06-linux.x86_64-release.tar.xz

Also: which linux distribution are you using?

@A-Mix-of-Geek-Stuff could you try if this build works with pulseaudio (!) on your system: https://builder.blender.org/download/experimental/blender-3.0.0-alpha+master.a112adf16a06-linux.x86_64-release.tar.xz Also: which linux distribution are you using?
Author

@neXyon
Hi. It doesn't work right away. I have to change the Audio Device in Blender from PulseAudio to OpenAL - OpenAL Soft.

Here's the Linux I'm using (Zorin OS Lite):
stanley@stanley-MS-7593:~$ uname -a
Linux stanley-MS-7593 5.4.0-77-generic #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
stanley@stanley-MS-7593:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Zorin
Description: Zorin OS 15.3
Release: 15
Codename: bionic

P.S. Sorry, I didn't try updating my pulse audio library, and not sure how to do that or where to start.

@neXyon Hi. It doesn't work right away. I have to change the Audio Device in Blender from PulseAudio to OpenAL - OpenAL Soft. Here's the Linux I'm using (Zorin OS Lite): stanley@stanley-MS-7593:~$ uname -a Linux stanley-MS-7593 5.4.0-77-generic #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux stanley@stanley-MS-7593:~$ lsb_release -a No LSB modules are available. Distributor ID: Zorin Description: Zorin OS 15.3 Release: 15 Codename: bionic P.S. Sorry, I didn't try updating my pulse audio library, and not sure how to do that or where to start.
Member

I haven't heard of this distribution before. Does it even run PulseAudio? Could you try e.g. pactl list as command in a terminal and see if it outputs something? If that works, you can also try playing something with paplay <filename> where filename should be the path to an audio file (wav or ogg ideally, mp3 doesn't work, at least for me) and check if that works.

I haven't heard of this distribution before. Does it even run PulseAudio? Could you try e.g. `pactl list` as command in a terminal and see if it outputs something? If that works, you can also try playing something with `paplay <filename>` where filename should be the path to an audio file (wav or ogg ideally, mp3 doesn't work, at least for me) and check if that works.
Author

@neXyon I pasted the pactl list output into the attached text file.

paplay works for both wav or ogg.

pactl list audio from terminal ZorinOS Lite

Here's the website for the OS distribution I'm using:
https://zorinos.com/download/#lite

Note that I'm using the Lite version, which uses XFCE. The main paid version uses a different desktop environment iirc.

@neXyon I pasted the pactl list output into the attached text file. paplay works for both wav or ogg. [pactl list audio from terminal ZorinOS Lite](https://archive.blender.org/developer/F10211384/pactl_list_audio_from_terminal_ZorinOS_Lite) Here's the website for the OS distribution I'm using: https://zorinos.com/download/#lite Note that I'm using the Lite version, which uses XFCE. The main paid version uses a different desktop environment iirc.
Member

Okay, so you have pulseaudio and it works for other applications. Can you start playback in blender and then check if it shows up in pavucontrol (the pulseaudio volume control application, you might have to install it)? For me it looks like this: pavucontrol.png
Maybe Blender is assigned to the wrong audio device or so?

Okay, so you have pulseaudio and it works for other applications. Can you start playback in blender and then check if it shows up in pavucontrol (the pulseaudio volume control application, you might have to install it)? For me it looks like this: ![pavucontrol.png](https://archive.blender.org/developer/F10211893/pavucontrol.png) Maybe Blender is assigned to the wrong audio device or so?

Added subscriber: @blendsnicely

Added subscriber: @blendsnicely

I have the same problem on Gentoo - no sound from Blender.
It defaults to pulseaudio. I can change that setting as I please, but if it is set to pulse and I then play a video with sound trying to change this setting afterwards will freeze blender (kill -9 ..).
If I first change it to e.g. "OpenAL", then sound will be played as expected.

With both settings Blender shows up in pavucontrol, but with "audio device" set to "pulseaudio" the level meter in pavucontrol is "silence" while playing any video in Blender.

Edit: I am using Blender 2.93.1

I have the same problem on Gentoo - no sound from Blender. It defaults to pulseaudio. I can change that setting as I please, but if it is set to pulse and I then play a video with sound trying to change this setting afterwards will freeze blender (kill -9 ..). If I first change it to e.g. "OpenAL", then sound will be played as expected. With both settings Blender shows up in pavucontrol, but with "audio device" set to "pulseaudio" the level meter in pavucontrol is "silence" while playing any video in Blender. Edit: I am using Blender 2.93.1
Member

@blendsnicely did you try the 3.0.0 alpha daily build, if the problem is still there? https://builder.blender.org/download/daily/

@blendsnicely did you try the 3.0.0 alpha daily build, if the problem is still there? https://builder.blender.org/download/daily/

Added subscriber: @Lexx

Added subscriber: @Lexx
Member

Added subscriber: @DimitrisChloupis

Added subscriber: @DimitrisChloupis
Member

In #88507#1190019, @neXyon wrote:
@blendsnicely did you try the 3.0.0 alpha daily build, if the problem is still there? https://builder.blender.org/download/daily/

yes I can confirm the issue happening on Manjaro Linux , no sound, plus that it works well once it changed to openAL, so exact same issue but I am using latest blender 3 and I am on diffirent distro than @blendsnicely

So yes the problem is still active. The only problem is not happening in Blender 3 is the freezing

> In #88507#1190019, @neXyon wrote: > @blendsnicely did you try the 3.0.0 alpha daily build, if the problem is still there? https://builder.blender.org/download/daily/ yes I can confirm the issue happening on Manjaro Linux , no sound, plus that it works well once it changed to openAL, so exact same issue but I am using latest blender 3 and I am on diffirent distro than @blendsnicely So yes the problem is still active. The only problem is not happening in Blender 3 is the freezing
Contributor

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

Changed status from 'Needs User Info' to: 'Needs Triage'
Joerg Mueller self-assigned this 2021-11-05 07:45:28 +01:00
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Member

I assume this bug has been fixed with the recent changes to the PulseAudio backend. Please try to switch back to Pulse from OpenAL and feel free to reopen this bug or open another if you still have issues!

I assume this bug has been fixed with the recent changes to the PulseAudio backend. Please try to switch back to Pulse from OpenAL and feel free to reopen this bug or open another if you still have issues!
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
7 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#88507
No description provided.