Date: Fri, 22 Jun 2001 18:04:09 +0700 (NSS) From: Max Khon <fjoe@iclub.nsu.ru> To: Jonathan Irwin <jmi25@cam.ac.uk> Cc: Amir Shalem <amir@boom.org.il>, freebsd-stable@FreeBSD.ORG Subject: Re: Quake2 on FreeBSD Message-ID: <Pine.BSF.4.21.0106221801330.7144-100000@iclub.nsu.ru> In-Reply-To: <20010622120146.B562@cam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there! On Fri, 22 Jun 2001, Jonathan Irwin wrote: > Amir Shalem wrote: > > > I have tried lately to run quake2 on freebsd 4.3. > > I managed to get it running, but I had some problems with the sound: > > ------- sound initialization ------- > > /dev/dsp: Invalid argument > > Could not set /dev/dsp to stereo=2 > > > > I have tried looking for FAQs about installing quake on freebsd, > > I have found http://www.dons.net.au/~darius/quake/ page, it said > > quake2/quake needs sound driver capable of supporting mmap()able DMA > > buffers, is that the problem ? > > The newpcm driver does support mmap()able DMA buffers, so this isn't > the cause. > > It has something to do with the order in which the Quake sound code > makes it's ioctl() calls to set up the sound card. I spent many hours > fiddling with this in Quake I a few weeks ago, and I gave up before I > got it working (unfortunately). My solution was to write a new > snd_bsd.c, which used conventional write() calls instead, and seems > to work fine (I also sorted out the includes to make it portable to > Net/OpenBSD [untested]). Ask if you want a copy. there were no problems with sound in Quake II on 4.2-RELEASE however /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106221801330.7144-100000>