The story that the installation of NVIDIA Driver was easily done with just the GUI

I was given a desktop in the lab, so when I tried to install the NVIDIA Driver so that I could use the GPU, it was easier than I imagined.

environment

Also, Secure Boot was disabled by default. You can check if Secure Boot is enabled by doing the following:

$ dmesg | grep Secure
[    0.000000] secureboot: Secure boot disabled
[    0.007449] secureboot: Secure boot disabled

If it is disabled like this, it is disabled.

Insert NVIDIA Driver

When I look it up, I get a lot of articles that say I'm really into the swamp. In addition, there is an atmosphere that it seems to be troublesome to disable nouveau even if you are not addicted to the swamp, or to select and download the appropriate driver.

I don't know if it's the specification of ubuntu20.04, but there was an easy way to do it with just the GUI.

Launch the "Software and Updates" app that is included by default. When you start it, there is a tab called "Additional drivers" at the top of the app, so open it. Screenshot from 2020-10-22 14-55-36.png This is set to the bottom Nouveau display driver by default, so change to the top verified driver and reboot.

That's all. It was too easy to beat. To make sure it's in

$ nvidia-smi

Command and confirm that the driver information etc. is displayed.

Finally

As a reminder, the desktop I used this time is new and handed without an OS, so there is nothing I had to do in advance other than installing Ubuntu. If there is something else, I would like to add it or post a new article.

Recommended Posts