Bug 1694927

Summary: [regression] no audio after suspend
Product: [Fedora] Fedora Reporter: Pierre Ossman <pierre-bugzilla>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: lpoetter, rdieter, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-07 05:38:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pierre Ossman 2019-04-02 05:34:35 UTC
Description of problem:
PulseAudio fails to set up a sink for the built-in audio after suspend.

Version-Release number of selected component (if applicable):
pulseaudio-12.2-1.fc29.x86_64
alsa-lib-1.1.8-1.fc29.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Suspend machine
2. Resume machine
3. Play audio

Actual results:
Silence,

Expected results:
Sound in speakers.

Additional info:
ALSA shows the card and there is no issue playing stuff directly using aplay. So it is just PulseAudio that is upset. Restarting PulseAudio using "systemctl --user restart pulseaudio" does not fix the issue. There is also nothing of value in the journal:

> Apr 02 07:30:16 mjolnir.ossman.eu systemd[4467]: Stopping Sound Service...
> Apr 02 07:30:16 mjolnir.ossman.eu systemd[4467]: Stopped Sound Service.
> Apr 02 07:30:16 mjolnir.ossman.eu systemd[4467]: Starting Sound Service...
> Apr 02 07:30:17 mjolnir.ossman.eu systemd[4467]: Started Sound Service.
> Apr 02 07:30:17 mjolnir.ossman.eu pulseaudio[17742]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was >

This is rather critical as it means the machine can no longer use suspend, so I would be greatful if someone could have a look at this.

Audio device is:

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

Comment 1 Pierre Ossman 2019-04-02 05:35:17 UTC
Forgot to add that this is a regression that started when I upgraded from Fedora 28 to Fedora 29.

Comment 2 Pierre Ossman 2019-04-02 05:39:41 UTC
And just to confuse things further, there is a card set up, but not any sink for it. It shows a bunch of correct profiles, but all the profiles state "available: no".

Comment 3 Pierre Ossman 2019-05-07 05:38:31 UTC
This seems to have resolved itself after a kernel upgrade. Closing.