nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   "4496" the os-registry.c (http://www.nvnews.net/vbulletin/showthread.php?t=19381)

feeyo 10-11-03 04:06 AM

"4496" the os-registry.c
I have added full agp 4x support in nvidia drivers "4496" in the os-registry.c file.

Now what i want to know is how do i configurate 8x agp support?
I have an agp8x 256MB DDR geforce FX 5600 graphics card.

And another thing i want to know is where can i add the:
__GL_FSAA_MODE 5 4x Gaussian Multisampling mode???

This are the options i can set:

__GL_FSAA_MODE GeForce FX, Quadro FX
0 FSAA disabled
1 2x Bilinear Multisampling
2 2x Quincunx Multisampling
3 FSAA disabled
4 4x Bilinear Multisampling
5 4x Gaussian Multisampling

And where can i config the:

settings are supported for my card:
__GL_DEFAULT_LOG_ANISO GeForce3/GeForce4 Ti/GeForce FX Description
0 No anisotropic filtering
1 Low anisotropic filtering
2 Medium anisotropic filtering
3 Maximum anisotropic filtering

Please let me know in what file i can config those options. and the agp8x support.

Thanx alot.

Soul-Crusher 10-12-03 06:51 AM

8x AGP should be enabled automatically if your mainboard supports it. You can check the status with this command:
cat /proc/driver/nvidia/agp/status
It would be helpful to know what kind of motharboard you are using if you are certain that 8x AGP should be enabled.

FSAA and anisotrophic filtering are enabled as environment variables. This can be pretty inconvenient, but better than nothing... If you're using bash, open an xterm and try this:
export __GL_FSAA_MODE=5
For csh or tcsh, try this:
setenv __GL_FSAA_MODE 5

I suggest using YanC, yet another nVidia configurator.

feeyo 10-12-03 06:54 AM

Thanx alot :)
At last somebody with a bit of knowledge :)

my mobo supports 8xAGP and fast writes.
i'll check that tool out now.

feeyo 10-12-03 07:11 AM

Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Enabled
SBA: Disabled

what's SBA?

i did an:
F33y0@earth:~> export __GL_FSAA_MODE=5
and a:

F33y0@earth:~> export __GL_DEFAULT_LOG_ANISO=3
dont know if the last 1 will help :)

The Analog Kid 10-12-03 08:27 AM

Your motherboard may support it but AGPGART in the 2.4 kernel series doesn't. I think NvAGP does though, so use that.

Soul-Crusher 10-12-03 06:25 PM

As you may already know, AGP is basically PCI on steroids. SBA enables the sideband address port. One limitation of PCI is that when a request is made to access system memory, no other requests can be made. Sideband addressing removes this limitation.

To enable it, you may edit the line in the os-registry.c file containing "NVreg_EnableAGPSBA" to 1, or you can enable it when loading your nvidia module. I forget the insmod / modprobe syntax, but I think you can just add the NVreg_EnableAGPSBA=1 as an argument like this:
insmod nvidia.o NVreg_EnableAGPSBA=1

Toy around with it if you get the chance, I'll check later on myself and post instructions if I figure it out.

feeyo 10-13-03 03:56 AM

1 Attachment(s)

I will try it out right now. C if there is any improvement.
thanx for your info.

My XFConfig

Soul-Crusher 10-13-03 04:51 PM

Just for fun, I appended this to my /etc/modules.conf file:
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_ReqAGPRATE=4

The NVreg_ReqAGPRATE doesn't seem to work with agpgart, but that's to be expected since agpgart sets the rate. You might want to try that with a rate of 8 instead of 4 for your motherboard and with the NvAGP driver.

However, modprobe loads AGPSBA and AGPFW for me whenever I load X now. Sweet :)

feeyo 10-16-03 06:48 AM

I cant get this to work :(
Just for fun, I appended this to my /etc/modules.conf file:
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_ReqAGPRATE=4

Gives me errors on kernel booting??
Tells me that modules.conf is newer then kernel modules...

All times are GMT -5. The time now is 07:37 AM.

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