OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.05k stars 747 forks source link

No data is visible on the Macos libfreenect2 (but in the first it worked) help needed....... #1170

Closed manu897 closed 1 year ago

manu897 commented 1 year ago

Overview Description:

Version, Platform, and Hardware Bug Found:

Steps to Reproduce:

  1. I followed the instruction on the readme for the installation for mac os, and was not able to install openni2 as it was bought by apple. and ran it first tiem it ran well but now when i do it again it shows this viewer is turned of and no data is visible. and compiling with openCL but at the first it was doing using open GL i attached screen shots below.

Actual Results: ./bin/Protonect
Version: 0.2.0 Environment variables: LOGFILE= Usage: ./bin/Protonect [-gpu=] [gl | cl | clkde | cuda | cudakde | cpu] [] [-noviewer] [-norgb | -nodepth] [-help] [-version] [-frames ] To pause and unpause: pkill -USR1 Protonect [Info] [Freenect2Impl] enumerating devices... [Info] [Freenect2Impl] 6 usb devices connected [Info] [Freenect2Impl] found valid Kinect v2 @0:11 with serial 128585640947 [Info] [Freenect2Impl] found 1 devices [Info] [OpenCLDepthPacketProcessorImpl] devices: [Info] [OpenCLDepthPacketProcessorImpl] 0: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (CPU)[Intel] [Info] [OpenCLDepthPacketProcessorImpl] 1: Intel(R) UHD Graphics 630 (GPU)[Intel Inc.] [Info] [OpenCLDepthPacketProcessorImpl] 2: AMD Radeon Pro 5500M Compute Engine (GPU)[AMD] [Info] [OpenCLDepthPacketProcessorImpl] selected device: Intel(R) UHD Graphics 630 (GPU)[Intel Inc.] [Info] [OpenCLDepthPacketProcessorImpl] building OpenCL program... [Info] [OpenCLDepthPacketProcessorImpl] OpenCL program built successfully [Info] [Freenect2DeviceImpl] opening... [Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 4128*33792 [Info] [Freenect2DeviceImpl] opened [Info] [Freenect2DeviceImpl] starting... [Debug] [Freenect2DeviceImpl] status 0x090000: 9729 [Debug] [Freenect2DeviceImpl] status 0x090000: 9731 [Info] [Freenect2DeviceImpl] submitting rgb transfers... [Info] [Freenect2DeviceImpl] submitting depth transfers... [Info] [Freenect2DeviceImpl] started device serial: 128585640947 device firmware: 4.0.3917.0 [Debug] [DepthPacketStreamParser] not all subsequences received 0 [Info] [OpenCLDepthPacketProcessor] avg. time: 10.1368ms -> ~98.65Hz [Info] [OpenCLDepthPacketProcessor] avg. time: 9.96436ms -> ~100.358Hz [Info] [VTRgbPacketProcessor] avg. time: 12.1529ms -> ~82.2849Hz The viewer is turned off. Received 100 frames. Ctrl-C to stop. [Info] [OpenCLDepthPacketProcessor] avg. time: 9.84034ms -> ~101.623Hz [Debug] [DepthPacketStreamParser] skipping depth packet [Info] [DepthPacketStreamParser] 1 packets were lost ^C[Info] [Freenect2DeviceImpl] stopping... [Info] [Freenect2DeviceImpl] canceling rgb transfers... [Info] [Freenect2DeviceImpl] canceling depth transfers... [Info] [Freenect2DeviceImpl] stopped [Info] [Freenect2DeviceImpl] closing... [Info] [Freenect2DeviceImpl] releasing usb interfaces... [Info] [Freenect2DeviceImpl] deallocating usb transfer pools... [Info] [Freenect2DeviceImpl] closing usb device... [Info] [Freenect2DeviceImpl] closed [Info] [Freenect2DeviceImpl] closing... [Info] [Freenect2DeviceImpl] already closed, doing nothing [VTRgbPacketProcessor] 10.3048 10.809 12.0688 12.6031 29.4959 mean=12.1398 std=1.77699 n=172 [OpenCLDepthPacketProcessor] 9.15803 9.36278 10 10.4737 16.2762 mean=9.98446 std=0.528437 n=360

Expected Results:

Screenshot 2022-06-30 at 4 30 10 PM