Documentation/P600 UAV WikiEnglish · Allspark2
Browse documentation
Additional documentation

Installing the NVIDIA Graphics Driver

The installation and deployment procedure below applies to x86 computers running Ubuntu 20.04 with an NVIDIA GeForce RTX 30 Series or earlier GPU.

2 min read · English documentation

unnamed.jpg

The installation and deployment procedure below applies to x86 computers running Ubuntu 20.04 with an NVIDIA GeForce RTX 30 Series or earlier GPU.

Note

We recommend deploying Prometheus and SpireCV on Ubuntu 20.04. For the SpireCV deployment procedure below, you can also refer to the official SpireCV deployment Wiki, [Installation Tutorial](https://docs.amovlab.com/Spire_CV_Amov/#/src/%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8/SDK%E5%AE%89%E8%A3%85/Ubuntu20.04+CUDA11.6%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/Ubuntu20.04+CUDA11.6%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B). This section explains deployment details more thoroughly to make deployment as straightforward as possible. Prometheus and SpireCV can also be deployed on Ubuntu 18.04; see the [Ubuntu 18.04 Installation Tutorial](https://docs.amovlab.com/Spire_CV_Amov/#/src/%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8/SDK%E5%AE%89%E8%A3%85/Ubuntu18.04+CUDA11.1%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/Ubuntu18.04+CUDA11.1%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B).

The corresponding system software versions are listed below.

System software Version
Computer architecture X86
Ubuntu Ubuntu20.04
CUDA 11.6
cuDNN 8.4.1
TensorRT 8.4.06
ffmpeg 425
OpenCV 470

1. Install the NVIDIA Graphics Driver

First, install the graphics driver. Open the system application Software & Updates, select the Additional Drivers tab, and select the first graphics driver option—the one beginning with Using NVIDIA driver …. Click Apply Changes to install the driver, as shown below. Restart the computer after installation.

image.png

After the installation completes normally, restart the computer. The Settings application will show that the NVIDIA graphics driver is installed, as illustrated below.

image.png

For the vast majority of computers with the configuration above, this method installs the NVIDIA graphics driver successfully. If installation fails, which is uncommon, refer to Alternative Ways to Install the NVIDIA Graphics Driver.

The computer must use the NVIDIA GPU rather than the CPU's integrated graphics. On a desktop computer, connect the display cable directly to the graphics card.

image.png

For a laptop, such as a gaming laptop, enable direct GPU mode in the BIOS if supported. Contact the computer manufacturer if you need assistance, as the procedure varies by manufacturer. For a general-purpose laptop, open NVIDIA X Server Settings, click PRIME Profiles, and select NVIDIA (Performance Mode). This is the NVIDIA GPU performance mode, which makes the system prioritize the NVIDIA GPU for graphics processing. The system will prompt you to restart after making the selection.

image.png

After restarting, open a terminal and enter nvidia-smi. Under normal conditions, the output will look similar to the following. The NVIDIA graphics driver is now installed successfully.

image.png