Hi,
We have some suggestion to set up Xavier NX for the use-case:
Please execute sudo jetson_clocks to enable hardware engines at maximum throughput
Please assign different port number to each channel, to separate the RTP stream in different port
If your camera sourcs are connected to CSI ports, please enable CSI and VI engines at maximum clock by executing the commands: Jetson/l4t/Camera BringUp - eLinux.org
Hi,
Please run sudo tegrastats and see if there is more information. The capability of CPU cores of Xavier NX is not as good as AGX Xavier. This may be bottleneck in the use-case.
Hi,
It seems like you have customization to the power mode. By default we have 6 cores@1.4GHz and 2 cores@1.9GHz. Your tegrastats shows 6 cores@1.9GHz. Maybe you can try default power modes.
Hi,
Ok. From your previous description, it sounds like the latency occurs only in nvv4l2camerasrc. If both plugins have the same phenomenon, the latency looks to be from the camera sources. Do you use YUV camera sensors connecting to CSI ports?
sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
The hardware engines are in maximum throughout and no room for further improvement. Probably the CSI and VI engines of Xavier NX cannot achieve 30fps for 4 sources.
One more thing to try is if you do not use Jetpack 4.6.4 or 5.1.2, may upgrade to latest version for a try.