# Nvidia Xavier nx and JP 5.0 and ZED2 python examples errors

**URL:** <https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368>\
**Category:** Python\
**Tags:** xavier-nx, jetson\
**Created:** [July 16, 2022, 3:02pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368 "2022-07-16T15:02:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![joev](https://community.stereolabs.com/user_avatar/community.stereolabs.com/joev/32/678_2.png) [@joev](https://community.stereolabs.com/u/joev)\
**Post date:** [July 16, 2022, 3:02pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/1 "2022-07-16T15:02:39Z")

</div>

I am trying to get my ZED2 camera to run the python examples on my Nvidia Xavier NX. But I get these errors when try to run a script.

```auto
python3 object_detection_image_viewer.py

```

```auto
CUDA error at /builds/sl/ZEDKit/lib/src/sl_core/utils/util.cu:422 code=1(cudaErrorInvalidValue) "cudaCreateTextureObject(tex, &resDesc, &texDesc, NULL)" 
CUDA error at /builds/sl/ZEDKit/lib/src/sl_core/utils/util.cu:422 code=1(cudaErrorInvalidValue) "cudaCreateTextureObject(tex, &resDesc, &texDesc, NULL)" 

```

I have installed Jetpack 5.0 on the Xavier nx

I have installed the zed python API

The ZED 2 runs gstreamer no problem

---

<div class="post-metadata">

**Author:** ![joev](https://community.stereolabs.com/user_avatar/community.stereolabs.com/joev/32/678_2.png) [@joev](https://community.stereolabs.com/u/joev)\
**Post date:** [July 17, 2022, 4:38am UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/2 "2022-07-17T04:38:20Z")

</div>

The issue may be with the latest SDK for the Nvidia Jetpack 5.0.  
I loaded this SDK “ZED\_SDK\_Tegra\_L4T34.1\_v3.7.2.run”  
and everything works fine

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [July 18, 2022, 12:16pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/3 "2022-07-18T12:16:51Z")

</div>

Hi @joev  
we are working on a fix for that. Sorry for the inconvenience.

---

<div class="post-metadata">

**Author:** ![joev](https://community.stereolabs.com/user_avatar/community.stereolabs.com/joev/32/678_2.png) [@joev](https://community.stereolabs.com/u/joev)\
**Post date:** [July 18, 2022, 2:49pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/4 "2022-07-18T14:49:32Z")

</div>

No problem  
Thanks  
I have a question.  
I have been playing around with one of your Python examples that shows the object distance from the camera.  
DO you have an example or docs that explain how to extract the object distance measurements out as medadata. I want to use the distance measurements to control a robot positioning

---

<div class="post-metadata">

**Author:** ![behc0004](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/b/b77776/32.png) [@behc0004](https://community.stereolabs.com/u/behc0004)\
**Post date:** [July 19, 2022, 3:13am UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/5 "2022-07-19T03:13:33Z")

</div>

> [@joev](#):
>
> `UDA error at /builds/sl/ZEDKit/lib/src/sl_core/utils/util.cu:422 code=1(cudaErrorInvalidValue) "cudaCreateTextureOb`

I am facing the similar issue. However the error when I run [positional\_tracking](https://github.com/stereolabs/zed-examples/tree/master/positional%20tracking) is  
`[Sample][Error] Camera Open | NO GPU COMPATIBLE : An NVIDIA GPU (Kepler or newer) is required to run this software. Exit program.`

May I know are you facing the same issue as me also? I am using ZED SDK 3.7.5 on Jetson Orin with Jetpack 5.0

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [July 19, 2022, 8:17am UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/6 "2022-07-19T08:17:34Z")

</div>

We are sorry for the inconvenience, but the new SDK v3.7.5 has a problem with the AGX Orin. The team is working on a patch and we will release it as soon as possible.

Meanwhile, you can download and install the previous version:  
[https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/3.7/ZED\_SDK\_Tegra\_L4T34.1\_v3.7.4.run](https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/3.7/ZED_SDK_Tegra_L4T34.1_v3.7.4.run)

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [July 20, 2022, 2:29pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/7 "2022-07-20T14:29:41Z")

</div>

A new release is out

> [@ZED SDK v3.7.6 is out!](https://community.stereolabs.com/t/zed-sdk-v3-7-6-is-out/1380):
>
> The ZED SDK v3.7.5 released on 12th July contained two main regression issues affecting Windows systems and NVIDIA Jetson boards. The team worked hard to fix all the problems and a new [v3.7.6](https://www.stereolabs.com/developers/release/) version has been just released. We sincerely apologize for all the inconvenience caused by the previous release. 3.7.6 Regression fixes Fixed cuDNN packaging for Windows installer Fixed sl::Mat GPU allocation on jetson leading to NO\_GPU\_COMPATIBLE Error

---

<div class="post-metadata">

**Author:** ![joev](https://community.stereolabs.com/user_avatar/community.stereolabs.com/joev/32/678_2.png) [@joev](https://community.stereolabs.com/u/joev)\
**Post date:** [July 20, 2022, 2:33pm UTC](https://community.stereolabs.com/t/nvidia-xavier-nx-and-jp-5-0-and-zed2-python-examples-errors/1368/8 "2022-07-20T14:33:03Z")

</div>

You guys are awesome.
