From owner-freebsd-bugs Thu Aug 22 2:30: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8FAC37B400 for ; Thu, 22 Aug 2002 02:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 769E243E70 for ; Thu, 22 Aug 2002 02:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7M9U4JU055631 for ; Thu, 22 Aug 2002 02:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7M9U4Bj055628; Thu, 22 Aug 2002 02:30:04 -0700 (PDT) Date: Thu, 22 Aug 2002 02:30:04 -0700 (PDT) Message-Id: <200208220930.g7M9U4Bj055628@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Ulrich 'Q' Spoerlein" Subject: Re: kern/41747: quake won't play sound with newpcm driver Reply-To: "Ulrich 'Q' Spoerlein" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/41747; it has been noted by GNATS. From: Ulrich 'Q' Spoerlein To: freebsd-gnats-submit@FreeBSD.org Cc: Orion Hodson Subject: Re: kern/41747: quake won't play sound with newpcm driver Date: Thu, 22 Aug 2002 11:27:56 +0200 Hello again, thanks for your reply. moving the mmap() stuff down, resulted in "moving the error message down". that means putting mmap() after the setting to stereo resulted in "SNDDMA_Init: Could not set /dev/dsp speed to 11025." i put it right before the soundthread starts up, and get a bus error like this: ------- sound initialization ------- sound sampling rate: 11025 zsh: 72073 bus error (core dumped) quake2 btw, _don't_ edit the bsd/snd_bsd.c file, it has been merged into src/snd.c (the bsd/ directory is obsolete) another thing to mention is that the same error plagues the quake2 linux binary from id Software and the cinematics in Quake3 (in-game sound in Quake3 works though, it's just the cinematics) i can remember some guy telling me that sound in Quake2 was possible for him up to FreeBSD 4.2 (or was it 4.3?). i will now try to get the pcm driver from 4.2-RELEASE into my kernel and pin down the exact CVS commit responsible for breaking the sound in quake2. btw, do you by any chance know how i get the /src/sys/dev/sound directory from 4.2-RELEASE into my sources? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message