# ZED X Camera Cannot initialize Error opening Camera: Camera Failed to setup

**URL:** <https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581>\
**Category:** ZED X\
**Tags:** jetson\
**Created:** [December 3, 2024, 5:23am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581 "2024-12-03T05:23:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![woawo1213](https://community.stereolabs.com/user_avatar/community.stereolabs.com/woawo1213/32/3010_2.png) [@woawo1213](https://community.stereolabs.com/u/woawo1213)\
**Post date:** [December 3, 2024, 5:23am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/1 "2024-12-03T05:23:59Z")

</div>

Hello!

Thanks to ZED SDK 4.2.2 & ZED X Camera Drivers for JP6.1.

But, it doesn’t work.

I’m using Jetson orin Agx dev.kit & Zed link quad & Zed X Mini(1) & Zed X(3).

And installed ZED SDK for JP6.1 (L4T 36.4) & ZED Link Quad JP6.1.

SDK & Driver Install was successful.

Detect the All cameras is good. But not opening…Did I do something wrong?

Attached the diagnostic, dmesg files.  
[sudo dmesg grep zedx.txt](https://community.stereolabs.com/uploads/short-url/ykgijBgvctlrL118bNn6TfuvFit.txt) (11.0 KB)  
[ZEDXM\_Diagnostic\_Results.json](https://community.stereolabs.com/uploads/short-url/661sHfE78plVFz3RMaJRcQhUMZj.json) (6.5 KB)

---

<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:** [December 3, 2024, 10:50am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/2 "2024-12-03T10:50:58Z")

</div>

Hi @woawo1213  
Please send me a picture showing the GMSL2 cable connections.  
Please also run the command `sudo ZED_Diagnostic --dmseg` and send me the `dmesg.log` file that it generates.

---

<div class="post-metadata">

**Author:** ![woawo1213](https://community.stereolabs.com/user_avatar/community.stereolabs.com/woawo1213/32/3010_2.png) [@woawo1213](https://community.stereolabs.com/u/woawo1213)\
**Post date:** [December 4, 2024, 2:38am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/3 "2024-12-04T02:38:35Z")

</div>

Hi @Myzhar  
Here is GMSL2 cable pictures & dmesg.log in my jetson.

 ![IMG_4891](https://community.stereolabs.com/uploads/default/original/2X/d/d62438d1f99ff153b4315f509ea894561daefa95.jpeg)  
 ![IMG_4892](https://community.stereolabs.com/uploads/default/original/2X/0/0a76e4a85a9eecac517f6e687476a364f36b688e.jpeg)

[dmesg.log](https://community.stereolabs.com/uploads/short-url/mez5o9gG9jFSm0XmA3M4sMoaHFv.log) (43.1 KB)

best regards.

---

<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:** [December 4, 2024, 6:54pm UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/4 "2024-12-04T18:54:15Z")

</div>

Hi @woawo1213  
the diagnostic file shows 4 cameras detected:

- ZED-X SN 42003298
- ZED-X SN 44930550
- ZED-X SN 42820595
- ZED-X SN 50324450

Can you confirm they match the SN of your cameras?

There was a bug with the ZED X Driver v1.2.1 preventing multi-camera configuration from working with some combination of serial numbers.

The ZED X Driver v1.2.2 contains a fix to this bug, can you please uninstall ZED X Driver v1.2.1 and install the new v1.2.2?

---

<div class="post-metadata">

**Author:** ![woawo1213](https://community.stereolabs.com/user_avatar/community.stereolabs.com/woawo1213/32/3010_2.png) [@woawo1213](https://community.stereolabs.com/u/woawo1213)\
**Post date:** [December 5, 2024, 12:04am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/5 "2024-12-05T00:04:18Z")

</div>

Thanks @Myzhar  
Where can I get v1.2.2 driver?  
Only version 1.2.1 from the official website.

---

<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:** [December 5, 2024, 10:20am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/6 "2024-12-05T10:20:53Z")

</div>

> [@woawo1213](#):
>
> Where can I get v1.2.2 driver?

There was a typo in my reply, I’m sorry for it:  
the bug was present in v1.2.0 and fixed in v1.2.1.  
Your driver configuration is good.

How are you trying to open the cameras?  
What’s the output of the command `ZED_Explorer -a`?

---

<div class="post-metadata">

**Author:** ![woawo1213](https://community.stereolabs.com/user_avatar/community.stereolabs.com/woawo1213/32/3010_2.png) [@woawo1213](https://community.stereolabs.com/u/woawo1213)\
**Post date:** [December 6, 2024, 1:27am UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/7 "2024-12-06T01:27:56Z")

</div>

@Myzhar  
The output is shown below.  
wm\_robot3@ubuntu:/usr/local/zed/tools$ ./ZED\_Explorer -a

## Cam 0

Model : “ZED-X”  
S/N : 42820595  
State : “Camera Available”  
Path : /dev/i2c-13  
ID : 0  
Type : “GMSL2”

* * *

## Cam 1

Model : “ZED-X”  
S/N : 44930550  
State : “Camera Available”  
Path : /dev/i2c-13  
ID : 1  
Type : “GMSL2”

* * *

## Cam 2

Model : “ZED-X Mini”  
S/N : 50324450  
State : “Camera Available”  
Path : /dev/i2c-10  
ID : 2  
Type : “GMSL2”

* * *

## Cam 3

Model : “ZED-X”  
S/N : 42003298  
State : “Camera Available”  
Path : /dev/i2c-10  
ID : 3  
Type : “GMSL2”

* * *

---

<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:** [December 7, 2024, 12:10pm UTC](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581/8 "2024-12-07T12:10:52Z")

</div>

This confirms that the cameras are correctly initialized and available to the ZED SDK.

Can you provide more information concerning how you are trying to open the cameras?
