[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perfomance problems with NVidia



On Thu, 2005-07-07 at 22:20 +0000, Sven Krahn wrote: 
> On 7/7/05, Jamie Jones <hentai_yagi@yahoo.com.au> wrote:
> > Out of curiosity what are your values for
> > /proc/driver/nvidia/version
> > /proc/driver/nvidia/agp/card
> > /proc/driver/nvidia/agp/host-bridge
> > /proc/driver/nvidia/agp/status
> 
> > That may provide a clue as to why your performance seems a little slow
> 
> Good idea, here are mine:
> 
> > eg On my (Ubuntu) system I get
> 
> Debian amd64 sid - 2.6.11-9-amd64-k8
> 
> > jamie@workhorse:~$ cat /proc/driver/nvidia/version
> > NVRM version: NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-7174  Tue
> > Mar 22 06:45:40 PST 2005
> > GCC version:  gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
> 
> NVRM version: NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-7174  Tue
> Mar 22 06:45:40 PST 2005
> GCC version:  gcc version 3.4.5 20050613 (prerelease) (Debian 3.4.4-4)
> 
> Would gcc-3.4 cause a performance difference of the driver versus 3.3?

If it does, gcc 3.4 should perform a little better as it has better
amd64 support, but as Nvidia is a binary module, I don't think we would
notice it, after all we can't compile it ourselves.

> 
> > jamie@workhorse:~$ cat /proc/driver/nvidia/agp/card
> > Fast Writes:     Supported
> > SBA:             Not Supported
> > AGP Rates:       4x 2x 1x
> > Registers:       0x1f000017:0x1f000114
> 
> Fast Writes:     Supported
> SBA:             Supported
> AGP Rates:       8x 4x
> Registers:       0x1f000e1b:0x1f004302
> 
> Fast writes seem to be supported, however, I don't manage to activate
> them. I have
>    Option          "AGPFastWrite"          "true"
> in my xorg.conf, and alternatively I did also try to load the nvidia
> driver with the experimental option NVreg_EnableAGPFW=1 before
> starting X. But Fast Writes always shows up as Disabled in
> /proc/.../status (see below).
> 
> > jamie@workhorse:~$ cat /proc/driver/nvidia/agp/host-bridge
> > Host Bridge:     VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge
> > Fast Writes:     Supported
> > SBA:             Supported
> > AGP Rates:       4x 2x 1x
> > Registers:       0x1f000a17:0x00000114
> 
> Host Bridge:     Silicon Integrated Systems [SiS] 755 Host
> Fast Writes:     Not Supported
> SBA:             Supported
> AGP Rates:       8x 4x
> Registers:       0x1f004e0b:0x00000f02
> 

Because your host-bridge does not also support fastwrites you won't be
able to enable it.

> > jamie@workhorse:~$ cat /proc/driver/nvidia/agp/status
> > Status:          Enabled
> > Driver:          AGPGART
> > AGP Rate:        4x
> > Fast Writes:     Enabled
> > SBA:             Disabled
> 
> Status:          Enabled
> Driver:          AGPGART
> AGP Rate:        8x
> Fast Writes:     Disabled
> SBA:             Enabled
> 
> Fast Writes is disabled, how to activate it? Maybe the "LE" of my
> 5700LE restricts the Fast Writes, not sure, need to check...
> 

No, Your 5700LE is fine. Your driver setup is tuned to optimal speed, so
the slowdown is caused elsewhere.

> Thanks again.

No problems. Something that came to mind that may affect your results
are background programs, and your desktop environment. Do you have any
CPU or graphically intensive applications running ? eg on my system when
running the distributed.net client at lowest priority, glxgears only
gives me 198FPS (32bit desktop), stopping it and I shoot up to 2300FPS
(32bit desktop). Other things that that give me a performance hit
include running java, and receiving email when benchmarking
(spamassassin is a cpu hog).

Hope it helps.

Jamie

-- 
GPG/PGP signed mail preferred. No HTML mail. No MS Word attachments
PGP Key ID 0x4B6E7209
Fingerprint E1FD 9D7E 6BB4 1BD4 AEB9 3091 0027 CEFA 4B6E 7209

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: