LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2004, 11:18 AM   #1
JaakRandmets
LQ Newbie
 
Registered: Sep 2004
Location: estonia
Distribution: debian
Posts: 21

Rep: Reputation: 15
Nvidia


Hi, i have some questions about nvidia graphics card drivers drivers majorly because im still kinda new to linux.

Firstly i would be interested what framerate you people get with glxgears, because imo... im getting low ones (about 1200fps and 3D games majorly lack fps).

Second of all, is NVAGP better, than kernel module AGPGART...
Point is, im concerned that my nvidia drivers arent configured correctly, ill post as much as information i can find out, maybe somebody is able to help:

distro is Debian sarge and gfx card is geforce 4 mx440 (4x agp).

Code:
cat /proc/driver/nvidia/agp/host-bridge

Host Bridge:     VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000217:0x00000000
fast write and sba seems to be enabled (checked in bios in case too) and host-bridge is supported by nvidia.

Code:
cat /proc/driver/nvidia/agp/card

Fast Writes:     Supported
SBA:             Not Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000017:0x00000000
sba not being supported it quite a weird, if i turn fast writes off in bios sba gets magically enabled... thats ever weirder.
and must registers have different values?

Code:
cat /proc/driver/nvidia/agp/status

Status:          Disabled

blablabla
go figure

Code:
dmesg | grep -i agp

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
so the agpgart is loaded, but is there way to unload it, and force NVAGP to be loaded?

Code:
lsmod

...
nvidia               4587372   6 (autoclean)
...
agpgart                40036   0
nothing more useful there

Now im completely lost in those piles of information which are quite cryptic to me, seems like some drivers are enabled... but on the other hand having around 20fps in Neverwinter night with quit moderate settings simply screams that something must be wrong with my gfx card drivers (aye, i can run doom3 demo at same speed under windows...).
Could somebody please make this information little more clearer to me, and give suggestions what should i do.

[edit]
oh yeah, i dont know if thread is supposed to be here? hardware itself is alll fine, but drivers... hence... software... isnt, but if the location is wrong move it

Last edited by JaakRandmets; 10-29-2004 at 11:23 AM.
 
Old 10-29-2004, 12:37 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi,
just ignore glxgears -- it's pointless and is intended just to test gl is working.

but i have seen where on some systems the stock agp one works better so it's not really a big deal
in patricular i saw someone try on a via chipset and the stock agpgart one was a little better
make sure in x config
Option "RenderAccel" "On"

main suggestion is to turn color depth down to 16
DefaultDepth 16
makes run alot better and i can't tell the difference

i wouldn't worry about fast writes it doesn't seem to help

i think those error messages about NVRM: not using NVAGP, AGPGART is loaded!!
might mean your agpart is built into kernel instead of module
might need kernel rebuild
(although showing up in lsmod suggests it's getting loaded as a module doesn't it -- duhhhh)
check it's not getting loaded as an option in /etc/modules or something
or possibly you are using "framebuffer" on your console as a boot option and that loads it.
you could try onloading it with rmmod before startx
and i think the nvidia source needs a little hack to run at 4x on that chipset
at least they used to
if you want to give that a try but like i said most likely not worth the trouble
sh ./NVIDIA-Linux-x86-whatever.run -x ( it will extract the drivers)
cd NVIDIA-Linux-x86-whatever-pkg1/usr/src/nv/
edited "os-registry.c"
Modified theses lines:
static int NVreg_EnableVia4x = 1;
{ NULL, "ReqAGPRate", &NVreg_ReqAGPRate, 1 },
make install

Last edited by foo_bar_foo; 10-29-2004 at 12:47 PM.
 
Old 10-30-2004, 05:03 AM   #3
JaakRandmets
LQ Newbie
 
Registered: Sep 2004
Location: estonia
Distribution: debian
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for tips, adding RenderAccel seemed to help little (glxgears jumped to 1400 fps, tho' it might be some other factor what lowered fps speed before).
Ill do some research before using rmmod or recompiling nvidia drivers, i have painful experience doing stuff blindly with linux

what most interests me atm, is how to force agpgart not to be loaded.

Last edited by JaakRandmets; 10-30-2004 at 05:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 02:10 AM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration