Jetson J20 imx219 glass to glass latency: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<seo title="Jetson J20 imx219 Glass to Glass Latency | RidgeRun Developer" titlemode="replace" keywords="GStreamer, Linux SDK, Linux BSP,  Embedded Linux, Device Drivers, Nvidia, Jetson, TX1, TX2, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework." description="Learn about Jetson J20 imx219 glass to glass latency tests for 1080p 30fps IMX219 camera mode. Discover the details of Tegra X1 now at RidgeRun Developer."></seo>
<seo title="Jetson J20 imx219 Glass to Glass Latency | RidgeRun Developer" titlemode="replace" metakeywords="GStreamer, Linux SDK, Linux BSP,  Embedded Linux, Device Drivers, Nvidia, Jetson, TX1, TX2, Jetson TX1, Jetson TX2, Xilinx, TI, NXP, Freescale, Embedded Linux driver development, Linux Software development, Embedded Linux SDK, Embedded Linux Application development, GStreamer Multimedia Framework,Sony IMX219, IMX219, Jetson J20." metadescription="Learn about Jetson J20 imx219 glass to glass latency tests for 1080p 30fps IMX219 camera mode in this wiki page."></seo>


=Introduction=
{{NVIDIA Pref Partner logo and RR Contact}}
This wiki is intended to be used as a reference for the Tegra X1 (TX1) capture to display glass to glass latency using the simplest GStreamer pipeline. The tests were executed with the IMX219 camera sensor, for the the 1080p 30fps mode.The tests were done using a modified nvcamerasrc binary provided by Nvidia, that reduces the minimum allowed value of the ''queue-size'' property from 10 to 2 buffers. This binary was built for Jetpack 3.0 L4T 24.2.1.
<br>
<td>
{{GStreamer debug}}
<td>
 
==Jetson J20 imx219 glass to glass latency Introduction==
This wiki is intended to be used as a reference for the Tegra X1 (TX1) capture to display glass to glass latency using the simplest [https://www.ridgerun.com/gstreamer GStreamer] pipeline. The tests were executed with the Sony IMX219 camera sensor, for the 1080p 30fps mode. The tests were done using a modified nvcamerasrc binary provided by NVIDIA, that reduces the minimum allowed value of the ''queue-size'' property from 10 to 2 buffers. This binary was built for Jetpack 3.0 L4T 24.2.1.


Note: The reported values are the average of 10 samples.
Note: The reported values are the average of 10 samples.


=1080p 30fps glass to glass latency=
==1080p 30fps glass to glass latency==
Jetson Glass to glass latency test for 1080p 30fps IMX219 camera mode
Jetson Glass to glass latency test for 1080p 30fps IMX219 camera mode


'''''Note:''''' It is strictly necessary to first run the following command on the TX1 before running the test pipeline:
{{ambox
| type = content
| small = left
| text = '''Note:''' It is strictly necessary to first run the following command on the TX1 before running the test pipeline:
| style=width:unset;
}}


* ''sudo ~/jetson_clocks.sh''
<syntaxhighlight lang='bash'>
==Test pipeline:==
sudo ~/jetson_clocks.sh
<pre>
</syntaxhighlight>
 
===Test pipeline===
<syntaxhighlight lang='bash'>
gst-launch-1.0 nvcamerasrc queue-size=6 sensor-id=0 fpsRange='30 30' ! \
gst-launch-1.0 nvcamerasrc queue-size=6 sensor-id=0 fpsRange='30 30' ! \
'video/x-raw(memory:NVMM), width=1920, height=1080,format=I420,framerate=30/1' ! \
'video/x-raw(memory:NVMM), width=1920, height=1080,format=I420,framerate=30/1' ! \
nvoverlaysink sync=true enable-last-sample=false
nvoverlaysink sync=true enable-last-sample=false
</pre>
</syntaxhighlight>


Glass to glass latency = '''''130 ms'''''
Glass to glass latency = '''''130 ms'''''
Line 23: Line 37:
[[Image:glass-to-glass-imx219-test.jpg|thumb|center|800px|frames glass to glass latency measurement method]]
[[Image:glass-to-glass-imx219-test.jpg|thumb|center|800px|frames glass to glass latency measurement method]]


[[Category:Jetson]]
{{ContactUs}}
 
[[Category:Jetson]][[Category:Jetson V4L2 Drivers]][[Category:Sony]]

Latest revision as of 10:53, 27 May 2024



Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help.

Jetson J20 imx219 glass to glass latency Introduction

This wiki is intended to be used as a reference for the Tegra X1 (TX1) capture to display glass to glass latency using the simplest GStreamer pipeline. The tests were executed with the Sony IMX219 camera sensor, for the 1080p 30fps mode. The tests were done using a modified nvcamerasrc binary provided by NVIDIA, that reduces the minimum allowed value of the queue-size property from 10 to 2 buffers. This binary was built for Jetpack 3.0 L4T 24.2.1.

Note: The reported values are the average of 10 samples.

1080p 30fps glass to glass latency

Jetson Glass to glass latency test for 1080p 30fps IMX219 camera mode

sudo ~/jetson_clocks.sh

Test pipeline

gst-launch-1.0 nvcamerasrc queue-size=6 sensor-id=0 fpsRange='30 30' ! \
'video/x-raw(memory:NVMM), width=1920, height=1080,format=I420,framerate=30/1' ! \
nvoverlaysink sync=true enable-last-sample=false

Glass to glass latency = 130 ms

frames glass to glass latency measurement method


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us
RidgeRun.ai: Artificial Intelligence | Generative AI | Machine Learning

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering information is available at RidgeRun Engineering Services, RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page.