Bug 295462 - knotify4 using gstreamer as phonon-backend consumes CPU when idle
Summary: knotify4 using gstreamer as phonon-backend consumes CPU when idle
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.5.1
Platform: Ubuntu Linux
: NOR major
Target Milestone: 4.6.1
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 11:26 UTC by Johann Höchtl
Modified: 2012-05-16 08:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Höchtl 2012-03-07 11:26:40 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build Identifier: 

knotify4 when using phonon gstreamer backend consumes way to much CPU cycles.

Reproducible: Always

Steps to Reproduce:
0. KDE 4.7.4 and upwards (possibly earlier versions)
1.System settings / Application and System Notifications: Player Settings: Assure, that "Use the KDE sound system" is ticked.
2.System settings / Multimedia / Phonon / Backend: Assure that GStreamer is the Phonon backend (here version 4.5.1.)
3.Open Terminal, run "top", let the system go idle. knotify4 is on top (using 2% CPU, speed dependent, of course)




3. Disabling sound notifications to "No audio output" (log out after setting) or using vlc as the phonon backend makes CPU usage go away.

Calling it a major bug as it consumes loads of CPU cycels for no good, causing thermal heat, dying laptop batteries and makes upcoming RC6 GPU sleep rather pointless for KDE gstreamer default installations.
Comment 1 Myriam Schweingruber 2012-03-08 11:10:22 UTC
The problem doesn't appear for me here, using the phonon-backend-gstreamer 4.6. Could you please upgrade and see if that still happens for you?

Using Kubuntu 12.04 beta1, KDE 4.8.1, Qt 4.8
Comment 2 Johann Höchtl 2012-03-08 13:43:20 UTC
I will have to wait until Kubuntu 12.04 is out. Or is there a way to test gstreamer backend V 4.6 on Kubuntu 11.10?
Comment 3 Myriam Schweingruber 2012-03-08 15:48:05 UTC
(In reply to comment #2)
> I will have to wait until Kubuntu 12.04 is out. Or is there a way to test
> gstreamer backend V 4.6 on Kubuntu 11.10?

Keep an eye on https://launchpad.net/~kubuntu-ppa/+archive/backports, they should backport it these days.
Comment 4 Johann Höchtl 2012-05-13 18:58:52 UTC
This bug does not persist any more with KDE 4.8.2 (as of Kubuntu 12.04)
Comment 5 Myriam Schweingruber 2012-05-16 08:22:25 UTC
Thank you for the feedback, closing then.