Ticket #459 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

PulseAudio ALSA-plugin streams "hang" on suspend/resume

Reported by: clconway Owned by: lennart
Milestone: Component: module-alsa-*
Keywords: Cc:

Description

I've had this problem particularly with the Flash plugin to Firefox, but also with Totem and Amarok. This happens any time I suspend the computer while there is an active "ALSA plugin [firefox]" stream in pavucontrol. On resume, the pulseaudio daemon logs the following messages:

D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_logicaldev_input_4, member=Condition
W: module-alsa-sink.c: Got POLLERR from ALSA
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified

After resume, no applications can play sound and videos freeze up. There is still an "ALSA plug-in [firefox]" stream in pavucontrol. Terminating the stream allows other (non-Firefox) applications to play sound. Restarting Firefox re-enables sound in Flash videos.

I have previously reported this bug to Ubuntu Launchpad and ALSA Mantis with no resolution. Additional information, including system logs, is available in Launchpad.

kernel version: 2.6.27-11-generic

audio hw:
Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller

Packages:

acpid 1.0.6-9ubuntu4
apmd 3.2.2-10ubuntu1
firefox 3.0.5+nobinonly-0ubuntu0.8.10.1
flashplugin-nonfree 10.0.15.3ubuntu1~intrepid1
libao-pulse 0.9.3-1
libasound2 1.0.17a-0ubuntu4
pulseaudio 0.9.10-2ubuntu9.2

libflashsupport is not installed.

Change History

Changed 3 years ago by clconway

This problem disappeared after I wiped my disk and did a fresh OS install (for unrelated reasons). Obviously, it had something to do with bad configuration files. I still have backups of my old configuration files, and would be glad to provide any requested information if it would help solve this problem for others.

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • component changed from daemon to module-alsa-*

I am pretty sure we handle suspend/resume properly these days in PA. Remaining issues usually point to driver problems. Since the problem is gone anyway for the reporter and 0.9.10 is pretty old I am closing this now.

Note: See TracTickets for help on using tickets.