Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Runtime Error - multi-camera recording - Ubuntu 18.04 - SDK 1.1 #501

Closed
somacoder opened this issue Jul 15, 2019 · 6 comments
Closed

Runtime Error - multi-camera recording - Ubuntu 18.04 - SDK 1.1 #501

somacoder opened this issue Jul 15, 2019 · 6 comments
Assignees
Labels
Bug Something isn't working More Info Needed More information is required before this issue can be approved

Comments

@somacoder
Copy link

The following is after applying the libusb memory fix at: #485

Both cameras work with individual recordings.

subordinate:

$ k4arecorder --device 1 --external-sync subordinate output-2.mkv
Device serial number: 000015192412
Device version: Rel; C: 1.6.98; D: 1.6.70[6109.7]; A: 1.6.14
Device started
[subordinate mode] Waiting for signal from master

master:

$ k4arecorder --device 0 --external-sync master output-1.mkv
Device serial number: 000019492412
Device version: Rel; C: 1.6.98; D: 1.6.70[6109.7]; A: 1.6.14
[2019-07-15 11:28:31.205] [error] [t=4097] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/color/uvc_camerareader.cpp (153): Start(). Failed to start streaming: Unknown error
[2019-07-15 11:28:31.205] [error] [t=4097] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/color/color.cpp (194): color->m_spCameraReader->Start(width, height, fps, config->color_format, &color_capture_available, color) returned failure in color_start()
[2019-07-15 11:28:31.205] [error] [t=4097] /home/vsts/work/1/s/extern/Azure-Kinect-Sensor-SDK/src/sdk/k4a.c (725): color_start(device->color, config) returned failure in k4a_device_start_cameras()
Runtime error: k4a_device_start_cameras(device, device_config) returned 1

System: NUC8i7HVK w/ 32 GB RAM
OS: Ubuntu 18.04, Fully Updated
SDK: 1.1.0

@somacoder somacoder added Bug Something isn't working Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jul 15, 2019
@wes-b
Copy link
Contributor

wes-b commented Jul 15, 2019

Unfortunately that log is not too helpful. Can you rebuild the SDK in debug mode and retry? Use the CMake option -DCMAKE_BUILD_TYPE=Debug.

@wes-b wes-b added More Info Needed More information is required before this issue can be approved and removed Triage Needed The Issue still needs to be reviewed by Azure Kinect team members. labels Jul 15, 2019
@wes-b wes-b self-assigned this Jul 15, 2019
@somacoder
Copy link
Author

Sure! Not much in those original logs you're right. See attached for equivalent debug logs.

master.txt
subordinate.txt

@somacoder
Copy link
Author

Possibly a library is missing for handling the image type?

@wes-b
Copy link
Contributor

wes-b commented Jul 15, 2019

I don't think so and we have not seen this error before. Would you mind updating uvc_strerror function in your extern libuvc project to convert all the known error codes to strings so we can figure out what error code is comming back?

@wes-b
Copy link
Contributor

wes-b commented Jul 22, 2019

@somacoder any update on this? Any chance you got it working?

@wes-b wes-b closed this as completed Jul 22, 2019
@somacoder
Copy link
Author

Hey @wes-b ! I apologize for the delayed followup here. I was deep into Kinect programming and configuration in Windows.

After reinstalling a clean 18.04, this problem appears to have went away completely! Excelsior!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working More Info Needed More information is required before this issue can be approved
Projects
None yet
Development

No branches or pull requests

2 participants