Argus timing off when 2 cameras are present


I am using argus to capture from 2 different sensors simultaneously. The timings of acquireFrame are all over the place, sometimes off by 8ms.

When I enable one sensor it works perfectly.

Also the timings are thrown off when using a single camera when the system is under heavy load. Is there a way to prioritize the nvargus-daemon process?

Try boost the system to try.

sudo nvpmodel -m 0
sudo jetson_clocks
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

echo userspace > /sys/devices/13e10000.host1x/15340000.vic/devfreq/15340000.vic/governor

echo 1 > /sys/kernel/debug/bpmp/debug/clk/vic/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vic/state
cat /sys/kernel/debug/bpmp/debug/clk/vic/max_rate > /sys/kernel/debug/bpmp/debug/clk/vic/rate

I would like to try the v4l2 api to get around this issue but the camera_unit_sample doesn’t work for me, it hangs and dmesg prints “stuck waiting”

checking in on this

Does camera_unit_sample work for you?

Does the Multi Session of argus_camera working?

I figured out it runs, but it will hang and segfault if gstreamer has been run before camera_unit_sample

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.