Hi NVIDIA,
We are facing an IMX568 RAW12 camera streaming issue through SIPL on the NVIDIA IGX Thor Developer Kit Mini.
The camera streams successfully through V4L2 at 2432×2048 RAW12, with an observed frame rate of approximately 9 FPS. However, SIPL fails with the following error:
NOTIF_ERROR_ICP_CAPTURE_FAILURE
Sensor 0 Frame captured: 0
SIPL Configuration:
-
Camera: IMX568
-
Resolution: 2432×2048 RAW12
-
Configured FPS: 30
-
CSI Port: CSI-CD (4 lanes)
-
Receiver rate: 1.1 Gbps/lane
Debug Findings:
We added diagnostic logging in the VI capture driver and observed:
Capture status : 14 (CAPTURE_STATUS_FALCON_ERROR)
frame_start_timeout : 0 ms
frame_completion_timeout : 50 ms
notify_bits : 0x0000000004200008
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] VM0 deactivatingVM0 activating===== NVCSI Stream Configuration =====
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] stream_id: PP 2, csi_port: PORT C
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Brick: PHY 1, Mode: D-PHY
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Partition: CIL A, LP bypass: Enabled, Lanes: 4
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Clock information:
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] CIL rate: 270000000 Hz
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] MIPI clock rate: 550000 kHz
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Physical rate: 1100000 Kbps
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] T_HS settle: autoconfigured, T_CLK settle: autoconfigured
======================================
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06000000 value=0x04000000 (was 0x04020100)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x04020100)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c58 mask=0x000f0000 value=0x000f0000 (was 0x000f0002)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c68 mask=0xffffffff value=0x84208420 (was 0x85dfaca9)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c6c mask=0xffffffff value=0x84208420 (was 0x84e79cdf)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0fc value=0x00002040 (was 0x00000055)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c94 mask=0x000000ff value=0x00000011 (was 0x00070000)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021cb4 mask=0x007f7f7f value=0x00404444 (was 0x00000000)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021cec mask=0x000000ff value=0x00000027 (was 0x00007411)
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] CSI port CD IDAC calibration result with freqband=0:
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Trio A0 rxab=20 rxbc=18 rxca=23
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Trio A1 rxab=15 rxbc=25 rxca=15
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] CSI port CD IDAC calibration result with freqband=0:
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Trio B0 rxab=17 rxbc=20 rxca=14
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] Trio B1 rxab=20 rxbc=21 rxca=20
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] CSI port CD
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_IO0_A=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_IO1_A=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_CLK_A=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_IO0_B=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_IO1_B=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] AFE_HFGAIN_CLK_B=7
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] VI ch[35] frame configuration: 2432x2048
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] left skip pixels=0 top skip lines=0
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] right crop pixels=0 bottom crop lines=0
Oct 15 14:45:26 tegra-ubuntu kernel: [RCE] pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 6 : [CameraHAL] DBUG: CameraModuleDevice.cpp:189: Starting streaming for device Module_9_link_0
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : FuSaCaptureViErrorDecode VI Error in frame: 1
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : FALCON_ERROR 0x00000e
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : ChanselFault 0x000002
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : PIXEL_EOF 1 0
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : The last pixel in a frame that is not that of an embedded type
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : Current line in frame
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : [hi:lo] : 31 16
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 : Decoder Field Value: 0
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 5 :
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : FRAME_COMPLETION_TIMEOUT: Timeout from frame start to frame completion. See also frame_completion_timeout in struct capture_descriptor
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : corr_err: notifyBits: 0x4200008
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFusaRawBlock.cpp:2072: Getting capture status failed!
Oct 15 14:45:26 tegra-ubuntu nvsipl_camera[5281]: [TID=5313] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:3016: Capture block get output buffer failed
Oct 15 14:45:28 tegra-ubuntu wpa_supplicant[1822]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.Mesh dbus_property=MeshPeers getter failed
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE 0] Post-reset channel info: hwChanId= 0, chanMask=0x0, vi2Mask=0x800000000
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : CNvMQueue.hpp 151
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : Queue is empty
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFusaRawBlock.cpp:2194: Getting element from queue failed!
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:2474: Capture block get output buffer without capture status failed
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:2701: Failed to stop processing
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvMCamera.cpp:5039: Pipeline stop failed for pipeline
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 5 : Stopping Camera HAL path
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 6 : [CameraHAL] DBUG: CameraModuleDevice.cpp:221: Stopping streaming for device Module_9_link_0
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06000000 value=0x04000000 (was 0x00020000)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x04020000)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c58 mask=0x000f0000 value=0x000f0000 (was 0x000f0002)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c68 mask=0xffffffff value=0x84208420 (was 0x7e5fbca9)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c6c mask=0xffffffff value=0x84208420 (was 0xa5697523)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0fc value=0x00002040 (was 0x00002041)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c94 mask=0x000000ff value=0x00000011 (was 0x00700011)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021cb4 mask=0x007f7f7f value=0x00404444 (was 0x00404444)
Oct 15 14:45:29 tegra-ubuntu kernel: [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021cec mask=0x000000ff value=0x00000027 (was 0x00007427)
Oct 15 14:45:29 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 6 : [CameraHAL] DBUG: GmslDeserializerDevice.cpp:361: Stopping streaming for device Deser_9
Oct 15 14:45:31 tegra-ubuntu wpa_supplicant[1822]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.Mesh dbus_property=MeshPeers getter failed
Oct 15 14:45:34 tegra-ubuntu wpa_supplicant[1822]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.Mesh dbus_property=MeshPeers getter failed
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE 0] Post-reset channel info: hwChanId= 0, chanMask=0x0, vi2Mask=0x800000000
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : CNvMQueue.hpp 151
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : Queue is empty
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFusaRawBlock.cpp:2194: Getting element from queue failed!
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:2474: Capture block get output buffer without capture status failed
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:2701: Failed to stop processing
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvMCamera.cpp:5039: Pipeline stop failed for pipeline
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 5 : Stopping Camera HAL path
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : CNvMCamera.cpp 5156
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : CNvMCamera object failed to stop
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvFSensorPipeline.cpp:2775: Deinit() call in wrong state
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 2 : [PIPELINE (0,0)] CNvMCamera.cpp:5117: Pipeline deinit failed for pipeline
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 3 : CNvMBuffer.cpp 567
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 3 : Destroying buffer with reference count: 1
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 3 : CNvMBuffer.cpp 52
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 3 : Destroying buffer with reference count: 1
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 5 : Deinitializing Camera HAL path
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 6 : [CameraHAL] DBUG: CameraModuleDevice.cpp:157: Deinitializing device Module_9_link_0
Oct 15 14:45:36 tegra-ubuntu nvsipl_camera[5281]: [TID=5281] Module_id 30 Severity 6 : [CameraHAL] DBUG: GmslDeserializerDevice.cpp:289: Deinitializing device Deser_9
The notification bits indicate frame-completion timeout, forced frame-end.
In the working V4L2 path, the measured pixel frame duration (SOF to EOF) is approximately 61.155 ms, whereas SIPL uses a 50 ms frame-completion timeout.
We suspect this timing difference may be contributing to the SIPL capture failure.
We checked our custom UDDF libraries, JSON, and available NVIDIA sources but could not find a configuration option to modify this timeout.
Could you please clarify:
-
Where is the
frame_completion_timeoutconfigured in SIPL/ICP? -
Is there a supported way to increase it from 50 ms to 100 ms?
-
Could this timeout cause the observed ICP capture failure, or should we investigate other CSI timing/framing settings?
We would like to test with a 100 ms timeout to verify whether this resolves the issue. Please share your suggestions.