Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-27-03, 09:45 AM   #1
albrecht.dress
Registered User
 
Join Date: Jan 2003
Location: Cologne
Posts: 3
Unhappy AGP with nForce 220/GeForce 2 GPU?

Hi all!

I tried to get the nvidia drivers running on an ASUS A7N266 (nForce chipset) board with Linux 2.4.20, and I am *almost* successful. However, I can not get AGP working, and the result is **really** slow X11 graphics...

What I did:

* installed kernel 2.4.20 with agp support disabled;

* installed the latest SuSE 7.2 RPM's for XFree86 4.2.0;

* installed the following packages:
NVIDIA_GLX-1.0-4191.tar.gz
NVIDIA_kernel-1.0-4191.tar.gz
NVIDIA_nforce-1.0-0248.tar.gz (nvnet only; sound worked ootb with 2.4.20)

* installed the nvnet & nvidia drivers:

kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4191 Mon Dec 9 11:49:01 PST 2002

"startx -- -verbose 5 | grep -i agp" results in

(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(II) NVIDIA(0): Verifying AGP usage for Screen 0...
(WW) NVIDIA(0): Failed to verify AGP usage

and "cat /proc/driver/nvidia/agp/status" says

Status: Disabled

I also tried to use the kernel's agp driver, but it's insertion failes with

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 176M
agpgart: unsupported bridge
agpgart: no supported devices found.

Now, what can I do to get agp working??? **Any** help is really welcome!

Thanks in advance,

Albrecht.
albrecht.dress is offline   Reply With Quote
Old 01-27-03, 07:01 PM   #2
etr
Registered User
 
Join Date: Aug 2002
Location: NC, US
Posts: 55
Default Thoughts from the Battle-Scarred

Well, off the cuff, here are the two biggest things I'd check.

1) Make sure that AGPGART is NOT compiled into the kernel.
2) Make sure that AGPGART is NOT loaded as a module.

If AGPGART is loaded at all (whether as a module or compiled into the kernel), nVidia's AGP support will not load. The nForce is NOT supported by AGPGART, so it's nVidia's AGP support or nothing.

BIOS upgrades on the motherboard could also have an effect. (I'm assuming that you are using the on-board video--if you are using a separate video card, you may want to check for BIOS updates for it as well, and post an update clarifying this fact.)

Those are the big things I can think to check. All that said, you'll want someone else's advice. I've spent a fair chunk of time on this and still don't have AGP working for my GF4Ti and nForce 415. However, I may be an exception--I know that Chalnoth has AGP working on his nForce 415 board.

Good luck!
etr is offline   Reply With Quote
Old 01-28-03, 02:41 AM   #3
albrecht.dress
Registered User
 
Join Date: Jan 2003
Location: Cologne
Posts: 3
Thumbs down Re: Thoughts from the Battle-Scarred

Quote:
1) Make sure that AGPGART is NOT compiled into the kernel.
2) Make sure that AGPGART is NOT loaded as a module.
Kernel AGP is disabled:


pc130:~ # grep -i agp /usr/src/linux/.config
# CONFIG_AGP is not set


Might this be a bridge problem (== agp in the *bridge* is disabled for some strage reason)?

The proc if says


pc130:~ # cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 1x
Registers: 0x1f000015:0x00000000
pc130:~ # cat /proc/driver/nvidia/agp/status
Status: Disabled
pc130:~ # cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: nVidia nForce
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000001


Quote:
BIOS upgrades on the motherboard could also have an effect. (I'm assuming that you are using the on-board video--if you are using a separate video card, you may want to check for BIOS updates for it as well, and post an update clarifying this fact.)
Hmmm, do you think a bios upgrade might help? I didn't touch it yet...

Thanks, Albrecht.
albrecht.dress is offline   Reply With Quote
Old 01-28-03, 07:23 PM   #4
etr
Registered User
 
Join Date: Aug 2002
Location: NC, US
Posts: 55
Default Re: Re: Thoughts from the Battle-Scarred

Quote:
Hmmm, do you think a bios upgrade might help? I didn't touch it yet...
Honestly, I wouldn't expect it to help. Still, it probably won't hurt to try, and I would upgrade to the latest version before mailing nVidia. You might also consider re-checking your BIOS settings. Again, you're probably clean, but double-checking doesn't hurt.

As I said, I've not gotten AGP working on my own rig yet. You have similar symptoms to mine: Both the card and the bridge report that they support AGP, but the drivers can't "verify usage".

My main thing is that I'm not running a stock kernel. While I've dottend all my i's and crossed all my t's to the best of my knowledge, there could be some obscure, undocumented dependency somewhere. Though I'll be slow to take it, my next step will be to move from RH7.3 to RH8 and try with the stock kernel there. If that doesn't work, I'll have to mail nVidia or toss in the towel.

In any case, I'll let you know if I think of something else, but you seem to have your bases covered. In the mean time, I'll keep an eye on the thread. You or someone else might come up with something I have missed.
etr is offline   Reply With Quote
Old 02-03-03, 07:55 AM   #5
albrecht.dress
Registered User
 
Join Date: Jan 2003
Location: Cologne
Posts: 3
Thumbs up SUSSESS [why???]

Please don't ask me why, but I now **have** agp running...

spmpc130:~ # cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled


All I did was building a minimalistic kernel without any SCSI, USB, ... stuff, and after a reboot with the new kernel, it was there. For your information, I attach my .config; the kernel is a vanilla 2.4.20.

Cheers, Albrecht.
Attached Files
File Type: txt linux-2.4.20-dotconfig.txt (11.9 KB, 196 views)
albrecht.dress is offline   Reply With Quote
Old 02-03-03, 06:13 PM   #6
etr
Registered User
 
Join Date: Aug 2002
Location: NC, US
Posts: 55
Default

Many thanks! I'll be sure to give that a try. That's a pretty strange linkage, but after my own experience, I'll believe it!
etr is offline   Reply With Quote
Old 02-04-03, 08:49 PM   #7
etr
Registered User
 
Join Date: Aug 2002
Location: NC, US
Posts: 55
Default THANK YOU!

Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Enabled
SBA: Enabled

Thanks to the .config you posted, I found my problem. Disabling USB didn't do the trick for me, but I noticed that you had MTRR (memory type range register) enabled and I did not. Enabling that got me working.

If you are interested, you can enable fast writes and SBA by modifying the os-registry.c file included with the kernel driver source. Here are the diffs to my changes (for the 4191 drivers):

226c226
< static int NVreg_EnableAGPSBA = 1;
---
> static int NVreg_EnableAGPSBA = 0;
252c252
< static int NVreg_EnableAGPFW = 1;
---
> static int NVreg_EnableAGPFW = 0;

(After my changes, these variables had values of 1.)

While your results might vary, there is some sign that USB does not affect AGP on my system. I started X with OHCI loaded and AGP still loaded.

In any case, I'm thrilled to be able to Quake under Linux again. Thanks again for your help!
etr is offline   Reply With Quote
Old 04-14-03, 11:20 PM   #8
dleblanc
Registered User
 
Join Date: Mar 2003
Posts: 8
Default Re: THANK YOU!

Quote:
Originally posted by etr
I noticed that you had MTRR (memory type range register) enabled and I did not. Enabling that got me working.
That's it. I've been trying to get AGP working for ages on my nForce board. This should be in a FAQ.
dleblanc is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing The Right GPU To Take Adobe Workflows To The Max News Archived News Items 0 05-29-12 05:40 PM
GTC Poster Session Shows Breadth of GPU Research News Archived News Items 0 05-15-12 01:50 AM
GPU Tech Conference Off to a Fast Start in San Jose News Archived News Items 0 05-14-12 05:00 PM
New GPU from Nvidia Announced Today, the GeForce GTX 670 News Archived News Items 0 05-10-12 01:50 PM
Nforce AGP & unreal 2003 nichos NVIDIA Linux 1 10-18-02 05:21 PM

All times are GMT -5. The time now is 01:21 PM.


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