Bug 476848 - POLLERR/POLLOUT/PCM state messages on laptop suspend/resume.
Summary: POLLERR/POLLOUT/PCM state messages on laptop suspend/resume.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-17 14:42 UTC by Tom London
Modified: 2008-12-17 21:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-17 21:59:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tom London 2008-12-17 14:42:24 UTC
Description of problem:
I suspended my rawhide system while rhythmbox/pulseaudio was playing.

Audio during suspend was "choppy", that is, it sounded like the "last buffer" was repeated a number of times before the system "went to sleep".  I suspect that cannot be helped...

When I resumed, all came back perfectly, including rhythmbox/pulseaudio continuing to play right where it left off.  This is very impressive.

Examining /var/log/messages, I notice the following.  Not sure this is a bug/issue, or just INFO type logging, so feel free to close as appropriate.

Dec 17 06:28:44 tlondon kernel: PM: resume devices took 3.154 seconds
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: snd_pcm_avail_update() returned a value that is exceptionally large: 534428 bytes (3029 ms) Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.
Dec 17 06:28:44 tlondon pulseaudio[3085]: module-alsa-sink.c: Increasing wakeup watermark to 40.00 ms
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: Got POLLERR from ALSA
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: Got POLLOUT from ALSA
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: PCM state is SUSPENDED
Dec 17 06:28:44 tlondon kernel: Restarting tasks ... done.
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: Got POLLERR from ALSA
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: Got POLLOUT from ALSA
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: PCM state is RUNNING
Dec 17 06:28:44 tlondon pulseaudio[3085]: alsa-util.c: Got POLLERR from ALSA

The last 3 messages are repeated many times.

As stated above, sound appears 100% functional.


Version-Release number of selected component (if applicable):
pulseaudio-0.9.13-7.fc11.x86_64

How reproducible:
Believe so.....

Steps to Reproduce:
1. Suspend while rhythmbox is playing
2. Resume
3. Check log
  
Actual results:


Expected results:


Additional info:

Comment 1 Lennart Poettering 2008-12-17 21:59:16 UTC
These messages are mostly informational to help debugging the cases were resuming does not work properly.

Upstream I have now downgraded the three messages so that they are only shown in verbose/debug mode.


Note You need to log in before you can comment on or make changes to this bug.