Hi team,
In Jetson Orin AGX with L4t35.2.1,
I am getting a glass to glass latency of ‘120ms’ with the below command,
gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! nvvidconv ! "video/x-raw(memory:NVMM), format=(string)I420, widht=(int)1920, height=(int)1080" ! nv3dsink
Is there anything that i can try to reduce this?
Let me know if you need any information
Thanks in advance,
Ashik
hello ashik.p1,
may I know what’s the sensor output frame-rate?
please see-also these two discussion threads for reference, Topic 263805 and Topic 273184 .
Hi @JerryChang ,
Thanks for the suggestion. I will check them out and respond.
My sensor output frame rate is 30fps.
hello 525554536,
the evaluation results of glass to glass latency for 4K 30-fps camera use-case is around 100ms.
you may try increasing the ISP clock to have better performance,
for example,
# echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
# cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/isp/rate
Tried this, but still observing a delay of 120ms.
hello p.ashik,
increasing ISP clock may not effect your results as you’re using nvv4l2camerasrc.
as you can see in the VI driver, it has dropped first two capture buffers, and it’s 3rd capture frame release to user space.
please try update the VI driver for your use-case to reduce G2G latency.
for instance,
$public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/vi/channel.c
void release_buffer()
{
...
if (chan->capture_state != CAPTURE_GOOD || vbuf->sequence < 2)
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
buf->state = VB2_BUF_STATE_REQUEUEING;
#else
buf->state = VB2_BUF_STATE_ERROR;
#endif
vb2_buffer_done(&vbuf->vb2_buf, buf->state);
system
Closed
January 30, 2024, 8:46am
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.