Framerate drops when using >3 cameras

We want to grab frames stably at 30fps from cameras with resolution 1920x1536. When using 4 cameras, the framerates of all the cameras will drops randomly to 10fps or less. The cameras are connected to a MAX96712 deserializer which is connected to CSI0 and CSI1 of the SOM. Any tips to solve this?

Hello @5d867a92b9bdd01df324966db

Have you tried performing some tuning by setting the power modes or enabling the jetson_clocks script?

If no, please check the NVIDIA Jetson AGX Thor - Performance tuning by setting the power modes and NVIDIA Jetson AGX Thor - Performance tuning and Maximizing Performance wiki pages.

Best regards!
Eduardo Salazar
Embedded SW Engineer at RidgeRun

Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

Also try locked the AE to clarify if sensor driver CID function cause the problem.

Also please tell what’t the BSP version.

cat /etc/nv_tegra_release

Request blocked. We can’t connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

How to lock AE? By CID function do you mean .set_gain, .set_exposure, .set_frame_rate etc? If so these functions do nothing and return immediately.

The BSP is JP5.x or JP6.x?

R38 (release), REVISION: 4.0, GCID: 43443517, BOARD: generic, EABI: aarch64, DATE: Wed Dec 31 00:15:19 UTC 2025

KERNEL_VARIANT: oot

TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
INSTALL_TYPE=openrm

Could you boost the clocks to try.

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/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/isp/max_rate | tee  /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate

Still got low fps

Do you use argus_camera or gst-launch-1.0 nvarguscmaerasrc … ?

Thanks

No. We use v4l2-ctl --stream-mmap

Get the trace log to check.

sudo su
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 3 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace

v4l2-ctl --stream-mmap -c bypass_mode=0 -d0 &
v4l2-ctl --stream-mmap -c bypass_mode=0 -d1 &
v4l2-ctl --stream-mmap -c bypass_mode=0 -d2 &

cat /sys/kernel/debug/tracing/trace

Hello @5d867a92b9bdd01df324966db

Please check the websites again.

Regards!