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.conf
12
Add the following at the end of blacklist.conf :
blacklist nouveau
1
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:
-
Press ctrl+alt+f1 to enter command line mode
-
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