New computer: install NVidia drivers don't take

Please provide complete information as applicable to your setup.

• Hardware Platform (Ubuntu 22.04.3/ RTX 6000)
**• DeepStream Version 6.4
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (545.23.08-0ubuntu1)
• Issue Type( questions)

bill@bill-holoscan:~/Downloads$ sudo apt-get install nvidia-driver-545
INFO:Enable nvidia

DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad

Loading new nvidia-545.23.08 DKMS files…
Building for 6.5.0-14-generic
Building for architecture x86_64
Building initial module for 6.5.0-14-generic
Secure Boot not enabled on this system.
Done.

Setting up nvidia-driver-545 (545.23.08-0ubuntu1) …
Processing triggers for libc-bin (2.35-0ubuntu3.6) …
Processing triggers for man-db (2.10.2-1) …
Processing triggers for dbus (1.12.20-2ubuntu4.1) …
Processing triggers for initramfs-tools (0.140ubuntu13.4) …
update-initramfs: Generating /boot/initrd.img-6.5.0-14-generic

bill@bill-holoscan:~/Downloads$ 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.
bill@bill-holoscan:~/Downloads$ lspci | grep VGA
00:0.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
bill@bill-holoscan:~/Downloads$ lsmod | grep nouveau
bill@bill-holoscan:~/Downloads$ lsmod | grep nvidia
bill@bill-holoscan:~/Downloads$
bill@bill-holoscan:~/Downloads$ sudo apt-get install nvidia-driver-545
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
nvidia-driver-545 is already the newest version (545.23.08-0ubuntu1).
ill@bill-holoscan:~$ cat /proc/driver/nvidia/version
cat: /proc/driver/nvidia/version: No such file or directory

bill@bill-holoscan:~$ sudo ubuntu-drivers list
[sudo] password for bill:
bill@bill-holoscan:~$ sudo ubuntu-drivers install
All the available drivers are already installed.
bill@bill-holoscan:~$ sudo ubuntu-drivers install nvidia:545
All the available drivers are already installed.
bill@bill-holoscan:~$ 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.

Is this an issue on Holoscan? I’m moving this topic to Holoscan for better support.

The issue is Deepstream as I am developing for Holoscan for Media SDK. Deepstream is the primary focus. I’m trying to get started and can’t get past the initial driver install.

I’m not familiar with the driver installation on Holoscan, but the issue seems to be a mismatch between driver and nvidia-utils, you can check the exact version of nvidia-utils-xxx, xxx should be the same as the driver you installed.

ls /usr/share/nvidia/
nvidia-application-profiles-545.23.08-key-documentation nvoptix.bin
nvidia-application-profiles-545.23.08-rc

This is the driver package I installed.
NVIDIA-Linux-x86_64-535.146.02.run

I tried installing nvidia-utils-545
Also I switched to nvidia-utils-535

Neither solved the problem.

My computer apparently is using HDMI adaptor and not NVidia RTX 6000

I uninstalled and reintalled nvidia-driver-545
and rebooted

bill@bill-holoscan:~$ 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.

bill@bill-holoscan:~$ lspci | egrep ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
bill@bill-holoscan:~$ dkms status
nvidia/545.23.08, 6.5.0-14-generic, x86_64: installed
bill@bill-holoscan:~$ sudo lshw -C display
[sudo] password for bill:
*-display
description: VGA compatible controller
product: AlderLake-S GT1
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 mode=1920x1200 resolution=1920,1200 visual=truecolor xres=1920 yres=1200
resources: iomemory:600-5ff iomemory:400-3ff irq:255 memory:604e000000-604effffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
bill@bill-holoscan:~$

This is the driver downloaded from the NVidia driver website.

I tried both versions.

NVidiaDriverVersionA
NVidiaDriverVersionB

Hi @bill58

As long as your RTX GPU is not recognized by your Hardware, no driver version will fix anything.

First check that your GPU is actually properly installed, connected to a sufficient power supply, has proper cooling, etc.

If the GPU is listed in PCI devices, things should clear up.

Thanks

I figured out the magic incantation to solve:

“WARNING: You do not appear to have an NVIDIA GPU supported by the 535.146.02 NVIDIA Linux graphics driver installed in this system.”

No drivers are in Software & Updates → Additional Drivers

There were three issues:

  1. This driver needs to be installed with Xorg off/stopped
  2. The Nvidia Kernel was build with a different version of the compiler
  3. various libraries were missing

To fix #1 you need to install and configure ssh so you can log in from another computer

To find out what else you need to do run nvidia-bug-report.sh

And review carefully nvidia-bug-report.log.gz and /var/log/nvidia-installer.log

Install Ubuntu 22.04.3.LTS

Use FireFox to Download the latest version of driver

Official Drivers | NVIDIA

In my case it is NVIDIA-Linux-x86_64-535.154.05.run

Firefox puts them in the ~/Downloads folder

Sudo apt install ssh

Config ssh

Get IP address from ipconfig command

ssh into your computer (put in your values)

ssh bill@10.0.0.181

cd Downloads

sudo telinit 3

sudo apt install gcc

sudo apt-get install build-essential

sudo apt update

sudo apt install --reinstall gcc-12

sudo ln -s -f /usr/bin/gcc-12 /usr/bin/gcc

sudo apt install pkg-config

sudo apt-get update

sudo apt-get -y install libglvnd-dev

sudo ./NVIDIA-Linux-x86_64-535.154.05.run

sudo bash NVIDIA-Linux-x86_64-535.154.05.run

sudo reboot

1 Like