(This article is intended for me who have failed several times and provide various incomplete solutions online)
Step 1: Download the NVIDIA graphics card driver under Ubuntu
Cheungmine. All rights reserved. The source is reprinted. My scenarios are:
I have two computers, both of which are Windows 7 + Ubuntu11.10 64-bit dual-systems. One of them is a Dell desktop and an nvidia quadro 600 video card. The other is the ThinkPad W520 laptop with dual graphics card. One is Intel, and the other is Quadro 1000 M. The drivers I downloaded from the nvidia official website are:
NVIDIA-Linux-x86_64-290.10.run. :
Http://www.nvidia.com/Download/index.aspx? Lang = en-us
Step 2: Write configuration file: disable-nouveau.conf
The two rows are as follows:
Blacklist nouveau
Options nouveau modeset = 0
Remember, this file will be copied to the/etc/modprobe. d/directory.
Step 3: Disable the integrated video card in the bios. This step is especially important for dual-graphics machines.
You can skip this step if you are a machine with a single video card. I don't know what to do if I don't have a machine that disables the integrated video card in the bios. Therefore, this article applies to computers in which the bios can disable video card integration. Press ThinkVantage blue button when I start ThinkPad W520 and then press F1 to enter bios. In the Config menu, select Display. Three options are displayed:
The above settings only apply to Windows 7 (if you start Windows, you must set it like this); if you want to enable nvidia in Ubuntu, you must set it like this:
Discrete indicates an independent video card.
Step 4: remove the original driver.
After the above settings are followed, the dual-graphics machine may need to reinstall Ubuntu. If Ubuntu already exists, I have not tested it. You can try it yourself.
Then go to the console ctrl + alt + F1 and enter the following command:
Delete an installed nv driver
Sudo apt-get -- purge remove nvidia -*
Copy the file to the/etc/modprobe. d/directory/
Sudo mv/home/yourname/disable-nouveau.conf/etc/modprobe. d/
Remember to restart the computer after the change. At this time, we found that the image quality dropped significantly.
Step 5: Install the nvidia driver
First, stop the window:
Sudo service lightdm stop
Install DRIVER:
Sudo sh/home/youname/NVIDIA-Linux-x86_64-290.10.run
Confirm as prompted. Finally, the system prompts whether to update xconfig, select NO, and manually enter the following command:
Sudo nvidia-xconfig
Then, restart the graphic interface:
Sudo service lightdm start
In this way, the nvidia driver is successfully installed.
Finally, you must remember that the dual-graphics card machine must stop the integrated graphics card to correctly install the nvidia driver. This restriction does not apply to machines with a single video card. If you enter Windows, remember to re-enable Optimus in bios.
This article is my experience after I have installed Ubuntu for no less than 10 times and two nights. The frustration is so strong. You know, if you don't do this, you won't be able to play Unity and CUDA under Ubuntu. I hope this article will be helpful to some people. Leave me a message if you do not understand
From cheungmine's column