The advantage of compiling and installing the driver in Ubuntu8.04 is that the latest driver can be used. Unfortunately, there are countless online tutorials, and none of them can briefly introduce how to compile and install the Nvidia graphics card driver. Even if there are some Tutorials that can guide you how to install and immediately encounter problems after restart, what should I do at this time? The following is the best method I have summarized. Note: theoretically, this article applies to Ubuntu and Nvidia drivers of any version. However, we hope that the mouse will be able to carry forward the spirit of Lei Feng and test it bravely, reply to test results after this article! 0 must be installed first
The advantage of compiling and installing the driver in Ubuntu 8.04 is that the latest driver can be used. Unfortunately, there are countless online tutorials, and there is no simple introduction to how to compile and install the Nvidia graphics card driver. Even if there are some Tutorials that can guide you how to install and immediately encounter problems after restart, what should I do at this time? The following is the best method I have summarized. Note: theoretically, this article applies to Ubuntu and Nvidia drivers of any version. However, we hope that the mouse will be able to carry forward the spirit of Lei Feng and test it bravely, reply to test results after this article!
0 you must first install the necessary software for compilation. After the source is prepared, enter the following in the terminal:
Sudo apt-get install build-essential
1 According to hardware software platform download here (http://www.nvidia.com/object/unix.html) corresponding driver, Here Rainking download is the latest NVIDIA-Linux-x86-169.07-pkg1.run, Rainking saves this file under the main directory
2. Press ctrl + alt + F1 and log on again in text status.
3. Close x and enter the following information on the terminal:
Sudo/etc/init. d/gestation stop
4. Enter at the terminal:
Sudo sh./NVIDIA-Linux-x86-169.07-pkg1.run (File Name and path may be different)
5. After Entering the Installation Wizard, select "Accept", "No", "OK", "Yes", and "OK ".
6. Enter at the terminal:
Sudo/etc/init. d/gestation start
If you enable x again, you will find that the video card driver has been installed successfully. Generally, you do not need to adjust the resolution or configure the x server again, because Nvidia has automatically configured the x server.
7. Enter at the terminal:
Sudo gedit/etc/default/linux-restricted-modules-common
Change DISABLED_MODULES = "" To DISABLED_MODULES = "nv nvidia_new ". If this is not modified, the driver will fail after the restart.
If the problem persists, or the problem occurs after the video card driver is installed, use the following methods.
Modify Resolution:
Sudo gedit/etc/X11/xorg. conf
Remove logo (no logo for the driver of the latest version)
Add Option "NoLogo" after Driver "nvidia"
Reconfigure x server:
Sudo apt-get install pkg-config xserver-xorg-dev3
Sudo dpkg-reconfigure xserver-xorg