public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: How to disable slow agpgart in kernel config?
@ 2005-02-12 18:16 Marcus Hartig
  2005-02-12 18:26 ` Arjan van de Ven
  0 siblings, 1 reply; 14+ messages in thread
From: Marcus Hartig @ 2005-02-12 18:16 UTC (permalink / raw)
  To: linux-kernel

Terence Ripperda wrote:

 > I wouldn't expect even falling back to pci dma would have this big of an
 > impact on 2d performance, but perhaps there's enough bus activity for
 > this to happen. Marcus, can you verify that you're actually using
 > agpgart in that situation? do you possibly have our XF86Config option
 > set to nvagp only? (with IOMMU compiled in or agpgart loaded, our driver
 > won't allow nvagp) you can verify whether agp is enabled with this
 > command when our driver is loaded and X is started up:

No, IOMMU is now off, too. And I have always used nv_agp with:

Option      "NvAgp" "1"

If the nvidia driver detects the kernel agpgart, it doesn't load nv_agp 
with a big message in the kernel log.

I've just short tested it again:

Doom3 with medium standard settings in 800x600@24bit:

agpgart: 58,1 frames
nv_agp: 63,1 frames

Its a lot in Doom3.

(Simple) 2D test 1280x1024@24bit with x11perf --> http://www.marcush.de/bench/

Same gcc, xorg 6.8.2, 2.6.11-rc3-bk8 kernel, patched (minion.de) 6629 
nvidia drivers to run with newer 2.6.11-rcX kernel,... here was only 
nv_agp and agpgart the difference. In the past without an patched driver 
the same difference.

And again using agpgart with GNOME under X and moving this thunderbird 
mail window or other bigger ones like mozille or firefox over an 
gnome-terminal pulls/draws a ca. 5cm shadow like field slowly after the 
main window. It seems so not fast enough writing to the screen, when 
moving. With nv_agp its really faster and you do not see this.

Bad english... I know. ;)

Greetings,
Marcus

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: How to disable slow agpgart in kernel config?
@ 2005-02-11 18:04 Nick Warne
  2005-02-11 18:48 ` Dave Jones
  0 siblings, 1 reply; 14+ messages in thread
From: Nick Warne @ 2005-02-11 18:04 UTC (permalink / raw)
  To: linux-kernel


> > This surprises me, especially considering the in-kernel nvidia-agp driver
> > was actually written by NVidia. Are there any agp error messages in
> > your dmesg / X log ?

> With the nVidia own nv_agp it appears directly in all apps, very fast 
> under GNOME 2.8.1. Why, I do not know. Also game (opengl) performance is 
> faster with the nv_agp, that I haven't used the kernel agp for months, now.

This is interesting.  I always used agpgart without a second thought (2.4.29, 
GeForce4 MX with Via KT133 chipset).

I just read through the nVidia readme file, and there is a comprehensive 
section on what module to use for what chipset (and card).  It recommends 
using the nVagp for my setup, so I just rebuilt excluding agpgart so I can 
use the nVdia module.

I never had slowness as such in KDE or X apps, but playing quake2 openGL I 
used to get a 'wave' type effect rippling down the screen occasionally.  A 
quick test using the nVagp module to have fixed that...

I will test for a few weeks.

Nick
-- 
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."

^ permalink raw reply	[flat|nested] 14+ messages in thread
* How to disable slow agpgart in kernel config?
@ 2005-02-11  6:07 Marcus Hartig
  2005-02-11  6:21 ` Dave Jones
  0 siblings, 1 reply; 14+ messages in thread
From: Marcus Hartig @ 2005-02-11  6:07 UTC (permalink / raw)
  To: linux-kernel

Hello,

the agpgart backend is now always compiled in and selected with 2.6.11-rc3 
x86_64. I can delete or disable it in the config, it is always back written.

Is this the default future behaviour? The eg Nforce3 AGP is on a normal 
desktop so slow on 2D and also in 3D mode a lot slower and all nvidia 
kernel driver users can not more use the really faster nv_agp.

Greetings,
Marcus

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-02-13  9:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-12 18:16 How to disable slow agpgart in kernel config? Marcus Hartig
2005-02-12 18:26 ` Arjan van de Ven
2005-02-12 19:36   ` Marcus Hartig
2005-02-12 20:47     ` Dave Jones
2005-02-13  9:20       ` Marcus Hartig
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11 18:04 Nick Warne
2005-02-11 18:48 ` Dave Jones
2005-02-11 22:19   ` Terence Ripperda
2005-02-11 22:34     ` Nick Warne
2005-02-11  6:07 Marcus Hartig
2005-02-11  6:21 ` Dave Jones
2005-02-11 16:21   ` Marcus Hartig
2005-02-11 18:46     ` Dave Jones
2005-02-11 21:08       ` Marcus Hartig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox