Error in ZED Box python 3.6.9

Hello.
I got an error when I tried to run tutorial(hello-zed.py) in the ZED Box with python 3.6.9
Error mesage is Illegal instruction (core dumped)

When I run with python 3.9.7 it works good.

My ZED Box is XAVIER NX and Jetpack 4.6

I want to run pytorch so I think I need to use python 3.6.9. Please tell me what to do

Hello and thank you for reaching us out,

I’m using a zed box with python 3.6 and jetpack 3.6 myself, and encounter no issues. Probably there is an issue somewhere else.
Did you try to reinstall zed sdk ? There might be a version mismatch somewhere. Which version do you use ?

Also you can try debugging this with GDB :

cd <folder of the tutorial>gdb python3run hello-zed.py

They it will core dump, then type bt

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

Hello. Thank you for your reply.
My environment is
$ apt-cache policy nvidia-jetpack
nvidia-jetpack:
Installed: 4.6-b199
Candidate: 4.6-b199
Version table:
*** 4.6-b199 500
500 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 Packages
100 /var/lib/dpkg/status
4.6-b197 500
500 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 Packages

I install
ZED_SDK_Tegra_L4T32.6_v3.7.4

my python3 version is 3.6.9
$python3
Python 3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0] on linux

in tutorial folder
$ python3 hello_zed.py
Illegal instruction (core dumped)

but no core files found
$ ls
hello_zed.py README.md

Help please.

Hello. Thank you for your reply.
My environment is
$ apt-cache policy nvidia-jetpack
nvidia-jetpack:
Installed: 4.6-b199
Candidate: 4.6-b199
Version table:
*** 4.6-b199 500
500 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 Packages
100 /var/lib/dpkg/status
4.6-b197 500
500 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 Packages

I install
ZED_SDK_Tegra_L4T32.6_v3.7.4

my python3 version is 3.6.9
$python3
Python 3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0] on linux

in tutorial folder
$ python3 hello_zed.py
Illegal instruction (core dumped)

but no core files found
$ ls
hello_zed.py README.md

Help please.

[Discourse post]

Hello.
I get core file
core.txt (11.6 KB)

Hello again,

Thank you for all these details. It does not seem related to the code, as the program crashes before doing anything.
Are you sure that the SDK was correctly installed without error message ? You can try to reinstall it, and the python api too (with /usr/local/zed/get_python_api.py)

Also, what happens when you run ZED Explorer from the tools we provide ? And what happens when you run a C++ tutorial ?

Can you please send me the output of ZED Diagnostic ?

I’m sorry for all your troubles. I hope we will solve this soon.

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

Hi.
I send ZED Diagnostic result.
ZED_Diagnostic_Results.json (8.2 KB)
Zed Exploer works fine.

I had installed SDK many times and results were same.

I want to install system from scratch.
Please tell me how to reinstall os and jetpack.

Hello,

To reset your Jetson, you can follow Nvidia instructions : https://docs.nvidia.com/jetpack-l4t/2_1/content/developertools/mobile/jetpack/jetpack_l4t/2.0/jetpack_l4t_install.htm

Zed explorer does not use CUDA, so maybe it’s a bad example. However, if Zed Depth Viewer does not work, your installation is borken.

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

I tried to open the case of ZED Box to get the micro SD card for installation.
Should I just remove the four screws on the bottom and the two screws next to the USB port?
I cloud not open the case.

Hello, to open your ZED Box, you just need to remove the 4 screws at the bottom. Not the ones next to the USB port.
Then you just pull the case.

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

Hi again,

Sorry, I gave you a wrong advice. You should never open your ZEDBox. You can do it through USB.
There is a documentation from nvidia but it’s not very precise : https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html
They do not explain how to put your Jetson in Revory Mode. It’s easy, you need to plug the micro-USB from the jetson to your PC, then reboot the jetson.

Regards

Antoine Lassagne
Senior Developer - ZED SDK
Stereolabs Support

@AkiraIshii the ZED Box does not mount the same Jetson module that you find on the development kit, it’s the production module that is not provided of the SD Card slot.
The operating system is installed by default partially on the eMMC flash memory (boot partition) and on the SSD (other partitions).
To reset it you must flash the memory by using the Nvidia SDK Manager as described in the online documentation:
https://www.stereolabs.com/docs/get-started-with-zed-box/#updatereset

With the Xavier NX version you can select the SSD as the final target of the OS installation, without involving the “little” onboard eMMC flash memory (8GB)

Hello! Thanks for your advice.
After a few days of trial and error, I was finally able to flash and install a new JetPack.
hello-zed.py also worked fine.
It was important to choose Manual Setup instead of Automatic Setup in Step 3 of the SDK Manager.

1 Like

Yes, that’s an important setting. Nvidia introduced that in the latest version of the SDK manager.
We are going to add this information to the ZED BOX guide.