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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-09-03, 04:34 AM   #1
m_dma
Registered User
 
Join Date: Sep 2003
Posts: 2
Question agpgart or NVagp?

How do i go about getting the nvidia driver to use NVagp instead of agpgart.

Ive read the readme file and says that i cant use NVagp if agpgart is loaded in the kernel, but doesnt say how to wether check it is or not.

So, how do i go about checking if agpgart is loaded in the kernel? and if it is, how do i go about removing it?

I'm using mandrake 9.2rc1 by the way.
with a Gigabyte 7VT600 (VIA KT600) Mobo & Geforce FX 5200.

The readme file doesnt include the KT600 in the list of chipsets supportd by NVagp but i've been having problems with AGP that are consistent accross both windows and linux (screen goes black for about a second then comes back all &@#$ed up). I can get rid of the problem in windows by installing VIA's 4in1 mobo drivers, so im inclined to think that switching the AGP driver in linux might help. Or is NVagp incompatible with KT600 chipsets?

Last edited by m_dma; 09-09-03 at 11:35 AM.
m_dma is offline   Reply With Quote
Old 09-09-03, 08:23 PM   #2
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default Read the doc.

Everything is in the README file in the NVIDIA driver package.
Don't know if the KT600 is supported... should be like the other KT chipsets though.
XoD is offline   Reply With Quote
Old 09-09-03, 09:08 PM   #3
m_dma
Registered User
 
Join Date: Sep 2003
Posts: 2
Default READ MY POST

I read the README file!
And on the subject of AGP all it tells me are the XF86Config options and that NVagp cannot be used if AGPGART is loaded into the kernel, it doesnt elaborate as to how i go about checking to see if it is, and how i go about removing it.
m_dma is offline   Reply With Quote
Old 09-10-03, 05:17 AM   #4
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default Oups...

You must have a modular linux system: before loading the nvidia kernel module you must remove the agpgart module.
Try this in single user mode before starting x:
#rmmod -r nvidia
#rmmod -r agpgart
#modprobre nvidia
#startx
XoD is offline   Reply With Quote
Old 09-10-03, 10:32 AM   #5
Gyokuran
Registered User
 
Join Date: May 2003
Posts: 30
Default

...or you could just delete the agpgart module - then you wouldn't need to unload it each time.

Or you could recompile the kernel and deactivate agpgart support.
Gyokuran is offline   Reply With Quote
Old 09-10-03, 11:42 AM   #6
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default Brutal...

It is really brutal... better rename it and pray than the distro does not stop initializing when loading the agpgart module.
XoD is offline   Reply With Quote
Old 09-10-03, 03:22 PM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Depending on the chipset used, unloading agpgart.o after it has already been loaded may be insufficient. If AGPGART is loaded unconditionally by the distribution, you can either determine the startup script responsible (and modify it) or delete the agpgart.o module; the latter approach may seem drastic, but shouldn't have negative side effects.
zander is offline   Reply With Quote
Old 10-02-03, 10:22 AM   #8
orgeeizm
Registered User
 
Join Date: Sep 2003
Posts: 11
Default

ok so main question hasnt been answered...HOW do you tell if AGPART is loaded or not? And how do you tell is NVagp was successfully loaded?


Anyway, you say it worked when you installed your VIAs 4in1 drivers?
I had windows too and i didnt need to do that with my Gigabye7vrxp but i did anyway just for the sake of updating. I DID find out that the Nvidia Installer installs nvidia drivers on your Linux but there are alot of options that werent set that forced me to recompile it and then install it.

What i did was first, i added the -03 and -march=i686 on my nvidia_kernel makefile...but the main thing is that inside os-registry.c you will see an option there is on default, disabled to use VIA's agp 4x but i enabled it since I have a 4x, but you have an 8x so i dont know..I also set it to use max bandwith of agp 4x and not surpass that, it was set to surpass that. Then are also alot of other options such as UpdatekernelAGP which says overrides basic agp setup after AGpart has been loaded.. I didnt enable that cuz i didnt know what it would do..but Anyway, i recompiled and it all works no problems.

There are also alot of options disabled on default such as FastWrites and Sideband addressing so I think maybe last resort for you is to try and modify those options and recompile.
orgeeizm is offline   Reply With Quote

Old 10-03-03, 12:44 AM   #9
mr. comment
Registered User
 
Join Date: Oct 2003
Location: pacific nw
Posts: 1
Default

[quote]Originally posted by orgeeizm
[b]ok so main question hasnt been answered...HOW do you tell if AGPART is loaded or not? And how do you tell is NVagp was successfully loaded?

lsmod | grep agpart
lsmod | grep NVagp

does NVagp log to /var/log/messages? You could keep an eye on that.
mr. comment is offline   Reply With Quote
Old 10-03-03, 06:28 AM   #10
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default NVagp

The answer would be:
lsmod | grep agpgart
lsmod | grep nvidia

If you want to use the agp support from the nvidia kernel module, do not load the agpgart module. To check that AGP is properly detected or used, check your log files and /proc/drivers/nvidia content.
XoD 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
Cannot load AGPGART arise NVIDIA Linux 2 10-21-02 04:11 PM
crashes and freezes Lethal Weapon NVIDIA Linux 9 09-27-02 08:23 PM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM
Option "NvAGP" "0" causes crash w/ OpenGL. mujtaba NVIDIA Linux 5 08-25-02 12:16 PM
Disabling ACPI improves performance? VoltFox General Hardware 5 08-23-02 04:08 PM

All times are GMT -5. The time now is 08:45 AM.


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