


How to install nvidia driver on ubuntu
How to install the nvidia driver on ubuntu: 1. Download the appropriate driver from the nvidia official website; 2. Block the nouveau driver; 3. Close the graphical interface; 4. Modify the file permissions; 5. Execute the installation command to install it. .
The operating environment of this article: ubuntu 16.04 system, nvidia GTX 1050, thinkpad t480 computer.
1. Preparation:
Ubuntu16.04 dual system, graphics card model: Nvidia GTX1050.
(1) First go to Nvidia official website to download the driver:
Find your own graphics card, select the Linux version to download, and download the .run file. Note: It is best to download to the English path. For example /home/xxx/Nvidia.
(2) At this point, it is best to upgrade the kernel version of Ubuntu, otherwise the kernel version and driver may not correspond to each other during subsequent installations (my personal experience and attached pictures)
2. Install Nvidia driver:
(1) Shield nouveau driver
The integrated graphics driver of Ubuntu system is nouveau, which It is an open source driver developed by a third party for NVIDIA. We need to block it first before installing the official NVIDIA driver. So we need to add the driver to the blacklist blacklist.conf first. We need to modify the properties of the file before we can edit it
①Modify the properties
$sudo chmod 666 /etc/modprobe.d/blacklist.conf
②Open it with gedit
$sudo gedit /etc/modprobe.d/blacklist.conf
③Add the following lines to the last line, save and exit
blacklist vga16fb blacklist nouveau blacklist rivafb blacklist rivatv blacklist nvidiafb
④Update file
sudo update-initramfs -u
(Learning video sharing: linux video tutorial)
(2) Install the driver
First press Ctrl Alt F1 to close the graphical interface (an asterisk appears during the process to prove that you need to enter a password)
$sudo service lightdm stop
Then enter the .run file directory, During the installation of the driver
$cd /home/xxx/Nvidia //进入下载的.run文件目录中 $sudo chmod a+x NVIDIA-Linux-x86_64-xxx.run //修改权限 $sudo ./NVIDIA-Linux-x86_64-xxx.run -no-x-check -no-nouveau-check -no-opengl-files //执行安装
, follow the prompts and select Accept, etc.
(3) Complete the installation
$sudo service lightdm start //启动图形界面
Then press Ctrl Alt F7 to return to the graphical interface.
3. Verify the installation.
$ nvidia-smi
The display of graphics card information proves that the installation is successful.
Related recommendations: linux tutorial
The above is the detailed content of How to install nvidia driver on ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



NVIDIA graphics cards have their own screen recording function. Users can directly use shortcut keys to record the desktop or game screen. However, some users reported that the shortcut keys cannot be used. So what is going on? Now, let this site give users a detailed introduction to the problem of the N-card screen recording shortcut key not responding. Analysis of the problem of NVIDIA screen recording shortcut key not responding Method 1, automatic recording 1. Automatic recording and instant replay mode. Players can regard it as automatic recording mode. First, open NVIDIA GeForce Experience. 2. After calling out the software menu with the Alt+Z key, click the Open button under Instant Replay to start recording, or use the Alt+Shift+F10 shortcut key to start recording.

Does Logitech ghub driver not support win7? Not compatible. Since Windows 7 has stopped updating and is no longer Microsoft's main operating system, many new software no longer supports it, such as Logitech ghub. The main interface of the Logitech driver: 1. The main software interface is on the left. The three buttons are lighting, buttons, and sensitivity settings. 2. In the settings of the lighting interface, the general special effects are relatively conventional, and the audio visual effects are the highlight. They can change color according to the sound frequency, and can be set according to the high, middle and bass bands, with different colors and effects. 3. In button settings, users can edit them here according to their special requirements. 4. In the sensitivity settings, many users will have some of their own settings. They can add the DPI speed switching point by themselves, but

In Ubuntu systems, the root user is usually disabled. To activate the root user, you can use the passwd command to set a password and then use the su- command to log in as root. The root user is a user with unrestricted system administrative rights. He has permissions to access and modify files, user management, software installation and removal, and system configuration changes. There are obvious differences between the root user and ordinary users. The root user has the highest authority and broader control rights in the system. The root user can execute important system commands and edit system files, which ordinary users cannot do. In this guide, I'll explore the Ubuntu root user, how to log in as root, and how it differs from a normal user. Notice

One of the standout features ofCyberpunk 2077is path tracing, but it can put a heavy toll on performance. Even systems with reasonably capable graphics cards, such as the RTX 4080 (Gigabyte AERO OC curr. $949.99 on Amazon), struggle to offer a stable

OneXGPU 2 is the first eGPUto feature the Radeon RX 7800M, a GPU that even AMD hasn't announced yet. As revealed by One-Netbook, the manufacturer of the external graphics card solution, the new AMD GPU is based on RDNA 3 architecture and has the Navi

Steps to download the Razer mouse driver: 1. Open the browser and enter the Razer official website; 2. On the official website page, find and click "Technical Support" or a similar option; 3. On the technical support page, select "Mouse" or the specific subcategory; 4. On the mouse driver download page, you can see various mouse models and their corresponding drivers; 5. Click the download link for the selected driver; 6. After the download is completed, check whether the downloaded file is complete , make sure nothing is damaged or missing.

NVIDIA is currently the most popular graphics card manufacturer, and many users prefer to install NVIDIA graphics cards on their computers. However, you will inevitably encounter some problems during use, such as NVIDIA driver installation failure. How to solve this? There are many reasons for this situation. Let’s take a look at the specific solutions. Step 1: Download the latest graphics card driver You need to go to the NVIDIA official website to download the latest driver for your graphics card. Once on the driver page, select your product type, product series, product family, operating system, download type and language. After clicking search, the website will automatically query the driver version suitable for you. With GeForceRTX4090

Angular.js is a freely accessible JavaScript platform for creating dynamic applications. It allows you to express various aspects of your application quickly and clearly by extending the syntax of HTML as a template language. Angular.js provides a range of tools to help you write, update and test your code. Additionally, it provides many features such as routing and form management. This guide will discuss how to install Angular on Ubuntu24. First, you need to install Node.js. Node.js is a JavaScript running environment based on the ChromeV8 engine that allows you to run JavaScript code on the server side. To be in Ub
