Skip to content

Multiple Kinects on windows: Occasional misbehaviour #630

Open
@smokhov

Description

@smokhov

Overview Description:

Have 3 Kinects. Occasionally, the 3rd one sitting on the USB3 expansion card starts spewing:

libusb: error [windows_transfer_callback] detected I/O error 87: [87] The parameter is incorrect.

It does not happen all the time or right away, but occasionally, it lasts variable amount of time before these start showing up and effectively stalling the pipeline for that Kinect with very low or stopped framerate. Sometimes happens shortly after startup, sometimes it can last 5+ minutes before reaching this condition. It was completely frozen before I started playing with the environment per the troubleshooting page, so now at least it can continue though badly after this error starts. Never can recover a runtime when error happens.

The other two Kinects operate normally sitting on the motherboard busses. Shuffling Kinects across ports/hubs gives the same result for whichever is on the card.

Interestingly, an older version of libfreenec2 (<=0.1 I think) with whatever libusb there was is stable with all three Kinects for extended period of time.

Version, Platform, and Hardware Bug Found:

  1. Windows 8.1
  2. Environment:
        _putenv("LIBFREENECT2_RGB_TRANSFER_SIZE=1048576");
        _putenv("LIBFREENECT2_RGB_TRANSFERS=3");
        _putenv("LIBFREENECT2_IR_TRANSFERS=4");
        _putenv("LIBFREENECT2_IR_PACKETS=128");
  1. libusbK backend
  2. At 619bd52
  3. VS2015

Maybe related to #605.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions