OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.07k stars 750 forks source link

Error after running ./Protonect on Ubuntu 16.04 #1109

Open stevensu1838 opened 4 years ago

stevensu1838 commented 4 years ago

Overview Description:

Version, Platform, and Hardware Bug Found: image

  1. git log -1 --oneline 73e1a24 Clarify windows dependencies

  2. uname -a Linux mech1349 4.4.0-173-generic #203-Ubuntu SMP Wed Jan 15 02:55:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  3. lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M | Port 1: Dev 4, If 0, Class=Hub, Driver=hub/1p, 5000M | Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 5000M | Port 1: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 5000M | Port 1: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 5000M | Port 1: Dev 5, If 3, Class=Audio, Driver=snd-usb-audio, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M | Port 1: Dev 7, If 0, Class=Hub, Driver=hub/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M | Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M | Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M | Port 2: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M

  4. lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09) 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) 00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09) 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) 00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller [8086:1e3d] (rev 04) 00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) [8086:1502] (rev 04) 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) 00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) 00:1c.6 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 [8086:1e1c] (rev c4) 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4) 00:1f.0 ISA bridge [0601]: Intel Corporation Q77 Express Chipset LPC Controller [8086:1e47] (rev 04) 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) 00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GTX 650] [10de:0fc6] (rev a1) 01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1) 03:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3] 04:03.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW322/323 [TrueFire] 1394a Controller [11c1:5811] (rev 70)

Steps to Reproduce:

  1. Run the test program: ./bin/Protonect as follow

user@mech1349:~/catkin_ws/src/libfreenect2/build$ ./bin/Protonect

  1. The viewer shows up shortly then freezes

Actual Results: image

  1. Then I run roslaunch kinect2_bridge kinect2_bridge.launch rosrun kinect2_viewer kinect2_viewer kinect2 sd cloud It gives me the following image

image

It is not clear and mostly black. Is this beacause the errors from libfreenect? Please help. Thanks a lot.

  1. I tried to run ./bin/Protonect -noviewer and the terminal printed the following. If it is the problem of my graphic setting, How shall I FIX it? cheers

Note: When I run ./bin/Protonect -nodepth/ ./bin/Protonect -norgb. It freezes again. Thanks a million

user@mech1349:~/catkin_ws/src/libfreenect2/build$ ./bin/Protonect -noviewer
Version: 0.2.0
Environment variables: LOGFILE=<protonect.log>
Usage: ./bin/Protonect [-gpu=<id>] [gl | cl | clkde | cuda | cudakde | cpu] [<device serial>]
        [-noviewer] [-norgb | -nodepth] [-help] [-version]
        [-frames <number of frames to process>]
To pause and unpause: pkill -USR1 Protonect
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 11 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @4:19 with serial 502268541942
[Info] [Freenect2Impl] found 1 devices
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20*16384 ir: 60*8*33792
[Info] [Freenect2DeviceImpl] opened
[Info] [Freenect2DeviceImpl] starting...
[Debug] [Freenect2DeviceImpl] status 0x090000: 1073750016
[Debug] [Freenect2DeviceImpl] status 0x090000: timeout
[Debug] [Freenect2DeviceImpl] status 0x090000: 1073750016
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
device serial: 502268541942
device firmware: 4.0.3916.0

Expected Results:

Reproducibility:

Additional Information:

stevensu1838 commented 4 years ago

Problem fixed by updating my graphics card from 750 to 1050. Thanks a lot image