Hello Nvidia community,
I have been working on a proper installation of the driver on Ubuntu 24.04 for a few hours already. My current issue is lack of nvidia-smi after installation of the driver and errors on graphic card logs.
Driver has been installed like this:
```
$ sudo apt install nvidia-driver-590
```
But
```
$ nvidia-smi
```
gives “No devices were found”
I have figured out nvidia-smi wouldn’t work until usage profile is “on-demand”, it should be put in profile “nvidia”. However, logs shown some errors:
```
gelassen@gelassen-Legion-R9000P-ADR10H:~$ sudo prime-select query
[sudo] password for gelassen:
on-demand
gelassen@gelassen-Legion-R9000P-ADR10H:~$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2f58 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 2f80 (rev a1)
gelassen@gelassen-Legion-R9000P-ADR10H:~$ dmesg | grep -i nvidia
dmesg: read kernel buffer failed: Operation not permitted
gelassen@gelassen-Legion-R9000P-ADR10H:~$ sudo dmesg | grep -i nvidia
[ 1.814263] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input14
[ 1.814359] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input15
[ 1.814421] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input16
[ 1.814502] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input17
[ 1.927360] nvidia: loading out-of-tree module taints kernel.
[ 1.927365] nvidia: module license ‘NVIDIA’ taints kernel.
[ 1.927369] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 1.927370] nvidia: module license taints kernel.
[ 3.184545] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[ 3.188117] nvidia 0000:01:00.0: enabling device (0000 → 0003)
[ 3.188199] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 3.197414] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 590.48.01 Mon Dec 8 11:22:45 UTC 2025
[ 3.206626] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 590.48.01 Mon Dec 8 12:50:27 UTC 2025
[ 3.209725] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 3.306053] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 3.309355] [drm:nv_drm_dev_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[ 3.330499] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 4.133435] nvidia 0000:01:00.0: Enabling HDA controller
[ 5.717566] nvidia 0000:01:00.0: Enabling HDA controller
[ 16.829762] nvidia 0000:01:00.0: Enabling HDA controller
[ 21.837439] nvidia 0000:01:00.0: Enabling HDA controller
[ 21.877656] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 23.037882] nvidia 0000:01:00.0: Enabling HDA controller
[ 23.861942] nvidia 0000:01:00.0: Enabling HDA controller
[ 62.006010] nvidia 0000:01:00.0: Enabling HDA controller
[ 62.033017] nvidia 0000:01:00.0: Enabling HDA controller
[ 84.125769] nvidia 0000:01:00.0: Enabling HDA controller
[ 84.177661] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 99.173424] nvidia 0000:01:00.0: Enabling HDA controller
[ 99.213959] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 99.241417] nvidia 0000:01:00.0: Enabling HDA controller
[ 99.282821] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 99.325513] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 766.357851] nvidia 0000:01:00.0: Enabling HDA controller
```
NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2f58)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 3.309355] [drm:nv_drm_dev_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
Is this lack of support by OS? Is this a wrong version of driver? Is this wrong “type” of driver (I installed proprietary, may be -open should be used instead)?
Thank you in advance.
(originally published here)