# Restarting zed\_x\_daemon and nvargus-daemon.service doesnt work when unplugging and replugging the cameras

**URL:** <https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938>\
**Category:** Python\
**Created:** [May 28, 2025, 8:09pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938 "2025-05-28T20:09:45Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishekpavani](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@abhishekpavani](https://community.stereolabs.com/u/abhishekpavani)\
**Post date:** [May 28, 2025, 8:09pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/1 "2025-05-28T20:09:46Z")

</div>

Hi @Myzhar ,

I’m currently running reliability tests using the ZED X Mini GMSL camera connected to a Jetson AGX Orin platform. During testing, I observed that if the GMSL cable is unplugged while the streaming script (from [this example](https://github.com/stereolabs/zed-sdk/blob/master/camera%20streaming/sender/python/streaming_sender.py)) is running, the camera attempts to reboot but eventually times out.

After reconnecting the GMSL cable, we restart `jetson_clocks`, `nvargus-daemon.service`, and `zed_x_daemon`. While `ZED_Explorer -a` detects the cameras, we are unable to view the live feed within ZED Explorer or restart the streaming script successfully. The only reliable workaround we’ve found is to perform a full Jetson reboot.

Is there an alternative method to recover the camera without rebooting the Jetson? Any guidance or suggestions would be greatly appreciated.

---

<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 29, 2025, 8:58am UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/2 "2025-05-29T08:58:44Z")

</div>

Hi @abhishekpavani

> [@abhishekpavani](#):
>
> During testing, I observed that if the GMSL cable is unplugged while the streaming script (from [this example](https://github.com/stereolabs/zed-sdk/blob/master/camera%20streaming/sender/python/streaming_sender.py)) is running, the camera attempts to reboot but eventually times out.

This is the expected behavior.

> [@abhishekpavani](#):
>
> After reconnecting the GMSL cable, we restart `jetson_clocks`, `nvargus-daemon.service`, and `zed_x_daemon`.

The only action that is required when the hardware configuration changes is the reset of the ZED X Driver.  
You must use the command `sudo service zed_x_daemon restart` and wait for at least 25 seconds to allow the driver to reconfigure.  
This normally allows you to recover the camera.

---

<div class="post-metadata">

**Author:** ![abhishekpavani](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@abhishekpavani](https://community.stereolabs.com/u/abhishekpavani)\
**Post date:** [May 29, 2025, 4:03pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/3 "2025-05-29T16:03:05Z")

</div>

Hi @Myzhar , I tried `sudo service zed_x_daemon restart` and waited for 25 seconds(even longer) but am still not able to start the streaming back again. I had to restart the jetson to be able to stream the camera.

This is what I see when I try to start the stream again after restarting the zed\_x\_daemon service

```auto
user@jetson:~$ python3 ./streaming_sender.py 59819861 20000
Starting the camera...
[2025-05-29 15:51:41 UTC][ZED][INFO] Logging level INFO
[2025-05-29 15:51:41 UTC][ZED][INFO] [Init] Depth mode: NONE
[2025-05-29 15:52:02 UTC][ZED][ERROR] [ZED] Cannot initialize the camera.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found

```

---

<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 30, 2025, 9:19am UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/4 "2025-05-30T09:19:34Z")

</div>

When this situation appears, to understand what’s happening at the driver level, please run `sudo ZED_Diagnostic --dmesg` and send me the `dmesg.log` report that it generates.

---

<div class="post-metadata">

**Author:** ![abhishekpavani](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@abhishekpavani](https://community.stereolabs.com/u/abhishekpavani)\
**Post date:** [May 30, 2025, 1:28pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/5 "2025-05-30T13:28:42Z")

</div>

Here is the dmesg.log. The log was generated after I did `sudo service zed_x_daemon restart` and waited for 25 seconds  
[dmesg\_1.log](https://community.stereolabs.com/uploads/short-url/oDaiwwPBUCuqSLBcdEBo6LfVFlL.log) (130.8 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:** [May 30, 2025, 5:34pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/6 "2025-05-30T17:34:30Z")

</div>

The cameras are detected by the Driver.

Can you confirm that you are disconnecting the camera while it’s still open by the ZED SDK, and then you reset the Driver?  
Are you closing the application before resetting the driver?

---

<div class="post-metadata">

**Author:** ![abhishekpavani](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@abhishekpavani](https://community.stereolabs.com/u/abhishekpavani)\
**Post date:** [June 2, 2025, 9:44am UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/7 "2025-06-02T09:44:30Z")

</div>

I disconnect the cameras while still streaming the cameras using the python script.

I kill the streaming script, plug the cameras back in and then restart the zed\_x\_daemon as you suggested.

---

<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:** [June 3, 2025, 10:29am UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/8 "2025-06-03T10:29:18Z")

</div>

Hi @abhishekpavani  
as you know, GMSL2 cameras are not plug-and-play.  
If you disconnect a GMSL2 camera while the driver keeps it open, it takes a while to detect the issue and recover from it.  
Normally, the ZED X Daemon restart should allow a quick recovery of the full functionalities, I reported the described procedure to the team to replicate it and detect eventual issues while recovering the camera.

---

<div class="post-metadata">

**Author:** ![vince.burns.dozer](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince.burns.dozer](https://community.stereolabs.com/u/vince.burns.dozer)\
**Post date:** [August 27, 2026, 2:21pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/9 "2026-08-27T14:21:11Z")

</div>

Hey @Myzhar,

Has the team determined an update for this? We have similar issues with this. And for us, after the unplug happens once it can make the camera inoperable until a full box power-cycle.

Any suggestions would be appreciated.

Thanks,  
Vince

---

<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:** [August 27, 2026, 2:24pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/10 "2026-08-27T14:24:42Z")

</div>

Hi @vince.burns.dozer  
Welcome to the [StereoLabs](https://www.stereolabs.com/) community.

What version of ZED SDK and ZED X Driver are you using?

Recovery behaviors have been improved with the most recent versions of both.

---

<div class="post-metadata">

**Author:** ![vince.burns.dozer](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince.burns.dozer](https://community.stereolabs.com/u/vince.burns.dozer)\
**Post date:** [August 27, 2026, 3:14pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/11 "2026-08-27T15:14:42Z")

</div>

Hey Myzhar,

Zedx Driver - 1.3.0  
ZED SDK - 5.0.7  
JetPack - 6.0  
L4T - R36.3.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:** [August 28, 2026, 8:27am UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/12 "2026-08-28T08:27:36Z")

</div>

> [@vince.burns.dozer](#):
>
> Zedx Driver - 1.3.0  
> ZED SDK - 5.0.7  
> JetPack - 6.0  
> L4T - R36.3.0

You are using old versions of ZED X Driver and ZED SDK.  
Please upgrade to the most recent versions; they contain improvements concerning the described behaviors.

---

<div class="post-metadata">

**Author:** ![vince.burns.dozer](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince.burns.dozer](https://community.stereolabs.com/u/vince.burns.dozer)\
**Post date:** [August 28, 2026, 1:44pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/13 "2026-08-28T13:44:06Z")

</div>

Hey Myzhar,

Sounds good. I will give it a shot.  
Can you please confirm, in order to get the **latest functional** zed\_x\_daemon for the syslogic RMLA4NX box (JetPack 6.0) I should download it from [here](https://www.stereolabs.com/developers/drivers#938431e08016)? Because downloading that was named  
syslogic-zedx\_1.3.0-L4T36.3.0\_arm64.

---

<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:** [August 28, 2026, 2:48pm UTC](https://community.stereolabs.com/t/restarting-zed-x-daemon-and-nvargus-daemon-service-doesnt-work-when-unplugging-and-replugging-the-cameras/8938/14 "2026-08-28T14:48:33Z")

</div>

Yes, that’s the correct link.  
Please note that if you want to use the latest ZED X Driver v1.4.2 you must upgrade the device to JP 6.1

 ![image](https://community.stereolabs.com/uploads/default/original/2X/2/2159f8127661f983cb4827f44a54b0c7c95c9146.png)
