Bug 476848 - POLLERR/POLLOUT/PCM state messages on laptop suspend/resume.
POLLERR/POLLOUT/PCM state messages on laptop suspend/resume.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: pulseaudio (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Lennart Poettering
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-17 09:42 EST by Tom London
Modified: 2008-12-17 16:59 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-12-17 16:59:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom London 2008-12-17 09:42:24 EST
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 16:59:16 EST
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.