Gstreamer stops capturing CSI camera after installing ZED SDK in Jetson Nano

I was using a Raspberry Pi Cam v2.1 with a Jetson Nano A02. Recently, I needed to use a ZED Mini camera with the Jetson Nano. I installed ZED SDK and the ZED Python API, and the ZED Mini camera worked fine.

However, I can no longer stream the Raspberry Pi Cam v2.1 using GStreamer. The camera appears as /dev/video0. But with v4l2src or nvarguscamerasrc stream is not available.

Did anyone face a similar issue, or can anyone suggest what might be the problem?

Hi @Subha
Welcome to the Stereolabs community.

Are you getting any kind of log error?
Can you try to open it with guvcview?

Hi @Myzhar

I am getting
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 Failed to create CaptureSession

The camera is not opening with guvcview

However, both cameras are working fine with

  1. ZED SDK 3.7 and Jetpack 4.6.1
  2. ZED SDK 3.8 and Jetpack 4.6.4

Seems the problem is in ZED SDK 4.0

.

In the first version of the ZED SDK v4.0, there was thezed_x_daemon installed by the SDK (and not the driver). Maybe it can break nvargus because it tries to reload the driver constantly.

Can you try disabling the daemon?
sudo systemctl disable zed_x_daemon.service

For ZED SDK 4.0.5, using sudo systemctl disable zed_x_daemon.service I get
Failed to disable unit: Unit file zed_x_daemon.service does not exist.

The error Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 Failed to create CaptureSession persists for the CSI camera.

Hi @Subha
I suggest you try to ask on the NVIDIA developer forum to get advice from NVIDIA experts about how to recover the nvargus functionalities.