优化显卡驱动 显卡:NVIDIA GForceMX 4000 系统:Debian 5.0.1(lenny) stable GNOME2.22.3 驱动:NVIDIA-Linux-x86-96.43.16 1.启用显卡的Fast Writes功能 先执行命令: cat /proc/driver/nvidia/agp/host-bridge 和 cat /proc/driver/nvidia/agp/card 查看显卡是否支持 Fast Writes,结果为: Host Bridge: PCI device 1106:0204 Fast Writes: Supported SBA: Supported AGP Rates: 8x 4x Registers: 0x1f000a1b:0x00000b12 如果只是host-bridge提示不支持,则需要修改BIOS里的Fast Writes设置。 如果支持则在/etc/modprobe.d/下的nvidia-kernel-nkc或options文件,添加如下内容: # Enable AGP Fast Writes options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 若nvidia-kernel-nkc和options文件都不存在,则创建nvidia.conf文件,加入以上两行内容。 2.启用nvidia显卡自带的agp模块,需要禁用内核自带的agpgart模块。 使用命令 lsmod |grep -i agp 查看当前启动的AGP模块, amd64_agp 8772 1 agpgart 28808 2 nvidia,amd64_agp 然后将这些模块加入/etc/modprobe.d/blacklist文件: #Disable AGPGART blacklist amd64_agp blacklist agpgart 修改/etc/X11/xorg.conf文件,在Section "Device"里添加: Option "NvAGP" "1" Reboot,使用命令 cat /proc/driver/nvidia/agp/status 查看 Status: Enabled Driver: NVIDIA AGP Rate: 8x Fast Writes: Enabled SBA: Enabled Yeah,OK!! |