-
Notifications
You must be signed in to change notification settings - Fork 756
Troubleshooting
Windows 7 does not have great USB 3.0 drivers. In our testing the above known working devices will stop working after running for a while. However, the official Kinect v2 SDK does not support Windows 7 at all, so there is still hope for Windows 7 users. Windows 8.1 and 10 have improved USB 3.0 drivers.
Might be helpful to ameliorate transfer problems.
Open "System Information" from Spotlight, go to the USB section, and verify "Xbox NUI Sensor" is under "USB 3.0 SuperSpeed Bus" not "High-Speed Bus". If this is not the case, try unplugging the Kinect from power source with the USB cable connected, and plug the power again, then verify.
lsusb -t
(Add an example)
We have seen people trying to connect Kinect to USB 2 ports.
The connector on the Kinect adaptor is easy to come loose.
Sometimes the Kinect is not detected by the OS if plugged before or during boot.
lspci | grep USB
Likely working:
- Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
- Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI
- NEC Corporation uPD720200 USB 3.0 Host Controller
Probably not working:
- ASMedia Technology Inc. Device 1142
- ASMedia Technology Inc. ASM1042
(Add an example)
sudo cp platform/linux/udev/90-kinect2.rules /etc/udev/rules.d/
and replug if not done yet.
For Ubuntu 14.04, sudo apt-get install linux-image-generic-lts-wily
(4.2) or linux-image-generic-lts-vivid
(3.19). (Or linux-image-generic-lts-xenial
when it becomes available.)
Caveat: May interfere with Nvidia graphics driver.
-
Not enough bandwidth for new device state
: Your hardware does not have required bandwidth for the Kinect, even if it supports USB 3. -
ERROR Transfer event TRB DMA ptr not part of current TD. xHCI host not responding to stop endpoint command. Assuming host is dying, halting host
: Major bugs in the XHCI driver, your USB 3 controller is not well supported by the OS. -
WARN Event TRB for slot x ep y with no TDs queued?
: Harmless warning. -
xHCI xhci_drop_endpoint called with disabled ep
: Useless warning removed after kernel 4.0. -
page allocation failure: order:7
inproc_do_submiturb
: USB buffer allocation fails due to memory fragmentation. Reserve memorysudo sysctl -w vm.min_free_kbytes=65536
or more (but always less than 5% of total memory) to mitigate this.
# for i in /sys/bus/usb/devices/*/power/autosuspend; do echo -1 >$i; done
. Then verify in grep . /sys/bus/usb/devices/*/power/autosuspend
everything is -1
.
Sometimes the USB power management can cause some issues. Do not keep doing this if this doesn't improve things.
(Intel OpenCL only) Check known issues at https://www.freedesktop.org/wiki/Software/Beignet/
Some 3.x kernels need # echo 0 > /sys/module/i915/parameters/enable_cmd_parser
. If it works by default, don't use this.
# echo 64 > /sys/module/usbcore/parameters/usbfs_memory_mb
, or maybe 128
. Don't set it too large.
LIBUSB_DEBUG=3 ./Protonect
This outputs INFO and ERROR level messages from libusb to the console.
glxinfo | grep OpenGL
Either the "OpenGL core profile version string" or the "OpenGL version string" must be greater than 3.1. If not, you don't have required graphics driver or you have not installed one correctly. Also, you should not see llvmpipe
which is a software OpenGL renderer.