High Speed USB 3.0 Cameras Dropped Frames


I am using 2 USB3.0 Cameras connected to a Jetson Xavier NX 5.0.2 for frame grabbing.

I am grabbing frames using my own application in CPP which I wrote as a reference of tegra_multimedia_api\samples\12_camera_v4l2_cuda.

The problem is that every few seconds I get a frame drop of 1-10 frames randomly. The drop usually occurs on both cameras at the same time.

I have tried almost anything I can, from changing the interrupts which the CPUs handle so that the Ethernet, USB and NVMe handle interrupts on different computers to upgrading the ‘nice’ value of my program but it doesn’t help. The more the jetson workload is higher the more frequent the drops get.

When I use MIPI cameras using the same application this issue does not occur so I believe the issue is not the code
Both cameras are running at 1280x720@100FPS

I was hoping someone might have an idea on what might be the problem. It seems to be related to some prioritization in the kernel tasks, but I can’t seem to find which.

Any help will be much appreciated,

Jetpack 5.0.2 is old and certain issues are fixed in later releases. We would suggest upgrade to latest 5.1.2 and try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.