Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia Driver AGP FastWrite and Side Band Addressing
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
John2583
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 87
Location: Raleigh, NC

PostPosted: Thu Jan 09, 2003 5:38 am    Post subject: Reply with quote

I just tried the suggested tip, but it didn't work. I have a Geforce4 Ti4200 64MB
Code:
cat /proc/driver/nvidia/cards/0
Model:           GeForce4 Ti 4200
IRQ:             11
Video BIOS:      04.25.00.29.00
Card Type:       AGP

Code:
cat version
NVRM version: NVIDIA Linux x86 NVdriver Kernel Module  1.0-3123  Tue Aug 27 15:56:48 PDT 2002
GCC version:  gcc version 3.2.1

Code:
cat host-bridge
Host Bridge:     nVidia (unknown)     
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000217:0x00000000

Code:
 cat card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000217:0x00000000


but unfortunately agp is still disabled :(
Code:
 cat status
Status:          Disabled

any ideas?

edit: also after i rebooted my /proc/driver/nvidia directory was gone! and there was a new directory in /proc/driver/ray_cs. so i ran startx and the nvidia directory and all the stuff inside it were recreated? what's up with that?

edit again: taskara just told me in a diff. thread that agp gart isn't supported yet for the nforce2 motherboard i have. oh well, i'll wait till nvidia releases them.
Quote:
I know you enabled it in the bios, but what I'm saying is that linux has no support for the nforce AGP gart.

Sure agp will work - I mean you can see your screen can't you?

but it won't have a specific driver loaded for it.

not until nvidia releases an agp driver, cause they keep all their stuff closed source.

_________________
iBook G3 600 Mhz, 640MB, 40GB, airport, DVD/CD-RW Gentoo PPC
PC specs: MSI K8N Neo4/SLI, A64 X2 3800+ @ 2.4GHz 2x1GB Corsair XMS DDR 400, Nvidia 7800GT
Back to top
View user's profile Send private message
DarkJedi9
Apprentice
Apprentice


Joined: 28 Oct 2002
Posts: 204

PostPosted: Fri Jan 10, 2003 1:20 am    Post subject: Reply with quote

John2583 wrote:

edit: also after i rebooted my /proc/driver/nvidia directory was gone! and there was a new directory in /proc/driver/ray_cs. so i ran startx and the nvidia directory and all the stuff inside it were recreated? what's up with that?


So the ray_cs deal was before you ran startx at all after a reboot? Not sure here, but possibly the nvidia stuff doesn't come into play until X is up and running. After all, agp gart doesn't do much when you're only in a console.
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sat Jan 18, 2003 11:41 am    Post subject: Reply with quote

its not gonna showup in the driver list unless its loaded, remeber that stuff in /proc really arent "files"
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Fri Jan 24, 2003 3:38 am    Post subject: Reply with quote

I'm looking for if somebody have try to enable fast writes on a MB Abit KT7a (with via kt133) with Geforce2Pro and if there is no problem of stability ?
I can enabled it, but before trying I will prefer to know if it's a good idea or not :)
If anybody answer me, I will try, but I prefer to know before :P
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri Jan 24, 2003 2:01 pm    Post subject: Reply with quote

my old kt133 worked fine, just try it. its not like you can permanatly hurt anything
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Sat Jan 25, 2003 2:32 am    Post subject: Reply with quote

Thanks for the information floam, I will try it at the next reboot, I have change my /etc/modules.d/nividia, so I'm ready to see if I will can play UT2k3 :P
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Jan 25, 2003 9:27 am    Post subject: Reply with quote

i would recommend removing xdm from the startup scripts when you try it, so you dont have to bot with the cd if it locks up your machine
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
ScubaStreb
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 118

PostPosted: Sat Mar 01, 2003 6:58 am    Post subject: Update to enable w/new Nvidia Drivers. Reply with quote

On the latest driver release, this solution didn't work for fast write and SBA. I edited my /etc/modules.d/nvidia file to look like this and it worked.

Code:
alias char-major-195 nvidia
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1


In the Nvidia 4191 driver release, they changed the module from "NVdriver" to "nvidia".

Good luck!
_________________
"Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry


Last edited by ScubaStreb on Sun Mar 02, 2003 2:07 am; edited 1 time in total
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Mar 01, 2003 8:27 am    Post subject: Reply with quote

with the new gentoo release the lines you need are only commented out in the relevant files
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Sat Mar 08, 2003 8:22 pm    Post subject: Reply with quote

seems like i am pretty fucked with the gf4go in my notebook :?

Code:

# cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART (inactive)
AGP Rate:        4x
Fast Writes:     Disabled
SBA:             Disabled

# cat /proc/driver/nvidia/agp/card   
Fast Writes:     Supported
SBA:             Not Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000017:0x1f000104

# cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     SiS (unknown)       
Fast Writes:     Not Supported
SBA:             Supported
AGP Rates:       4x 2x 1x
Registers:       0x1f000207:0x00000104

_________________
Markus Nigbur
Back to top
View user's profile Send private message
zephyr1256
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 170
Location: Kingsport, TN

PostPosted: Sat Mar 15, 2003 4:06 am    Post subject: Reply with quote

I gave this tip a try. Had no problems starting up fluxbox. We'll see if this is stable in a little while(in the past I could run for a while then it would lock up). Before(with Mandrake 9) I wasn't able to run with fast writes or agp greater than 2x, but I did things differently back then. Just for reference I'm using VIA KT266 MB with GeForce Ti 4200 128 MB(8x capable but my MB only supports 4x).

edit: It wasn't stable. Took a while but it eventually crashed, so I reverted to my previous settings.
Back to top
View user's profile Send private message
hooligan
n00b
n00b


Joined: 18 Feb 2003
Posts: 48

PostPosted: Sun Mar 30, 2003 9:52 am    Post subject: Reply with quote

aw weak... I had to update my mobo's bios to support my new processor... and now /proc/driver/nvidia/agp/host-bridge says that Fast Writes are not supported... but it worked prior to my update...

hmmm... agp fast write or 200MHz more processor?

I think I will have to stick with no agp fast write... but it still really really sucks
_________________
hooligan
shellbent.com, useful only in its uselessness.
Back to top
View user's profile Send private message
MatzeOne
Guru
Guru


Joined: 07 Sep 2003
Posts: 579
Location: Hamburg, Germany

PostPosted: Fri Oct 10, 2003 9:22 am    Post subject: Reply with quote

what are good benchmarks to see if the activation of fast write and sba increase the performance?

i only know glxgears
_________________
Mit null lässt sich eine ganze Menge machen.
Sportschule Hamburg
Back to top
View user's profile Send private message
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Tue Oct 14, 2003 9:31 pm    Post subject: Reply with quote

Just if you activated the fast write and it makes your X crash even you retired the fast write just compil again the nvidia module
Back to top
View user's profile Send private message
dmind
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2003
Posts: 120
Location: sweden, Terra, Sol, Milky Way

PostPosted: Fri Oct 17, 2003 11:08 am    Post subject: Reply with quote

floam wrote:
my old kt133 worked fine, just try it. its not like you can permanatly hurt anything

can only agree, i have a asus a7v kt133 motherboard and i just recently "upgraded" to an good old geforce2 mx 400 64mb card (bought it from a friend for nothing) and tried it out and works like a charm. though it doesnt support sba. so now i can play nwn and stuff! 8) nwn didnt like me old tnt1 :lol:
_________________
Gentoo: it just changed my love life.
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Tue Jan 13, 2004 9:34 am    Post subject: Reply with quote

when i enabled sba and fw, my system
locks up when i run tvtime for a minute
or so.

before i ran tvtime, i ran glxgears, which
produced the same fps as without sba
and fw.

both things considered, i'll leave them off.
Back to top
View user's profile Send private message
grrrrr
n00b
n00b


Joined: 05 Nov 2002
Posts: 38
Location: belgium

PostPosted: Mon Mar 01, 2004 10:41 pm    Post subject: Reply with quote

fw and sba won't make a difference in glxgears
it'll only show in stuff that uses large textures, like games and stuff
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Thu Mar 04, 2004 2:07 am    Post subject: Reply with quote

k...followed the tip...here's the results

Code:
-(swells@psalms)-(pts0)-(18:01/03-Mar-04)--
--<~>-- cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        8x
Fast Writes:     Enabled
SBA:             Disabled
--(swells@psalms)-(pts0)-(18:01/03-Mar-04)--
--<~>-- cat /proc/driver/nvidia/agp/card   
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x1f004112
--(swells@psalms)-(pts0)-(18:01/03-Mar-04)--
--<~>-- cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     Intel Corp. 82875P Memory Controller Hub
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f004a1b:0x00000912

since it's supported by both card and mobo...how come even after enabling it, sba doesn't show up? help?
_________________
while(true) {self.input(sugar);} :twisted:
Back to top
View user's profile Send private message
Glorandar
n00b
n00b


Joined: 15 Jun 2003
Posts: 64
Location: Vancouver, BC, Canada

PostPosted: Thu Mar 04, 2004 8:46 am    Post subject: I have had the same issue but its now working! Reply with quote

Quote:
since it's supported by both card and mobo...how come even after enabling it, sba doesn't show up? help?

I have (apparently) had the same issue until I used both the latest kernel with the latest nvidia drivers. Also my glxgears performance was suffering.

However, I overcame those issues this evening, on the following system, with the included configuration details:
Code:
mobo: ABIT NF7-S rev 2 [the standard nforce2 ultra 400 chipset)
video card: GeForce FX 5600
sys-kernel/gentoo-dev-sources-2.6.3-r1 [AGPGART enabled]
media-video/nvidia-kernel-1.0.5336-r1
media-video/nvidia-glx-1.0.5336-r1
To emerge these (latest) keyword masked versions of the nvidia driver, add these two lines to /etc/portage/package.keywords:
Code:
media-video/nvidia-glx
media-video/nvidia-kernel
Here is my /etc/X11/XF86Config's Device section:
Code:
Section "Device"
        Identifier  "NVAGP"
        Driver      "nvidia"
        VendorName  "nvidia"
        Option      "NvAGP" "3"
        Option      "CursorShadow" "yes"
        Option      "NoLogo" "yes"
        Option      "RenderAccel" "yes"
EndSection
Here are my AGP results:
Code:
wblew@mortis wblew $ cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        8x
Fast Writes:     Enabled
SBA:             Enabled
wblew@mortis wblew $ cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x1f004312
wblew@mortis wblew $ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     nVidia Corporation nForce2 AGP (different version?)
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f00421b:0x00000312
Here are my glxgears results:
Code:
wblew@mortis wblew $ glxgears
7164 frames in 5.0 seconds = 1432.800 FPS
9204 frames in 5.0 seconds = 1840.800 FPS
9172 frames in 5.0 seconds = 1834.400 FPS
9177 frames in 5.0 seconds = 1835.400 FPS
I hope this helps.
_________________
----- Glorandar


Last edited by Glorandar on Thu Mar 04, 2004 3:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Thu Mar 04, 2004 3:41 pm    Post subject: Reply with quote

floam wrote:
be warned: enabling fastwrites can cause lots of system instability with some via chipsets.


works perfect on asus k8v deluxe with via k8t800
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Sun Mar 21, 2004 11:30 pm    Post subject: Reply with quote

Same problem as rbonthond and christsong84
Code:
$ cat /etc/X11/XF86Config | grep NvAGP
    Option "NvAGP" "1"
Code:
$ cat  /etc/modules.d/nvidia
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
Code:
$ cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Code:
$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     nVidia Corporation nForce2 AGP (different version?)
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Code:
$ cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          NVIDIA
AGP Rate:        8x
Fast Writes:     Enabled
SBA:             Disabled

My System:
Quote:
mobo: Epox 8RDA+ rev 1.1
video card: GeForce 4 Ti 4200
sys-kernel/gentoo-dev-sources-2.6.3-r1 [AGPGART disabled, using NVIDIA driver]
media-video/nvidia-kernel-1.0.5336-r1
media-video/nvidia-glx-1.0.5336-r1


How can I get SBA enabled?

Thanks in advice.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Fri Apr 09, 2004 4:32 am    Post subject: Reply with quote

yeah same here, i want to know how to get SBA enabled. i have fastwrite on and its not doing much of a difference.
_________________
John5788
Back to top
View user's profile Send private message
buser
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2004
Posts: 92
Location: right here

PostPosted: Sun Apr 11, 2004 10:51 pm    Post subject: Reply with quote

Crashes instantly with SBA and Fastwrites enabled. Crashes after about 8 days uptime randomly with Fastwrites enabled and SBA disabled. Rock solid stable with both off.

Specs:

Asus A7v Kt133
Crucial pc 133 Ram
MSI Geforce 4 ti-4200 64mb
Kernel 2.6.3-gentoo-r1
_________________
g3nt00 is |337
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Sun Apr 11, 2004 11:02 pm    Post subject: Reply with quote

my system locked up with only fastwrite on while playing an opengl game.
_________________
John5788
Back to top
View user's profile Send private message
dmitrio
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2002
Posts: 115
Location: Pago Pago

PostPosted: Thu Jul 22, 2004 7:39 pm    Post subject: :. copied to gentoo-wiki.com Reply with quote

I have copied this HOWTO, with permission of elboricua to gentoo-wiki.com
http://gentoo-wiki.com/HARDWARE_Nvidia_Driver_AGP_FastWrite_and_Side_Band_Addressing
If you see anything that should be added or changed, feel free to do so.

Thank you for a great HOWTO
_________________

... Leaving ground, destination is unknown,
into the darkness and far away from home,
Will your dream come true and what will you find,
when fate is your guide ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum