Installing Nvidia driver 535

I just booted my Nvidia Jetson Orin Nano Developer Kit 8gb with JetPack 6.0, and I ran nvidia-smi. It showed my driver version as N/A. Seeing this I tried to run

sudo apt install nvidia-driver-535

And I got the following error:

Errors were encountered while processing:
 /tmp/apt-dpkg-install-WU6UTl/09-libnvidia-compute-535_535.183.01-0ubuntu0.22.04.1_arm64.deb
 /tmp/apt-dpkg-install-WU6UTl/12-libnvidia-extra-535_535.183.01-0ubuntu0.22.04.1_arm64.deb
 /tmp/apt-dpkg-install-WU6UTl/14-libnvidia-gl-535_535.183.01-0ubuntu0.22.04.1_arm64.deb
 /tmp/apt-dpkg-install-WU6UTl/23-nvidia-utils-535_535.183.01-0ubuntu0.22.04.1_arm64.deb

I tried everything to fix this issue but when I try to install one, it says it depends on all of the other ones. Then when I try to install a different one, it says that it depends on all of the other ones making it impossible to install them.
Please help me. Ultimately I am trying to train a YOLOv9 object detection model on my Jetson Nano and need Pytorch with Cuda support which I haven’t been able to figure out either.

Install jetpack which will install complete set of CUDA and other related libraries except for Open CV which you need to rebuild again using some shell script(check in forum you will get that script)

For installation use this command

$sudo apt-get install jetpack

@nagesh_accord I got an error message saying: E: Unable to locate package jetpack

Sorry. Correct commands are

sudo apt update
sudo apt install nvidia-jetpack

You need internet connection for installing this.
Speed has to be good.

@nagesh_accord I am getting 208Mbps internet speed.
I tried that command and got this error:

The following packages have unmet dependencies:
 libnvidia-decode-535 : Depends: libnvidia-compute-535 (= 535.183.01-0ubuntu0.22.04.1) but it is not going to be installed
 nvidia-compute-utils-535 : Depends: libnvidia-compute-535 but it is not going to be installed
 nvidia-driver-535 : Depends: libnvidia-gl-535 (= 535.183.01-0ubuntu0.22.04.1) but it is not going to be installed
                     Depends: libnvidia-compute-535 (= 535.183.01-0ubuntu0.22.04.1) but it is not going to be installed
                     Depends: libnvidia-extra-535 (= 535.183.01-0ubuntu0.22.04.1) but it is not going to be installed
                     Depends: nvidia-utils-535 (= 535.183.01-0ubuntu0.22.04.1) but it is not going to be installed
 nvidia-jetpack : Depends: nvidia-jetpack-runtime (= 6.0+b106) but it is not going to be installed
                  Depends: nvidia-jetpack-dev (= 6.0+b106) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Since you had used the below command earlier ,

sudo apt install nvidia-driver-535
It is giving compatibility errors. It’s very difficult yo fix individual errors now.

Only option is to reflash the unit freshly again and execute nvidia-jetpack installation command.

@nagesh_accord Is there no way to just uninstall it?
Edit It’s ok i will just reflash my sd card now and try again

1 Like

Purge and remove commands does not work as we expect to uninstall it for individual components.

Only way to do it reflash and execute nvidia-jetpack command

FYI, that sounds like the separate driver for a desktop PC. Those don’t work on Jetsons. The GPU of a Jetson is integrated directly to the memory controller (an iGPU), whereas those other drivers expect a discrete GPU (dGPU) which is attached to the PCI bus. The two have a conflict.

When you flash a Jetson, or create that new SD card, it already has the correct driver. Beware that some applications may not detect this because they depend on the nvidia-smi application, which in turn depends on the PCI bus.

L4T is what actually gets flashed (this is what they call it after adding NVIDIA drivers, including GPU, to Ubuntu). There is a JetPack flash tool that runs on a Linux PC with the correct Ubuntu release for flashing a Jetson. There is also sometimes a referral to software added to the Jetson via a package named after jetpack, but this is different. JetPack/SDK Manager is often referred to, and this is what runs on another PC. The JetPack release is usually tied to the L4T release, so naming one release normally names the other’s release. You can find your L4T release with:
head -n 1 /etc/nv_tegra_release

Also, make sure you have the correct forum. This is the “Jetson Nano” forum. There is also a “Jetson Orin Nano”, which is very very different (and more expensive). Do you have an Orin Nano? If so, then JetPack 6 is good; if not, then you cannot use JetPack 6. You’d have to go back to JetPack 4. Here is the list of L4T releases (a table naming which product goes with the release):
https://developer.nvidia.com/linux-tegra

You can also look for JetPack releases (these are for host PC side, not direct install to Jetson):
https://developer.nvidia.com/embedded/jetpack-archive

However, you can sometimes (if versions are not too far off) start JetPack like this to see older L4T releases (you need R32.x for Nano, but R35.x or R36.x works for Orin Nano):
sdkmanager --archived-versions
(SDK manager is a smart network layer on top of JetPack and is how you start JetPack on the host PC on command line)

If you have just a Nano, then you are in the right forum. If this is an Orin Nano, go here:
https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-orin-nano/632
(there are actually also in-between hardware, the TX2 and Xavier)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.