Latency is increased in video streaming when display is switched from 1080p to 4K

Hi team

i was working on the camera streaming using gstreamer pipeline given below

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink sync=false -e

we have tested with jetson nano camera with 30fps on 4k display with resolution (3840x2160) with 60hz refreshing rate. but we have facing a time latency of 4frames(117ms) while playing the video stream. we have tested the same with 1080p display. but we were getting only 60ms time latency. could you please let us know the reason for variation in time latency.

Hi,
If the display mode is in 4K, the frame data is scaled up to 4K and it may trigger certain delay. For maximum throughput of Jetson Nano, please execute sudo nvpmodel -m 0 and sudo jetson_clocks

Hi Dane

We have tried this but still our latency remains the same is there something else that we can try to reduce the latency.

gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=3840, height=2160, framerate=30/1, format=NV12’ ! nvoverlaysink sync=false -e we have tried with 4k resolution also, we believe while using this pipeline no need of frame data scaling but still we are facing the same issue.

Hi,
It looks to be maximum throughput of Jetson Nano. May not be able to have further enhancement.

Hi DaneLL,
Thanks for the response. Still I would like to get some clarity on how we get different latency when with a 1080p and 4K display, since the bufferring in the ISP is actually same both the case? in fact the latency should be more in 1080p since it is downscaling the 4K capture input to 1080p.

Could you please help?