First, the preparatory work
Before installing the drive, you need to turn off the graphical interface. The following are the specific procedures:
1. This assumes that you have installed Ubuntu 15.10 (15.04 can also, the installation process will not repeat)
2. Close the running program and CTRL+ALT+F1 into tty1 mode
3. Run sudo stop LIGHTDM and close the graphical interface (X Server)
4. Install the system, or do not try to display the driver, skip this step
If you have tried other drivers before, first uninstall
Use sudo apt-get--purge remove nvidia to uninstall
You can also borrow the official website-driven uninstall function, try sudo sh 346.35.run--uninstall (take 346.35.run for example)
Second, download and install the driver
Because you cannot directly use the files provided by the NV official website, add a third-party source here. The following are specific procedures
1. Run sudo add-apt-repository ppa:mamarley/nvidia add source There may not add more than a few times
2. Run the sudo apt-get update source
3. Run the sudo apt-get install nvidia-352 version 352 driver. Enter Y to agree to download and install. Because the server is abroad, it takes a long time and waits patiently.
4. After the driver installation is complete, run sudo reboot to restart the computer
Third, check whether the dual video card is working properly
1. Open the Nvidia X Server Settings, see, GPU 0 appears, stating that it has been enabled
2. In prime profiles, you can choose whether to use a single display or a nuclear display
Ubuntu Intel+nvidia Dual Graphics solution