refrence:http://ubuntuforums.org/showthread.php?t=1467074
我的显卡类型是:GeForce4 MX440 With AGP8X,安装Ubuntu 10.04后,显卡总是显示不正常,使用系统自带的不行,网上很多方法也不行,在控制台安装总是报错,最后找到这么一个帖子,安装很顺利,最后显示的时候稍微有点小状况,不过很好处理,总算可以发挥显卡的效用了。(原来挖个地雷都费劲,别说看电影了,那个卡呀!),如下是详细方法,供遇到此类问题的朋友参考,但愿能帮上忙。
[HOWTO] Install NVIDIA drivers manually on Lynx
Well, i am one of those users who never install Nvidia drivers from repository, but manually - by downloading from Nvidia`s website. It was never a pain in the rear on previous Linux distros (including Karmic), but i failed to do so on Lynx. Whenever i tried to install it, i got an error:
Code:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.
I read somewhere that they changed the way nvidia drivers get installed on Lynx (correct me if i`m wrong), so it took me some time to figure out how to do that. So, here is the guide:
1) Download Newest Nvidia drivers from their website
2) Open module blacklist as admin: (i use gedit for text file editing)
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
3) Add these lines and save:
Code:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
4) Uninstall any previously installed Nvidia drivers:
Code:
sudo apt-get --purge remove nvidia-*
5) Reboot your computer
6) When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console)
7) Login and cd to the directory where you saved your file
Install drivers
Code:
sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
(我的是NVIDIA-Linux-x86-96.43.19-pkg1.run,从 NVIDA官方网站下载)
9) Start GDM
Code:
sudo service gdm start
Enjoy
P.S. if you are having trouble with my method, there is an updated one , posted by
trespuntos - maybe it will solve your problem.
后记:
如果启动后显示器没有出现登录窗口,而是显示推荐显示分辨率,需要修改文件:
sudo vim /etc/X11/xorg.conf
调整刷新率:
Section "Monitor"
Identifier "Monitor0"
VendorName "SyncMaster"
ModelName "710V"
HorizSync 30.0 - 90.0
VertRefresh 50.0 - 90.0
Option "DPMS"
EndSection
调整水平和垂直的刷新率,比如从30.0-110.0调整为30.0-90.0,50.0-150.0调整为50.0-90.0
还有就是:
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
调整分辨率,根据你的显示器(而不是显卡)
然后你就可以享受高分辨率带来的丰富显示内容了。
注意如果你点击 系统>>首选项>>监视器出现“是否要换用显卡驱动厂商的工具?”时,要选择 否