PDA

View Full Version : nforce2 Sound & NvAGP


jmj
11-22-02, 12:16 PM
Hello,

I have managed to get the i810_audio driver under 2.4.19 to work with the nforce 2 chipset...a pciid issue. Change the following line (114) in drivers/sound/i810_audio.c from:

#define PCI_DEVICE_ID_NVIDIA_MCP1_AUDIO 0x01b1

to

#define PCI_DEVICE_ID_NVIDIA_MCP1_AUDIO 0x006a

recompile and install. Seems to work fine....

Has anyone gotten the NvAGP to work with nforce 2? I get the following line in XFree86.0.log after starting X11:

(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
.
. (snip)
.
(WW) NVIDIA(0): Failed to verify AGP usage
(II) NVIDIA(0): Setting mode "1024x768"

and /proc/driver/nvidia/agp/card says:

Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000


# cat /proc/driver/nvidia/agp/host-bridge

Host Bridge: nVidia (unknown)
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000


# cat /proc/driver/nvidia/agp/status
Status: Disabled


As you can see above I am using:

Option "NvAGP" "1"

in XF86 config. My kernel has agpgart disabled, as nforce agp is not supported. Is the nforce2 bridge not supported by the nvidia graphics driver or am I missing something?

My card is a Geforce4.

-jmj

Chalnoth
11-22-02, 02:42 PM
Well, AGP works great on my nForce2. I didn't do any tweaking whatsoever (Btw, I also use a GeForce4). I suppose after I get home I'll see if I can figure out what modules it's using. Since I'm still new to this whole Linux thingy, if there's anything specific you'd like me to send you, let me know.

Thanks for the tip on getting the sound to work...I figure I'll check it out as soon as I get home this afternoon. However, I'd rather get the ALSA sound drivers to work, as they actually work with all of my programs for sound.

Additionally, I figure a more complete solution would not be to change the PCI ID value, but to instead add a new one. Might be a bit too much work if you're just going ot keep it on your own PC, of course...

etr
11-22-02, 08:27 PM
Nice job on the sound. I can sympathize with your AGP stuff--I'm still wrestling with the same thing on an nForce1 for almost a week now. Chalnoth provided some useful input (thanks again), but I still haven't had luck. In any case, whatever you're seeing may not be limited to the nForce2.

The only other odd-ball thing I can think to add is that I can disable fast writes in my BIOS, but this doesn't affect what shows up in /proc/driver/nvidia/agp/host-bridge. I don't know if this is relevant, but it is interesting. I've also bumped my AGP aperture from 64MB to 128MB, but that didn't help. I suppose I should also try 256MB and (maybe) 32MB, but I don't expect them to work any better.

My next move would probably be a BIOS upgrade. If that doesn't solve the problem (and I'm not optimistic), I will consider mailing nVidia for assistance.