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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-06-04, 09:22 AM   #1
macgreg
Registered User
 
Join Date: Apr 2004
Posts: 3
Default Unable to verify AGP usage

I hope someone has the answer I am looking for.

I just finished builting my newest creation,
ECS LvVXA2 MoBo 3.0 ghz cpu.
GeForce FX 5200
Fresh load of Fedora Core 1

After having loaded the Nvidia installer I modified the default XF86config to look like this:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
ModulePath "/usr/X11R6/lib/modules/extensions"
ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
#Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
#Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Gateway Vivitron 17"
HorizSync 31.5 - 64.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"

Identifier "Videocard0"
Driver "nvidia"
VendorName "Nvidia"
BoardName "NVIDIA GeForce FX"
EndSection

all should be fine in mudville, but X does a hard lock and I have to kill it from remote.
I have tried the: Option "NvAGP" "3" with options 0-3 and got the same result on all trials.

my XFree log shows:

(WW) NVIDIA(0): Failed to verify AGP usage
(II) NVIDIA(0): Setting mode "1024x768"

at the very end just before it hangs.


more info:

cat /proc/driver/nvidia/cards/0
Model: GeForce FX 5200
IRQ: 16
Video BIOS: ??.??.??.??.??
Card Type: AGP

cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x00000000

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

cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT8374 P4X400 Host Controller/AGP BridgeFast Writes: Not Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000a0b:0x1f000000

cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
GCC version: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)

uname -r
2.4.22-1.2174.nptlsmp


Will someone shine the light for me? I know it must be something simple that I am missing, but I'm stumped and would really like to get this fixed..


thanx in advance.
macgreg is offline   Reply With Quote
Old 04-07-04, 02:41 AM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Unable to verify AGP usage

What is the result of loading the nVIDIA kernel module directly?
Code:
/sbin/modprobe nvidia
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-07-04, 10:02 PM   #3
macgreg
Registered User
 
Join Date: Apr 2004
Posts: 3
Default Re: Unable to verify AGP usage

Quote:
Originally Posted by LordMorgul
What is the result of loading the nVIDIA kernel module directly?
Code:
/sbin/modprobe nvidia

here is the output from modprobe:

root]# modprobe nvidia
Warning: loading /lib/modules/2.4.22-1.2174.nptlsmp/kernel/drivers/video/nvidia/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings

root]# lsmod
Module Size Used by Tainted: P
nvidia 2124608 0 (unused)

root]# dmesg
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336

this help?
macgreg is offline   Reply With Quote
Old 04-08-04, 03:29 AM   #4
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Unable to verify AGP usage

Quote:
Originally Posted by macgreg
cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: VIA Technologies, Inc. VT8374 P4X400 Host Controller/AGP BridgeFast Writes: Not Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000a0b:0x1f000000
Well the config looks fine as you knew. There is nothing to suggest a problem except the notorious 3 letters 'VIA' right there .
I assume that X works with the default 'nv' driver and agpgart?

Quote:
Originally Posted by macgreg
root]# dmesg
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336
This looks good, try startx -- -logverbose 5, have /etc/inittab set to boot into runlevel 3 (so that the X config is not overwritten when rebooting after the crash). Most hardlocks when X is booting are agp related, especially on VIA boards -- perhaps someone with experience with this board could comment more.

What are the kernel config options for AGP in that kernel? (I do not have an FC1 system on 2.4 kernel anymore)
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-22-04, 03:48 PM   #5
macgreg
Registered User
 
Join Date: Apr 2004
Posts: 3
Default Re: Unable to verify AGP usage

I got it to work. After pulling out all my hair and trying every possible fix that I could find, on a final reboot before giving up and buying an ATI card I mistakenly booted to the NON smp kernel in the grub list.

VOILA everything worked great. Nvidia driver, hardware acceleration, everything.
Go figure, so my theory is some combination of the VIA chipset, HyperThreading, and AGP 3.0 need some working out.

Till then I am satisfied with no hyperthreading.
macgreg is offline   Reply With Quote
Old 04-22-04, 05:28 PM   #6
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Unable to verify AGP usage

That is a sad loss, but I think it causes troubles from alot of people. Now that you've solved it.. I notice the smp in your kernel version (I should have seen and commented on that earlier). Glad it works tho. You should go ahead and try the smp versions of each update kernel when you get a chance, you might 'luck out'.

You may also try turning off apm and/or acpi for those smp kernels, also apic. The patchset at www.minion.de may also be worth trying with your smp kernels (again.. when you've got extra time to kill).
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-24-04, 05:26 PM   #7
tamran
Registered User
 
Join Date: Feb 2004
Location: Ft. Myers, FL
Posts: 67
Default Re: Unable to verify AGP usage

OK, I had this problem and was able to fix it.

I have an MSI Master2-Far (dual opteron) board and this is what I had to do:

1. build agpgart module with kernel
2. build amd64-agp module (module might be different for you) with kernel
3. reboot

Do the following in the exact order specified, it wouldn't work any other way for me for some curious reason.
4. modprobe agpgart
5. modprobe nvidia (notice this is BEFORE amd64-agp?)
6. modprobe amd64-agp agp_try_unsupported=1 (this may be different for you)

7. Make sure you have a working xconfig
8. Start up X
9. Check your agp status by doing the following:
Code:
#cat /proc/driver/nvidia/agp/status
Hopefully you should get something other than "Disabled"

Hope this helps,

Tamran
tamran is offline   Reply With Quote
Old 04-24-04, 05:28 PM   #8
tamran
Registered User
 
Join Date: Feb 2004
Location: Ft. Myers, FL
Posts: 67
Default Re: Unable to verify AGP usage

Rebuttle: also make sure you have the matching nvidia-glx package (version matches your driver number).

Tamran
tamran 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
Gentoo and agp trouble john36 NVIDIA Linux 2 09-12-02 11:36 PM
agp 440bx/zx tntultar32 t00bad NVIDIA Linux 1 09-11-02 03:46 PM
How much heat can a GeForce4 Ti 4600 handle? Velkator NVIDIA GeForce 7, 8, And 9 Series 4 09-03-02 05:41 PM
X freezes when agp 4x is enabled jinksed NVIDIA Linux 1 08-07-02 05:56 PM
Will AGP 8X increase performance over AGP 4X? sancheuz NVIDIA GeForce 7, 8, And 9 Series 10 07-29-02 09:37 PM

All times are GMT -5. The time now is 01:32 AM.


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