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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-04, 09:08 AM   #1
tpurtell
Registered User
 
Join Date: Dec 2004
Posts: 6
Default NVIDIA 6629 driver & AMD 8151 AGP: slow readback

The newest nvidia drivers claim support for the AMD 8151 AGP Bridge. Unfortunately, they don't seem to support using it at full speed. Has anyone checked the readback speed on an 8151? The older drivers got much faster readback, but they don't support the OpenGL features I need (GLSL, aux buffers, multiple render targets).

Using the 6111 drivers, I achieved a readback of 860MB/s + (w/kernel AGPGART)
Using the 6629 drivers, I get a readback rate of 180MB/s (w/kernel AGPGART)
Using the 6629 drivers and the NVIDIA AGP driver I get 127MB/s (PCI Readback speed)

I am using a custom motherboard based on a combination of the Tyan S2885 and AMD Solo boards.

Other information:
SUSE Linux for x86_64, kernel 2.6.6
XFree86 Version 4.3.0.1
AMD Athlon64 2.2GHz

192:/home/dev # cat /proc/driver/nvidia/cards/0
Model: GeForce 6800 Ultra
IRQ: 17
Video BIOS: 05.40.02.15.11
Card Type: AGP


192:/home/dev # lspci -v -s 02:00.0
02:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0040 (rev a1) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 17
Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Memory at f1000000 (32-bit, non-prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0


192:/home/dev # cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1
reg01: base=0xf4000000 (3904MB), size= 64MB: write-combining, count=1
reg02: base=0xe0000000 (3584MB), size= 256MB: write-combining, count=1

192:/home/dev # cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled

192:/home/dev # grep agp /var/log/boot.msg
<6>Linux agpgart interface v0.100 (c) Dave Jones
<7>bus pci: add driver agpgart-amd64
<6>agpgart: Detected AMD 8151 AGP Bridge rev B3
<6>agpgart: Maximum main memory to use for agp memory: 440M
<6>agpgart: AGP aperture is 64M @ 0xf4000000
<7>CLASS: registering class device: ID = 'agpgart'
<7>class_hotplug - name = agpgart
<7>bound device '0000:01:01.0' to driver 'agpgart-amd64'

192:/home/dev # dmesg |grep agp
agpgart: Found an AGP 3.0 compliant device at 0000:01:01.0.
agpgart: Putting AGP V3 device at 0000:01:01.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 8x mode

I have attached the source code for the simple test which returns these results.
Attached Files
File Type: txt rd-test.cpp.txt (1.0 KB, 136 views)

Last edited by tpurtell; 12-13-04 at 01:00 PM.
tpurtell is offline   Reply With Quote
Old 12-13-04, 11:18 AM   #2
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

I cannot compile it:
Code:
g++ rd-test.cpp -o rd-test -lGL -lGLU -march=athlon-xp -m3dnow
rd-test.cpp:1:21: GL/glew.h: No such file or directory
rd-test.cpp: In function `int main(int, char**)':
rd-test.cpp:49: Error: `glewInit' undeclared (first use this function)
rd-test.cpp:49: Error: (Each undeclared identifier is reported only once for each function it appears in.)
the file does'nt exists here (fc3)
Quote:
ls /usr/include/GL/
freeglut_ext.h glext.h glut.h GLwMDrawA.h glx.h glxproto.h
freeglut.h gl.h GLwDrawA.h GLwMDrawAP.h glxint.h glxtokens.h
freeglut_std.h glu.h GLwDrawAP.h glxext.h glxmd.h osmesa.h
Dragoran is offline   Reply With Quote
Old 12-13-04, 11:26 AM   #3
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

I got it working by editing the source i get:
191.816 MB/s
Sys:
Fedora Core 3
AMD Athlon XP 2800+(@2200mhz)
786MB DDR333 RAM / CL2
------
cat /proc/driver/nvidia/cards/0
Model: GeForce4 Ti 4200 with AGP8X
IRQ: 11
Video BIOS: 04.28.20.25.11
Card Type: AGP
-------
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 8948
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Expansion ROM at dfee0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
------
cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1
reg01: base=0x20000000 ( 512MB), size= 256MB: write-back, count=1
reg02: base=0xd8000000 (3456MB), size= 64MB: write-combining, count=1
reg03: base=0xe0000000 (3584MB), size= 256MB: write-combining, count=1
------
cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Enabled
SBA: Enabled
----------
dmesg |grep agp
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: AGP aperture is 256M @ 0xe0000000
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
----------
Dragoran is offline   Reply With Quote
Old 12-13-04, 01:00 PM   #4
tpurtell
Registered User
 
Join Date: Dec 2004
Posts: 6
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

Thanks. I replaced the source in my original post with a copy that does not depend on glew. It does still use boost for timing though. Also, I changed the size of the buffer it downloads to 256x256. This used to be the fastest size buffer to download (go figure).

to build it:

gcc rd-test.cpp -o rd-test -I work/boost/ -lglut -lGL -lGLU

On my other workstation which has a via K8T800 AGP Bridge, I get significantly better performance. 531MB/s

I actually tested the performance of numerous AGP implementations some time ago to find the best chipset to use for optimal readback.

Is anyone else noticing slow readback with the 6629 drivers?
tpurtell is offline   Reply With Quote
Old 12-13-04, 02:37 PM   #5
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

I'm getting 182.482 MB/s with 6629, but it's a SiS 645DX 4x AGP interface... I should probably upgrade my rig for optimal performance out of this 5700.
Ironi is offline   Reply With Quote
Old 12-16-04, 09:20 AM   #6
tpurtell
Registered User
 
Join Date: Dec 2004
Posts: 6
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

I also tested reading pixel data on a Tyan S2885 motherboard. Using the 6111 driver I got 948MB/s. Using the 6629 driver I got 127MB/s. (Both with the kernel AGP driver).

It seems to me that the 6629 driver is not using AGP or is not initializing it properly (with the 8151 AGP Bridge only, seeing as my computer with a via AGP bridge gets over 500MB/s).

Any ideas how to make the nvidia 6629 driver use full speed AGP readback on the AMD 8151.

I'm guessing it may just require waiting for a new driver.
tpurtell is offline   Reply With Quote
Old 03-11-05, 07:12 PM   #7
dandano
hardware antiquarian
 
Join Date: May 2004
Location: Lynchburg, VA
Posts: 282
Default Re: NVIDIA 6629 driver & AMD 8151 AGP: slow readback

Did you ever find a way to fix this? I have recently acquireda Tyan S2885, and I am experiencing really slow 2d performance using the 6629 drivers with Mandrake 10.2.
__________________
Intel Core i7-950 3.06GHz LGA 1366 | Asus P6X58D-E | Mushkin Enhanced Blackline 6GB (3 x 2GB) DDR3 1600 (7-8-7-20) | Western Digital VelociRaptor 1TB SATA (Windows 7 Pro) | LiteOn iHES208 BluRay DVD Burner SATA | EVGA GTX 770 SC | Corsair HX650 PSU 3.3v(24A) 5v(30A) 12v(52A) | Lian Li PC-60 Plus case with window (black) | Monsoon 2.1 Speakers | Dell UltraSharp U2410 LCD (1920x1200@60Hz)
dandano 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
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
NVIDIA 3123 driver on SuSE 8.0 Ok , but slow to start X Gabolander NVIDIA Linux 3 09-27-02 07:41 AM

All times are GMT -5. The time now is 06:05 PM.


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