it looks nvarguscamerasrc already select sensor-mode=4 for streaming.
could you please try below commands to boost all the VI/CSI/ISP clocks.
for instance,
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
BTW,
is it possible for moving to the latest release, Jetpack-5.1.2 for quick confirmation?
I tryied the gst command with nvarguscamerasec, the framerate is about 100 to 115. And can’t get any result with the v4l2 command on 5.1.2 so we choose 5.1.1
may I have your helps, as I don’t have such high frame-rate sensor to test this locally.
let’s try convert the format as I420, and adding queue elements to the gst pipeline.
for instance, $ gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! "video/x-raw(memory:NVMM), width=(int)2028, height=(int)1112, format=(string)NV12, framerate=(fraction)240/1" ! nvvidconv ! 'video/x-raw(memory:NVMM),format=I420' ! queue ! fpsdisplaysink text-overlay=false video-sink=fakesink --verbose
Appreciate for your help, the pipeline you provide can reach a framerate over170+(no matter have queue or not in the pipeline), through still can’t get the highest.
thanks for testing, it might be performance bottleneck as we’ve never test with such high frame-rate sensors.
let me check this with dev team internally.
BTW, may I have more details of your 206-fps results.
besides boosting ISP, CSI, and VIC clock to maximum. do you still doing the trick with converting the format as I420 ?
For these two ways to boost clock, only executing the clock.sh can make a difference on the highest framerate. Could you please explain why boost these clocks can make the sensor got higher framerate with gstreamer + nvarguscamerasrc and Why the v4l2 command doesn’t require the boost.
FYI,
v4l and nvarguscamerasrc they’re using different pipelines, as nvarguscamerasrc had more loadings at buffer transmits, for example, EGL is used by ARGUS APIs for buffer/stream management.
in addition, it might be performance bottleneck of video converter as well, (as you executed clocks.sh to to increase VIC clock shows better fps results)
hence,
please take your 206-fps evaluation results in comment #18 for current nvarguscamerasrc maximum frame-rate.
let me emphasize this again, we’ve never test such high frame-rate sensors.
please contact with sensor vendor for further supports. or, you may based-on 60-fps, or 120-fps sensor modes for your camera solution development.