After suspend/resume, no sound with pulseaudio

Bug #1355025 reported by Julien Aubin
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

HI,

I've remarked the following bug, at least under KDE :
DO : open your KDE session
DO : launch an app which has not been set compliant with pulseaudio (for example, Skype 4.2, but in that case you need to log into the service so that it plays a sound - issue no longer reproducible with 4.3. This also works with Steam games like Civ5)
DO : quit the app
DO : suspend
DO : wait some time, for example 15 minutes
DO : resume
DO : try to trigger a sound, anything (the sound tester applet in KDE is enough)
EXPECT : you hear sound
ACTUAL : no sound at all. Note that if you run pulseaudio -k, sound is partially restored... only for KDE apps. The only way to restore sound completely is to logout/login

Reproducibility : always
Tested on Kubuntu Trusty AMD64

My hardware :
AMD Phenom x4 9850
8 GB RAM
Asus M2N-SLI Deluxe
NVidia GeForce 660 Ti

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pulseaudio 1:4.0-0ubuntu11
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: julien 4967 F.... pulseaudio
                      julien 31643 F.... pulseaudio
 /dev/snd/controlC0: julien 4967 F.... pulseaudio
                      julien 31643 F.... pulseaudio
CurrentDesktop: KDE
Date: Mon Aug 11 08:42:19 2014
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to trusty on 2014-03-20 (143 days ago)
dmi.bios.date: 10/02/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS M2N-SLI DELUXE ACPI BIOS Revision 1701
dmi.board.name: M2N-SLI DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSM2N-SLIDELUXEACPIBIOSRevision1701:bd10/02/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2N-SLIDELUXE:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Julien Aubin (gojulgarbmail) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

Default sink name: alsa_output.pci-0000_03_00.1.hdmi-stereo
Default source name: alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor

[ 9179.697137] gnome-screensav[23415]: segfault at 7f7b00000000 ip 00007f7bd0d06293 sp 00007fff106811f0 error 4 in gameoverlayrenderer.so[7f7bd0cfb000

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Raymond (superquad-vortex2) wrote :

you have to provide pulseaudio verbose log and system log during suspend and resume if hdmi is selected instead of analog after suspend and resume

Revision history for this message
Julien Aubin (gojulgarbmail) wrote :

Hi,

Analog is always selected (but it's true that my graphics card appears as a sound card, which might be the source of the issue).

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Raymond (superquad-vortex2) wrote :

look like pulseaudio bug since line out is plugged but front panel headphone does not support Jack detection and

HDMI cannot be default sink when your HDMI jacks are unplugged

control.46 {
  iface CARD
  name 'Line Out Front Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.47 {
  iface CARD
  name 'Line Out Surround Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.48 {
  iface CARD
  name 'Line Out CLFE Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.49 {
  iface CARD
  name 'Line Out Side Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.50 {
  iface CARD
  name 'Front Headphone Phantom Jack'
  value true
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

state.NVidia_1 {
 control.1 {
  iface CARD
  name 'HDMI/DP,pcm=3 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

control.7 {
  iface CARD
  name 'HDMI/DP,pcm=7 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

 control.13 {
  iface CARD
  name 'HDMI/DP,pcm=8 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

control.19 {
  iface CARD
  name 'HDMI/DP,pcm=9 Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Julien Aubin (gojulgarbmail) wrote :

Hi,

The trick is that I could reproduce exactly the same issue on my Dell Inspiron 1525 (without HDMI sound card) before I upgraded its Skype to version 4.3, as long as Skype was connected. So it does not seem to have anything to see with HDMI but with something else.

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Julien Aubin (gojulgarbmail) wrote :

Note that the bug only occurs when apps not compatible with PA 4.0 are started. With other apps the issue does not occur.

Revision history for this message
Raymond (superquad-vortex2) wrote :

not only screen saver set fault, dbus also seg fault

.176078] sleep[23469]: segfault at 7fddc1410c88 ip 00007fddc1410c88 sp 00007fff541a9db8 error 15 in libc-2.19.so[7fddc1410000+2000]
[ 9247.490707] dbus-send[23603]: segfault at 7f0efaa1dc88 ip 00007f0efaa1dc88 sp 00007fff9bf16f28 error 15 in libc-2.19.so[7f0efaa1d000+2000]
[ 9249.755295] gnome-screensav[23612]: segfault at 7f0700000000 ip 00007f07b9841293 sp 00007fff67aae5e0 error 4 in gameoverlayrenderer.so[7f07b9836000+32000]

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
Revision history for this message
yoyoma2 (sinbad-4273) wrote :

Found a workaround to this bug:

http://askubuntu.com/questions/507950/no-sound-in-ubuntu-14-04-x64

Steps to reproduce bug:

1) install playonlinux
2) install "Microsoft Spider Solitaire" inside playonlinux
3) run "Microsoft Spider Solitaire" (enable sound effects in Spider Solitaire options)
4) exit solitaire and playonlinux
5) suspend
= No sound after resume

Changed in pulseaudio (Ubuntu):
status: Confirmed → Fix Released
Changed in pulseaudio (Ubuntu):
status: Fix Released → 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.