Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 08:20:13 -0700 (MST)
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Coleman Kane <cokane@one.net>
Cc:        Michael Hohmuth <hohmuth@innocent.com>, wsanborn@uswest.net, questions@freebsd.org, multimedia@freebsd.org
Subject:   Re: xmms 1.0.1 uses 95% cpu
Message-ID:  <14531.52397.502544.79357@hip186.ch.intel.com>
In-Reply-To: <20000304145208.A17196@evil.2y.net>
References:  <20000223215739.B326@marder-1> <38BE3C3C.17337.42ADED6@localhost> <14526.45359.533982.635973@hip186.ch.intel.com> <87itz4q5hn.fsf@olymp.sax.de> <20000304145208.A17196@evil.2y.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Saturday, March 4, Coleman Kane wrote: ]
> I noticed this too, I have found that it chews more CPU when not playing music!
> It uses about 96% cpu on my box when stopped or paused, compared to 83% when
> playing audio!
> 
> --cokane
> 
> Michael Hohmuth had the audacity to say:
> > [ I have missed the beginning of the thread -- I hope I do not miss
> >   the point completely. ]
> > 
> > John Reynolds~ <jreynold@sedona.ch.intel.com> writes:
> > 
> > > which version of xmms? 0.9.5.1 is the one I've reverted to, but the latest one
> > > in the ports tree, 1.0.1, sucks even worse for performance.
> > > 
> > > With 0.9.5.1 the scope and volume controls update and "respond" normally to
> > > mouse events, etc. It just chews the crap out of CPU. With 1.0.1, the scope
> > > updates about once per second and the volume/seek controls are completely
> > > unresponsive (just as was mentioned in a previous posting on this topic).
> > 
> > I believe that you are experiencing a driver problem: XMMS 1.0 uses
> > select() or poll() which some sound drivers do not implement.  
> > 
> > I fixed this particular problem by implementing poll() for the
> > ES1370/ES1371 PCI driver in FreeBSD-STABLE (used by the Soundblaster
> > AudioPCI 128, for example).  See bug report kern/16709 for my patch.

Please apply the patch Michael speaks of here (in kern/16709). If you can't
get it to apply, I can send you the patch. 

At any rate, the patch didn't work for me, although it did make xmms 1.0.1
usable from its GUI and 'scope' standpoint. Still hogs CPU.

It's definitely an "xmms thing" because mpg123 only chews about 4% of my CPU
playing any song on earth. But, xmms "didn't used to do this," (even on
version 0.9.5.1) so there's something that's been committed to the pcm0 driver
code that needs to be tracked down and speared....

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               WCCG, CCE, Higher Levels of Abstraction       |
| Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512 |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14531.52397.502544.79357>