Difference between revisions of "Jetson J20 imx219 glass to glass latency"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
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" 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>
  
=Introduction=
+
==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 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.
 
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.
  
 
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:
 
'''''Note:''''' It is strictly necessary to first run the following command on the TX1 before running the test pipeline:
  
* ''sudo ~/jetson_clocks.sh''
+
<syntaxhighlight lang='bash'>
==Test pipeline:==
+
sudo ~/jetson_clocks.sh
 +
</syntaxhighlight>
 +
 
 +
===Test pipeline===
 
<pre>
 
<pre>
 
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' ! \

Revision as of 06:24, 12 February 2020

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 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.

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

Note: It is strictly necessary to first run the following command on the TX1 before running the test pipeline:

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