From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 31 09:39:32 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07A7216A4CE for ; Wed, 31 Mar 2004 09:39:32 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6CA43D1F for ; Wed, 31 Mar 2004 09:39:31 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i2VHg6K0023201; Wed, 31 Mar 2004 12:42:06 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i2VHg6Ku023200; Wed, 31 Mar 2004 12:42:06 -0500 (EST) Date: Wed, 31 Mar 2004 12:42:06 -0500 From: Mathew Kanner To: "Karel J. Bosschaart" Message-ID: <20040331174206.GE6187@cnd.mcgill.ca> References: <20040331171848.GA86712@kayjay.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040331171848.GA86712@kayjay.xs4all.nl> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on hak.cnd.mcgill.ca cc: freebsd-multimedia@freebsd.org Subject: Re: UT2004 sound problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 17:39:32 -0000 On Mar 31, Karel J. Bosschaart wrote: > Hi, > > Got my UT2004 DVD yesterday :-), but I have a problem with the sound: > it plays too slow, which makes the game unplayable. This is on -stable > (as of today). Relevant messages (other lines omitted) from UT2004: > > fcntl: No such device or address > ioctl SETFRAGMENT: Invalid argument > > native_blitbuffer: select error occured > > > the last message occurs when exiting UT2004. The process ut2004-bin > is stuck in 'pcmsyn' state and I have to kill it. > > In -current (same machine) sound is OK, and I only get the 'fcntl' message. > > The sound in both UT2003 and UT2004 demo is working well on -stable. > Things I tried: > > - using my second sound card: same problem. > - copying openal.so from UT2003 and UT2004 demo to UT2004: no error > messages anymore, but also no sound. > - this obscure sequence makes the sound work properly: > 1. reboot machine > 2. start UT2004 demo, and quit after watching the intro > 3. start UT2004. Now the sound is OK... > > Since the game has the tendency to crash quite often (once in 2 hours or > so), I have to do this all over again because I found no other way to > get the sound right after the game crashed. > > I'm going to try the OSS commercial driver (it helped me often with > sound problems in Linux games) but I prefer to use the pcm driver. I notice that you don't mention the sound card type. Also, I would suggest that you play with enabling, disabling vchans and see if it helps. After that, you can try some patches that are floating around that limit the fragment size. --Mat -- Any idiot can face a crisis; it is this day-to-day living that wears you out. - Chekhov