百度空间 | 百度首页 
 
查看文章
 
启用nvidia官方的AGP驱动
2009-04-02 12:52
Thought I would put together a post of how I enabled the use of Nvidia's AGP driver (Option "NvAGP" "1" in xorg.conf) in Edgy. This assumes you have the Nvidia drivers installed.

If your like me '$ cat /proc/driver/nvidia/agp/status' will return:

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

You can change that by:

1. Stop AGPGART from being loaded by adding these lines to '/etc/modprobe.d/blacklist':
__________________________________________________ _____________________________________
# Stop hotplug from loading the via (or intel) graphics at startup so we can use the Nvidia.
# (Some people may have to disable this first).
#amd64_agp
blacklist agpgart
#blacklist intel_agp
blacklist via-agp
#amd64_agp
__________________________________________________ _____________________________________

2. Edit your '/etc/X11/xorg.conf' to include the line (without quotes) "Option "NVAGP" "1"" in the device section. Here is an example of mine:
__________________________________________________ _____________________________________
Section "Device"
Identifier "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo"
Option "RenderAccel" "true"
Option "NVAGP" "1"
## TV out setup.
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "SVIDEO"
## Enables RGB workstation overlay visuals. This is only supported on Quadro4 and Quadro FX $
# Option "Overlay" "true"
Option "XvmcUsesTextures" "true"
## I set the overscan as 0.0 then use nvidia-settings.
Option "TVOverScan" "0.0"
EndSection
__________________________________________________ _____________________________________

3. Reboot!

Now running '$ cat /proc/driver/nvidia/agp/status' should return:

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

Now make sure your boards support the last two options:

'$ cat /proc/driver/nvidia/agp/card'

'$ cat /proc/driver/nvidia/agp/host-bridge'

4. Providing you get 'supported' for Fast Writes and SBA you can enable them by adding this line to '/etc/modprobe.d/nvidia-kernel-nkc' after 'alias char-major-195* nvidia':

"options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1"

Reboot and 'cat /proc/driver/nvidia/agp/status' should return:

Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Enabled
SBA: Enabled

I will say this gave me NO 'glxgears -printfps' speed increase but I think it does for some. I learned how to do this from lots of sources so if anyone knows more, post up!

Also, since doing this I can no longer run the 'nvidia-settings' gui without first commenting out the "options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1" line.

Hope this helps people.

Simon

类别:默认分类 | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu