View Single Post
Old 11-16-05, 03:20 AM   #1
ayleron
Registered User
 
Join Date: Feb 2005
Posts: 4
Default Lower than expected performance, FreeBSD 6 + PCI Express GeForce 6200 + nvidia 7676

I am trying to get accelerated performance on a PCI Express X16 NVidia GeForce 6200 TurboCache on FreeBSD 6.0-RELEASE with the NVidia 1.0-7676 accelerated driver. This is on a new Intel D945PVS motherboard + 3.0GHz Pentium-D with 2GB RAM.

The performance I'm seeing when running FlightGear is roughly 3 frames per second, and is roughly 1/10 of the frames/sec I get on my old/slow system (an Athlon 1.8GHz with an AGP 8X GeForce FX 5200, which gets an average of ~30 frames/sec).

When I run glxgears on the 3.0GHz PCI Express system with the GeForce 6200 TurboCache, I get around 725 FPS, which I've been told is basically equivalent to no acceleration. Running glxgears on an 8X AGP NVidia 6800 Ultra system with 3.4GHz P4 gets 13,846 FPS, so my PCI Express GeForce 6200 is roughly 1/19 the speed of a modern AGP solution. That same AGP 8X system gets roughly 60 frames/sec on FlightGear.

I've tried toggling about every option documented in NVidia's README and then some (EnableAGPFW, EnableAGPSBA, NvAGP=0,1,2,3, VideoEnhancement, etc), no changes in options or config has resulted in any real performance change.

In a separate test, I pulled the disk out of my system and ran it on a 3.2GHz P4 with a 6800 Ultra PCI Express X16 card, got 3 frames/sec on that system as well, so it looks like PCI Express is simply not running GLX apps anywhere as close to as fast as the same apps run on AGP.

FYI, to get the 1.0-7676 NVidia driver working on FreeBSD 6, I used the procedure described in the article at http://www.nvnews.net/vbulletin/show...48&postcount=5

Here's the ldd output for glxgears, in case it has something to do with GL libraries:

# ldd /usr/X11R6/bin/glxgears
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x2807a000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28104000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2810c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28119000)
libm.so.4 => /lib/libm.so.4 (0x281da000)
libpthread.so.2 => /usr/lib/libpthread.so.2 (0x281f0000)
libc.so.6 => /lib/libc.so.6 (0x28215000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x282ec000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x289ff000)
libm.so.3 => /usr/local/lib/compat/libm.so.3 (0x28a01000)

My xorg.conf and Xorg.0.log files are attached as text files. I've spent hours trying different settings to improve performance, and done web searches to find other people having similar performance problems, and found nothing helpful so far. The Xorg.0.log file said "(II) NVIDIA(0): Detected PCI Express Link width: 16X", so the NVidia driver seems to know about PCI Express. Is there any reason why this setup would silently not do acceleration? Is PCI Express "fully supported" by the 1.0-7676 NVidia driver?

Is anybody running FreeBSD 5.X or 6.0 with a PCI Express NVidia card and getting reasonably fast frame rates on any frame-rate-intensive applications (say over 30 frames/sec)? I would think a PCI Express x16 card should be *faster* than an AGP FX5200, not 1/20 the speed.. :-(

--Marc
Attached Files
File Type: txt xorg.conf.txt (3.0 KB, 401 views)
File Type: txt Xorg.0.log.txt (33.7 KB, 269 views)
ayleron is offline   Reply With Quote