nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Debian: NForce2 sound w/Sarge (http://www.nvnews.net/vbulletin/showthread.php?t=43598)

SupportLinux! 01-06-05 07:18 PM

Debian: NForce2 sound w/Sarge
I'm running Debian's Sarge (Testing) release and am trying to get this machine to work. Ethernet (using the kernel's built-in driver) and X (using the "nv" driver) works but I can't make the sound make a squeak.

I've installed Sarge's kernel-image-2.4.27-1-k7, nvidia-kernel-2.4.27-1-k7, and nvidia-glx packages. I also tried creating my own kernel using kernel-package and I get the same results in both.

Some information:

0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev a2)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev a2)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev a2)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev a2)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev a2)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev a2)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 AudioControler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3)

lsmod My own kernel:
Module Size Used by Tainted: P
input 3392 0 (autoclean)
serial 47716 0 (autoclean)
nfs 49112 1 (autoclean)
lockd 38096 1 (autoclean) [nfs]
sunrpc 68288 1 (autoclean) [nfs lockd]
nvidia 4584876 0 (unused)
i810_audio 23868 2
ac97_codec 13108 0 [i810_audio]
soundcore 3844 2 [i810_audio]
forcedeth 9100 1
ide-cd 30816 0
cdrom 29024 0 [ide-cd]
rtc 6376 0 (autoclean)

lsmod Debian's kernel:
Module Size Used by Not tainted
input 3520 0 (autoclean)
apm 9964 1 (autoclean)
nfs 73980 1 (autoclean)
lockd 49616 1 (autoclean) [nfs]
sunrpc 68608 1 (autoclean) [nfs lockd]
i810_audio 23868 0
ac97_codec 13108 0 [i810_audio]
soundcore 3972 2 [i810_audio]
forcedeth 9132 1
ehci-hcd 17932 0 (unused)
usb-ohci 19208 0 (unused)
usbcore 62220 1 [ehci-hcd usb-ohci]
agpgart 45476 0 (unused)
ide-cd 30976 0
cdrom 29444 0 [ide-cd]
rtc 6376 0 (autoclean)
reiserfs 184656 1 (autoclean)
ext2 48844 0 (autoclean)
ext3 80044 0 (autoclean)
jbd 41604 0 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
amd74xx 10660 1 (autoclean)
ide-disk 16576 2 (autoclean)
ide-core 107128 2 (autoclean) [ide-cd ide-detect amd74xx ide-disk]
unix 14800 166 (autoclean)

cat /proc/devices:
Character devices:
1 mem
2 pty/m%d
3 pty/s%d
4 tts/%d
5 cua/%d
7 vcs
10 misc
13 input
14 sound
29 fb
128 ptm
136 pts/%d
162 raw
180 usb

Block devices:
1 ramdisk
3 ide0
22 ide1

The kernel's dmesg shows:

Intel 810 + AC97 Audio, version 1.01, 17:29:13 Jan 6 2005
PCI: Setting latency timer of device 00:06.0 to 64
i810: NVIDIA nForce Audio found at IO 0xdc00 and 0xd800, MEM 0x0000 and 0x0000,
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 codec, id: ALG96 (Unknown)
i810_audio: only 48Khz playback available.
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), t
otal channels = 2
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6111 Tue Jul 27 07:55:
38 PDT 2004

Yet no sound.

When I turn off KDE's sound(arts) and then do a:

cat /dev/urandom > /dev/audio

I don't get my command prompt back but there is no sound at all.

Any advice? I've googled and looked through this site and can't find an idiot-level how-to on how to compile a kernel or to use NVidia's drivers, what kernel options to use, and while I see a ton of old (7.3?) Red Hat info on this site, I haven't found a word about Debian.

Can someone point me to some resources or tell me what I might be doing wrong? Any advice and guidance would be greatly appreciated. TIA.

I don't mean to rant but at this point I'm highly frustrated. I've debated about buying a $10 sound card to throw in the machine but I'll return the motherboard before I do that. To me, NVidia needs to support GNU/Linux fully or don't bother at all.

xshakma 01-26-05 10:23 AM

Re: Debian: NForce2 sound w/Sarge
I've kernel 2.6.10 with debian selfcompiled.

For sound:
You should remove the alsa section there and use oss instead.

For network:
you can use the reversed engineered driver (forcedeth)

Then try the newest nforce installer. The sound is ok, but some applications /flash) doesn't like them.

(Read the faq about the alias nvnet in modules.conf)


SupportLinux! 01-26-05 06:49 PM

Re: Debian: NForce2 sound w/Sarge
Thanks for the response Micha.

Needless to say, I'm very disappointed in the NVidia motherboards we've tested. Too much time was spent by my techs fiddling with NVidia's proprietary Linux drivers.

I thought the drivers were poorly integrated into Linux, had weak documentation and no support, and were just too much hassle.

For the few NForce-based motherboards we purchased, what we did to get them working was:

* Dump the proprietary NVidia graphics drivers and use X's own native "nv" driver. This made the graphics work fine, but in a non-accelerated mode.

* Use the Linux kernel's own internal, reverse-engineered "forcedeth" Ethernet driver.

* Use the kernel's own internal, reverse-engineered NVidia IDE support.

* Compile ALSA for the "intel8x0" driver.

This gave us working systems.

Thanks to the lack of Linux support, we now refuse to handle NVidia hardware for customers and are not building any more NVidia-based systems.

The NVidia systems performed pretty well in Windows benchmarks, but I have no interest in supporting non-free hardware, especially given basically non-existent support and headaches involved with running NVidia and GNU/Linux.

Again, thanks for the response.

All times are GMT -5. The time now is 02:46 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.