100% CPU when playing with or without crossfading

Bug #521871 reported by claim
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Low
Unassigned
Nominated for Lucid by Lionel Dricot
rhythmbox (Ubuntu)
Expired
Medium
Unassigned
Nominated for Lucid by Lionel Dricot

Bug Description

Binary package hint: rhythmbox

CPU usage rises to 100% (one core fully occupied) for Rhythmbox, with or without crossfading enabled. When I stop the playing, the CPU usage comes back to normal, but then when I re-play it, it's again 100%. I have to restart the app to get it working normally, but I never know when I'm going to have to restart it again.

It's really pissing off especially when the cooler kicks in ;D so please let me know if I could help you doing some tests or something.

I've had this problem re-occuring for several months now; I can't quite even tell which version of rhythmbox it was back then.

ProblemType: Bug
Architecture: i386
Date: Sun Feb 14 20:48:03 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/rhythmbox
NonfreeKernelModules: wl
Package: rhythmbox 0.12.5-0ubuntu5.2
ProcEnviron:
 LANGUAGE=pl_PL.UTF-8
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-18.55-generic
SourcePackage: rhythmbox
Uname: Linux 2.6.31-18-generic i686

Revision history for this message
claim (claim-interia) wrote :
Revision history for this message
Daniel K (sinani201) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Revision history for this message
claim (claim-interia) wrote :

Well, it is reproducible in the way that it re-occurs unfortunately - it's not like it's happened once or twice. How to recreate the bug? All I have to do is just play some mp3's. However, I seem to have no influence on when it goes to 100% on cpu. I think it usually happens after some time it's been playing.

Like I said, I've been experiencing this problem for quite a while. I hadn't reported it earlier, because I hoped it'd get fixed eventually :-) Yesterday, I made sure that it isn't related with crossfading or the shuffle being on or off.

I realise that my description is very vague, but I don't know actually what kind of information you might find helpful. Just please tell how I can get more data about the problem for you as I really want to help.

Revision history for this message
Daniel K (sinani201) wrote :

When the CPU usage goes to 100%, does it stay at 100% forever? That is, does it ever go back down to normal without pausing?

Revision history for this message
claim (claim-interia) wrote :

> When the CPU usage goes to 100%, does it stay at 100% forever? That is, does it ever go back down to normal without pausing?
Well, can't tell about forever - don't have that much time ;-) - but it does seem like it could stay at 100% forever.

One more observation: when I change the song manually (that is - when it's not changed automatically), it goes back to normal.

Revision history for this message
Daniel K (sinani201) wrote :

How much RAM do you have on your machine? While Ubuntu is built to run on low hardware specs, low RAM storage could contribute to the problem.

If this problem is bugging you, I would recommend switching to Songbird or Amarok temporarily if you would like to listen to music. I believe that your bug is valid, but I don't think that there is enough information present for a developer to fix it.

Revision history for this message
claim (claim-interia) wrote :

> How much RAM do you have on your machine? While Ubuntu is built to run on low hardware specs, low RAM storage could
> contribute to the problem.

2GB and the CPU is p8400 (2x2.26GHz)

> I believe that your bug is valid, but I don't think that there is enough information present for a developer to fix it.

Yeah, I agree.. That's why I asked for some hint on how I can get you more information about the problem. Anyway, thanks for your time!

Revision history for this message
Virgil Brummond (uraharakisuke153) wrote :

This bug effects me on Lucid AMD64. It is reproducible; Any time I play any song Rhythmbox shows up using 50% in top. I have two cores, AMD Athlon 64 x2 3800+. I have tested both OGG and FLAC audio, and it effects both of them.

Version: 0.12.6git20100218

Changed in rhythmbox (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I confirm that there's a huge performance problem with rhythmbox in Lucid Beta 1.

Playing music a song with RB permanently consumes 20-30% of my CPU with approximately 10% of my RAM according to top (I've 1Go of RAM).

I've disabled all plugins, crossfading and music library automatic update. This decreased the RAM usage of approximately 50%. But the CPU remains really high. Browsing Launchpad with Epiphany is not possible with RB playing, the CPU fan is constantly running.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

The problem also happens with Banshee. This happened also in Karmic Beta if I remember correctly and it was a pulseaudio problem. I highly suspect pulseaudio in this case too as the pa process is taking a lot of CPU.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Do you have rtp and/or combined enabled for pulse sinks?

e.g., install paprefs, and check System > Preferences > PulseAudio Preferences > Multicast/RTP, Simultaneous Output

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Re: [Bug 521871] Re: 100% CPU when playing with or without crossfading

Le samedi 20 mars 2010 à 19:34 +0000, Daniel T Chen a écrit :
> Do you have rtp and/or combined enabled for pulse sinks?
>
> e.g., install paprefs, and check System > Preferences > PulseAudio
> Preferences > Multicast/RTP, Simultaneous Output

I've installed paprefs and everything is unchecked in any of the 4 tabs.
RTP and Combined are not enabled.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

I can confirm this bug on another computer. The CPU is a lot more powerful so the bug is less annoying but nonetheless present (taking 20% of the CPU when RB is playing)

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

BTW, my test case is quite simple : browsing identi.ca website with Epiphany. When RB is playing, it's nearly impossible on all computers I have tested.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please use apport-collect -p alsa-base 521871

affects: pulseaudio (Ubuntu) → alsa-driver (Ubuntu)
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ploum 1322 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x44080000 irq 22'
   Mixer name : 'Analog Devices AD1981'
   Components : 'HDA:11d41981,11790311,00100200 HDA:11c13026,11790001,00100700'
   Controls : 13
   Simple ctrls : 11
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Tags: lucid
Uname: Linux 2.6.32-16-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : AlsaDevices.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : AplayDevices.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : ArecordDevices.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : BootDmesg.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : Dependencies.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : PciMultimedia.txt

apport information

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Daniel T Chen (crimsun) wrote :

Lionel, please file a separate bug report.

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Daniel > Is my problem different than the current one ? What should I put in this new bug report ?

Brad Figg (brad-figg)
tags: added: karmic
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in alsa-driver (Ubuntu):
importance: Undecided → Low
Changed in rhythmbox (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for rhythmbox (Ubuntu) because there has been no activity for 60 days.]

Changed in rhythmbox (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.