ofxAzureKinect icon indicating copy to clipboard operation
ofxAzureKinect copied to clipboard

capturesync_drop... stuck in setup()

Open antoniomechas opened this issue 3 years ago • 6 comments

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.

antoniomechas avatar Feb 09 '22 18:02 antoniomechas

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?

prisonerjohn avatar Feb 24 '22 15:02 prisonerjohn

@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

gorkacortazar avatar Mar 21 '22 17:03 gorkacortazar

Hello, Thanks all for your help! Will try the firmware fix. Antonio.

El lun, 21 mar 2022 a las 18:39, Gorka Cortázar @.***>) escribió:

@prisonerjohn https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/prisonerjohn/ofxAzureKinect/issues/21#issuecomment-1074215676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5LTGBRVKS6UTJ45N3UHCDVBCX6FANCNFSM5N6HRBJA . You are receiving this because you authored the thread.Message ID: @.***>

antoniomechas avatar Mar 21 '22 19:03 antoniomechas

@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.

gorkacortazar avatar Mar 22 '22 11:03 gorkacortazar

Hello, In my setup, everything works fine with the examples thay comes with de SDK, but not with the addon in openframeworks.

El mar., 22 mar. 2022 12:03, Gorka Cortázar @.***> escribió:

@antoniomechas https://github.com/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.

— Reply to this email directly, view it on GitHub https://github.com/prisonerjohn/ofxAzureKinect/issues/21#issuecomment-1075030645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5LTGBCRGQDRIFALUYCL4LVBGSIPANCNFSM5N6HRBJA . You are receiving this because you were mentioned.Message ID: @.***>

antoniomechas avatar Mar 22 '22 13:03 antoniomechas

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.

prisonerjohn avatar Mar 22 '22 13:03 prisonerjohn