# Recommend Jetpack version and ZED version on TX2

**URL:** <https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770>\
**Category:** Jetson TX2\
**Tags:** gstreamer\
**Created:** [November 4, 2020, 2:27pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770 "2020-11-04T14:27:04Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 4, 2020, 2:27pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/1 "2020-11-04T14:27:04Z")

</div>

Which Jetpack version and ZED sdk version should i use. My Jetson TX2 is:

 ![20201104_171730](https://global.discourse-cdn.com/nvidia/original/3X/8/7/87cfc8ab05d196b53488cb88532436e39312f424.jpeg)

 ![20201104_171214](https://global.discourse-cdn.com/nvidia/original/3X/5/c/5c5dc910f461bbe261efb18b5bd90a96f5ddbab0.jpeg)

because while i run detectnet.py with /dev/video1 it shows an error about not capture (don’t remember clearly right now sorry.) and after that the camera is open and detecting objects but after that camera is freezing.

And the Gstreamer doesn’t work for rtsp

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [November 4, 2020, 11:40pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/3 "2020-11-04T23:40:14Z")

</div>

Hi,  
Please refer to [Jetson Nano FAQ](https://forums.developer.nvidia.com/t/jetson-nano-faq/82953)  
_Q: I have a USB camera. How can I lauch it on Jetson Nano?_

See if you can launch the camera through gstreamer pipeline first.

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 5, 2020, 3:59am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/4 "2020-11-05T03:59:13Z")

</div>

Thank you but in this faq, there is not  
Which jetpack should be installed on the page?

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 12, 2020, 7:46am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/5 "2020-11-12T07:46:59Z")

</div>

thank you but which jetpack version should i install, camera is freezing while run detectnet or etc.

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [November 12, 2020, 9:20am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/6 "2020-11-12T09:20:03Z")

</div>

Hi,  
You may try the latest JP4.4.1(r32.4.4). Generally USB cameras support YUV422 such as UYVY, YUYV. If you see the formats in _v4l2-ctl_ command, you can try to launch the camera through _gst-launch-1.0_.

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 26, 2020, 1:50pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/8 "2020-11-26T13:50:47Z")

</div>

This is ZED Camera

 ![Screenshot from 2020-11-26 16-49-12](https://global.discourse-cdn.com/nvidia/original/3X/8/9/8908ae78944984af3fe8b8e025b3e179b68e155a.png)

---

<div class="post-metadata">

**Author:** ![Honey\_Patouceul](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/honey_patouceul/32/389777_2.png) [@Honey\_Patouceul](https://forums.developer.nvidia.com/u/Honey_Patouceul)\
**Post date:** [November 26, 2020, 6:40pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/9 "2020-11-26T18:40:48Z")

</div>

You would already be able to use your ZED camera from V4L API. For example, using gstreamer:

```auto
gst-launch-1.0 v4l2src device=/dev/video1 ! xvimagesink

```

If you want to install the ZED SDK, you would download it from [StereoLabs](https://www.stereolabs.com/developers/release/). Note there is a dedicated section for Jetsons.  
For JetPack4.4, you may try [this](https://download.stereolabs.com/zedsdk/3.3/jp44/jetsons).

Additional note:  
The modes listed look surprizing. In my case I get:

```auto
v4l2-ctl -d /dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Index : 0
	Type : Video Capture
	Pixel Format: 'YUYV'
	Name : YUYV 4:2:2
		Size: Discrete 2560x720
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 1344x376
			Interval: Discrete 0.010s (100.000 fps)
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 3840x1080
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 4416x1242
			Interval: Discrete 0.067s (15.000 fps)

```

You may have to update camera firmware. Do that from host with a recent ZED SDK.

Also be sure not to go through a USB hub limiting bandwith nor micro-USB port. Try to have ZED only in the full size USB connector, and connect keyboard and mouse through a USB hub into micro-USB or remote command from ssh.  
In my case (using a Xavier NX here):

```auto
lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
        |__ Port 1: Dev 4, If 0, Class=Video, Driver=uvcvideo, 5000M
        |__ Port 1: Dev 4, If 1, Class=Video, Driver=uvcvideo, 5000M
...
`
```

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [November 26, 2020, 11:15pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/10 "2020-11-26T23:15:16Z")

</div>

Thank Honey Patouceul for sharing experience.

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 27, 2020, 5:32am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/11 "2020-11-27T05:32:16Z")

</div>

Without install ZED SDK, it was working well, and now that code you give

`gst-launch-1.0 v4l2src device=/dev/video1 ! xvimagesink`  
is working but little bit slow.

And i have a ZED flash disk.  
should i install that SDK on the flash disk or new SDK?

and

```
sadsavunma@sadsavunma-desktop:~$ jetson_release -v
 - NVIDIA Jetson TX2
   * Jetpack 4.4.1 [L4T 32.4.4]
   * NV Power Mode: MAXP_CORE_ARM - Type: 3
   * jetson_stats.service: active
 - Board info:
   * Type: TX2
   * SOC Family: tegra186 - ID:24
   * Module: P3310-1000 - Board: UNKNOWN
   * Code Name: quill
   * Boardids: 3310:0000:A0
   * CUDA GPU architecture (ARCH_BIN): 6.2
   * Serial Number: 0323117055388
 - Libraries:
   * CUDA: 10.2.89
   * cuDNN: 8.0.0.180
   * TensorRT: 7.1.3.0
   * Visionworks: 1.6.0.501
   * OpenCV: 4.1.1 compiled CUDA: NO
   * VPI: 0.4.4
   * Vulkan: 1.2.70
 - jetson-stats:
   * Version 3.0.2
   * Works on Python 3.6.9
sadsavunma@sadsavunma-desktop:~$

```

it was showing like here:

> [@Honey\_Patouceul](#):
>
> ```auto
> v4l2-ctl -d /dev/video1 --list-formats-ext
> ioctl: VIDIOC_ENUM_FMT
> Index : 0
> Type : Video Capture
> Pixel Format: 'YUYV'
> Name : YUYV 4:2:2
> Size: Discrete 2560x720
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Interval: Discrete 0.067s (15.000 fps)
> Size: Discrete 1344x376
> Interval: Discrete 0.010s (100.000 fps)
> Interval: Discrete 0.017s (60.000 fps)
> Interval: Discrete 0.033s (30.000 fps)
> Interval: Discrete 0.067s (15.000 fps)
> Size: Discrete 3840x1080
> Interval: Discrete 0.033s (30.000 fps)
> Interval: Discrete 0.067s (15.000 fps)
> Size: Discrete 4416x1242
> Interval: Discrete 0.067s (15.000 fps)
> 
> ```

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 27, 2020, 5:53am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/12 "2020-11-27T05:53:08Z")

</div>

i installed the ZED SDK that you suggest  
[here](https://download.stereolabs.com/zedsdk/3.3/jp44/jetsons)

and checks the camera  
`v4l2-ctl -d /dev/video1 --list-formats-ext`  
with Putty it shows

 ![Adsız](https://global.discourse-cdn.com/nvidia/original/3X/c/e/cea9cd0f3d5d22d14198b4d19954d98082d11d7c.png)

but while check on Jetson  
i have to connect zed camera via micro usb, because zed does not work via usb duplicator

it shows this and found a new way connect with normal USB and check and this image is coming, even check on Putty

 ![Screenshot from 2020-11-26 16-49-12](https://global.discourse-cdn.com/nvidia/original/3X/8/9/8908ae78944984af3fe8b8e025b3e179b68e155a.png)

and while run the ZED\_Diagnostic  
it shows  
Camera Test:  
ZED camera make sure the camera is plugged in or try another USB 3.0 port

---

<div class="post-metadata">

**Author:** ![Honey\_Patouceul](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/honey_patouceul/32/389777_2.png) [@Honey\_Patouceul](https://forums.developer.nvidia.com/u/Honey_Patouceul)\
**Post date:** [November 27, 2020, 11:39am UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/13 "2020-11-27T11:39:40Z")

</div>

Micro-USB port of TX2 is USB2 only. Can be ok for mouse and keyboard, but ZED requires much more bandwidth so you should reserve full size USB port being USB3 for ZED only.

The ZED SDK is not mandatory, but it gives some dedicated tools and libraries.

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [November 27, 2020, 12:24pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/14 "2020-11-27T12:24:39Z")

</div>

thank you for your help.  
Connect zed to jetson own normal usb port its working but when the camera is opening terminal shows error and i close the right camera of zed and works clearly  
The image freezes when I raise my hand from the right camera.  
And check the camera formats still same thing appeared

---

<div class="post-metadata">

**Author:** ![Honey\_Patouceul](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/honey_patouceul/32/389777_2.png) [@Honey\_Patouceul](https://forums.developer.nvidia.com/u/Honey_Patouceul)\
**Post date:** [November 27, 2020, 7:20pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/15 "2020-11-27T19:20:06Z")

</div>

You may post the errors you’re seeing.  
Note that gstreamer logs some messages even in normal case (and can issue tons if you play with GST\_DEBUG, but that’s out of scope).  
I’d suggest to first try with low resolution and framerate. For example :

```auto
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=YUY2, width=1344, height=376, framerate=15/1 ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

```

I can see both images side by side as ZED camera provides both images stitched into a large one, until I interrupt with Ctrl-C:

```auto
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:21.005102485
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

```

Do you see anything different ?

Do you mean the issue is only related to luminosity of right camera ? It would help to get the specific error messages.  
It might be a HW issue with the camera (did you uprgrade firmware from host ?), signal issue with cable or connector, or power issue since ZED is only powered from USB (if you have other power consuming devices, you may try to unplug these for testing).  
I don’t have such problem with my ZED and NX, but I remember some years ago with TX1/TX2 it was sometimes required to disable usbcore\_autosuspend from boot for not having troubles with USB. Not sure this is still relevant for JP4.4.

---

<div class="post-metadata">

**Author:** ![savunmasad](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@savunmasad](https://forums.developer.nvidia.com/u/savunmasad)\
**Post date:** [December 1, 2020, 8:27pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/16 "2020-12-01T20:27:03Z")

</div>

Thank you for your help

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:16pm UTC](https://forums.developer.nvidia.com/t/recommend-jetpack-version-and-zed-version-on-tx2/158770/17 "2021-10-18T18:16:12Z")

</div>


