[jaunty] after playing a flash video (youtube) there are a huge amount of wakeups from pulseaudio

Bug #322250 reported by Matteo Collina on 2009-01-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Daniel T Chen

Bug Description

Binary package hint: pulseaudio

After playing a video on youtube pulseaudio remains active and cause a huge amount of wakeups.

Wakeups-from-idle per second : 796,7 interval: 10,0s
Power usage (ACPI estimate): 18,6W (3,0 hours)

Top causes for wakeups:
  21,1% (314,5) pulseaudio : common_timer_set (posix_timer_fn)
  18,9% (280,8) <interrupt> : i915@pci:0000:00:02.0
  18,1% (268,9) pulseaudio : schedule_hrtimeout_range (hrtimer_wakeup)

Sidarth Dasari (sirsid) wrote :

How do you check number of wakeups, I would like to test this on my system to confirm.

Matteo Collina (matteo-collina) wrote :

You should use the powertop tool.

sudo apt-get install powertop

sudo powertop

Matteo Collina (matteo-collina) wrote :

This is quite an annoying bug because it reduces battery life.
It doesn't happen with Banshee or Skype for example.
Even if the culprit is likely the adobe flash plugin I think it should be worked around because a lot of people uses it every day.

To reproduce this bug start the powertop tool, play a video on youtube with firefox, then close that tab. You'll see that huge amount of wakeups from pulseaudio.

Daniel T Chen (crimsun) wrote :

If PulseAudio is configured in glitch-free mode, then this symptom will occur. You can either not use PulseAudio or configure a different resampler. Obviously neither option is optimal.

Changed in pulseaudio:
importance: Undecided → Low
status: New → Confirmed
Matteo Collina (matteo-collina) wrote :

How can I configure a different resampler?

It's a big problem if this bug isn't fixed before Jaunty is shipped because it'll reduce battery life on a lot of notebooks.

Daniel T Chen (crimsun) on 2009-03-04
Changed in pulseaudio:
assignee: nobody → crimsun
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 0.9.14-0ubuntu11

pulseaudio (0.9.14-0ubuntu11) jaunty; urgency=low

  [ Daniel T Chen ]
  * Reenable 0030_set_tsched0.patch, which re-disables glitch-free;
    too many users are reporting regressions and audio aberrations.
  * Adjust 0003_change_resample_and_buffering.patch to use linear
    resampler to work better with lack of PREEMPT in jaunty's
    -generic kernel config (LP: #207135, #322250, #332761, #335955,
    LP: #336965).
  * Last upload, specifically 0091_workaround_alsa_horkage, fixes:
    LP: #235990, #237443, #279847, #317997, #323185, #330814,
    LP: #334874.
  * sudo -H change in ubuntu6 fixed LP: #312505.
  * Closing old bugs fixed in 0.9.11+: LP: #187963, #193520, #211052.
  * Refresh 0006_regen-autotools.patch.
  * Add 0043_load_sample_dir_lazy.patch to cache
    /usr/share/sounds/ubuntu/stereo/* in default.pa.
  * debian/:
    - control: Build against libcap2-dev (LP: #339448);
    - copyright: Update copyright from Debian's 0.9.14-2;
    - rules: Add DEB_OPT_FLAG = -O3 as per recommendation from
  * Refresh fixes from git HEAD:
    - 0038_handle_errno_properly.patch,
    - 0091_workaround_alsa_horkage.patch,
    - 0092_fix_null_pointer_access.patch.

  [ Luke Yelavich ]
  * Add a special case to prevent Pulseaudio from being started when the
    blindness accessibility profile has been enabled from the Ubuntu live CD,
    and for an accessibility install. Unfortunately Pulseaudio and speech do
    not currently work very well with each other, and its too late in
    the cycle to solve this problem any other way.

 -- Luke Yelavich <email address hidden> Tue, 10 Mar 2009 09:00:40 +1100

Changed in pulseaudio:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers