From owner-freebsd-questions Mon Mar 6 7:20:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from melete.ch.intel.com (melete.ch.intel.com [143.182.246.25]) by hub.freebsd.org (Postfix) with ESMTP id D737637BDC2; Mon, 6 Mar 2000 07:20:19 -0800 (PST) (envelope-from jreynold@sedona.ch.intel.com) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by melete.ch.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.19 2000/01/29 00:15:43 dmccart Exp $) with ESMTP id PAA18570; Mon, 6 Mar 2000 15:21:48 GMT Received: from hip186.ch.intel.com (hip186.ch.intel.com [143.182.225.68]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.10 2000/02/10 21:38:16 steved Exp $) with ESMTP id IAA03805; Mon, 6 Mar 2000 08:20:13 -0700 (MST) X-Envelope-From: jreynold@sedona.ch.intel.com Received: (from jreynold@localhost) by hip186.ch.intel.com (8.9.1a/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id KAA29073; Mon, 6 Mar 2000 10:20:13 -0500 (EST) X-Authentication-Warning: hip186.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f From: John Reynolds~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14531.52397.502544.79357@hip186.ch.intel.com> Date: Mon, 6 Mar 2000 08:20:13 -0700 (MST) To: Coleman Kane Cc: Michael Hohmuth , wsanborn@uswest.net, questions@freebsd.org, multimedia@freebsd.org Subject: Re: xmms 1.0.1 uses 95% cpu 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> X-Mailer: VM 6.75 under Emacs 20.3.11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ 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~ 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-questions" in the body of the message