星期二, 三月 13, 2007

FreeBSD下如何安装nvidia显卡驱程

1. 从www.nvidia.com下载最新的驱程,现在是:NVIDIA-FreeBSD-x86-1.0-4365.tar.gz2. 解压驱程到临时目录(如/tmp):#tar xzvf NVIDIA-FreeBSD-x86-1.0-4365.tar.gz /tmp3. #cd NVIDIA-FreeBSD-x86-1.0-4365#make setup 4. 修改 "/etc/X11/XF86Config"文件的"Section Device"部分Section "Device"Identifier "Card"Driver "nvidia" # Rename "nv" to "nvidia" #ChipSet "RIVA TNT2" # Comment outCard "nv RIVA TNT2"#Option "NvAgp" "1" # Use NVIDIA's AGP GART Driver#Option "NvAgp" "0" # Disable AGPOption "NvAgp" "2" # Use the OS AGP GART driver (agp.ko)#Option "NvAgp" "3" # Attempt "2", fall back to "1"5. 注意 Section "Screen"和 "Section Device"中"Identifier" 的设置 Section "Screen"Identifier "Screen0"Device "Card" # <------------ThisMonitor "Monitor0"DefaultDepth 24SubSection "Display"Depth 24Modes "1280x1024"6. 在/etc/defaults/loader.conf中加入:# -- load FreeBSD AGP GART driver -- #agp_load="YES"7. shutdown -r now

没有评论: