Install nvidia graphics driver under Ubuntu (simple installation method)

Install nvidia graphics driver under Ubuntu (simple installation method)

Install the nvidia graphics card driver under Ubuntu. I have installed GTX1050 using the same method and it was installed successfully. No looping login

The first step is to get the graphics card model

Find a way to get the model of your NVIDIA graphics card (usually there will be a graphics card model when you buy a computer, my graphics card model is on a sticker on the computer). My graphics card is GTX970M.

Step 2 Check the GTX970M graphics card driver

Go to NVDIA driver search page to view the latest version number of the driver that supports GTX970M graphics card


After a successful search take a note of the resulting driver version number:

The third step is to query other driver versions of the graphics card driver that supports the GTX970M graphics card

Got the latest installed version 390 from above, but in case the new version is unstable. We can query all driver versions that support 970M graphics cards from geforce drivers, as shown below


The query results are as follows


There are versions 390, 384, 375, etc. in the picture

Step 4: Installation

Next, we use the ppa method sudo apt-get install nvidia-384 384

If the above command reports an error, then execute the following command, otherwise do not execute

To update the source, run

sudo apt-get upgrade
sudo apt-get update

To query the available versions of nvidia drivers, run sudo apt-cache search nvidia-* the version drivers supported by ppa installation. If 384 is available,

sudo apt-get install nvidia-384

Step 5: Test whether the nvidia driver is installed successfully

First you need to restart the operating system, and then test whether the nvidia driver is installed successfully by the following method:

Under Ubuntu, seach invidia and open it. If the result is as follows, it means the installation is successful.

Or execute nvidia-smi in the terminal

environment

  • Ubuntu 16.04
  • Ubuntu 17.10
  • Graphics card model GTX970M

References

How to install the latest Nvidia drivers on Ubuntu 16.04

This is the end of this article about installing nvidia graphics driver in Ubuntu (simple installation method). For more information about installing nvidia graphics driver in Ubuntu, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to check whether the graphics driver has been successfully installed in Ubuntu
  • Detailed tutorial on installing nvidia driver + CUDA + cuDNN in Ubuntu 16.04
  • How to install RTX2080 Nvidia graphics card driver in Ubuntu18.04.2
  • Tutorial on installing Nvidia graphics card driver in Ubuntu 18.04 (with pictures and text)
  • Ubuntu installation graphics driver and cuda tutorial

<<:  Examples of correct judgment methods for data types in JS

>>:  MySQL transaction, isolation level and lock usage example analysis

Recommend

MariaDB-server installation of MySQL series

Table of contents Tutorial Series 1. Install Mari...

Markup Language - Image Replacement

Click here to return to the 123WORDPRESS.COM HTML ...

Solution to Docker's failure to release ports

Today I encountered a very strange situation. Aft...

MySQL 5.7.18 release installation guide (including bin file version)

The installation process is basically the same as...

JavaScript to achieve the effect of tab bar switching

Tab bar: Click different tabs to display differen...

Detailed explanation of MySql 5.7.17 free installation configuration tutorial

1. Download the mysql-5.7.17-winx64.zip installat...

Using JavaScript difference to implement a comparison tool

Preface At work, I need to count the materials su...

XHTML Web Page Tutorial

This article is mainly to let beginners understan...

Complete steps to upgrade Nginx http to https

The difference between http and https is For some...

How to solve the error "ERROR 1045 (28000)" when logging in to MySQL

Today, I logged into the server and prepared to m...