Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capturesync_drop... stuck in setup() #21

Open
antoniomechas opened this issue Feb 9, 2022 · 6 comments
Open

capturesync_drop... stuck in setup() #21

antoniomechas opened this issue Feb 9, 2022 · 6 comments

Comments

@antoniomechas
Copy link

Hello,
I'm on windows 10 64 bits, openframeworks 0.11.0
Installed Azure kinect body tracking SDK 1.0 and Azure kinect SDK v1.4.1
I get this error continuously:
image
It never reaches the draw() function.
Any help would be really appreciated,
Thanks,
Antonio.

@prisonerjohn
Copy link
Owner

Hi Antonio,

I need more details to be able to help troubleshoot:

  • Is this with one of the examples? If so, which one? If it's your own code, can you share it?
  • Which branch of the addon are you using?
  • Do you have body tracking on?

@gorkacortazar
Copy link

gorkacortazar commented Mar 21, 2022

@prisonerjohn I got the same error starting to test today in a new computer. Only the streams example showed something and began to hang frequently, requiring a restart, and the rest of the examples didn't work at all.
In my case, updating the firmware of the Kinect to match the SDK fixed the issues.
https://docs.microsoft.com/en-us/azure/kinect-dk/update-device-firmware
[edit]
Didn't solve it completely. With the Shader example seems that the camera queue is not getting cleaned and I end with an error like this after 30 seconds
[2022-03-21 17:41:28.431] [error] [t=15488] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (142): replace_sample(). capturesync_drop, releasing capture early due to full queue TS: 17333577 type:Depth

@antoniomechas
Copy link
Author

antoniomechas commented Mar 21, 2022 via email

@gorkacortazar
Copy link

@antoniomechas I have been doing research on this and the problem seems to be related to the USB controller (in my case ASMedia hub), which is known to create problems with the RGB camera of the Kinect, and is not related to the addon. With that controller, I can keep the examples running if I decrease the resolution of the RGB camera or the framerate

I am purchasing a couple of PCIe cards that seem to work, I will report my findings at a later date.

@antoniomechas
Copy link
Author

antoniomechas commented Mar 22, 2022 via email

@prisonerjohn
Copy link
Owner

Whenever I've seen similar problems it's a bandwidth issue. I would try a different USB port, different USB cable, try disabling the RGB stream, and see if any of that changes anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants