View Single Post
Old 08-26-03, 12:02 PM   #1
tourettes
Registered User
 
Join Date: Nov 2002
Posts: 31
Send a message via ICQ to tourettes
Default NVaudio + Quake3 = Crash

For the longest time, I have been having great problems with running Quake 3 with my nvidia nforce board in linux. I would be able to start the game, but when i go to "teleport" to a level, the game would freeze and cause me to kill the X server. This also happens in the Quake 3 mod Urban Terror but only when the theme music is played. Any other sound works.

So, it seems by reading the readme file that comes with the nforce drivers for linux that i need to disable SPDIF in the module in order to increase compatibility accross applications (allowing me less then 48Khz playback). So, here is my output:

Quote:
$modprobe -v nvaudio spdif_status=0
Output of dmesg:
Quote:
Nvidia + AC97 Audio, version 0.24, 02:26:39 Aug 26 2003
Nvaudio: in Funcction Nvaudio_init_module
PCI: Enabling device 00:06.0 (0005 -> 0007)
PCI: Setting latency timer of device 00:06.0 to 64
Nvaudio: NVIDIA nForce1 Audio found at IO 0xe000 and 0xe100, IRQ 11
Nvaudio: Audio Controller supports 6 channels.
NVaudio: Defaulting to base 2 channel mode.
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
Nvaudio: only 48Khz playback available.
Nvaudio: AC'97 codec 0 supports AMAP, total channels = 2
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
Nvaudio: only 48Khz playback available.
Nvaudio: AC'97 codec 1, total channels = 6
So, it appears that it did not work because i still get the "Nvaudio: only 48Khz playback available"

So, just to test it, I run quake3, here is the output (the relavent part):
Quote:
----- finished R_Init -----

------- sound initialization ------
/usr/local/bin/quake3: line 5: 873 Segmentation fault ./quake3.x86 $*
duende@judith:~$
An immediate seg fault with the nvaudio drivers. Here is the output from /var/log/messages when running Quake:

Quote:
Aug 26 13:27:26 judith kernel: forget_pte: old mapping existed!
Aug 26 13:27:26 judith kernel: kernel BUG at memory.c:290!
Aug 26 13:27:26 judith kernel: invalid operand: 0000
Aug 26 13:27:26 judith kernel: CPU: 0
Aug 26 13:27:26 judith kernel: EIP: 0010:[<c0125657>] Tainted: P
Aug 26 13:27:26 judith kernel: EFLAGS: 00210282
Aug 26 13:27:26 judith kernel: eax: 00000021 ebx: 14830027 ecx: d53d8000 edx: dedbbf7c
Aug 26 13:27:26 judith kernel: esi: d4ad1668 edi: 0019a000 ebp: 14840000 esp: d53d9e8c
Aug 26 13:27:26 judith kernel: ds: 0018 es: 0018 ss: 0018
Aug 26 13:27:26 judith kernel: Process quake3.x86 (pid: 873, stackpage=d53d9000)
Aug 26 13:27:26 judith kernel: Stack: c0247aa0 001aa000 001aa000 146a6000 0019a000 d4c474d4 de8dcc40 4d5aa000
Aug 26 13:27:26 judith kernel: d4c474d4 00010000 d78fb7c0 d69d2740 d53d9ee4 e084bd4b 4d59a000 c72a6000
Aug 26 13:27:26 judith kernel: 00010000 00000027 d78fb7f4 d78fb7c0 00000000 d69d2740 d53d9f18 e084be8e
Aug 26 13:27:26 judith kernel: Call Trace: [<e084bd4b>] [<e084be8e>] [<c0126878>] [<c010c592>] [<c010730f>]
Aug 26 13:27:26 judith kernel:
Aug 26 13:27:26 judith kernel: Code: 0f 0b 22 01 1a 78 24 c0 e9 5e ff ff ff 8d b6 00 00 00 00 8d
So, i don't know where to go from here. Maybe I just need to use a different sound card. I have a Asus a7n 266-e motherboard with the sound on-board.

Oh yeah, and if i try to play any sounds back through Wine (such as when i try to play half life) the sounds are totally distorted, kind of like a 'chipmunk' sound.

Does anyone have any ideas or suggestions?
tourettes is offline   Reply With Quote