PDA

View Full Version : Nvidia agp problem question


Omnios
June 27th, 2005, 10:01 PM
My nvidia Gforce2 100/200 64meg card seems to be lagging a bit at first I got 400 fps with a color depth of 24. Droping the color depth to 16 jumped the frame rate to 790fos with glxgears. I have been doing some reading on the forums and noticed something wierd when using "lsmod |grep -i agp"

tom@Main:~$ lsmod |grep -i agp intel_agp 20636 1
agpgart 31784 2 intel_agp,nvidia
tom@Main:~$

Now the nvidia is my main video card and I have an Asus motherboard so why is it showing intel agp?

Also

tom@Main:~$ cat /proc/driver/nvidia/cards/0 Model: GeForce2 MX 100/200
IRQ: 11
Video BIOS: 03.11.00.18.00
Card Type: AGP
tom@Main:~$

Is there anything I can config to better game performance, spu load is an also an issue as it bogs down game play and may not nessasarily be a d3 rendering issue.

Any help would be greatly apreciated.

Including my xorg.conf if that helps any

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

skoal
June 27th, 2005, 10:45 PM
Omnios, everything checks out pretty good that I can see. You could try adding "RenderAccel" "on" (option) to your 'xorg.conf', but that won't help your 3D out any. * warning! that option has been known to cause hard locks on older GeForce cards.

By the way, you should have "intel_agp" loaded as a module if you're using the agpgart kernel interface, instead of Nvidia's. Just for shiznitts and grins, if you want to enable the Nvidia GART:

1. (maybe not entirely necessary) Add these 2 modules to '/etc/hotplug/blacklist':
# To use Nvidia supplied agpgart
agpgart
intel-agp

2. "Flip the switch" on which agpgart interface gets loaded by setting the following option in red:
Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4600]"
Driver "nvidia"
BusID "PCI:1:0:0"
# Insert Clocks lines here if appropriate
[...]
# NVIDIA Options
Option "NvAGP" "1"
Option "RenderAccel" "on"
[...]

3. logout, kill X with ctrl-alt-bkspc, fire up a terminal and check which one you're using:
skoal@morpheus:///data/ubuntu/dev/libfmod-3.74.0 $ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled
Unfortunately, I don't think there's a magic bullet to be found here. YOu could play with your AGP aperture size in BIOS. The nvnews.net forums have a good FAQ on what to set that to.

\\//_

wylfing
June 28th, 2005, 12:22 AM
Blacklisting agpgart itself is not always the right solution, and can prevent X from starting. I'd start by just blacklisting intel_agp. That's probably the real culprit.

Omnios
June 28th, 2005, 12:54 AM
Thanks a bunch guys you rock! I blacklisted the intel_agp and shure anouph all the stuff whent to nvidia.

This improvement in desktop performance is amazing the 16 color depth looks better than the 25 from brfore the window tail is now only a slight blur when moving at high speed. Nautalis is quicker in opening windows. etc etc. Glxgears is getting the same frame rates but it looks a lot better than before for some reason?

Thanks!