# ZED\_Depth\_Viewer failing to open camera

**URL:** <https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565>\
**Category:** ZED Mini\
**Tags:** zed-sdk, depth\
**Created:** [December 1, 2024, 12:13am UTC](https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565 "2024-12-01T00:13:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [December 1, 2024, 12:13am UTC](https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565/1 "2024-12-01T00:13:31Z")

</div>

I’m using a ZEDM camera connected via usbc to a laptop (Nvidia T500 GPU).  
When I try to use the ZED\_Depth\_Viewer application I get the following error. Below I have attached the output of ZED\_Diagnostic.

> user@field3:~$ ZED\_Depth\_Viewer  
> [2024-11-30 23:54:29 UTC][ZED][INFO] Logging level INFO  
> [2024-11-30 23:54:29 UTC][ZED][INFO] Logging level INFO  
> [2024-11-30 23:54:30 UTC][ZED][INFO] [Init] Depth mode: ULTRA  
> [2024-11-30 23:54:31 UTC][ZED][INFO] [Init] Camera successfully opened.  
> [2024-11-30 23:54:31 UTC][ZED][INFO] [Init] Camera FW version: 1523  
> [2024-11-30 23:54:31 UTC][ZED][INFO] [Init] Video mode: HD1080@30  
> [2024-11-30 23:54:31 UTC][ZED][INFO] [Init] Serial Number: S/N 10075785  
> in bool ImageHandler::initialize(sl::Mat&) : Err [999]: unknown error.  
> Stack trace (most recent call last):  
> #28 Object “[0xffffffffffffffff]”, at 0xffffffffffffffff, in  
> #27 Object “ZED\_Depth\_Viewer”, at 0x562625e8fced, in  
> #26 Object “/lib/x86\_64-linux-gnu/libc.so.6”, at 0x7f68d8450082, in \_\_libc\_start\_main  
> #25 Object “ZED\_Depth\_Viewer”, at 0x562625e8efc6, in  
> #24 Object “ZED\_Depth\_Viewer”, at 0x562625ebe72d, in  
> #23 Object “ZED\_Depth\_Viewer”, at 0x562625eb97ce, in  
> #22 Object “ZED\_Depth\_Viewer”, at 0x562625ed2619, in  
> #21 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8a853aa, in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag)  
> #20 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8ade434, in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)  
> #19 Object “/lib/x86\_64-linux-gnu/libglib-2.0.so.0”, at 0x7f68d69424a2, in g\_main\_context\_iteration  
> #18 Object “/lib/x86\_64-linux-gnu/libglib-2.0.so.0”, at 0x7f68d69423ff, in  
> #17 Object “/lib/x86\_64-linux-gnu/libglib-2.0.so.0”, at 0x7f68d694217c, in g\_main\_context\_dispatch  
> #16 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8ade06b, in  
> #15 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8add77f, in QTimerInfoList::activateTimers()  
> #14 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8a86809, in QCoreApplication::notifyInternal2(QObject\*, QEvent\*)  
> #13 Object “/lib/x86\_64-linux-gnu/libQt5Widgets.so.5”, at 0x7f68d95740ef, in QApplication::notify(QObject\*, QEvent\*)  
> #12 Object “/lib/x86\_64-linux-gnu/libQt5Widgets.so.5”, at 0x7f68d956aa65, in QApplicationPrivate::notify\_helper(QObject\*, QEvent\*)  
> #11 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8ab2bc4, in QObject::event(QEvent\*)  
> #10 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8abf3ed, in QTimer::timeout(QTimer::QPrivateSignal)  
> #9 Object “/lib/x86\_64-linux-gnu/libQt5Core.so.5”, at 0x7f68d8ab21cf, in QMetaObject::activate(QObject\*, int, int, void\*\*)  
> #8 Object “ZED\_Depth\_Viewer”, at 0x562625e90207, in  
> #7 Object “ZED\_Depth\_Viewer”, at 0x562625ebf5c3, in  
> #6 Object “ZED\_Depth\_Viewer”, at 0x562625ebf184, in  
> #5 Object “ZED\_Depth\_Viewer”, at 0x562625eba7c6, in  
> #4 Object “ZED\_Depth\_Viewer”, at 0x562625eca7cf, in  
> #3 Object “ZED\_Depth\_Viewer”, at 0x562625ec9782, in  
> #2 Object “ZED\_Depth\_Viewer”, at 0x562625f2c1cd, in  
> #1 Object “ZED\_Depth\_Viewer”, at 0x562625ee83ad, in  
> #0 Object “/lib/x86\_64-linux-gnu/libcuda.so.1”, at 0x7f68e4f29878, in  
> Segmentation fault (Signal sent by the kernel [(nil)])  
> Segmentation fault (core dumped)

Here is the output of nvidia-smi:

> Sat Nov 30 20:07:10 2024  
> ±----------------------------------------------------------------------------------------+  
> | NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |  
> |-----------------------------------------±-----------------------±---------------------+  
> | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |  
> | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |  
> | | | MIG M. |  
> |=========================================+========================+======================|  
> | 0 NVIDIA T500 On | 00000000:01:00.0 Off | N/A |  
> | N/A 53C P8 N/A / 5001W | 10MiB / 4096MiB | 0% Default |  
> | | | N/A |  
> ±----------------------------------------±-----------------------±---------------------+
> 
> ±----------------------------------------------------------------------------------------+  
> | Processes: |  
> | GPU GI CI PID Type Process name GPU Memory |  
> | ID ID Usage |  
> |=========================================================================================|  
> | 0 N/A N/A 1118 G /usr/lib/xorg/Xorg 4MiB |  
> | 0 N/A N/A 1532 G /usr/lib/xorg/Xorg 4MiB |  
> ±----------------------------------------------------------------------------------------+

When I using `prime-select query` I get `nvidia`.

ZED\_Explorer appears to function fine.

Here is the output of ZED\_Diagnostic:

[ZED\_Diagnostic\_Results.json](https://community.stereolabs.com/uploads/short-url/2xevKvRcWTX10zWiKNIuR0OLyG3.json) (10.6 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 2, 2024, 2:01pm UTC](https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565/2 "2024-12-02T14:01:27Z")

</div>

Hi @jdcast

> [@jdcast](#):
>
> When I using `prime-select query` I get `nvidia`.

Is Secure Boot enabled in the BIOS? If yes, then try to disable it.

---

<div class="post-metadata">

**Author:** ![jdcast](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@jdcast](https://community.stereolabs.com/u/jdcast)\
**Post date:** [December 2, 2024, 7:21pm UTC](https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565/3 "2024-12-02T19:21:51Z")

</div>

Hi @Myzhar,  
No, Secure Boot is disabled.

---

<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:58am UTC](https://community.stereolabs.com/t/zed-depth-viewer-failing-to-open-camera/7565/4 "2024-12-03T10:58:17Z")

</div>

Please try to update the GPU driver and install the latest ZED SDK v4.2.2.
