9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Jetson Xavier NXでJetPack 5.0 Developer Previewを試してみた (※随時更新)

Last updated at Posted at 2022-04-08

はじめに

2022年4月8日、JetPack 5.0 Developer Previewがリリースされましたので、さっそくJetson Xavier NXで試してみました。

image02.png

リリースノート (2022/4/10 追記)

リリースノートを見ると、まだ残っている不具合の内容を確認することができます。

SDカードイメージファイルのダウンロード

Jetson Xavier NX Developer Kit > の部分をクリックすると、SDカードイメージをダウンロードするボタンが表示されますので、ボタンをクリックします。
NVIDIAアカウントへログインしなくてもダウンロードできました。

image04.png

image03.png

SDカードヘの書き込み

従来は最小16GBの容量のSDカードへ書き込みが可能でしたが、JetPack 5.0 DPでは最小32GBの容量が必要でした。

image01.jpg

セットアップ

Chromiumのインストール有無を選択する必要がありました。

image05.jpg

「有」を選択するとネットワークからファイルをダウンロードしてインストールするため、ネットワークへ接続している必要があります。
それ以外は従来の手順と同じでした。
最初のセットアップに掛かる時間は長くなった気がします。

ログイン

ログイン画面でセットアップで設定したパスワードを入力してログインします。
従来のデスクトップ環境の選択メニュー(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コマンド)をインストールして使用していましたが、標準で機能が付きました。

Screenshot from 2022-04-09 02-10-42.png

Screenshot from 2022-04-09 02-07-19.png

Screenshot from 2022-04-09 02-08-52.png

動画(セットアップの流れ)

コンソール出力(起動時)

起動に掛かる時間が長くなった気がします。

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)

Screenshot from 2022-04-10 09-33-44.png

リリースノートに記載がありました。

スクリーンショット 2022-04-10 10.09.05.png

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

Screenshot from 2022-04-10 09-44-50.png

VisionWorks (2022/4/10 追記)

JetPack 5.0から削除されました。

スクリーンショット 2022-04-10 10.04.55.png

9
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?