Hi all,
Using either the built-in Jetson TX2 USB port or a PCIe uPD720202 based card, I can’t acquire at resolutions higher than 848x480 without having dropped frames with this camera. By dropped frames, I mean every second or third frame comes back smaller than expected, containing just a few lines of pixel data.
I’m testing using my own V4L2 application, but the same appears if I use yavta for example.
I should point out that the camera uses bulk mode and not isochronous mode:
lsusb -d '8086:0b07' -v | grep 'Transfer Type'
Transfer Type Interrupt
Transfer Type Bulk
Transfer Type Bulk
FIXME: alloc bigger buffer for device capability descriptors
Transfer Type Bulk
lsusb -t shows 5000M speed
/: Bus 10.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 2, If 2, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 2, If 3, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 2, If 4, Class=Video, Driver=uvcvideo, 5000M
Here is my yavta output:
./yavta --capture=20 --size 1920x1080 -t 1/30 /dev/video4
Device /dev/video4 opened: Intel(R) RealSense(TM) 435 (usb-0000:06:00.0-1).
Video format set: width: 1920 height: 1080 buffer size: 4147200
Video format: YUYV (56595559) 1920x1080
Current frame rate: 1/30
Setting frame rate to: 1/30
Frame rate set: 1/30
8 buffers requested.
length: 4147200 offset: 0
Buffer 0 mapped at address 0x7fa016f000.
length: 4147200 offset: 4149248
Buffer 1 mapped at address 0x7f9fd7a000.
length: 4147200 offset: 8298496
Buffer 2 mapped at address 0x7f9f985000.
length: 4147200 offset: 12447744
Buffer 3 mapped at address 0x7f9f590000.
length: 4147200 offset: 16596992
Buffer 4 mapped at address 0x7f9f19b000.
length: 4147200 offset: 20746240
Buffer 5 mapped at address 0x7f9eda6000.
length: 4147200 offset: 24895488
Buffer 6 mapped at address 0x7f9e9b1000.
length: 4147200 offset: 29044736
Buffer 7 mapped at address 0x7f9e5bc000.
0 (0) [-] 0 4147200 bytes 185437.733973 1542228849.119820
Warning: bytes used 65784 != image size 4147200
1 (1) [-] 1 65784 bytes 185437.739973 1542228849.120196
2 (2) [-] 2 4147200 bytes 185437.801172 1542228849.187045
Warning: bytes used 65784 != image size 4147200
3 (3) [-] 3 65784 bytes 185437.807220 1542228849.187409
4 (4) [-] 4 4147200 bytes 185437.868362 1542228849.254179
Warning: bytes used 65784 != image size 4147200
5 (5) [-] 5 65784 bytes 185437.874355 1542228849.254540
6 (6) [-] 6 4147200 bytes 185437.935557 1542228849.321373
Warning: bytes used 65784 != image size 4147200
Lower resolutions work fine. Anyone have any hints?