Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 01:02:48 -0500
From:      Louis LeBlanc <FreeBSD@keyslapper.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: NVidia driver not using AGP?
Message-ID:  <20041201060248.GA64694@keyslapper.org>
In-Reply-To: <20041130132216.k8swskk0g4oc84ok@www.sweetdreamsracing.biz>
References:  <200411291513.35761.kirk@strauser.com> <20041129215849.GH23654@keyslapper.org> <20041129171611.eqs4wkgok080swcg@www.sweetdreamsracing.biz> <20041129225335.GI23654@keyslapper.org> <20041130112711.0w4w0sk40wg04kow@www.sweetdreamsracing.biz> <20041130164508.GB29924@keyslapper.org> <20041130132216.k8swskk0g4oc84ok@www.sweetdreamsracing.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/30/04 01:22 PM, Kenneth Culver sat at the `puter and typed:
> Quoting Louis LeBlanc <FreeBSD@keyslapper.org>:
> 
> > On 11/30/04 11:27 AM, Kenneth Culver sat at the `puter and typed:
> >> Quoting Louis LeBlanc <FreeBSD@keyslapper.org>:
> >>
> >> > <SNIP>
> > I'll post the result tonight.
> >
> > Thanks for straightening me out there!
> >
> No problem. Sorry if I seemed rude.

Not at all!  I'm sure I have better things to do than get overly
sensitive when someone brings a firm hand to straighten me out -
especially when I really *am* wrong and just can't seem to interpret
the data in front of my nose.  It's not like you were being insulting,
so no worries :)

Anyway, as promised, I changed the xorg.conf setting in my card setup
as follows (Sorry it's so late):

        Option "NvAGP" "2"

and restarted Xorg.  Now, I have this:

# sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x 
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0x1f000e1b:0x1f004302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: freebsd (agp.ko)
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module  1.0-6113 Mon Aug  2 16:08:32 PDT 2004
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.cards.0.model: GeForce FX 5200
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 04.34.20.22.bf
hw.nvidia.cards.0.type: AGP


Correct me if I'm wrong, but it looks like I really AM using AGP now,
and at the full 8x acceleration.

You know, it does look like Firefox is rendering images a little
faster now - ever so slightly.  Switching Fvwm pages seems to render
windows a good bit faster.  Most noticeable when switching from an
empty page (no windows) into one with Firefox running.

Switching Fvwm desktops doesn't seem much faster than before - don't
get me wrong, it beats the pixels off my old system, but not much
faster than before turning agp on.  Of course, it's rendering a
1560x1024 wallpaper, so . . .

There are still the EnableVia4x, EnableALiAGP, EnableAGPSBA, and
EnableAGPFW settings that appear to be off (0).  Not sure what these
are yet; I wonder if they're mentioned in the Linux doc.  I wonder if
the nvidia-settings port will tweak these or if I have to have the NV
AGPGART working to get them on - assuming I want them on . . .

On top of that, I noticed that the agp.card.fw is "supported" but the
status is "disabled".  I wonder what's up with that?

It's probably not important, but I also noticed the FlatPanelMode
setting is 0, even though both my monitors are flat panels - probably
because they're both VGA plugs, and "FlatPanel" actually means Digital
Video Interface (DVI).

Looks like the agp.ko support does work for some NVIDIA boards, just
not all of them.

Well, it'll be the weekend before I can give the NVidia AGPGART driver
a go because I'll have to rebuild the kernel without the agp device,
and then only if the boss (the weekend boss) gives me time to play -
honeydo list is getting long.  If I can get to it, I'll post those
results too.

Thanks again Kenneth, for setting me right with this.

Lou
-- 
Louis LeBlanc               FreeBSD@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

The more they over-think the plumbing the easier it is to stop up the
drain.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041201060248.GA64694>