orbbec / Orbbec-Sample-Viewer

An open source viewer for Orbbec cameras
MIT License
3 stars 1 forks source link

Depth viewer error #1

Open moonjongsul opened 4 months ago

moonjongsul commented 4 months ago

When I run depth in Sample Viewer, the following error occurs:

[04/29 13:17:48.929264][error][27580][MSDEConverterDevice.cpp:109] Depth engine create and initialize failed,retCode:204 [04/29 13:17:48.929334][info][27580][MSDEConverterDevice.cpp:75] Depth engine got nvram data size:495912 [04/29 13:17:48.929338][info][27580][MSDEConverterDevice.cpp:102] use dynlib load depthengine lib...... GlContext::Initialize eglMakeCurrent error code = 0x3000 [04/29 13:17:49.121780][error][27580][MSDEConverterDevice.cpp:109] Depth engine create and initialize failed,retCode:204 [04/29 13:17:49.121843][info][27580][MSDEConverterDevice.cpp:75] Depth engine got nvram data size:495912 [04/29 13:17:49.121847][info][27580][MSDEConverterDevice.cpp:102] use dynlib load depthengine lib...... GlContext::Initialize eglMakeCurrent error code = 0x3000

My PC is Ubuntu 20.04, and nvidia driver version 535 is installed. cuda is 11.8. When running the ./OBMutliStream program in OrbbecSDK, RGB, Depth and IMU run normally, but an error occurs in sample viewer.

The same error occurs when tested on Ubuntu 22.04.

Depth does not run in orbbec-k4a-wrapper due to the same error.

What is the solution?

bruceorbbec commented 4 months ago

Which camera are you testing with? Are you running the OS under any visualization tool? Please provide the full log to your issue.

moonjongsul commented 4 months ago

I am testing with Femto Bolt camera The final goal is to test body tracking using Orbbec-K4A-Wrapper and run it with ROS2.

The same error occurred in Orbbec-K4A-Wrapper, such as [MSDEConverterDevice.cpp:109] Depth engine create and initialize failed,retCode:204.

Here is the full log. OrbbecSDK.log.txt

bruceorbbec commented 4 months ago

It looks like camera is running properly. It's related to the depth engine. Please refer to this thread. It also mentioned the documentation of depth engine. Also, you might want to reconfigure Orbbec-K4A-Wrapper first.