OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.08k stars 752 forks source link

How to successfully stream both RGB and Depth using CUDA? #1193

Closed jiapei100 closed 4 months ago

jiapei100 commented 4 months ago

Overview Description:

Version, Platform, and Hardware Bug Found:

  1. git log -1 --oneline: Please just checkout my cloned version at Longer Vision libfreenect2
  2. uname -a: ```$ uname -a Linux XXXXXXXXXX 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  3. lsusb -t: ```$ lsusb | grep Microsoft Bus 009 Device 011: ID 045e:02d9 Microsoft Corp. NuiSensor Adaptor
    Bus 010 Device 004: ID 045e:02d9 Microsoft Corp. NuiSensor Adaptor
    Bus 010 Device 005: ID 045e:02c4 Microsoft Corp. Xbox NUI Sensor
  4. lspci -nn: N/A

Steps to Reproduce:

  1. Just git clone https://github.com/LongerVision/libfreenect2
  2. and build it

Actual Results:

Expected Results:

Reproducibility:

Additional Information: I didn't built libfreenect2 using OpenNI2 Driver .

Can anybody give me a hand?

jiapei100 commented 4 months ago

Use ./bin/Protonect gpu=0 instead. It's working properly with GPU now. BUT, for CPU, there are still quite a lot of [Debug] [DepthPacketStreamParser] skipping depth packet. Anyway, close it.