# 2 ZED X Minis + 1 Orin NX: Anticipated Capabilities

**URL:** <https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023>\
**Category:** ZED X\
**Tags:** streaming\
**Created:** [May 16, 2024, 12:01am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023 "2024-05-16T00:01:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [May 16, 2024, 12:01am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/1 "2024-05-16T00:01:20Z")

</div>

I’m attempting to use two zed x minis on a single Orin NX (ROS 1).  
To do this, I’m opening camera streams using local video streaming module on the Orin and then pointing two zed nodes (also on the Orin) to the streams using their stream ip addresses, one node per stream.  
I then have another machine that also either uses gstreamer, gscam or the video streaming module to ingest the streams produced on the Orin.

My issue is that, at least one of the zed nodes seems to consistently die after a minute or two of operation.  
I’ve reduced the depth modes of both cameras to PERFORMANCE and reduced the resolution/bitrate of one camera to SVGA/5000 while keeping the other at HD1200/7000. However, this hasn’t helped.

Should the Orin NX be able to handle this configuration?  
If so, what settings are best?

Additionally, am I correct in thinking that the settings (e.g. resolution, bitrate, etc.) used in the streaming module to open the streams are what actually get used by the subsequent streams’ subscribers such as the zed nodes and video module subscribers on other machines, even though they may list differing values when they are spun up (I’ve been leaving them in default values…)? Or do the stream subscribers alter the configuration of streams?

Thank you in advance.

---

<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:** [May 20, 2024, 7:56am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/2 "2024-05-20T07:56:44Z")

</div>

Hi @jdcast

> [@jdcast](#):
>
> To do this, I’m opening camera streams using local video streaming module on the Orin and then pointing two zed nodes (also on the Orin) to the streams using their stream ip addresses, one node per stream.  
> I then have another machine that also either uses gstreamer, gscam or the video streaming module to ingest the streams produced on the Orin.

Can you draw a scheme of this configuration to make it more clear?

> [@jdcast](#):
>
> My issue is that, at least one of the zed nodes seems to consistently die after a minute or two of operation.  
> I’ve reduced the depth modes of both cameras to PERFORMANCE and reduced the resolution/bitrate of one camera to SVGA/5000 while keeping the other at HD1200/7000. However, this hasn’t helped.

What’s the error that you get when a node crashes?

> [@jdcast](#):
>
> Should the Orin NX be able to handle this configuration?  
> If so, what settings are best?

What power mode are you using? Did you monitor CPU, GPU, and the overall temperature of the system?

> [@jdcast](#):
>
> Additionally, am I correct in thinking that the settings (e.g. resolution, bitrate, etc.) used in the streaming module to open the streams are what actually get used by the subsequent streams’ subscribers such as the zed nodes and video module subscribers on other machines, even though they may list differing values when they are spun up (I’ve been leaving them in default values…)? Or do the stream subscribers alter the configuration of streams?

The stream sender sets the resolution and framerate, but the ROS nodes has parameters to subsample the output resolution to limit the required bandwidth:

> <https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_wrapper/params/common.yaml#L31-L32>

---

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [May 20, 2024, 6:54pm UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/3 "2024-05-20T18:54:56Z")

</div>

Hi @Myzhar

Here’s a drawing, please forgive the crude drawing and let me know if you need other detail:

 ![Zedxm diagram](https://community.stereolabs.com/uploads/default/original/2X/8/8b57892c58d97997fa77e63f748df393281aaa62.jpeg)

I put the parameters used for the streams in the drawing. Other than what is shown, I use defaults.

This is an example error:

> # ================================================================================REQUIRED process [warpauv\_2/cameras/forward/zed\_node-2] has died! process has died [pid 14395, exit code -6, cmd /home/warp/warp\_ws/devel/lib/zed\_wrapper/zed\_wrapper\_node \_\_name:=zed\_node \_\_log:=/home/warp/.ros/log/88b4d078-16d6-11ef-8214-b3c3ab1f522c/warpauv\_2-cameras-forward -zed\_node-2.log]. log file: /home/warp/.ros/log/88b4d078-16d6-11ef-8214-b3c3ab1f522c/warpauv\_2-cameras-forward-zed\_node-2\*.log Initiating shutdown!

The power mode is MAXN.

For each of the zed nodes, I have `pub_resolution` set to CUSTOM and `pub_downscale_factor` set to 2.0.

Temperature seems to be unrelated, as the failure occurs very soon after start (\<= 1 or 2 minutes). I’ve noticed that `jtop` will spike to 100% usage intermittently, but it’s difficult for me to tell whether these are occurring when the failure happens. Additionally, both zed nodes may fail close to the same time and not just one, though this doesn’t seem guaranteed.

---

<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:** [May 21, 2024, 8:35am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/4 "2024-05-21T08:35:04Z")

</div>

Thank you for the drawing, it’s very clear.  
The setup seems feasible to me, I cannot see any kind of critical issues.

You did not report any information concerning memory usage. Did you monitor it?

---

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [May 21, 2024, 11:55pm UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/5 "2024-05-21T23:55:01Z")

</div>

Hi @Myzhar

I monitor the jetson using `jtop` and its nvme using `watch --interval 1 sudo nvme smart-log /dev/nvme0`.  
So far, there doesn’t seem to be a clear pattern when a zed node fails. Temperatures in jtop seem to be OK at around low 40s C, while the cpu cores hover around 30-40% utilization. Memory usage stays at about 6.7GB out of 15 The nvme temperature stays below 75C. GPU utilization will occasionally max out, but it’s not clear if this is correlating with a failure simply by visually observing jtop. Also, instantaneous power sometimes surges past 18W and even up to 20W. However, I have a voltage regulator ([Pololu 12V, 15A Step-Down Voltage Regulator D24V150F12](https://www.pololu.com/product/2885)) capable of providing much higher continuous current. So I assume power brownouts are not an issue. Also, I assume brownouts would cause the entire board to fail/cycle power, which is not what I see.

When running the zed nodes, I’ve tried Depth mode set to PERFORMANCE for both as well as just one while having the other set to NONE. The behavior happens for both.

Also of note, I occasionally see on the orin:

> [2024-05-21 20:59:27 UTC][ZED][WARNING] CAMERA NOT INITIALIZED in sl::ERROR\_CODE sl:📷:grab(sl::RuntimeParameters)  
> [INFO] [1716325770.258925206]: Camera grab error: CAMERA NOT INITIALIZED [/robot/cameras/downward/zed\_node:ZEDWrapperNodelet::device\_poll\_thread\_func]

This error seems correspond with a dead zed node as the depth ros topic stops showing new frames when this error occurs. However, the zed node failure console statement in my previous post does not necessarily occur when this error occurs.

Also these corrupted frame messages very frequently (usually in bursts), also occur on the orin:

> [Streaming] Warning: Corrupted frame chunk received (recv: 196 / expect 16100) from ip : 127.0.0.1 at ts 1716325158371(ms)

This message seem to be able can occur before and after a zed node dies and doesn’t seem correlated but still strange.

---

<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:** [May 22, 2024, 7:31am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/6 "2024-05-22T07:31:20Z")

</div>

OK, two info that I have not yet asked for:

1. version of the ZED SDK
2. version of the ZED X Driver

---

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [May 22, 2024, 8:37pm UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/7 "2024-05-22T20:37:39Z")

</div>

Hi @Myzhar

ZED SDK: 4.1.0 (installed from `ZED_SDK_Tegra_L4T35.3_v4.1.0.zstd.run`)  
ZED X Driver: 0.6.4 (installed from `stereolabs-zedx_0.6.4-MAX96712-L4T35.3.1_arm64.deb`)

---

<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:** [May 23, 2024, 8:07am UTC](https://community.stereolabs.com/t/2-zed-x-minis-1-orin-nx-anticipated-capabilities/6023/8 "2024-05-23T08:07:44Z")

</div>

Please

> [@jdcast](#):
>
> ZED SDK: 4.1.0 (installed from `ZED_SDK_Tegra_L4T35.3_v4.1.0.zstd.run`)

[Update to the latest v4.1.1 which is more stable](https://www.stereolabs.com/developers/release#nvidia-jetson-504616ef8d38)

> [@jdcast](#):
>
> ZED X Driver: 0.6.4 (installed from `stereolabs-zedx_0.6.4-MAX96712-L4T35.3.1_arm64.deb`)

[Update to the latest v1.0.1 which brings many stability fixes](https://www.stereolabs.com/developers/release#gmsl2-drivers-96d930a3b621)
