Public bug reported: When playing music using gstreamer & alsa, the cpu usage is higher then expected compare to other configuration.
Step to reproduce : gst-launch filesrc location='any.mp3' ! mad ! audioconvert ! alsasink With great help of gstreamer and alsa developers we manage to identify the problem come from the dmix'ed default device in alsa. To completely fix the problem, I add the following line in /etc/asound.conf defaults.pcm.dmix.rate 44100 The result is starting from a 17% cpu usage to 3%. The conclusion is Alsa are not using the right sample rate in dmix. ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 Package: gstreamer0.10-alsa 0.10.22-5 ProcEnviron: SHELL=/bin/bash LANG=en_CA.UTF-8 SourcePackage: gst-plugins-base0.10 Uname: Linux 2.6.29-02062903-generic i686 ** Affects: gst-plugins-base0.10 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- gstreamer/alsa high cpu usage (wrong sample rate) https://bugs.launchpad.net/bugs/391861 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs