High latency in rtspout stream in DS-5.1

• Hardware Platform (Jetson / GPU):jetson
• DeepStream Version:5.1
• JetPack Version (valid for Jetson only):4.5
• TensorRT Version:7.1.3

I before tested the combination of rtspout python sample with multi-stream sample to support multi-stream rtsp sources and rtspout in sink. Everything were good and the letency of rtspout was low in jetapck 4.4 and DS-5.0 but the same code has very high latency in jetpack 4.5 and Deepstream 5.1.

Note:
1- I didn’t flashed new jetapack-4.5 into sd-card jetson, but I upgraded the jetpack 4.4 to jetapck 4.5 with the same commands in document.
1.1-https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html#
1.2-sudo apt install nvidia-jetpack

2- For receiving the rtspout of stream, I used ffplay(ffmpeg).

I don’t know this cause due to mismatching of ffmpeg with gstreamer in DS-5.1.

Hi,
It seems like you use Jetson Nano. Please check if this helps:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL

@DaneLLL ,
I use xavier nx.

Hi,
DFS(dynamic frequency selection) is applied to hardware VIC engine on all Jetson platforms. Please disable it and check if it helps.

@DaneLLL,

DFS(dynamic frequency selection) is applied to hardware VIC engine on all Jetson platforms.

You mean is that hardware VIC engine use dynamic frequency instead of static frequency?

How I can disable that?

You may try:

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vic/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vic/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/vic/rate