From owner-freebsd-current@FreeBSD.ORG Tue Apr 15 18:35:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BD8937B401 for ; Tue, 15 Apr 2003 18:35:55 -0700 (PDT) Received: from ip68-14-60-78.no.no.cox.net (ip68-14-60-78.no.no.cox.net [68.14.60.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C61F43FB1 for ; Tue, 15 Apr 2003 18:35:54 -0700 (PDT) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: from ip68-14-60-78.no.no.cox.net (conrads@localhost [127.0.0.1]) h3G1ZQQO009636; Tue, 15 Apr 2003 20:35:26 -0500 (CDT) (envelope-from conrads@ip68-14-60-78.no.no.cox.net) Received: (from conrads@localhost)h3G1ZPoY009635; Tue, 15 Apr 2003 20:35:25 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3E9C7472.7040500@ezri.org> Date: Tue, 15 Apr 2003 20:35:25 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: Conrad Sabatier To: Wade Majors cc: current@freebsd.org cc: Orion Hodson Subject: Re: Adjusting pcm buffersize? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 01:35:55 -0000 On 15-Apr-2003 Wade Majors wrote: > Ok, Orion Hodson is a genius. I don't know how he diagnoses this stuff > so easily. > > I have traced the problem to the esound daemon. Taking esd out of the > loop and using the OSS driver in XMMS works flawlessly under the same > situations that I was getting the underruns with esd. I switch the > output to Esound and the problems return. > > Huh. > > Since it seems not much stuff will work writing directly (or am I > mistaken?), what are my alternatives here? > > Do others seeing this problem have the same results writing directly to > the device? No. I don't use esound, artsd, or any other sound daemon. Just straight mpg123 (built without esound). It mostly works fine, except under heavy loads (buildworld or huge port builds), or when text is scrolling in certain apps (interrupt problems?), in which case it either slows down, breaks up, or both. So, I think the problem runs a bit deeper than suggested. Sure, a sound daemon will impact performance, but the problem exists even without. -- Conrad Sabatier - "In Unix veritas"