はじめに
2022年4月8日、JetPack 5.0 Developer Previewがリリースされましたので、さっそくJetson Xavier NXで試してみました。
リリースノート (2022/4/10 追記)
リリースノートを見ると、まだ残っている不具合の内容を確認することができます。
SDカードイメージファイルのダウンロード
Jetson Xavier NX Developer Kit > の部分をクリックすると、SDカードイメージをダウンロードするボタンが表示されますので、ボタンをクリックします。
NVIDIAアカウントへログインしなくてもダウンロードできました。
SDカードヘの書き込み
従来は最小16GBの容量のSDカードへ書き込みが可能でしたが、JetPack 5.0 DPでは最小32GBの容量が必要でした。
セットアップ
Chromiumのインストール有無を選択する必要がありました。
「有」を選択するとネットワークからファイルをダウンロードしてインストールするため、ネットワークへ接続している必要があります。
それ以外は従来の手順と同じでした。
最初のセットアップに掛かる時間は長くなった気がします。
ログイン
ログイン画面でセットアップで設定したパスワードを入力してログインします。
従来のデスクトップ環境の選択メニュー(Unity、LXDE、など)はありませんでした。
jetson-desktop login: jetson
Password:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.10.65-tegra aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
118 updates can be applied immediately.
100 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
*** System restart required ***
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
jetson@jetson-desktop:~$
バージョン番号を確認します。
jetson@jetson-desktop:~$ uname -a
Linux jetson-desktop 5.10.65-tegra #1 SMP PREEMPT Wed Apr 6 11:45:49 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
jetson@jetson-desktop:~$ cat /etc/nv_tegra_release
# R34 (release), REVISION: 1.0, GCID: 30102743, BOARD: t186ref, EABI: aarch64, DATE: Wed Apr 6 19:11:41 UTC 2022
パッケージの更新
最初のパッケージ更新は数が多く、非常に時間が掛かりました。
$ sudo apt update
$ sudo apt upgrade
新機能
Jetson Power GUI
tegrastatsコマンドの出力結果をGUIで表示する機能が追加されました。
従来はJetson stats (jtopコマンド)をインストールして使用していましたが、標準で機能が付きました。
動画(セットアップの流れ)
コンソール出力(起動時)
起動に掛かる時間が長くなった気がします。
NVMe SSDドライブの使用 (2022/4/10 追記)
過去に試した手順でNVMe SSDドライブを使用することができました。
(JetPack 4.6.1と同様、起動時にSDカードを挿入しておく必要があります。)
VPI2.0のサンプルデモ (2022/4/10 追記)
正常に動作しませんでした。
$ cd /opt/nvidia/vpi2/bin
$ ./run_demo.sh
$ sudo apt install libgl1 libfltk1.3 libfltk-gl1.3 libfltk-images1.3 libopencv-core4.2 libopencv-imgcodecs4.2 libopencv-videoio4.2 libopencv-calib3d4.2
$ ./vpi_demo_stereo
SCF: Error IoctlFailed: (propagating from src/services/capture/FusaCaptureIspHw.cpp, function openIspHw(), line 239)
SCF: Error IoctlFailed: (propagating from src/services/capture/CaptureServiceDeviceIsp.cpp, function open(), line 188)
SCF: Error IoctlFailed: (propagating from src/services/capture/CaptureServiceDevice.cpp, function initialize(), line 302)
SCF: Error InvalidState: Isp is not opened (in src/services/capture/CaptureServiceDeviceIsp.cpp, function close(), line 201)
SCF: Error IoctlFailed: (propagating from src/services/capture/CaptureService.cpp, function startService(), line 608)
SCF: Error InvalidState: Queue mutex not initialized (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamerautils/inc/QueueImpl.h, function dequeue(), line 227)
SCF: Error IoctlFailed: (propagating from src/components/ServiceHost.cpp, function startServices(), line 123)
SCF: Error InvalidState: (in src/services/capture/CaptureService.cpp, function stopService(), line 645)
SCF: Error InvalidState: (propagating from src/components/ServiceHost.cpp, function stopServicesInternal(), line 200)
SCF: Error IoctlFailed: (propagating from src/api/CameraDriver.cpp, function initialize(), line 178)
SCF: Error InvalidState: Services are already stopped (in src/components/ServiceHost.cpp, function stopServicesInternal(), line 193)
SCF: Error IoctlFailed: (propagating from src/api/CameraDriver.cpp, function getCameraDriver(), line 119)
(Argus) Error IoctlFailed: (propagating from src/api/GlobalProcessState.cpp, function createCameraProvider(), line 204)
Segmentation fault (core dumped)
リリースノートに記載がありました。
CUDA 11.4のサンプルデモ (2022/4/10 追記)
$ cd /usr/local/cuda-11.4/samples/5_Simulations/fluidsGL
$ sudo make
>>> WARNING - libGLU.so not found, refer to CUDA Getting Started Guide for how to find and install them. <<<
>>> WARNING - glu.h not found, refer to CUDA Getting Started Guide for how to find and install them. <<<
以下パッケージのインストールが必要でした。
$ sudo apt install freeglut3-dev libglu1-mesa-dev
$ sudo make
$ ./fluidsGL
VisionWorks (2022/4/10 追記)
JetPack 5.0から削除されました。