Ticket #265 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Pulseaudio eating cpu after suspend resume

Reported by: FabianS Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

Hi!

I have a pulseaudio process eating 15% cpu after a susped resume on my laptop. I actually don't know if that was the bug triggering event but was one of the last actions. I added an strace of the pulseaudio process and part if it is:

gettimeofday({1206386168, 569502}, NULL) = 0 read(14, "\1\0\0\0\0\0\0\0", 8) = 8 send(34, "\0\0\0\24\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20, MSG_NOSIGNAL) = 20 gettimeofday({1206386168, 570174}, NULL) = 0 poll([{fd=3, events=POLLIN}, {fd=32, events=POLLIN}, {fd=34, events=POLLIN|POLLOUT, revents=POLLOUT}, {fd=33, events=POLLIN}, {fd=31, events=POLLIN}, {fd=30, events=POLLIN}, {fd=29, events=POLLIN}, {fd=28, events=POLLIN}, {fd=27, events=POLLIN}, {fd=26, events=POLLIN}, {fd=22, events=POLLIN}, {fd=16, events=POLLIN}, {fd=9, events=POLLIN}, {fd=15, events=POLLIN}, {fd=21, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 24, 1526) = 1 gettimeofday({1206386168, 570651}, NULL) = 0

I am runnung Ubuntu Hardy with pulseaudio 0.9.9

Thanks, Fabian

Change History

Changed 4 years ago by FabianS

I wanted to attach the strace output but a few seconds running it already produced a 14Mb file which is too much for a bug. But since it only contains lines like the ones above repeating thousands of times I guess it is of no use anyways.

Fabian

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to invalid

This is a bug in ALSA not in PA. The driver doesn't properly restart playback after a resume. Please contact upstream ALSA.

I will close this bug now. Feel free to reopen if it turns out that ALSA behaves correctly (which I am pretty sure it doesn't).

Note: See TracTickets for help on using tickets.