We have developed several V4L drivers for Sony and Omnivision sensors. The supported platforms are: Jetson Nano A02, Nano B01, TX2, Xavier, Xavier NX. On non-Xavier platforms we don’t have the problem described below.
On Xavier/32.3.1 and Xavier NX/32.4.3 we observe strange behavior of some sensors.
In some cases the V4L driver (v4l2-ctl) and Argus (GST nvarguscamerasrc) receive more frames/sec than the actual frame rate of the sensor. We are sure that the sensor does not output more frames by counting the frames by a hardware signal.
As a result we have good frames (the exact number of the sensor output frames) mixed with bad frames - seem to be old frames from the FIFO or broken frames (mixed images of 2 frames).
The problem seems to appear when we save frames to RAW file (V4L) or store MP4 file by GStreamer (Argus). Live image display on the Xavier monitor does not show problems.
Any suggestions how to fix this problem?