Depth and IR image not available

I am running Ubuntu 22.04. I have installed Orbbec SDk according to the instruction without any errors. I have also installed OpenGL and added the environment variable LD_LIBRARY_PATH to point at the . . . pyorbbecsdk/sdk/lib/linux_x64 folder.

When running the depth_viewer.py example I receive the following error message:

[info][815119][MSDEConverterDevice.cpp:94] use dynlib load depthengine lib…
[error][815119][MSDEConverterDevice.cpp:101] Depth engine create and initialize failed,retCode:204

What does the retCode 204 mean, and how can I correct it?

When running the Orbbec Viewer I can see the color image and the IMU, but not depth and IR. I guess it is the same reason as causes the error message when running depth_viewer.py?

I would appreciate guidelines to solve my problem.

You can follow the instruction to install the pyorbbecSDK: pyorbbecsdk/docs/README_EN.md at main · orbbec/pyorbbecsdk · GitHub

Hi, Thank you for responding.

I have done everything in the instructions. Please find part of the log below. It looks as it is related to the depth engine. What is the reason for the retCode: 204?

There is also a line in the log that I find strange: Start real profile,width:7680 height:434
What width and height is this referring to?

I appreciate any help!

Parts of the log:

depth profile: <VideoStreamProfile: 640x576@15>

[10/14 18:49:50.230524][info][3906041][Pipeline.cpp:188] Check and set config start!

[10/14 18:49:50.230539][info][3906041][Pipeline.cpp:223] Check and set config done!

[10/14 18:49:50.231148][info][3906041][Pipeline.cpp:288] Try to start streams!

[10/14 18:49:50.231236][info][3906041][VideoSensor.cpp:646] start OB_SENSOR_DEPTH stream with profile: {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 15}, Backend Format: OB_FORMAT_Y16

[10/14 18:49:50.231249][info][3906041][MSDEConverterDevice.cpp:549] Start real profile,width:7680 height:434

[10/14 18:49:50.233794][info][3906068][MSDEConverterDevice.cpp:67] Depth engine got nvram data size:490384

[10/14 18:49:50.233830][info][3906068][MSDEConverterDevice.cpp:94] use dynlib load depthengine lib…

[10/14 18:49:50.351978][error][3906068][MSDEConverterDevice.cpp:101] Depth engine create and initialize failed,retCode:204

i think you can try default video stream and 640*640 , and when you install the pyorbbeck sdk dont forget the add wheels