when recording ,Depth engine create and initialize failed with error

怡恬 钱 1 Reputation point
2021-08-20T09:55:15.44+00:00

benebot@benebot:~/Azure-Kinect-Sensor-SDK-1.2.0/build$ ./bin/k4arecorder -d WFOV_UNBINNED -c 1080p -r 15 -l 10 --imu OFF ../RGB-D-Stream/409.mkv
Device serial number: 000107605112
Device version: Rel; C: 1.6.102; D: 1.6.75[6109.7]; A: 1.6.14
[2021-08-20 16:52:31.656] [error] [t=12131] ../src/dewrapper/dewrapper.c (154): depth_engine_start_helper(). Depth engine create and initialize failed with error code: 204.
[2021-08-20 16:52:31.656] [error] [t=12131] ../src/dewrapper/dewrapper.c (160): deresult == K4A_DEPTH_ENGINE_RESULT_SUCCEEDED returned failure in depth_engine_start_helper()
[2021-08-20 16:52:31.656] [error] [t=12131] ../src/dewrapper/dewrapper.c (194): depth_engine_start_helper(dewrapper, dewrapper->fps, dewrapper->depth_mode, &depth_engine_max_compute_time_ms, &depth_engine_output_buffer_size) returned failure in depth_engine_thread()
[2021-08-20 16:52:31.656] [error] [t=12119] ../src/dewrapper/dewrapper.c (552): dewrapper_start(). Depth Engine thread failed to start
[2021-08-20 16:52:31.656] [error] [t=12119] ../src/depth/depth.c (451): dewrapper_start(depth->dewrapper, config, depth->calibration_memory, depth->calibration_memory_size) returned failure in depth_start()
[2021-08-20 16:52:31.656] [error] [t=12119] ../src/depth_mcu/depth_mcu.c (359): cmd_status == CMD_STATUS_PASS returned failure in depthmcu_depth_stop_streaming()
[2021-08-20 16:52:31.656] [error] [t=12119] ../src/depth_mcu/depth_mcu.c (362): depthmcu_depth_stop_streaming(). ERROR: cmd_status=0x00000063
[2021-08-20 16:52:31.656] [error] [t=12119] ../src/sdk/k4a.c (891): depth_start(device->depth, config) returned failure in k4a_device_start_cameras()
Runtime error: k4a_device_start_cameras(device, device_config) returned 1

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
292 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,266 Reputation points
    2021-08-20T23:39:47.047+00:00

    Hello @怡恬 钱 Some of the past issues on the same error code have some workarounds to fix this issue is listed below. I hope this may help your case.

    --> try to reinstall the SDK via apt.
    -->"sudo ninja install" might have replaced things like k4aviewer and sdk on your system with a new built version that lacks the depthengine.
    --> try to purge the k4a-tools and libk4a1.4 and libk4a1.4-dev, then reinstall libk4a1.3 and libk4a1.3-dev.

    Please refer to the Github issue on similar error: https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1453

    Please comment in the below section to get more help in this matter.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.