./ZED_Depth_Viewer Segmentation Fault on ZEDBox

Hello,

I am trying to visualize the depth viewer when I ssh into the zedbox(Jetson Orin X1). When I try that I am getting the following error:

./ZED_Depth_Viewer 
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
[2025-03-13 01:24:29 UTC][ZED][INFO] Logging level INFO
[2025-03-13 01:24:30 UTC][ZED][INFO] Logging level INFO
[2025-03-13 01:24:30 UTC][ZED][INFO] [Init]  Depth mode: PERFORMANCE
[2025-03-13 01:24:31 UTC][ZED][INFO] [Init]  Camera successfully opened.
[2025-03-13 01:24:31 UTC][ZED][INFO] [Init]  Camera FW version: 1523
[2025-03-13 01:24:31 UTC][ZED][INFO] [Init]  Video mode: HD1080@30
[2025-03-13 01:24:32 UTC][ZED][WARNING] [Init]  Self-calibration failed. Point the camera towards a more textured and brighter area. Avoid objects closer than 1 meter (Error code: 0x01) 
in bool ImageHandler::initialize(sl::Mat&) : Err [999]: unknown error.
Stack trace (most recent call last):
#26   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#25   Object "./ZED_Depth_Viewer", at 0x42326f, in 
#24   Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffb0b674cb, in __libc_start_main
#23   Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffb0b673fb, in 
#22   Object "./ZED_Depth_Viewer", at 0x422653, in 
#21   Object "./ZED_Depth_Viewer", at 0x44da87, in 
#20   Object "./ZED_Depth_Viewer", at 0x4491a3, in 
#19   Object "./ZED_Depth_Viewer", at 0x45fe4f, in 
#18   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb128b06b, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#17   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12eb523, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#16   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffffae142f13, in g_main_context_iteration
#15   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffffae19aebb, in 
#14   Object "/usr/lib/aarch64-linux-gnu/libglib-2.0.so.0", at 0xffffae145a6f, in g_main_context_dispatch
#13   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12eb1ab, in 
#12   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12ea7e3, in QTimerInfoList::activateTimers()
#11   Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb128cb8f, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#10   Object "/usr/lib/aarch64-linux-gnu/libQt5Widgets.so.5", at 0xffffb1d12abf, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#9    Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12bcecf, in QObject::event(QEvent*)
#8    Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12cc00f, in QTimer::timeout(QTimer::QPrivateSignal)
#7    Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffb12c7913, in 
#6    Object "./ZED_Depth_Viewer", at 0x44e603, in 
#5    Object "./ZED_Depth_Viewer", at 0x449edb, in 
#4    Object "./ZED_Depth_Viewer", at 0x45929b, in 
#3    Object "./ZED_Depth_Viewer", at 0x458167, in 
#2    Object "./ZED_Depth_Viewer", at 0x4c1453, in 
#1    Object "./ZED_Depth_Viewer", at 0x47966b, in 
#0    Object "/usr/lib/aarch64-linux-gnu/nvidia/libcuda.so.1", at 0xffffb6f6645c, in 
Segmentation fault (Address not mapped to object [0x740070006500])
Segmentation fault (core dumped)

Here are some details about my setup:
Zed Box - Orin X1 16GB
Ubuntu 22.04
Zed SDk: ZED_SDK_Tegra_L4T36.3_v4.2.5.zstd

apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Source: nvidia-jetpack (6.0)
Version: 6.0+b106
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 6.0+b106), nvidia-jetpack-dev (= 6.0+b106)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_6.0+b106_arm64.deb
Size: 29296
SHA256: 561d38f76683ff865e57b2af41e303be7e590926251890550d2652bdc51401f8
SHA1: ef3fca0c1b5c780b2bad1bafae6437753bd0a93f
MD5sum: 95de21b4fce939dee11c6df1f2db0fa5
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8

Package: nvidia-jetpack
Source: nvidia-jetpack (6.0)
Version: 6.0+b87
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 6.0+b87), nvidia-jetpack-dev (= 6.0+b87)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_6.0+b87_arm64.deb
Size: 29298
SHA256: 70be95162aad864ee0b0cd24ac8e4fa4f131aa97b32ffa2de551f1f8f56bc14e
SHA1: 36926a991855b9feeb12072694005c3e7e7b3836
MD5sum: 050cb1fd604a16200d26841f8a59a038
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:08:11_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0


echo $DISPLAY
GTW-ONX1-E1MMK4IE:11.0

I am sshing in using a -X tag and also tried the -Y. I set the X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost no
but I can’t figure out the key issue here
However, if I connect a monitor and start the depth viewer on the jetson it is working perfectly fine. Please advise on how I can solve this.

Hi @madhuareti
Welcome to the Stereolabs community.

This support page will reply to your question and provide a working solution to your problem.

1 Like