Argus occasionally fails to start 2nd camera

Sometimes it works, sometimes not. Here is the output

OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: Found override file [/var/nvidia/nvcam/settings/imx274.isp]. ----
CAM: serial no file already exists, skips storing again---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
CAM: serial no file already exists, skips storing againLSC: LSC surface is not based on full res!
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
NvViErrorDecode Stream 4.0 failed: ts 4313522843328 frame 3 error 4 data 0x00000100
NvViErrorDecode CaptureError: ChanselFault (4)
NvViErrorDecode See https://wiki.nvidia.com/wmpwiki/index.php/Camera_Debugging/CaptureError_debugging for more information and links to documents.
ChanselFault : 0x00000100
    PIXEL_LONG_LINE             [ 8]: 1
        A line is found to exceed the expected value of FRAME_X_WIDTH register. Line is truncated to expected width.
    Current line in frame    [31:16]: 0
        
captureErrorCallback Stream 4.0 capture 3794 failed: ts 4313522843328 frame 3 error 4 data 0x00000100

(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
(Argus) Error Timeout:  (propagating from src/api/BufferOutputStreamImpl.cpp, function acquireBuffer(), line 265)
Error: waitCsiFrameEnd timeout guid 4
VI Stream Id = 4 Virtual Channel = 0
************VI Debug Registers**********
VI_CSIMUX_STAT_FRAME_16	 = 0x00010003
VI_CSIMUX_FRAME_STATUS_0	 = 0x00010000
VI_CFG_INTERRUPT_STATUS_0	 = 0x3f000000
VI_ISPBUFA_ERROR_0	 = 0x00000000
VI_FMLITE_ERROR_0	 = 0x00000000
VI_NOTIFY_ERROR_0	 = 0x00000000
*****************************************
CSI Stream Id = 4 Brick Id = 2
************CSI Debug Registers**********
CILA_INTR_STATUS_CILA[0x30400]	 = 0x000001d9
CILB_INTR_STATUS_CILB[0x30c00]	 = 0x00000198
INTR_STATUS[0x300a4]	 = 0x0001000e
INTR_STATUS[0x300a4]	 = 0x0001000e
ERR_INTR_STATUS[0x300ac]	 = 0x0001000e
ERROR_STATUS2VI_VC0[0x30094]	 = 0x0000000e
ERROR_STATUS2VI_VC1[0x30098]	 = 0x00000000
ERROR_STATUS2VI_VC2[0x3009c]	 = 0x00000000
ERROR_STATUS2VI_VC3[0x300a0]	 = 0x00000000
*****************************************
SCF: Error Timeout:  (propagating from src/common/Utils.cpp, function workerThread(), line 116)
SCF: Error Timeout: Worker thread ViCsiHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
(Argus) Error BadParameter: Buffer not acquired (in src/api/BufferOutputStreamImpl.cpp, function releaseBuffer(), line 224)
Segmentation fault

this error also show up sometimes:

NvViErrorDecode Stream 4.0 failed: ts 5236689687072 frame 192 error 2 data 0x00400064
NvViErrorDecode CaptureError: CsimuxFrameError (2)
NvViErrorDecode See https://wiki.nvidia.com/wmpwiki/index.php/Camera_Debugging/CaptureError_debugging for more information and links to documents.
CsimuxFrameError_Regular : 0x00400064
    Stream ID                [ 2: 0]: 4
        
    VPR state from fuse block    [ 3]: 0
        
    Frame end (FE)              [ 5]: 1
        A frame end has been found on a regular mode stream.
    CSI_FAULT                   [ 6]: 1
        An FE packet was found and marked with a CSI Error
    CSI_CODE                 [25:20]: 0x4
        Check the CSI specification for the meaning. See https://wiki.nvidia.com/wmpwiki/index.php/Camera_Debugging/CaptureError_debugging#CSI_CODE
captureErrorCallback Stream 4.0 capture 459 failed: ts 5236689687072 frame 192 error 2 data 0x00400064

I should mention this only happens if the system is under load, and works about 1 out of 3 tries, always works after reboot

The camera process always ends with “Bus error”, maybe the system is in a bad state?

Does 2nd camera the same with 1st camera?
What’s the camera module? IMX274?

The cameras are different. The first is imx274 and the second is ar0231

From my experience it could be the MIPI settle timing cause the problem.
Please probe the MIPI signal to confirm the settle time match spec.

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