From owner-freebsd-multimedia Sat Mar 4 13:34:42 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from kumr.lns.com (kumr.lns.com [140.174.7.1]) by hub.freebsd.org (Postfix) with ESMTP id 6314737B79D; Sat, 4 Mar 2000 13:34:38 -0800 (PST) (envelope-from pozar@kumr.lns.com) Received: (from pozar@localhost) by kumr.lns.com (8.9.3/8.9.3) id NAA37555; Sat, 4 Mar 2000 13:34:05 -0800 (PST) (envelope-from pozar) Date: Sat, 4 Mar 2000 13:34:05 -0800 From: Tim Pozar To: Coleman Kane Cc: Michael Hohmuth , John Reynolds~ , wsanborn@uswest.net, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: xmms 1.0.1 uses 95% cpu Message-ID: <20000304133405.B39182@lns.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000304145208.A17196@evil.2y.net>; from cokane@one.net on Sat, Mar 04, 2000 at 02:52:08PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Mar 04, 2000 at 02:52:08PM -0500, 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! Sounds like some while{} loop that needs a sleep(1) in it. > 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. > > > > > Does 4.0 suffer this problem too? > > > > I have no idea. 4.0 has a new, different sound driver. > > > > Michael -- Snail: Tim Pozar / LNS / 1978 45th Ave / San Francisco CA 94116 / USA POTS: +1 415 665 3790 Radio: KC6GNJ / KAE6247 "It's a damn poor mind that can only think of one way to spell a word." - Andrew Jackson "What is wanted is not the will to believe, but the will to find out, which is the exact opposite." - Bertrand Russel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message