To run applications that use CUDA we need to make sure that our computer has GPUs that support CUDA.
From Google Chrome Browser
Go to
chrome://gpu/
and in the result page look for:
GPU CUDA compute capability major version
It is also possible to check here the presence of GPUs on the system:
Driver Information
...
GPU0 VENDOR= 0x10de, DEVICE=0x13b4
GPU1 VENDOR= 0x8086, DEVICE=0x591b *ACTIVE*
...
0x10DE is NVIDIA's vendor ID.
0x8086 is Intel's vendor ID.
Check Graphic Cards
GPUs on NVIDA graphic cards support CUDA co check if you have any of them on your board:
$ lspci
...
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640 OEM] (rev a1)
...
Run nvidia-settings
nvidia-settings can be installed with:
$ sudo apt install nvidia-settings
$ nvidia-settings
Run nvidia-smi
nvidia-smi can be installed with:
sudo apt install nvidia-340 # version 340.108-0ubuntu5.20.04.1, or
sudo apt install nvidia-utils-390 # version 390.141-0ubuntu0.20.04.1
sudo apt install nvidia-utils-450 # version 450.102.04-0ubuntu0.20.04.1
sudo apt install nvidia-utils-450-server # version 450.102.04-0ubuntu0.20.04.1
sudo apt install nvidia-utils-460 # version 460.32.03-0ubuntu0.20.04.1
sudo apt install nvidia-utils-435 # version 435.21-0ubuntu7
sudo apt install nvidia-utils-440 # version 440.82+really.440.64-0ubuntu6
sudo apt install nvidia-utils-418-server # version 418.181.07-0ubuntu0.20.04.1
$ sudo apt install nvidia-utils-460
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgfortran4 libhdf5-100 libnetcdf13
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-compute-460
Suggested packages:
nvidia-driver-460
The following NEW packages will be installed
libnvidia-compute-460 nvidia-utils-460
0 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 22.2 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-compute-460 amd64 460.32.03-0ubuntu0.20.04.1 [21.8 MB]
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-utils-460 amd64 460.32.03-0ubuntu0.20.04.1 [362 kB]
Fetched 22.2 MB in 2min 5s (177 kB/s)
Selecting previously unselected package libnvidia-compute-460:amd64.
(Reading database ... 304171 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-compute-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-utils-460.
Preparing to unpack .../nvidia-utils-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-utils-460 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-compute-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-utils-460 (460.32.03-0ubuntu0.20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
/sbin/ldconfig.real: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.5 is not a symbolic link
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
https://www.nvidia.com/en-us/drivers/unix/
https://www.nvidia.com/Download/driverResults.aspx/170134/en-us contains download section with a link to file NVIDIA-Linux-x86_64-460.39.run (so the latest version is 460) but it also contains this note:
Note that many Linux distributions provide their own packages of the NVIDIA Linux Graphics Driver in the distribution's native package management format. This may interact better with the rest of your distribution's framework, and you may want to use this rather than NVIDIA's official package.
So let's check what apt contains:
$ apt search nvidia-driver
Sorting... Done
Full Text Search... Done
nvidia-384/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-390
nvidia-384-dev/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-390
nvidia-driver-390/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
NVIDIA driver metapackage
nvidia-driver-418/focal 430.50-0ubuntu3 amd64
Transitional package for nvidia-driver-430
nvidia-driver-418-server/focal-updates,focal-security 418.181.07-0ubuntu0.20.04.1 amd64
NVIDIA Server Driver metapackage
nvidia-driver-430/focal-updates,focal-security 440.100-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-440
nvidia-driver-435/focal-updates 455.45.01-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-455
nvidia-driver-440/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-450
nvidia-driver-440-server/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-450-server
nvidia-driver-450/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA driver metapackage
nvidia-driver-450-server/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA Server Driver metapackage
nvidia-driver-455/focal-updates,focal-security 460.32.03-0ubuntu0.20.04.1 amd64
Transitional package for nvidia-driver-460
nvidia-driver-460/focal-updates,focal-security 460.32.03-0ubuntu0.20.04.1 amd64
NVIDIA driver metapackage
nvidia-headless-390/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage
nvidia-headless-418-server/focal-updates,focal-security 418.181.07-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage
nvidia-headless-450/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage
nvidia-headless-450-server/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage
nvidia-headless-460/focal-updates,focal-security 460.32.03-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage
nvidia-headless-no-dkms-390/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage - no DKMS
nvidia-headless-no-dkms-418-server/focal-updates,focal-security 418.181.07-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage - no DKMS
nvidia-headless-no-dkms-450/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage - no DKMS
nvidia-headless-no-dkms-450-server/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage - no DKMS
nvidia-headless-no-dkms-460/focal-updates,focal-security 460.32.03-0ubuntu0.20.04.1 amd64
NVIDIA headless metapackage - no DKMS
xserver-xorg-video-nvidia-390/focal-updates,focal-security 390.141-0ubuntu0.20.04.1 amd64
NVIDIA binary Xorg driver
xserver-xorg-video-nvidia-418-server/focal-updates,focal-security 418.181.07-0ubuntu0.20.04.1 amd64
NVIDIA binary Xorg driver
xserver-xorg-video-nvidia-450/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA binary Xorg driver
xserver-xorg-video-nvidia-450-server/focal-updates,focal-security 450.102.04-0ubuntu0.20.04.1 amd64
NVIDIA binary Xorg driver
xserver-xorg-video-nvidia-460/focal-updates,focal-security 460.32.03-0ubuntu0.20.04.1 amd64
NVIDIA binary Xorg driver
Let's install the one with the highest number (that one should be the latest one):
$ sudo apt install nvidia-driver-460
[sudo] password for bojan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgfortran4 libhdf5-100 libnetcdf13
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dkms libnvidia-cfg1-460 libnvidia-common-460 libnvidia-compute-460:i386 libnvidia-decode-460 libnvidia-decode-460:i386
libnvidia-encode-460 libnvidia-encode-460:i386 libnvidia-extra-460 libnvidia-fbc1-460 libnvidia-fbc1-460:i386 libnvidia-gl-460
libnvidia-gl-460:i386 libnvidia-ifr1-460 libnvidia-ifr1-460:i386 nvidia-compute-utils-460 nvidia-dkms-460 nvidia-kernel-common-460
nvidia-kernel-source-460 nvidia-prime nvidia-settings screen-resolution-extra xserver-xorg-video-nvidia-460
Suggested packages:
menu
The following NEW packages will be installed
dkms libnvidia-cfg1-460 libnvidia-common-460 libnvidia-compute-460:i386 libnvidia-decode-460 libnvidia-decode-460:i386
libnvidia-encode-460 libnvidia-encode-460:i386 libnvidia-extra-460 libnvidia-fbc1-460 libnvidia-fbc1-460:i386 libnvidia-gl-460
libnvidia-gl-460:i386 libnvidia-ifr1-460 libnvidia-ifr1-460:i386 nvidia-compute-utils-460 nvidia-dkms-460 nvidia-driver-460
nvidia-kernel-common-460 nvidia-kernel-source-460 nvidia-prime nvidia-settings screen-resolution-extra xserver-xorg-video-nvidia-460
0 to upgrade, 24 to newly install, 0 to remove and 1 not to upgrade.
Need to get 154 MB of archives.
After this operation, 531 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 dkms all 2.8.1-5ubuntu1 [66.6 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-cfg1-460 amd64 460.32.03-0ubuntu0.20.04.1 [77.2 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-common-460 all 460.32.03-0ubuntu0.20.04.1 [9,168 B]
Get:4 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-compute-460 i386 460.32.03-0ubuntu0.20.04.1 [23.2 MB]
Get:5 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-decode-460 i386 460.32.03-0ubuntu0.20.04.1 [1,289 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-decode-460 amd64 460.32.03-0ubuntu0.20.04.1 [1,300 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-encode-460 amd64 460.32.03-0ubuntu0.20.04.1 [39.6 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-encode-460 i386 460.32.03-0ubuntu0.20.04.1 [42.2 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-extra-460 amd64 460.32.03-0ubuntu0.20.04.1 [39.7 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-fbc1-460 i386 460.32.03-0ubuntu0.20.04.1 [48.5 kB]
Get:11 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-fbc1-460 amd64 460.32.03-0ubuntu0.20.04.1 [45.4 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-gl-460 i386 460.32.03-0ubuntu0.20.04.1 [19.1 MB]
Get:13 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-gl-460 amd64 460.32.03-0ubuntu0.20.04.1 [80.6 MB]
Get:14 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted i386 libnvidia-ifr1-460 i386 460.32.03-0ubuntu0.20.04.1 [69.1 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 libnvidia-ifr1-460 amd64 460.32.03-0ubuntu0.20.04.1 [67.6 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-compute-utils-460 amd64 460.32.03-0ubuntu0.20.04.1 [105 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-kernel-source-460 amd64 460.32.03-0ubuntu0.20.04.1 [24.5 MB]
Get:18 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-kernel-common-460 amd64 460.32.03-0ubuntu0.20.04.1 [19.1 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-dkms-460 amd64 460.32.03-0ubuntu0.20.04.1 [28.3 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 xserver-xorg-video-nvidia-460 amd64 460.32.03-0ubuntu0.20.04.1 [1,557 kB]
Get:21 http://gb.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 nvidia-driver-460 amd64 460.32.03-0ubuntu0.20.04.1 [431 kB]
Get:22 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 nvidia-prime all 0.8.15.3~0.20.04.1 [9,248 B]
Get:23 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 screen-resolution-extra all 0.18build1 [4,456 B]
Get:24 http://gb.archive.ubuntu.com/ubuntu focal-updates/main amd64 nvidia-settings amd64 440.82-0ubuntu0.20.04.1 [963 kB]
Fetched 154 MB in 52s (2,967 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 304197 files and directories currently installed.)
Preparing to unpack .../00-dkms_2.8.1-5ubuntu1_all.deb ...
Unpacking dkms (2.8.1-5ubuntu1) ...
Selecting previously unselected package libnvidia-cfg1-460:amd64.
Preparing to unpack .../01-libnvidia-cfg1-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-cfg1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-common-460.
Preparing to unpack .../02-libnvidia-common-460_460.32.03-0ubuntu0.20.04.1_all.deb ...
Unpacking libnvidia-common-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-compute-460:i386.
Preparing to unpack .../03-libnvidia-compute-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-compute-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-decode-460:i386.
Preparing to unpack .../04-libnvidia-decode-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-decode-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-decode-460:amd64.
Preparing to unpack .../05-libnvidia-decode-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-decode-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-encode-460:amd64.
Preparing to unpack .../06-libnvidia-encode-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-encode-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-encode-460:i386.
Preparing to unpack .../07-libnvidia-encode-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-encode-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-extra-460:amd64.
Preparing to unpack .../08-libnvidia-extra-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-extra-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-fbc1-460:i386.
Preparing to unpack .../09-libnvidia-fbc1-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-fbc1-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-fbc1-460:amd64.
Preparing to unpack .../10-libnvidia-fbc1-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-fbc1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-gl-460:amd64.
Preparing to unpack .../11-libnvidia-gl-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-gl-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-gl-460:i386.
Preparing to unpack .../12-libnvidia-gl-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-gl-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-ifr1-460:i386.
Preparing to unpack .../13-libnvidia-ifr1-460_460.32.03-0ubuntu0.20.04.1_i386.deb ...
Unpacking libnvidia-ifr1-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package libnvidia-ifr1-460:amd64.
Preparing to unpack .../14-libnvidia-ifr1-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libnvidia-ifr1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-compute-utils-460.
Preparing to unpack .../15-nvidia-compute-utils-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-compute-utils-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-kernel-source-460.
Preparing to unpack .../16-nvidia-kernel-source-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-kernel-source-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-kernel-common-460.
Preparing to unpack .../17-nvidia-kernel-common-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-kernel-common-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-dkms-460.
Preparing to unpack .../18-nvidia-dkms-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-dkms-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package xserver-xorg-video-nvidia-460.
Preparing to unpack .../19-xserver-xorg-video-nvidia-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-driver-460.
Preparing to unpack .../20-nvidia-driver-460_460.32.03-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-driver-460 (460.32.03-0ubuntu0.20.04.1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../21-nvidia-prime_0.8.15.3~0.20.04.1_all.deb ...
Unpacking nvidia-prime (0.8.15.3~0.20.04.1) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../22-screen-resolution-extra_0.18build1_all.deb ...
Unpacking screen-resolution-extra (0.18build1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../23-nvidia-settings_440.82-0ubuntu0.20.04.1_amd64.deb ...
Unpacking nvidia-settings (440.82-0ubuntu0.20.04.1) ...
Setting up libnvidia-common-460 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-fbc1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-fbc1-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-compute-utils-460 (460.32.03-0ubuntu0.20.04.1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user `nvidia-persistenced' (UID 128) ...
Adding new group `nvidia-persistenced' (GID 137) ...
Adding new user `nvidia-persistenced' (UID 128) with group `nvidia-persistenced' ...
Not creating home directory `/nonexistent'.
Setting up nvidia-prime (0.8.15.3~0.20.04.1) ...
Setting up libnvidia-compute-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-kernel-common-460 (460.32.03-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
Setting up dkms (2.8.1-5ubuntu1) ...
Setting up libnvidia-cfg1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up xserver-xorg-video-nvidia-460 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-kernel-source-460 (460.32.03-0ubuntu0.20.04.1) ...
Setting up screen-resolution-extra (0.18build1) ...
Setting up libnvidia-gl-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-gl-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-settings (440.82-0ubuntu0.20.04.1) ...
Setting up libnvidia-extra-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-decode-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-decode-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-ifr1-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-ifr1-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-dkms-460 (460.32.03-0ubuntu0.20.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-460.32.03 DKMS files...
Building for 5.4.0-65-generic
Building for architecture x86_64
Building initial module for 5.4.0-65-generic
Done.
nvidia.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-65-generic/updates/dkms/
nvidia-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-65-generic/updates/dkms/
nvidia-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-65-generic/updates/dkms/
nvidia-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-65-generic/updates/dkms/
depmod.......
DKMS: install completed.
Setting up libnvidia-encode-460:amd64 (460.32.03-0ubuntu0.20.04.1) ...
Setting up libnvidia-encode-460:i386 (460.32.03-0ubuntu0.20.04.1) ...
Setting up nvidia-driver-460 (460.32.03-0ubuntu0.20.04.1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
/sbin/ldconfig.real: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libcudnn.so.5 is not a symbolic link
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-65-generic
cryptsetup: ERROR: Couldn't resolve device
UUID=998a1126-c156-4290-ba9e-6265633e7e3a
W: initramfs-tools configuration sets RESUME=UUID=998a1126-c156-4290-ba9e-6265633e7e3a
W: but no matching swap device is available.
$ sudo reboot
After reboot:
$ nvidia-smi
Thu Feb 11 00:59:07 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GT 640 Off | 00000000:01:00.0 N/A | N/A |
| 40% 28C P8 N/A / N/A | 148MiB / 1992MiB | N/A Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
$ nvidia-smi -L
GPU 0: GeForce GT 640 (UUID: GPU-f2583df9-404d-2564-d332-e7878a94d087)
No comments:
Post a Comment