Pulseaudio is sometimes broken after resume from suspend

Bug #1820743 reported by Pedro Côrte-Real
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Sometimes when resuming from suspend pulseaudio is broken and only the dummy output is available. After "pulseaudio -k" audio again works. Here's what I found in the logs:

$ journalctl --since "1 day ago" | grep pulseaudio
Mar 17 19:40:51 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Mar 17 21:29:49 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Mar 18 09:01:13 coulson pulseaudio[9869]: [alsa-sink-ALC293 Analog] alsa-sink.c: snd_pcm_mmap_begin: File descriptor in bad state
Mar 18 09:06:25 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Mar 18 09:32:40 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Mar 18 09:47:36 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.
Mar 18 18:16:42 coulson pulseaudio[9447]: W: [pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.

--- Here I ran pulseaudio -k ---

Mar 18 19:08:13 coulson pulseaudio[26606]: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Mar 18 19:08:13 coulson pulseaudio[26612]: [pulseaudio] pid.c: Daemon already running.
Mar 18 19:08:13 coulson pulseaudio[26614]: [pulseaudio] pid.c: Daemon already running.
Mar 18 19:08:13 coulson pulseaudio[26616]: [pulseaudio] pid.c: Daemon already running.

The "Failed to create sink input" seems to happen on every resume but only some times does it actually break. Don't know if the ofono message is related or not.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7.2
ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pedrocr 26606 F.... pulseaudio
CurrentDesktop: GNOME
Date: Mon Mar 18 19:11:09 2019
InstallationDate: Installed on 2018-05-31 (291 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/22/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: N1CET66W (1.34 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20FAS5TS00
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN1CET66W(1.34):bd03/22/2018:svnLENOVO:pn20FAS5TS00:pvrThinkPadT460s:rvnLENOVO:rn20FAS5TS00:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T460s
dmi.product.name: 20FAS5TS00
dmi.product.version: ThinkPad T460s
dmi.sys.vendor: LENOVO

Revision history for this message
Pedro Côrte-Real (pedrocr) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
tags: added: resume suspend-resume
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.