I have a problem with my nvidia driver, glxgears is _JUST_ plain slow,
if i run it i get ~460FPS.
My videocard is a GeForce 4MX with 64MB VideoRAM.
I recently switch to Xorg6.8.1, but the result was the same in Xfree4.3
I know this card can do more because i had over 2500fps in glxgears and then it just droped and i don't know why.
and yes, i know that glxgears is not a benchmark, but as i said ... 460FPS are poor and there should be more.
to make a long story short i provide info of my system below.
Code: Select all
$ cat /proc/pci | grep -i nvidia
VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev 164).Code: Select all
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: GeForce4 MX 4000/AGP/SSE/3DNOW!Code: Select all
$ qpkg -i -I nvidia
media-video/nvidia-glx-1.0.5336-r2 *
XFree86 GLX libraries for the NVIDIA's X driver [ http://www.nvidia.com/ ]
media-video/nvidia-kernel-1.0.5336-r4 *
Linux kernel module for the NVIDIA's X driver [ http://www.nvidia.com/ ]Code: Select all
$ opengl-update --get-implementation
nvidiaCode: Select all
$ ls -l /usr/lib/libGL*
lrwxr-xr-x 1 root root 48 24. Okt 08:10 /usr/lib/libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.5336*
lrwxr-xr-x 1 root root 48 24. Okt 08:10 /usr/lib/libGLcore.so.1 -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.5336*
-rw-r--r-- 1 root root 739 24. Okt 08:10 /usr/lib/libGL.la
lrwxr-xr-x 1 root root 44 24. Okt 08:10 /usr/lib/libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.5336*
lrwxr-xr-x 1 root root 44 24. Okt 08:10 /usr/lib/libGL.so.1 -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.5336*
-rw-r--r-- 1 root root 681130 23. Okt 09:50 /usr/lib/libGLU.a
-rw-r--r-- 1 root root 769 23. Okt 09:50 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root 13 23. Okt 09:50 /usr/lib/libGLU.so -> libGLU.so.1.3*
lrwxrwxrwx 1 root root 13 23. Okt 09:50 /usr/lib/libGLU.so.1 -> libGLU.so.1.3*
-rwxr-xr-x 1 root root 581686 23. Okt 09:50 /usr/lib/libGLU.so.1.3*Code: Select all
$ emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Duron
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa avi berkdb bitmap-fonts cdr chroot crypt cups divx4linux dvd dvdr encode fam flac foomatic foomaticdb freetype gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java javascript joystick jpeg libg++ libwww mad matroska mikmod mmx mmx2 motif mpeg ncurses nls nptl offensive oggvorbis opengl pam pdflib pic png ppds python quicktime readline samba sdl slang spell sqlite sse ssl tcpd theora tiff truetype usb x86 xface xml2 xmms xprint xv xvid zlib"Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
#Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "S/M 755DF"
Option "DPMS"
HorizSync 30.0-85.0
VertRefresh 50.0-160.0
ModeLine "640x480" 74.58 640 672 832 896 480 482 494 520 #160Hz
ModeLine "800x600" 94.61 800 840 1040 1120 600 602 614 640 #132Hz
ModeLine "1024x768" 119.45 1024 1072 1312 1408 768 770 782 808 #105Hz
ModeLine "1152x864" 130.52 1152 1200 1440 1536 864 866 878 904 #94Hz
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
Option "NoLogo" "True" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
Option "NvAGP" "1" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" "True" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV18 [GeForce4 MX 4000 AGP 8x]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Code: Select all
$ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x1f000304
$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Enabled
SBA: Enabled
$ cat /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
PS. to moderater -- move if this is the wrong section, thank you



