Achieving 120 fps with Arducam IMX219 on Jetson Xavier NX jetpack 5.1.1

Hello,

I am currently working with the Arducam IMX219 camera on a Jetson Xavier NX, which is specified to support 120 fps(the camera supported 120 fps on a Jetson Nano). However, despite these specifications, I am unable to achieve 120 fps with my current setup.

The command I am using is:

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=640, height=360,framerate=120/1’ ! nvvidconv ! xvimagesink

Below is a portion of the log that details the issue:

GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

ARGUS_ERROR: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute: 903 Frame Rate specified is greater than supported
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 3280 H = 2464
seconds to Run = 0
Frame Rate = 21.000000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
ARGUS_ERROR: Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamerasrc.cpp, execute: 1139 InvalidState.
GST_ARGUS: Cleaning up
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:00.328886994
Setting pipeline to NULL …
Freeing pipeline …

It seems that the maximum achievable frame rate is around 60 fps, which is lower than the camera’s specified 120 fps. I am seeking guidance on whether it’s possible to achieve 120 fps with this setup or if there is another camera model that can reliably provide 120 fps with the Jetson Xavier NX.

Any suggestions or advice would be greatly appreciated.

Thank you!

Hi @josna.theresa

It looks like the IMX219 driver for Jetson Xavier NX jetpack 5.1.1 only supports the listed modes you see on the log.
Digging a little bit if found this old post, it looks like 1280x720 120fps mode was supported on older Jetpack version (4.4.1) for Jetson Nano, then it was removed for Jetpack 4.5, and looks like NVIDIA is not supporting it anymore since then.

In case you needed you’ll need to add the support to the imx219 driver from your kernel sources.

Regards,

Enrique Ramirez
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com

hello josna.theresa,

you may porting the driver to enable 120-FPS.
we recommend using a camera with a frame rate of less than or equal to 60-FPS.

Thankyou.
@JerryChang
So are you saying 120 FPS is not supported by Xavier NX?

@enrique.ramirez
Thankyou for your input. It will be great if you can recommend me a camera which is best compatible with Xavier NX to achieve 120 FPS.

And also can you please guide me on how should I add the support to the imx219 driver from the kernel sources

hello josna.theresa,

no, I meant we’ve well-test camera software stack with 60-fps camera sensors,
you have to port the driver to enable 120-fps for your specific use-case.

Thankyou @JerryChang for clarifying this. It would be of great help if you can tell me how to port the drivers.
Sorry, I am new to this.

please contact with Jetson Camera Partners for camera solutions.

Just give some guidance, you can find here a section about Kernel Customization
And, you can find here of drivers for Jetson developed by RidgeRun if you are interested.

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