咨询jetson agx xavier相关问题

请问在jetson agx xavier误删驱动后,是只有重刷部件这一方法吗?我尝试重刷部件一直没有成功,一直是installation failed。请问有其他办法装驱动吗?如果有的话,jetson agx xavier对应的驱动是什么呢?我一直查不到。
而且在误删驱动之前,我的CUDA与torch一直显示不匹配,print(torch.cuda.is_available())一直显示是false。我下载的torch版本是对应的,请问是什么原因呢?请及时回复,急!!感谢

Suggest o try with flashing the your device via the JetPack by SDK manager.

Follow the guidance. Put your board into recovery mode and flash it.
Be sure with a Ubuntu host PC, Ubuntu 20.04 for JetPack 5.x; others with Ubuntu 18.04.

1 Like

我已经尝试过刷机的办法,但是一直失败。除这一办法外还有其他办法重装驱动吗?

You can export the log and attach it here.
All installation logs can be found in the ~/.nvsdkm directory on host. You can check by running the ls -al ~/.nvsdkm command on your PC. We need check through the details in this directory for further investigation.

BTW, are you on VM? Which JetPack you used?

我不在虚拟机上,是在双系统,以及JetPack4.6.2。

13:40:19 INFO: NVIDIA Nsight Systems CLI - target: Use ‘sudo apt autoremove’ to remove them.
13:40:19 INFO: NVIDIA Nsight Systems CLI - target: nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b
13:40:19 INFO: NVIDIA Nsight Systems CLI - target: 1 not fully installed or removed.
13:40:19 INFO: NVIDIA Nsight Systems CLI - target: After this operation, 0 B of additional disk space will be used.
13:40:20 INFO: NVIDIA Nsight Systems CLI - target: 0% [Working] 0% [Working] Get:1 /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b arm64 2021.5.4.19-e642d4b [67.3 MB]
13:40:21 INFO: NVIDIA Nsight Systems CLI - target: 0% [1 nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b 0 B/67.3 MB 0%] 100% [Working] (Reading database … (Reading database … 5% (Reading database … 10% (Reading database … 15% (Reading database … 20% (Reading database … 25% (Reading database … 30% (Reading database … 35% (Reading database … 40% (Reading database … 45% (Reading database … 50% (Reading database … 55% (Reading database … 60% (Reading database … 65% (Reading database … 70% (Reading database … 75% (Reading database … 80% (Reading database … 85% (Reading database … 90% (Reading database … 95% (Reading database … 100% (Reading database … 236442 files and directories currently installed.)
13:40:21 INFO: NVIDIA Nsight Systems CLI - target: Preparing to unpack …/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb …
13:40:21 INFO: NVIDIA Nsight Systems CLI - target: Unpacking nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b (2021.5.4.19-e642d4b) …
13:40:21 ERROR: NVIDIA Nsight Systems CLI - target: dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
13:40:22 INFO: NVIDIA Nsight Systems CLI - target: /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb
13:40:25 ERROR: NVIDIA Nsight Systems CLI - target: E: Sub-process /usr/bin/dpkg returned an error code (1)
13:40:25 INFO: NVIDIA Nsight Systems CLI - target: will sleep 10 seconds before next attempt
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: Reading package lists… 0% Reading package lists… 0% Reading package lists… Done
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: Building dependency tree… 0% Building dependency tree… 0% Building dependency tree… 0% Building dependency tree… 50% Building dependency tree… 50% Building dependency tree
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: Reading state information… 0% Reading state information… 0% Reading state information… Done
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: Note, selecting ‘nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b’ instead of ‘/opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb’
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: cuda-toolkit-11-config-common cuda-toolkit-config-common cython3
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: libhdf5-openmpi-dev libignition-cmake2-dev libignition-common3
13:40:36 INFO: NVIDIA Nsight Systems CLI - target: python3-pydot python3-pykdl python3-pyqrcode python3-pyqt5.qtopengl
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: ros-noetic-rostime ros-noetic-rostopic ros-noetic-rosunit ros-noetic-roswtf
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: Use ‘sudo apt autoremove’ to remove them.
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: 1 not fully installed or removed.
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: After this operation, 0 B of additional disk space will be used.
13:40:37 INFO: NVIDIA Nsight Systems CLI - target: 0% [Working] 0% [Working] Get:1 /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b arm64 2021.5.4.19-e642d4b [67.3 MB]
13:40:39 INFO: NVIDIA Nsight Systems CLI - target: 0% [1 nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b 0 B/67.3 MB 0%] 100% [Working] (Reading database … (Reading database … 5% (Reading database … 10% (Reading database … 15% (Reading database … 20% (Reading database … 25% (Reading database … 30% (Reading database … 35% (Reading database … 40% (Reading database … 45% (Reading database … 50% (Reading database … 55% (Reading database … 60% (Reading database … 65% (Reading database … 70% (Reading database … 75% (Reading database … 80% (Reading database … 85% (Reading database … 90% (Reading database … 95% (Reading database … 100% (Reading database … 236442 files and directories currently installed.)
13:40:39 ERROR: NVIDIA Nsight Systems CLI - target: dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
13:40:39 INFO: NVIDIA Nsight Systems CLI - target: /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb
13:40:42 ERROR: NVIDIA Nsight Systems CLI - target: E: Sub-process /usr/bin/dpkg returned an error code (1)
13:40:42 INFO: NVIDIA Nsight Systems CLI - target: will sleep 20 seconds before next attempt
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: Reading package lists… 0% Reading package lists… 0% Reading package lists… Done
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: Building dependency tree… 0% Building dependency tree… 0% Building dependency tree… 0% Building dependency tree… 50% Building dependency tree… 50% Building dependency tree
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: Reading state information… 0% Reading state information… 0% Reading state information… Done
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: Note, selecting ‘nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b’ instead of ‘/opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb’
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 google-mock googletest graphviz hddtemp
13:41:03 INFO: NVIDIA Nsight Systems CLI - target: libignition-common3-graphics libignition-common3-graphics-dev
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: python3-snappy python3-trie python3-twisted python3-twisted-bin
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: ros-noetic-rqt-gui ros-noetic-rqt-gui-cpp ros-noetic-rqt-gui-py
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: Use ‘sudo apt autoremove’ to remove them.
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: 1 not fully installed or removed.
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: After this operation, 0 B of additional disk space will be used.
13:41:04 INFO: NVIDIA Nsight Systems CLI - target: 0% [Working] 0% [Working] Get:1 /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b arm64 2021.5.4.19-e642d4b [67.3 MB]
13:41:06 INFO: NVIDIA Nsight Systems CLI - target: 0% [1 nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b 0 B/67.3 MB 0%] 100% [Working] (Reading database … (Reading database … 5% (Reading database … 10% (Reading database … 15% (Reading database … 20% (Reading database … 25% (Reading database … 30% (Reading database … 35% (Reading database … 40% (Reading database … 45% (Reading database … 50% (Reading database … 55% (Reading database … 60% (Reading database … 65% (Reading database … 70% (Reading database … 75% (Reading database … 80% (Reading database … 85% (Reading database … 90% (Reading database … 95% (Reading database … 100% (Reading database … 236442 files and directories currently installed.)
13:41:06 INFO: NVIDIA Nsight Systems CLI - target: Unpacking nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b (2021.5.4.19-e642d4b) …
13:41:06 ERROR: NVIDIA Nsight Systems CLI - target: dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
13:41:06 INFO: NVIDIA Nsight Systems CLI - target: /opt/nvidia/deb_repos/nsight-systems-linux-tegra-public-2021.5.4.19-e642d4b_2021.5.4.19-1_arm64.deb
13:41:09 ERROR: NVIDIA Nsight Systems CLI - target: E: Sub-process /usr/bin/dpkg returned an error code (1)
13:41:10 ERROR: NVIDIA Nsight Systems CLI - target: command terminated with error
13:41:10 SUMMARY: NVIDIA Nsight Systems CLI - target: Failed to install debian package [target]

scau@daaize:~$ ls -al ~/.nvsdkm
总用量 21692
drwxrwxr-x 6 scau scau 4096 8月 9 13:41 .
drwxr-xr-x 40 scau scau 4096 8月 9 12:33 …
drwxrwxr-x 2 scau scau 4096 8月 8 19:11 dist
drwxr-xr-x 7 scau scau 4096 7月 15 04:44 logs
drwxrwxr-x 2 scau scau 4096 7月 15 04:44 replays
-rw-rw-r-- 1 scau scau 9935852 8月 8 17:37 sdkm-2022-08-08-14-37-24.log
-rw-rw-r-- 1 scau scau 7359141 8月 8 22:04 sdkm-2022-08-08-19-11-18.log
-rw-rw-r-- 1 scau scau 2522157 8月 9 13:35 sdkm-2022-08-09-12-55-58.log
-rw-rw-r-- 1 scau scau 675782 8月 9 13:41 sdkm-2022-08-09-13-35-44.log
-rw-rw-r-- 1 scau scau 168 8月 9 13:35 .sdkm.bashrc
-rw-rw-r-- 1 scau scau 630784 8月 9 13:41 sdkm.db
-rw-rw-r-- 1 scau scau 770048 7月 13 09:49 sdkm.db.2022-07-13_09-49-50.bak
-rw-rw-r-- 1 scau scau 245760 7月 13 10:12 sdkm.db.2022-07-13_10-13-42.bak
-rw-rw-r-- 1 scau scau 36915 8月 9 13:41 sdkm_download.log
lrwxrwxrwx 1 scau scau 47 8月 9 13:35 sdkm.log → /home/scau/.nvsdkm/sdkm-2022-08-09-13-35-44.log
drwxrwxr-x 2 scau scau 4096 8月 9 13:35 .updater

→ ls -al ~/.nvsdkm/logs/

and select the version you are flashing. Export the whole folder into a zip file and attach it here.

JetPack_4.6.2_Linux.zip (99.8 KB)

According to “NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.log”, the board has been flashed successfully.

 [ 277.0835 ] tegradevflash_v2 --reboot coldboot
 [ 277.0852 ] Bootloader version 01.00.0000
 [ 277.6799 ] 
 *** The target t186ref has been flashed successfully. ***
 Reset the board to boot from internal eMMC.


但电脑这边显示是失败的,并且AGX上NVIDIA并没有安装回来。
请问误删NVIDIA后可以只刷部件而不刷系统来重装驱动吗?

The flashing log was created on 7/14, however, the target components installation log are created today.
This means that the board was not flashed recently.
If the BSP version does not match, there may be installation error.

还是需要刷 BSP 的。
如果刷机后仍有错误,麻烦打包并上传 ~/.nvsdkm 目录。谢谢。

请问BSP是?是指Jetson OS吗?

是的。

就是说没有办法通过只刷jetson sdk components实现nvida驱动的安装吗?或者说有没有除刷机以外的方法安装驱动?感谢

Sorry, 我没有听说过其他方法。Jetson SDK Components 都不是驱动。

Jetson SDK compoents 跟 OS (驅動) 安裝是兩個不同東西. 可以分開
"刷機"的目的是在安裝OS.

我們這邊想說的是你的OS安裝時間(7/14) 跟你的SDK安裝的時間差了一陣子. 你得先確定OS有安裝正確你才能安裝SDK.

如果OS都開不起來了那SDK就一定沒辦法裝. 然後SDK版本跟OS版本是需要匹配的.

AGX连接屏幕能够正常开机,只是壁纸是蓝色,没有了绿色壁纸及NVIDIA的标志。能够正常打开终端,文件,连接网络等。
SDK与OS版本匹配是指?
当时是sudo apt purge nvidia-*指令误卸了nvidia,请问有什么办法补救吗?(只能通过刷OS了吗?还是刷SDK就好?
在误卸NVIDIA之前,print(torch.cuda.is_available())一直显示是false。请问可以不使用刷机时刷的cuda版本,使用其他的cuda版本吗?
感谢

  1. 比方說jetpack4.6.1裡面的OS版本是32.7.1, cuda版本是A. jetpack 4.4.1裡面的OS版本是32.4.4, cuda 版本是B. 你不能在32.7.1上面裝 cuda 版本B. 版本不能混在一起. 也剛好就是你這邊問的問題

  2. 你可以直接在jetson上面用sudo apt-get install nvidia-jetpack看看能不能裝.


sudo apt-get install nvidia-jetpack失败了