Hi,
I am developing the imx490 camera ( including GW5300 and Max9295 ) driver for L4T R35.1 on AGX Orin with LI-JXAV-MIIPI-ADPT-4CAM board. I have the following issue. One imx490 camera is connected with the port 1 on the LI-JXAV-MIPI board. The image from the imx490 camera is displayed, but the FPS is 3 to 5 instead of 30. Then I found the error message in the trace log as below.
According to Jetson/l4t/Camera BringUp, The camera(dser) outputs the data whose type is 3c9 to the channel 1. “3c9” looks like the data type is YUV422-8. I think it is correct because this camera output is set to YUV422-8 by the internal ISP.
I set the channel 0 to receive the stream data with vc-id=0 from port 1 on the MIPI board, then I set the channel 1 to receive the stream data with vc-id=1 from the port 2 on the MIPI board. So the channel 1 should not the data without connecting the camera to port 2. But the channel 1 is about to receive data. Does this mean camera or dser(max9296) outputs the stream data with vc-id=1 ?
please check sensor report formats, i.e. $ v4l2-ctl -d /dev/video0 --list-formats-ext
you may also try below commands to boost all the VI/CSI/ISP clocks for testing.
for example,
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
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
may I also know what’s your commands for checking frame-rate?
for example, please share the test results with below pipeline. $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2880,height=1860,pixelformat=UYVY --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
I have been using the following command since I developped the driver for this camera on AGX Xavier devkit and another ROScube.
This command works fine with 30 fps on AGX Xavier devkit and ROScube with L4T R32.5.x and R32.6.1.