prisonerjohn / ofxAzureKinect

An openFrameworks addon for the Azure Kinect.
MIT License
73 stars 24 forks source link

capturesync_drop... stuck in setup() #21

Open antoniomechas opened 2 years ago

antoniomechas commented 2 years ago

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 commented 2 years ago

Hi Antonio,

I need more details to be able to help troubleshoot:

gorkacortazar commented 2 years ago

@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 commented 2 years ago

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

gorkacortazar commented 2 years ago

@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 commented 2 years ago

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

prisonerjohn commented 2 years ago

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.