nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   How to set the AGP to 2x???? (http://www.nvnews.net/vbulletin/showthread.php?t=7040)

Hawkins 02-02-03 11:48 AM

How to set the AGP to 2x????
 
Hi all:
How can I set the AGP 2x???:
I have this at modules.conf:

alias char-major-195 nvidia
options nvidia NVreg_ReqAGPRate=2

this is the content of /proc/driver/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x0f000101

and this is the contect of host-bridge
Host Bridge: AMD Irongate
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 2x 1x
Registers: 0x0f000203:0x00000101

AND THIS IS THE #~#~ STATUS!!!
Status: Enabled
Driver: NVIDIA
AGP Rate: 1x
Fast Writes: Disabled
SBA: Disabled

This is all the options I have in the XF86Config:
Section "Device"
BoardName "GeForce2 MX/MX 400"
BusID "1:5:0"
Driver "nvidia"
Identifier "Device[0]"
Option "NvAGP" "1" # use nvidia agp
#Option "NvAGP" "0" # disable agp
#Option "NvAGP" "3" # try 2 than 1
#Option "NvAGP" "2" # use agpgart
Option "ConnectedMonitor" "CRT"
Option "CursorShadow" "on"
Option "HWCursor" "on"
Option "NoLogo" "on"
VendorName "NVidia"
EndSection

Please, help me, I tried almost all. I read that my chipset is unstable under agp 2x, this is not true, I used AGP 2x (enabling it with Power Strip) and I get a good perfomance.

One more thing, the MoBo is a FIC SD-11 and there is no BIOS setting to change the AGP.

bwkaz 02-02-03 03:41 PM

Well, if the default drivers only give you AGP 1x, then that's because they think your chipset isn't stable at 2x or 4x.

If you want to prove them wrong, then you're going to have to install the NVIDIA_kernel package from .tar.gz. Unpack it (with tar xvzf or similar), and edit the os-registry.c file after it's decompressed. Don't change the NVreg_ReqAGPRate setting in there (well... you can if you want to, but if you do change it here rather than using a module param, you'll never be able to use any other AGP rate...), but do, near the bottom of the file, get rid of the two underscores in the string.

For example, the last few lines of my os-registry.c look like this:

Code:

nv_parm_t nv_parms[] = {
    { NULL, "__VideoMemoryTypeOverride",  &NVreg_VideoMemoryTypeOverride  },
    { NULL, "ResmanDebugLevel",          &NVreg_ResmanDebugLevel        },
    { NULL, "EnableVia4x",                &NVreg_EnableVia4x              },
    { NULL, "EnableALiAGP",              &NVreg_EnableALiAGP            },
    { NULL, "UpdateKernelAGP",            &NVreg_UpdateKernelAGP          },
    { NULL, "__ReqAGPRate",              &NVreg_ReqAGPRate              },
    { NULL, "EnableAGPSBA",              &NVreg_EnableAGPSBA            },
    { NULL, "EnableAGPFW",                &NVreg_EnableAGPFW              },
    { NULL, "SoftEDIDs",                  &NVreg_SoftEDIDs                },
    { NULL, "Mobile",                    &NVreg_Mobile                  },
    { NULL, "FlatPanelMode",              &NVreg_FlatPanelMode            },
    { NULL, NULL,                        NULL                            }
};

so I would change it to look like this:

Code:

nv_parm_t nv_parms[] = {
    { NULL, "__VideoMemoryTypeOverride",  &NVreg_VideoMemoryTypeOverride  },
    { NULL, "ResmanDebugLevel",          &NVreg_ResmanDebugLevel        },
    { NULL, "EnableVia4x",                &NVreg_EnableVia4x              },
    { NULL, "EnableALiAGP",              &NVreg_EnableALiAGP            },
    { NULL, "UpdateKernelAGP",            &NVreg_UpdateKernelAGP          },
    { NULL, "ReqAGPRate",                &NVreg_ReqAGPRate              },
    { NULL, "EnableAGPSBA",              &NVreg_EnableAGPSBA            },
    { NULL, "EnableAGPFW",                &NVreg_EnableAGPFW              },
    { NULL, "SoftEDIDs",                  &NVreg_SoftEDIDs                },
    { NULL, "Mobile",                    &NVreg_Mobile                  },
    { NULL, "FlatPanelMode",              &NVreg_FlatPanelMode            },
    { NULL, NULL,                        NULL                            }
};

Notice how there are now no __'s in front of ReqAGPRate? That's the way it should be. ReqAGPRate is disabled by default -- the reason is detailed up by the setting itself in os-registry.c.

Once you change that, you can just make the driver, and then try passing it the higher ReqAGPRate parameter. If it works, and if your system is stable, then continue using it. If not, you're going to have to revert that change back.

Hawkins 02-02-03 05:57 PM

it works!!!!!
 
Status: Enabled
Driver: NVIDIA
AGP Rate: 2x
Fast Writes: Disabled
SBA: Disabled

I need to see now if this configuration is stable. Thank you very much!!! :)

bwkaz 02-02-03 06:10 PM

Glad to help!


All times are GMT -5. The time now is 01:08 PM.

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