NVIDIA graphics driver installed under Ubuntu16.04

 

[frank] install success by this article.

 

https://blog.csdn.net/yinwangde/article/details/89439648

 

 

NVIDIA graphics driver installed under Ubuntu16.04
original yinwang95 finally released on 2019-04-21 21:34:17 Reads 3611 collection
launched

My system is ubuntu16.04, the graphics card is RTX2080Ti
01 preliminary work

1.1 disable nouveau

Ubuntu 16.04 installed by default drivers of third party open source nouveau, you first need to install the nvidia graphics driver disabled nouveau, or you'll run into the problem of conflict, making it impossible to install nvidia graphics driver. Instruction following

sudo gedit /etc/modprobe.d/blacklist.conf open the file, add the following two lines at the end:

blacklist Nouveau

Options = 0 Nouveau modeset

1.2 updating system modified

sudo update-initramfs -u, after rebooting the system input command (must be restart), secure it in place.

1.3 Verify nouveau disabled

lsmod | grep nouveau

If does not appear anything is a success.
02 driver files and download instructions to install

 2.1, find your own computer's video card model and then download the appropriate driver in Nvidia's official website: https://www.geforce.cn/drivers, run after downloading the file copied to the home directory, file: NVIDIA-Linux-x86_64-xxx.run

2.2 in ubuntu press ctrl + alt + f1 to enter the command line interface, then you need to login: computer account name, password: password to log in to the command line interface. Sometimes the login fails, an error incorrect login, then you can press ctrl + alt + F2 (F4) from entering, re-login, you can.

2.3, sudo service lightdm stop // This is the closed graphical interface must be closed

2.4, sudo apt-get remove nvidia- * // unloading drive system exists, there is a default installation, this must be performed

2.5, sudo chmod a + x NVIDIA-Linux-x86_64-xxx.run // file permissions to

2.6, sudo ./NVIDIA-Linux-x86_64-xxx.run -no-x- check -no-nouveau-check -no-opengl-files, in which:

-no-x-check: when installing the driver closed the X server

-no-nouveau-check: nouveau disabled when installing the driver

-no-opengl-files: just install driver files, do not install OpenGL file

will appear during the installation process:

1, he distribution-provided pre-install script failed! Are you sure you want to continue? select yes to continue.

2, Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later? Select NO to continue

3, Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x Any pre-existing x confile will be backed up , select Yes to continue?.
2.7, the installation is successful, the command line, type: restart the graphical sudo service lightdm start // interface, press Ctrl + Alt + F7 to return GUI

2.8, nvidia-smi, nvidia- setting // detect whether the installation was successful

this drive is now installed.

Reference Bowen:

1, HTTPS: //blog.csdn.net/xunan003/article/details/81665835

2, HTTPS: //blog.csdn.net/xx_katherine/article/details/77754179
--------- -------
Disclaimer: This article is CSDN blogger "yinwang95 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/yinwangde/article/details/89439648

Guess you like

Origin www.cnblogs.com/okgogo2000/p/12453629.html