nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   slow 2D refresh with nvidia driver (http://www.nvnews.net/vbulletin/showthread.php?t=7490)

KarlArschus 02-12-03 06:48 PM

slow 2D refresh with nvidia driver
1 Attachment(s)

I'm having a nvidia driver related problem on my Debian woody installation. The driver is - as far as I know - working properly (glx is fine). I had no problem with the installation although my hardware - M1541 and TNT - is sad not to work well with the driver.

My problem is that all my applications have problems in displaying text with the speed I am used to. Scrolling through large documents (text, pdf, thatever) is slow and in some apps I can write faster than the display draws the characters (and I am not a very fast writer ;)
Moving Windows on the screen has the same effect. Both things - scrolling and moving - need much CPU also.

Switching to the nv driver everything is normal (fast).

The card is detected correctly, no os-registry.c tweaking necessary. I tested 2880 and 3123 both with the same effect.

I tried to
- disable AGP (mode 2x is default, 1x is not working)
- using the kernel APG module

- (BIOS) disable the APG Turbo Mode
- (BIOS) disable Frame Buffer Post Write
- (BIOS) set I/O Recovery to 4 BUSCYL instead of 2

Could need some help here. Any ideas would be appreciated.



-- now some infos that might be useful

ASUS P5A BIOS 1011 Beta 05
XFree86 4.1.0

- [ /proc/mtrr
reg00: base=0xe7000000 (3696MB), size= 16MB: write-combining, count=1
reg01: base=0xe0000000 (3584MB), size= 64MB: write-combining, count=1

- [ /proc/driver/nvidia/version
NVRM version: NVIDIA NVdriver Kernel Module 1.0-2880 Tue Mar 26 08:12:38 PST 2002
GCC version: gcc version 2.95.4 20011002 (Debian prerelease)

- [ /proc/driver/nvidia/agp/card
Fast Writes: Not Supported
SBA: Not Supported
AGP Rates: 2x 1x
Registers: 0x0f000003:0x0f000102

- [ /proc/driver/nvidia/agp/host-bridge
Host Bridge: ALi M1541
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 2x 1x
Registers: 0x1c000203:0x0f000102

- [ /proc/driver/nvidia/agp/status
Status: Enabled
AGP Rate: 2x
Fast Writes: Disabled
SBA: Disabled

- [ /proc/driver/nvidia/cards/0
IRQ: 11
Video BIOS:
Card Type: AGP

f00000 02-13-03 02:30 AM

check your XF86Config-4 for RenderAccel

Option "RenderAccel" "boolean"
Enable or disable hardware acceleration of the RENDER
extension. Default: hardware acceleration of the RENDER
extension is disabled.

KarlArschus 02-13-03 04:48 AM

1 Attachment(s)
Since this option was introduced in 4191 I installed this one.
Thanks to this version the first init process is MUCH faster now -- compared to 2880 and 3123 ;)

However my problem still remains: the refresh is not keeping up.
Then I take a small window in front of this browser f.e. and move it really fast in small circles there are many instances of this window which are trying to keep up with top one. They are not supposed to be there, are they ?! With the nv driver everything is fine.

Any other suggestions ?
(other than taking the nv driver instead ;))

duboiswi 02-14-03 09:28 AM

same problems on tnt2 with 4191
I'm seening the same slow 2d performance with tnt2 using the
4191 driver -- 3d seems to work fine.

I also set
Option "RenderAccel" "True"

with no noticable improvement.

KarlArschus 02-16-03 07:19 AM

I now removed the kernels agpgart-Support so nvidia has control over AGP now. nvidia disables AGP (as described in the README), which is fine with me as long as the performance is the same as with nv.
Unfortunately it isn't :(

Hmm, maybe the test with the small window above the browser wasn't a good example after all.
I just wonder why there is so much CPU involved when using the nvidia driver. Isn't the driver supposed to transfer graphical stuff to the card not to bother the CPU ? At least in 3d related stuff?

Here is another test:

close all desktop apps. start two console windows a 80x24.
run "top" in the fist and type "P" to sort by CPU usage.
move the second window in small circles as fast as you can.

CPU comes up to 40 %

[nvidia with glx]
CPU comes up to 65 %

[nvidia without glx]
no difference

I think that explains my performance probs relating office/video applications ?! But why ? Is this normal ?

AMD K6-2 450

kajoaatde 04-29-03 05:29 AM

Re: slow 2D refresh with nvidia driver

Originally posted by KarlArschus
The card is detected correctly, no os-registry.c tweaking necessary. I tested 2880 and 3123 both with the same effect.

... did you try some older drivers from nvidia.

the 1541-version did and do *very* well for me! (ftp://download.nvidia.com/XFree86_40/1.0-1541)


All times are GMT -5. The time now is 11:13 PM.

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