UBUNTU16 Laptop Dual Graphics installation nvidia driver

Source: Internet
Author: User

Ubuntu16 Laptop dual Graphics installation NVIDIA driver

Specific steps:1.Installing the graphics Switch software

Open terminal and enter the following command:

sudo add-apt-repository Ppa:nilarimogard/webupd8 #     add      update source   sudo Apt-get Update #     refresh updating source list  sudo apt-get Install Prime-indicator #     Install dual graphics Toggle Indicator  123   

Install and restart. In the top right corner of the desktop there will be a logo to switch the graphics card ( the second picture left ), but this time, because the driver has not been installed, so there is no way to switch

2.disabling system default Drivers

The system defaults to an open source nouveau driver, which can only be blocked by using integrated graphics to install NVIDIA 's closed-source drivers.
Similarly, open the terminal and enter the following command:

sudo chmod 666 /etc/modprobe.d/blacklist.conf       #修改blacklist.conf权限为可写可运行sudo gedit /etc/modprobe.d/blacklist.conf           #打开blacklist.conf12

Add the following at the end of blacklist.conf :

blacklist nouveau1

Save the file, close it.

3.InstallationNvidaVideo card Official driver

Turn on system settings > software and Updates > Additional drivers, this step is done under the network, check the system recommended driver version, read the direct close, do not modify.

Press ctrl+ ALT+F1 to enter command-line mode, log in with the current user name and password

sudo service LIGHTDM Stop #     Turn off graphics system  sudo apt-get Install nvidia-375 #     via official source installation driver, here's  375     You need to modify the  < in accordance with the version number recommended by your system Code class= "Western" >sudo service LIGHTDM start #     start graphics system  123   

sudo apt-get install Mesa-common-dev

sudo apt-get install Freeglut3-dev

After the start of the graphics system command, if the system has a problem, do not care, the direct restart is good
The restart can be done in the following ways:

    1. Press ctrl+alt+f1 to enter command line mode
    2. Input sudoreboot
4.Restart, test

All right, here we go. Click the video card toggle button in the top right corner and click quickswitch graphics... to switch the video card quickly, but to log back in each time.


UBUNTU16 Laptop Dual Graphics installation nvidia driver

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.