On 26 July 2010 00:16, Niels Mayer <nielsmayer(a)gmail.com> wrote:
On Sun, Jul 25, 2010 at 2:16 PM, James Morris
<james(a)jwm-art.net> wrote:
CPU up to 99% here as soon as any audio plays and
GUI very sluggish.
Delta 66 AMD64 Gentoo.
That looks like it might be an instance of the bug I thought I'd
fixed. It's especially odd because I too have a Delta66 and AMD64 for
testing, but Fedora as distro.
Did you build with the default --with-gtk2=yes and what version of
gtk2 do you have?
Yes, used the default ./configure. Gtk version is 2.20.1.
If you switch to the Monitor PCMs panel (
http://nielsmayer.com/envy24control/Screenshot-Envy24Control-MonitorPCM.png
) first, then start the audio, does the same thing happen? In adding
the peak levels to the "Analog Volumes" panels, there's a complication
with the original way the code was written, so that I have to
special-case for the situation where the widgetry in "Monitor PCMs"
hasn't been configured yet.... It's an unfortunate hack, and a bug I
just fixed, so it's likely the source of the problem.
The levels start off looking as they should, but appear to accumulate
until peaked out after a couple of seconds. This is when it gets
sluggish - switching tabs will take a second at minimum. Hitting the
reset peaks buttons resets the levels but they immediately peak again
(ie the accumulation stays). After stopping the audio playing (sox
play on command line) the peaks take a couple of seconds to drop, and
CPU usages falls back to relatively normal levels.
Thanks for the feedback. Please let me know if the
suggestion above helps any
Part of the original reasons for these changes was to lower the CPU
usage, not raise it.
What's the CPU usage like running regular /usr/bin/envy24control ?
Negligible.