HI all:
Just now We use xavier to capture sensor imx459,we can capture 8 frames, and then the capture process will hang
We suspect the RCE is not working properly, Can you provide us RCE firmware with debug flag enabled, which may obtain more detail logs from camera side.
Our test environment:
Hardware:Xavier(SOC),Sensor(IMX459)
Software:jetson_r35.2.1,Linux 5.10.104
IMX459’s resolution is 1312x15@6000, Datatype is RAW12 and other three datatype,raw12 is 12 lines,EMB、AMBI、STATS are only 1 line
We also use this to capture more debug info
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 2 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
and then run
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1
Log:
cat /sys/kernel/debug/tracing/trace
our dts is like below:
this is the trace info
20240617_4lane_normal_trace.log (2.0 MB)
We found two error:
tag:CHANSEL_FAULT channel:0x23 frame:105 vi_tstamp:1664136263584 data:0x0000000000000100
tag:CHANSEL_NOMATCH channel:0x01 frame:108 vi_tstamp:1664445961728 data:0x0000000000000249
So my question is:
What is the maximum framerate supported by Xavier VI?Is 6000fps supported?
How Can we solve the CHANSEL_NOMATCH and CHANSEL_FAULT error?
Thanks
Best regards
HI all:
Anyone else can help me!
hello ohyes158,
may I know what’s your test pipeline?
FYI,
if you go through Argus, ISP pipeline does not support size smaller than 640x480.
if you go through v4l2, due to below VI limitations, you should set the height larger than 32.
for instance, $public_sources/kernel_src/kernel/nvidia/include/media/tegra_camera_core.h
#define TEGRA_MIN_HEIGHT 32U
#define TEGRA_MAX_HEIGHT 32768U
besides, it looks a very high frame-rate (i.e. 6000-fps) use-case.
we don’t have such high frame-rate sensors, the maximum frame-rate we’ve validate is 60-fps.
Hi JerryChang:
Very thanks for reply!
My hardware is imx459 directly connected to Xavier VI
My test program like below:
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1000
So expect for the high framerates, How Can we solve the CHANSEL_NOMATCH and CHANSEL_FAULT error?
What situation will cause CHANSEL_NOMATCH and CHANSEL_FAULT error?
Thanks
Best regards
hello ohyes158,
since you’ve went through v4l2, please also revise the height larger than 32 to avoid VI limitations.
thanks, just we have test several situations, such as:
1314x12@200 OK, framerate is 100
1314x12@1000 OK, framerate is 1000
1314x12@2000 not OK, framerate is 1070
1314x12@3000 not OK, framerate is 500
So what is the reason?
hello ohyes158,
may I know what’s the bits per pixel?
please follow below formula to calculate the CSI bandwidth.
here’s an example to check CSI date rate, with… 4K(3840x2160),90-fps,10-bit.
CSI data-rate = 3840 * 2160 * 10 * 90 * 1.15 ~= 8.584 Gbps
besides, is it actually sending frame-rate at 2000-fps or even 3000-fps to CSI channel?
you may also examine the frame pulses carefully for confirmation.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.