Ubuntu16.04 Installing NVIDIA Graphics drivers

Source: Internet
Author: User

1. Download the official driver

Http://www.geforce.cn/drivers

If we install the driver directly, we often get an error: Error:the Nouveau kernel driver is currently on use by your system. This driver was incompatible with the NVIDIA driver. Please go ahead and look down.

2. Disable the integrated Nouveau drive

Ubuntu System integrated Graphics driver is Nouveau, it is the third party developed for Nvidia open source driver, we need to shield it before installing Nvidia official driver.
The driver was added to the blacklist blacklist.conf, but the file's properties were not allowed to be modified. So you need to modify the file properties first.

View Properties
$sudo ls-lh/etc/modprobe.d/blacklist.conf

modifying properties
$sudo chmod 666/etc/modprobe.d/blacklist.conf

Open with Gedit Editor
$sudo gedit/etc/modprobe.d/blacklist.conf

Add a few lines after the file:

blacklist vga16fbblacklist nouveaublacklist rivafbblacklist rivatvblacklist nvidiafb

3. Start the installation

First press CTRL + ALT + F1 to the console to close the current graphics environment

sudo init 3

sudo rm/tmp/. x*
$sudo Service LIGHTDM Stop

Install the driver again
$sudo SH nvidia-linux-x86_64-xxx.run

Finally restart the graphical environment
$sudo Service LIGHTDM Start

4. View the graphics driver version

You can confirm that the driver is properly installed by using the following command

$cat/proc/driver/nvidia/version

Ubuntu16.04 Installing NVIDIA Graphics drivers

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.