How to install latest or legacy NVidia binary drivers on Ubuntu Linux 10.04? How to choose Legacy drivers for GeForce2 (MX400)?
Perform following commands in sequence under root privileges (e.g. sudo su).
Stop X Window System and switch to the console:
/etc/init.d/kdm stop/etc/init.d/gdm stop/etc/init.d/xdm stopkillall X
Remove nouveau drivers:
apt-get --purge remove xserver-xorg-video-nouveau remove xserver-xorg-video-all
Remove all nvidia-* drivers, in my case:
apt-get remove nvidia-current nvidia-current-modaliases nvidia-common
Blacklist any unwanted graphics drivers:
vim /etc/modprobe.d/blacklist.confAdd lines:
blacklist vga16fbblacklist nouveaublacklist rivafbblacklist nvidiafbblacklist rivatv
Install development and conf environment:
Alternatively, you can install NVidia binary drivers by Vendor-provided install script: NVIDIA-Linux-x86-96.43.16-pkg1.run from Nvidia website
resources: Ubuntu Forums
apt-get install build-essential
apt-get install pkg-configapt-get install nvidia-settingsapt-get install nvidia-173-modaliases
If you have latest card, install latest NVidia binary drivers:
apt-get install nvidia-current
If you have legacy card, find out NVidia legacy driver serie appropriate for your card and install legacy NVidia drivers:
apt-get install nvidia-96 nvidia-96-modaliases
Reboot system:
/sbin/reboot
Choose driver from list (0 in my case):
update-alternatives --config gl_conf
Perform ldconfig:
ldconfig
Create xorg.conf for NVidia graphics card:
nvidia-xconfig
or
nvidia-xconfig --add-argb-glx-visuals -d 24
If you get problem using xrandr:
xrandr: Configure crtc 0 failed
you can change xorg.conf by running nvidia-settings
DONE
You will most probably have to reboot before using the driver.
resources: Ubuntu Forums
No comments:
Post a Comment