Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • PulseAudioPulseAudio
  • pulseaudiopulseaudio
  • Issues
  • #766

Only getting Dummy Output audio after resuming from suspend

Summary

After upgrading from Kubuntu 19.04 to Kubuntu 19.10 I've started having issues with only having a Dummy Output sometimes when resuming my PC from standby. I've noticed that this issue seems to occur somewhat randomly after some resumes but doesn't happen during others. Running pulseaudio -k always fixes the issue and it never occurs on a power-up or reboot.

Running journalctl --since "1 day ago" | grep pulseaudio after resuming my PC from standby gives the following output:

Nov 10 21:30:44 Linux-PC pulseaudio[3005]: W: [alsa-sink-ALC1150 Analog] alsa-util.c: Could not recover alsa device from SUSPENDED state, trying to restart PCM
Nov 10 21:30:44 Linux-PC pulseaudio[3005]: W: [alsa-source-ALC1150 Analog] alsa-util.c: Could not recover alsa device from SUSPENDED state, trying to restart PCM
Nov 10 21:30:44 Linux-PC pulseaudio[3005]: E: [alsa-source-ALC1150 Analog] alsa-source.c: Error opening PCM device front:0: No such file or directory
Nov 10 21:30:44 Linux-PC pulseaudio[3005]: E: [alsa-sink-ALC1150 Analog] alsa-sink.c: Error opening PCM device front:0: No such file or directory

environment

pia-info.txt

I am using Kubuntu 19.10 as my operating system with kernel 5.3.0-18-generic. I use both an optical output and an analog output for my sound.

I also have the following modifications in my default.pa config:

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink

The bug occurs with and without the modification

Steps to reproduce

  1. Suspend your PC
  2. Resume it from suspend
  3. Temporary fix can be performed by running pulseaudio -k

What is the current bug behavior?

The alsa device cannot recover from a suspended state causing a Dummy Output to be the only available audio device upon resuming.

What is the expected correct behavior?

The audio devices that were available/used before suspending being the same after resuming.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking