The issue seems to be fixed by upgrading the JetPack from 5.1.1 to 5.1.2.
Here is what I did to resolve the issue, I didn’t want to start from a fresh install, so what I did was:
- Edited
/etc/apt/sources.list.d/nvidia-l4t-apt-source.list
to point to the 35.4 repo:
deb https://repo.download.nvidia.com/jetson/common r35.4 main
deb https://repo.download.nvidia.com/jetson/t186 r35.4 main
- Then used the following commands:
$ sudo apt update
$ sudo apt dist-upgrade
With the dist-upgrade
, I encountered:
Warning: Not all of the space available to /dev/nvme0n1 appears to be used. You can fix the GPT to use all of the space (an extra 6 blocks) or continue with the current setting?
Fix/Ignore?
What I did:
Fix/Ignore? Fix
Partition number? 1
Partition name? [APP]? (just pressed Enter)
After it finished, I rebooted the system, and it started to update the UEFI firmware from 3.1 to 4.1. After it finished the FW update, the system became unbootable.
To fix the unbootable system, I did the following:
- Made a fresh install onto a separate SSD through SDK Manager.
- Copied all the files from the fresh install
/boot
directory (except /boot/extlinux
) into the upgraded SSD /boot
directory.
- Removed the
initrd.img-5.10.104-tegra
from the upgraded SSD /boot
directory.
- Made sure that the
initrd.img-5.10.120-tegra
file from the fresh install SSD was present in the upgraded SSD /boot
directory and also in the initrd.img
file.
- Then I booted up the system and checked if it booted up with the new kernel using the following command:
$ uname -r
The console output was 5.10.120-tegra
, so I was certain that it was using the new kernel.
Now the system booted and was running on JetPack 5.1.2. The next thing I wanted to do was update DeepStream from 6.2 to 6.3:
- I downloaded the DeepStream 6.3 Jetson tar package
deepstream_sdk_v6.3.0_jetson.tbz2
from DeepStream | NVIDIA NGC to the Jetson device.
- Then I entered the following commands to extract and install the DeepStream SDK:
$ sudo tar -xvf deepstream_sdk_v6.3.0_jetson.tbz2 -C /
$ cd /opt/nvidia/deepstream/deepstream-6.3
$ sudo ./install.sh
$ sudo ldconfig
After all this was done, I retried the same pipeline with the same config files, and the issue seems to be resolved.