Argus errors and unable to detect camera

Hi everyone,
Camera: ZED2i

Host system
Device: Jetson Xavier Rudi-NX
Jetpack: 35.6.1

Docker container
Docker image: zed_ros2_l4t_35.4.1_sdk_5.0.3
ZED SDK Version: 5.0.3

I have been trying to use a zed2i on my Jetson Xavier Rudi NX, but am having issues connecting the camera to it. I have been seeing numerous issues with Argus while trying ZED_Diagnostic, ZED_Explorer, and the ros2 humble wrapper launch command. I have successfully run this camera on a separate system running ubuntu 22.04. The Argus errors I typically see are segmentation faults related to a EndOfFile issue, but

Tests from the host:

jetyboi@uweai:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0424:724a Microchip Technology, Inc. (formerly SMSC) 
Bus 001 Device 004: ID 2c7c:0306 Quectel Wireless Solutions Co., Ltd. EG06/EP06/EM06 LTE-A modem
Bus 001 Device 007: ID 1532:008f Razer USA, Ltd 
Bus 001 Device 018: ID 2b03:f881  
Bus 001 Device 019: ID 2b03:f880  
Bus 001 Device 017: ID 0424:2512 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 020: ID 17ef:602d Lenovo 
Bus 001 Device 003: ID 0424:4206 Microchip Technology, Inc. (formerly SMSC) USB4206 Smart Hub
Bus 001 Device 002: ID 8087:0a2a Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jetyboi@uweai:~$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
	/dev/media0

ZED 2i: ZED 2i (usb-3610000.xhci-3.3.1):
	/dev/video0
	/dev/video1
	/dev/media1
jetyboi@uweai:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
# STEREO VIDEO FEED DISPLAYS AT THIS POINT

The docker container is being run using the command:

sudo docker run --runtime nvidia -it --privileged --network=host --ipc=host --pid=host \
  -e NVIDIA_DRIVER_CAPABILITIES=all -e DISPLAY=$DISPLAY \
  -v /tmp/.X11-unix/:/tmp/.X11-unix \
  -v /dev:/dev \
  -v /tmp:/tmp \
  -v /dev/shm:/dev/shm \
  -v /media/jetyboi/jetson_uweai_SD1/logs:/logs \
  -v /usr/local/zed/resources/:/usr/local/zed/resources/ \
  -v /usr/local/zed/settings/:/usr/local/zed/settings/ \
  zed_ros2_l4t_35.4.1_sdk_5.0.3:latest

I have attempted to disable the Argus service as using the ZED2i (from what I know so far Argus is needed for the ZEDX), but I still get issues for the Diagnostic and ZED ROS2 wrapper launch that it is trying to connect to Argus:

root@uweai:~/ros2_ws# /usr/local/zed/
doc/                      get_python_api.py         lib/                      samples/                  tools/                    zed-config-version.cmake
firmware/                 include/                  resources/                settings/                 zed-config.cmake          
root@uweai:~/ros2_ws# /usr/local/zed/tools/ZED_Explorer 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
 ** [SVO] Hardware compression (NVENC) available **
(Argus) Error FileOperationFailed: Connecting to nvargus-daemon failed: No such file or directory (in src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 204)
(Argus) Error FileOperationFailed: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
[ZED-X][Warning] Failed to connect to zed_x_daemon.

Any assistance would be very appreciated.

Hi @IJordano478
Welcome to the StereoLabs community.

Argus is not used by the ZED 2i camera. The ZED 2i is a USB 3 camera, Argus is used only by GMSL2 cameras.

You can use our zedsrc element instead of a standard v4l2src element.
Read more here and find the repository here.

A few notes:

  1. it seems that you connected the camera to a USB 2 port; please check that you connected it to a USB 3 port
  1. mounting X11-unix is not necessary/good idea