Coder Social home page Coder Social logo

Comments (5)

dsvensson avatar dsvensson commented on July 21, 2024
$ examples/glview
Kinect camera test
Creating EP 82 transfer #0
Creating EP 82 transfer #1
Creating EP 82 transfer #2
Creating EP 82 transfer #3
Creating EP 82 transfer #4
Creating EP 82 transfer #5
Creating EP 82 transfer #6
Creating EP 82 transfer #7
Creating EP 82 transfer #8
Creating EP 82 transfer #9
Creating EP 82 transfer #10
Creating EP 82 transfer #11
Creating EP 82 transfer #12
Creating EP 82 transfer #13
Creating EP 82 transfer #14
Creating EP 82 transfer #15
GL thread
First xfer: -9
CTL CMD 0003 1267 = 12
[Stream 70] Invalid magic ffff
CTL RES = 10
CTL CMD 0003 1268 = 12
CTL RES = 10
CTL CMD 0003 1269 = 12
CTL RES = 10
CTL CMD 0003 126a = 12
CTL RES = 10
CTL CMD 0003 126b = 12
CTL RES = 10
CTL CMD 0003 126e = 12
CTL RES = 10
CTL CMD 0003 126f = 12
CTL RES = 10
CTL CMD 0003 1270 = 12
CTL RES = 10
CTL CMD 0003 1271 = 12
CTL RES = 10
CTL CMD 0003 1272 = 12
CTL RES = 10
CTL CMD 0003 1273 = 12
CTL RES = 10
CTL CMD 0003 1274 = 12
CTL RES = 10
CTL CMD 0003 1275 = 12
CTL RES = 10
CTL CMD 0003 1276 = 12
CTL RES = 10
CTL CMD 0003 1277 = 12
CTL RES = 10
CTL CMD 0003 1278 = 12
CTL RES = 10
CTL CMD 0003 1279 = 12
GOT DEPTH FRAME 242/242 packets arrived, TS 00262124
CTL RES = 10
CTL CMD 0003 127a = 12
CTL RES = 10
CTL CMD 0003 127b = 12
CTL RES = 10
CTL CMD 0003 127c = 12
CTL RES = 10
CTL CMD 0003 127d = 12
GOT DEPTH FRAME 242/242 packets arrived, TS 0044ae0f
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic f449
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic b877
[Stream 70] Invalid magic fbbf
[Stream 70] Invalid magic 2524
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic 690d
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] lost 244 packets
[Stream 70] lost too many packets, resyncing...
GOT DEPTH FRAME 242/242 packets arrived, TS 0081c7e5
GOT DEPTH FRAME 242/242 packets arrived, TS 00a054d0
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] lost 244 packets
[Stream 70] lost too many packets, resyncing...
GOT DEPTH FRAME 242/242 packets arrived, TS 00dd6ea6
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] lost 246 packets
[Stream 70] lost too many packets, resyncing...
CTL RES = 10
CTL CMD 0003 127e = 12
CTL RES = 10
CTL CMD 0003 127f = 12
CTL RES = 10
CTL CMD 0003 1280 = 12
GOT DEPTH FRAME 242/242 packets arrived, TS 011a887c
GOT DEPTH FRAME 242/242 packets arrived, TS 01391567
CTL RES = 10
GOT DEPTH FRAME 242/242 packets arrived, TS 0157a252
CTL CMD 0003 1281 = 12
CTL RES = 10
CTL CMD 0003 1282 = 12
CTL RES = 10
CTL CMD 0003 1283 = 12
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic f4de
[Stream 70] Invalid magic 786f
[Stream 70] Invalid magic 04c0
[Stream 70] Invalid magic 4048
[Stream 70] Invalid magic 2404
[Stream 70] Invalid magic e25d
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic 9e13
[Stream 70] Invalid magic 712e
[Stream 70] Invalid magic 8e91
[Stream 70] lost 244 packets
[Stream 70] lost too many packets, resyncing...
GOT DEPTH FRAME 242/242 packets arrived, TS 0194bc28
GOT DEPTH FRAME 242/242 packets arrived, TS 01b34913
GOT DEPTH FRAME 242/242 packets arrived, TS 01d1d5fe
GOT DEPTH FRAME 242/242 packets arrived, TS 01f062e9
GOT DEPTH FRAME 242/242 packets arrived, TS 020eefd4
GOT DEPTH FRAME 242/242 packets arrived, TS 022d7cbf
[Stream 70] Expected 1748 data bytes, but got only 948
[Stream 70] Invalid magic e23c
[Stream 70] Invalid magic 78ff
[Stream 70] Invalid magic 77ff
[Stream 70] Invalid magic 78ff
[Stream 70] lost 249 packets
[Stream 70] lost too many packets, resyncing...
[Stream 70] Invalid magic 77ff
[Stream 70] Invalid magic 77ff
[Stream 70] Invalid magic c4d8
[Stream 70] Invalid magic 79ff
[Stream 70] Invalid magic 7aff
[Stream 70] Invalid magic 79ff
[Stream 70] Invalid magic 4969
[Stream 70] Invalid magic 78ff
[Stream 70] Invalid magic 2945
GOT DEPTH FRAME 242/242 packets arrived, TS 026a9695
GOT DEPTH FRAME 242/242 packets arrived, TS 02892380
CTL RES = 10
CTL CMD 0003 1284 = 12
CTL RES = 10
Creating EP 81 transfer #0
Creating EP 81 transfer #1
Creating EP 81 transfer #2
Creating EP 81 transfer #3
Creating EP 81 transfer #4
Creating EP 81 transfer #5
Creating EP 81 transfer #6
Creating EP 81 transfer #7
Creating EP 81 transfer #8
Creating EP 81 transfer #9
Creating EP 81 transfer #10
Creating EP 81 transfer #11
Creating EP 81 transfer #12
Creating EP 81 transfer #13
Creating EP 81 transfer #14
Creating EP 81 transfer #15
[Stream 80] Invalid magic 0101
[Stream 80] lost 255 packets
[Stream 80] lost too many packets, resyncing...
GOT DEPTH FRAME 242/242 packets arrived, TS 02a7b06b
GOT DEPTH FRAME 242/242 packets arrived, TS 02c63d56
GOT DEPTH FRAME 242/242 packets arrived, TS 02e4ca41
GOT DEPTH FRAME 242/242 packets arrived, TS 0303572c
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic e27c
[Stream 70] Invalid magic 3b27
[Stream 70] Invalid magic 1dfb
[Stream 70] Invalid magic f1be
[Stream 70] Invalid magic f11e
[Stream 70] Invalid magic fffd
[Stream 70] Invalid magic e29c
[Stream 70] Invalid magic 4dc9
[Stream 70] Invalid magic d778
[Stream 70] Invalid magic 77ff
[Stream 70] lost 244 packets
[Stream 70] lost too many packets, resyncing...
GOT RGB FRAME 162/162 packets arrived, TS 0321edc6
GOT DEPTH FRAME 242/242 packets arrived, TS 03407102
GOT DEPTH FRAME 242/242 packets arrived, TS 035efded
GOT RGB FRAME 162/162 packets arrived, TS 0375cd5b
GOT DEPTH FRAME 242/242 packets arrived, TS 037d8ad8
GOT DEPTH FRAME 242/242 packets arrived, TS 039c17c3
[Stream 80] Invalid magic 0338
[Stream 80] Invalid magic 0103
[Stream 80] Invalid magic 357f
[Stream 80] lost 250 packets
[Stream 80] lost too many packets, resyncing...
[Stream 80] Invalid magic 296b
[Stream 80] Invalid magic 0417
GOT DEPTH FRAME 242/242 packets arrived, TS 03baa4ae
GOT DEPTH FRAME 242/242 packets arrived, TS 03d93199
[Stream 70] Expected 1748 data bytes, but got 1908. Dropping...
[Stream 70] Invalid magic ffff
[Stream 70] lost 254 packets
[Stream 70] lost too many packets, resyncing...
[Stream 70] Invalid magic 1e43
[Stream 70] Invalid magic ef21
[Stream 70] Invalid magic 43c8
[Stream 70] Invalid magic e3bc
[Stream 70] Invalid magic 2744
GOT RGB FRAME 162/162 packets arrived, TS 0415f4a5
GOT DEPTH FRAME 242/242 packets arrived, TS 0434d85a
[Stream 80] Invalid magic 75d2
[Stream 80] Invalid magic 1853
[Stream 80] Invalid magic f7fe
[Stream 80] lost 253 packets
[Stream 80] lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] lost 245 packets
[Stream 70] lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
GOT DEPTH FRAME 242/242 packets arrived, TS 0471f230
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] lost 247 packets
[Stream 70] lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 80] Invalid magic 0232
[Stream 80] Invalid magic 020f
[Stream 80] lost 254 packets
[Stream 80] lost too many packets, resyncing...
[Stream 80] Invalid magic 0101
[Stream 80] Invalid magic 0b21
[Stream 80] Invalid magic 1f6e
GOT DEPTH FRAME 242/242 packets arrived, TS 04af0c06
-- done!

from libfreenect.

mrenouf avatar mrenouf commented on July 21, 2024

FWIW: I see similar output until things settle at about +1s after launching glview.

I think what might be useful is some dropped frame detection and some options, if there is not enough CPU to some ops, you should be able to tune the usage to your liking (prettier frames, vs. smoother output).

from libfreenect.

dsvensson avatar dsvensson commented on July 21, 2024

Problem is that it never settles for me, unless sometimes when the phase of the moon is just right.. it settles, and then both streams are played back att full fps.. this has however only happened once.. but lasted for maybe 5 minutes or so until i restarted the glview test program and have never seen it working since.

from libfreenect.

marcan avatar marcan commented on July 21, 2024

Reading through the USB spec, 2- or 3-packet bundles for a high-speed high-bandwidth isochronous endpoint are tagged with DATA0, DATA1, DATA2 packet types. In other words, the host controller knows exactly what order to deliver the packets in. If libfreenect is getting the transaction halves out of order then this is definitely a USB stack bug (hardware, driver, or libusb).

from libfreenect.

lamaranu avatar lamaranu commented on July 21, 2024

hi there,

I'm having apparently the same issue but I'm using a 600 mhz cpu with a MUSB OTG driver host support. Can I ask you what cpu were you using to test it?

from libfreenect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.