After loading the driver normally, use the following command to capture the frame rate:
v4l2-ctl -V -d /dev/video0 --stream-mmap
Using sudo dmesg, you can view the following log:
[ 2694.029502] sg2-ar0234-gmsl2 30-0010: sensor_set_mode: enter, mode_prop_idx:0
[ 2694.033376] max9296 30-0048: i2c-r, 0x0013 = 0xda
[ 2694.033493] max9296 30-0048: Mode 1, Des 0 gmsl_link_0=218 is lock!
[ 2694.033497] max9295 30-0060: max9295_gmsl_config port=0 mode=1 link=0!
[ 2694.034609] max9295 30-0060: i2c-w, 0x0000 = 0xc0
[ 2694.071540] max9295 30-0060: i2c-w, 0x0002 = 0x43
[ 2694.071823] max9295 30-0060: i2c-w, 0x0330 = 0x06
[ 2694.072105] max9295 30-0060: i2c-w, 0x0331 = 0x33
[ 2694.072387] max9295 30-0060: i2c-w, 0x0332 = 0x4e
[ 2694.072669] max9295 30-0060: i2c-w, 0x0334 = 0x00
[ 2694.072950] max9295 30-0060: i2c-w, 0x0331 = 0x33
[ 2694.073231] max9295 30-0060: i2c-w, 0x0333 = 0xe4
[ 2694.073521] max9295 30-0060: i2c-w, 0x0335 = 0x00
[ 2694.073809] max9295 30-0060: i2c-w, 0x0308 = 0x7e
[ 2694.074094] max9295 30-0060: i2c-w, 0x0311 = 0x51
[ 2694.074378] max9295 30-0060: i2c-w, 0x0308 = 0x7e
[ 2694.074663] max9295 30-0060: i2c-w, 0x0311 = 0x21
[ 2694.074947] max9295 30-0060: i2c-w, 0x0314 = 0x6c
[ 2694.075231] max9295 30-0060: i2c-w, 0x0316 = 0x6c
[ 2694.075521] max9295 30-0060: i2c-w, 0x0315 = 0x00
[ 2694.075819] max9295 30-0060: i2c-w, 0x0313 = 0x10
[ 2694.076104] max9295 30-0060: i2c-w, 0x031c = 0x38
[ 2694.076390] max9295 30-0060: i2c-w, 0x0313 = 0x30
[ 2694.076678] max9295 30-0060: i2c-w, 0x031d = 0x38
[ 2694.076966] max9295 30-0060: i2c-w, 0x0053 = 0x10
[ 2694.077253] max9295 30-0060: i2c-w, 0x0057 = 0x11
[ 2694.211931] max9295 30-0060: max9295 0 start streaming!
[ 2694.212270] max9295 30-0060: i2c-w, 0x0002 = 0x73
[ 2694.212400] max9295 30-0060: max9295 0 start streaming!
[ 2694.212733] max9295 30-0060: i2c-w, 0x0002 = 0x73
[ 2694.437537] sg2-ar0234-gmsl2 30-0010: sensor settings success!!!
[ 2696.603355] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2696.612501] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2696.622268] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2696.630003] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2696.640667] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2696.648398] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2696.659151] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2699.419300] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2699.428480] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2699.438234] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2699.445943] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2699.456596] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2699.464308] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2699.475032] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2702.235426] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2702.244586] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2702.255273] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2702.263011] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2702.273675] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2702.281393] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2702.292129] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2705.051332] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2705.060489] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2705.070241] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2705.077955] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2705.088614] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2705.096326] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2705.107036] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2707.867344] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2707.876510] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2707.886330] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2707.894047] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2707.904706] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2707.912434] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2707.923154] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2710.683239] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2710.692386] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2710.702493] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2710.710208] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2710.720867] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2710.728578] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2710.739327] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2713.499161] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2713.508327] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2713.518229] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2713.525944] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2713.536613] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2713.544319] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2713.555076] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2716.315138] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2716.324309] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2716.334231] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2716.341952] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2716.352622] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2716.360342] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2716.371156] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2719.131092] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 2719.140240] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 2719.150421] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2719.158148] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=0, csi_port=0
[ 2719.168805] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 2719.176532] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 0 vc- 0
[ 2719.187411] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 2719.196944] max9295 30-0060: max9295 0 stop streaming!
[ 2719.197189] max9295 30-0060: i2c-r, 0x02d3 = 0x83
[ 2719.197363] max9295 30-0060: i2c-w, 0x02d3 = 0x83
[ 2719.200088] bwmgr API not supported
[ 2719.210780] sg2-ar0234-gmsl2 30-0010: sensor_power_off:
trace logs are as follows:
trace.txt (1.6 MB)
In view of the above problems, could you please give me some suggestions to solve this problem? thank you.