Xavier nx couldn't run nvargus to get data from gmsl camera

Platform: Xavier NX
Device: max9296 + max9295 + imx556
Kernal: R35.3.1

I have 3 questions, listed in order of importance:

1. Q1

I can use v4l2 to get data from gmsl camera normally, but using argus api or nvargus_nvraw tools to get data basically fails, and occasionally it succeeds once or twice randomly. After each failure, I need to restart the nvargus-daemon service to run argus again. The relevant logs are as follows:

  • nvargus_nvraw LOG:
pcai@tegra-ubuntu:~$ nvargus_nvraw --c 0 --mode 0 --file ~/gmsl_imx556_new.nvraw  --format "nvraw, raw"
nvargus_nvraw version 1.14.0
("nvargus_nvraw") Error BadParameter (0x04): No events in queue (in capture_nvraw/src/mobile/ArgusNvRawCapture.cpp,
     func captureRequest(), line 700)
("nvargus_nvraw") Error BadParameter (0x04):  (propagating from capture_nvraw/src/mobile/ArgusNvRawCapture.cpp,
     func capture(), line 810)
  • nvargus_nvraw DEBUG LOG:
pcai@tegra-ubuntu:~$ nvargus_nvraw --c 0 --mode 0 --file ~/gmsl_imx556_new.nvraw  --format "nvraw, raw" --verbosity debug
nvargus_nvraw version 1.14.0
Argus Version: 0.99.3.3 (multi-process)
Number of sensors 1
User provided sensor ID 0, Sensor mode 0
Selected Sensor ID 0 Sensor Mode 0
initialize: Default frame duration (33,333,334 to 500,000,224 ns) FPS (30.00 to 2.00)
initialize: Frame count 90
initialize: numExposures 1 HDR Ratio Range: min 1.00 max 1.00
getExposureSetCount: i 0 exposureSet[i].size() 0
getExposureSetCount: i 1 exposureSet[i].size() 0
getExposureSetCount: i 2 exposureSet[i].size() 0
getExposureSetCount: i 3 exposureSet[i].size() 0
getExposureSetCount: i 4 exposureSet[i].size() 0
getExposureSetCount: i 5 exposureSet[i].size() 0
getExposureSetCount: i 6 exposureSet[i].size() 0
getExposureSetCount: i 7 exposureSet[i].size() 0
initialize: Embedded data is supported. Size 2560
Number of sensors 1, Number of sensor modes 1
m_selectedCameraDevice 0xaaab01156450, m_sensorMode 0xaaab01156560, m_iSensorMode 0xaaab011565f0
capture: createCaptureSession succes, value 0xaaab01156730
ICaptureSession::createOutputStream(0) success, value 0xaaab011568a0
createOutputStreams: Concurrent raw disabled. Skipping Yuv stream creation
EGLStream::FrameConsumer::create(0) success, value 0xaaab011b4310
createBuffers: Concurrent raw disabled. Skipping Yuv buffer creation
createBuffers: m_queue value 0xaaab011b4980
createBuffers: m_iQueue value 0xaaab011b4dc0
createCaptureRequest: Maximum burst request count 6
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b4e40
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b4fe0
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b5120
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b5240
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b5380
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
: Embedded data supported. Calling setMetadataEnable
createCaptureRequest: IRequest::enableOutputStream(0) success 0xaaab011b54c0
createCaptureRequest: concurrent raw disabled, skipping enableOutputStream(Yuv)
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
User has not requested a focus position change
User has not requested aperture position change
setSensorModeAndManualControls: setSensorMode(0xaaab01156560) success
captureRequest: frame 0, value 0xaaab011b4e40
("nvargus_nvraw") Error BadParameter (0x04): No events in queue (in capture_nvraw/src/mobile/ArgusNvRawCapture.cpp,
     func captureRequest(), line 700)
("nvargus_nvraw") Error BadParameter (0x04):  (propagating from capture_nvraw/src/mobile/ArgusNvRawCapture.cpp,
     func capture(), line 810)
deinitialize:++
capture_deinitialize:++
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
capture_deinitialize:--
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
(Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Argus client is exiting with 2 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
deinitialize:--
("nvargus_nvraw") Error BadParameter (0x04): Unable to capture (propagating from capture_nvraw/src/mobile/main.cpp,
     func main(), line 97)
capture_deinitialize:++
capture_deinitialize:--
deinitialize:++
capture_deinitialize:++
capture_deinitialize:--
deinitialize:--

  • nvargus-daemon LOG:
pcai@tegra-ubuntu:~$ sudo nvargus-daemon 
=== NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== nvargus_nvraw[22512]: Connection established (FFFF9355B900)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module2
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module3
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module4
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module5
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module6
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module7
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
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
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
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: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 2. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 3. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 4. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 5. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 6. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
---- imager: No override file found. ----
(NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
(NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 7. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 689)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 333)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 505)
=== nvargus_nvraw[22512]: CameraProvider initialized (0xffff8c7527f0)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
LSC: LSC surface is not based on full res!
SCF: Error InvalidState: 2 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 49)
SCF: Error InvalidState: Timeout waiting on frame start sensor guid 1, capture sequence ID = 0 (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 514)
SCF: Error Timeout:  (propagating from src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 600)
SCF: Error Timeout:  (propagating from src/common/Utils.cpp, function workerThread(), line 114)
SCF: Error Timeout: Worker thread ViCsiHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
SCF: Error InvalidState:  (propagating from src/common/Utils.cpp, function workerThread(), line 114)
SCF: Error InvalidState: Worker thread ViCsiHw frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
waitForIdleLocked remaining request 102 
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 922)
(Argus) Error Timeout:  (propagating from src/api/CaptureSessionImpl.cpp, function destroy(), line 216)

2. Q2

When I accidentally ran argus successfully, the metadata obtained using gmsl camera was missing half of the data. Using a non-gmsl camera can get complete and correct data.

3. Q3

Of the two CSI interfaces on the board, argus can only run when connected to PORT-1(CAM1). PORT-0(CAM0) cannot get data. I have tested this with the officially supported imx219. I also tested it with non-gmsl imx556 and got the same result.

I hope to get relevant support and help to solve the above three problems. Any suggestions are greatly appreciated.

  1. Boos the clocks to try. If still failed get the trace log to check.
sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee  /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate
  1. Confirm after after capture stable.
  2. Any other XNX to confirm. I would suspect it could be the HW problem.

I had tested by boosting the clock before.Here is the trace log:

root@tegra-ubuntu:/home/pcai# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 39/39   #P:4
#
#                                _-----=> irqs-off
#                               / _----=> need-resched
#                              | / _---=> hardirq/softirq
#                              || / _--=> preempt-depth
#                              ||| /     delay
#           TASK-PID     CPU#  ||||   TIMESTAMP  FUNCTION
#              | |         |   ||||      |         |
     kworker/3:2-124     [003] ....  7213.539792: rtcpu_string: tstamp:226072534533 id:0x04010000 str:"VM0 deactivating."
     kworker/3:2-124     [003] ....  7238.146573: rtcpu_string: tstamp:226840717021 id:0x04010000 str:"VM0 activating."
  nvargus-daemon-3030    [003] ....  7238.360686: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.360944: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.364657: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.364883: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.413633: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.413668: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.414558: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.414586: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.414616: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.414846: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.414904: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [003] ....  7238.415052: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.464090: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.464128: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.465025: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.465057: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.465853: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.465881: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.466723: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.466752: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.467562: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.467588: tegra_channel_close: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.468353: tegra_channel_open: vi-output, imx556 9-0016
  nvargus-daemon-3030    [002] ....  7238.468377: tegra_channel_close: vi-output, imx556 9-0016
 CaptureSchedule-3046    [001] ....  7238.828536: tegra_channel_open: vi-output, imx556 9-0016
 CaptureSchedule-3046    [001] ....  7238.830650: tegra_channel_set_power: imx556 9-0016 : 0x1
 CaptureSchedule-3046    [001] ....  7238.830657: camera_common_s_power: status : 0x1
 CaptureSchedule-3046    [001] ....  7238.830688: tegra_channel_set_power: 13e10000.host1x:nvcsi@15a00000- : 0x1
 CaptureSchedule-3046    [001] ....  7238.830691: csi_s_power: enable : 0x1
 CaptureSchedule-3046    [001] ....  7238.830936: tegra_channel_set_stream: enable : 0x1
 CaptureSchedule-3046    [001] ....  7238.832334: tegra_channel_set_stream: 13e10000.host1x:nvcsi@15a00000- : 0x1
 CaptureSchedule-3046    [001] ....  7238.832337: csi_s_stream: enable : 0x1
 CaptureSchedule-3046    [001] ....  7238.832339: tegra_channel_set_stream: imx556 9-0016 : 0x1
     kworker/3:2-124     [003] ....  7239.378550: rtcpu_vinotify_event: tstamp:226878841725 cch:1 vi:0 tag:VIFALC_TDSTATE channel:0x0b frame:0 vi_tstamp:7260122434432 data:0xcd9c550010000000
     kworker/3:2-124     [003] ....  7239.378553: rtcpu_vinotify_event: tstamp:226878841872 cch:1 vi:0 tag:VIFALC_TDSTATE channel:0x0b frame:0 vi_tstamp:7260122446208 data:0x0000000031000001
     kworker/3:2-124     [003] ....  7239.434586: rtcpu_vinotify_event: tstamp:226880197940 cch:1 vi:0 tag:VIFALC_TDSTATE channel:0x0b frame:0 vi_tstamp:7260156148288 data:0xcd9c520010000000
     kworker/3:2-124     [003] ....  7239.434589: rtcpu_vinotify_event: tstamp:226880198088 cch:1 vi:0 tag:VIFALC_TDSTATE channel:0x0b frame:0 vi_tstamp:7260156160192 data:0x0000000031000002

The trace log show didn’t receive any data from the sensor.
Maybe confirm the tegra_sinterface in device tree.

I confirmed that the tegra_sinterface parameter is in the device tree. It has my device tree file on it. If this parameter is configured incorrectly, then argus should never be able to get data, not occasionally. I don’t know if what I think is right, I hope you can correct me. Thanks a lot!

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Get the trace log to check if more clue.

Thanks