Error after one frame

Hi, we get an error when picking up RGB images that we can’t understand. We can always retrieve one image, but not the second. We get the following error message:

[ 8622.131955] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 20000h
[ 8622.165205] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 40000h
[ 8624.867621] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 8624.867894] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 8624.869173] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 8624.869382] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=1, csi_port=1
[ 8624.869657] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 8624.869851] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 1 vc- 0
[ 8624.870365] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 8624.900156] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 40000h
[ 8624.932269] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: flags 2, err_data 0h
[ 8624.963628] [RCE] ERROR: camera-ip/vi5/vi5.c:745 [vi5_handle_eof] "General error queue is out of sync with frame queue. ts=8650513816608 sof_ts=8650514365984 gerror_code=2 gerror_data=a1 notify_bits=200000"
[ 8627.683616] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 8627.683896] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 8627.685174] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 8627.685380] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=1, csi_port=1
[ 8627.685655] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 8627.685858] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 1 vc- 0
[ 8627.686428] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
 vi-output, imx7-6434    [001] ....  8624.932492: tegra_channel_capture_frame: sof:8650.514365984
 vi-output, imx7-6434    [001] ....  8624.932494: tegra_channel_capture_frame: eof:8650.545296640
     kworker/0:2-6135    [000] ....  8624.963616: rtcpu_string: tstamp:270329549248 id:0x04010000 str:"ERROR: camera-ip/vi5/vi5.c:745 [vi5_handle_eof] "
     kworker/0:2-6135    [000] ....  8624.963619: rtcpu_string: tstamp:270329549488 id:0x04010000 str:"""
     kworker/0:2-6135    [000] ....  8624.963619: rtcpu_string: tstamp:270329550896 id:0x04010000 str:"General error queue is out of sync with frame qu"
     kworker/0:2-6135    [000] ....  8624.963620: rtcpu_string: tstamp:270329551088 id:0x04010000 str:"eue. ts=8650513816608 sof_ts=8650514365984 gerro"
     kworker/0:2-6135    [000] ....  8624.963620: rtcpu_string: tstamp:270329551280 id:0x04010000 str:"r_code=2 gerror_data=a1 notify_bits=200000"
     kworker/0:2-6135    [000] ....  8624.963621: rtcpu_string: tstamp:270329551561 id:0x04010000 str:""

Does anyone have an idea what the problem could be or what this error message means?

hello JanGerber,

do you really capture a frame? there shows discarding frame message to drop capture buffer.

let me have confirmation…
may I know which Jetpack release version you’re working with.
please see-also developer guide, Verifying the V4L2 Sensor Driver to run the sanity test for your sensor driver.

Thanks a lot for the answer. The problem was that the sensor was sending twice “start of frame” and “end of frame”

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