Argus demo couldn't run normally

My board is Jetson Xavier NX, and the kernel version is R35.3.1. Based on this version, I have developed the driver for the camera imx556 and can get the data normally. Now I want to use argus api to get metadata. Two weeks ago I could get raw data and metadata using the two examples of rawBayerOutput and sensorPrivateMetadata. But suddenly all the examples related to argus no longer work. I suspected that I accidentally configured some wrong environments that caused this problem, so I reinstalled the system’s related SDK, but the result was still the same.

Below is my error log:

pcai@ubuntu:/usr/src/jetson_multimedia_api/argus/build/samples/rawBayerOutput$ sudo ./argus_rawBayerOutput 
[sudo] password for pcai: 
Executing Argus Sample: argus_rawBayerOutput
Argus Version: 0.99.3.3 (multi-process)
Capturing from Resolution (640x480)
PRODUCER: Creating the preview stream.
PRODUCER: Starting repeat capture requests.
	Error generated. /usr/src/jetson_multimedia_api/argus/samples/rawBayerOutput/main.cpp, execute:264 Failed to get consumer
(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 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)

The following is the log information of sudo /usr/sbin/nvargus-daemon:

pcai@ubuntu:/usr/src/jetson_multimedia_api/argus/build/samples/rawBayerOutput$ sudo /usr/sbin/nvargus-daemon 
=== NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== argus_rawBayerOutput[4465]: Connection established (FFFF86003900)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/module10
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module11
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
OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module5
OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module6
OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module7
OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module8
OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module9
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
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. ----
(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 1. (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 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. ----
LSC: LSC surface is not based on full res!
(Argus) Error BadParameter: Unidentified sensor placement (in src/common/ScfTranslate.cpp, function fromScfSensorPlacement(), line 595)
---- 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. ----
(NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 97)
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 0x3)
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. ----
(NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 97)
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 0x3)
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. ----
(NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 97)
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 8. (error 0x3)
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. ----
(NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 97)
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 9. (error 0x3)
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 10. (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 11. (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)
=== argus_rawBayerOutput[4465]: CameraProvider initialized (0xffff80616dc0)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
LSC: LSC surface is not based on full res!
PowerServiceCore:handleRequests: timePassed = 549
SCF: Error InvalidState: 1 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 3, capture sequence ID = 0 (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 514)
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/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 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 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)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function waitCompletion(), line 368)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function pause(), line 936)
SCF: Error Timeout: During capture abort, syncpoint wait timeout waiting for current frame to finish (in src/services/capture/CaptureServiceDevice.cpp, function handleCancelSourceRequests(), line 1029)
waitForIdleLocked remaining request 101 
SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 922)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function abortCaptures(), line 888)
SCF: Error Timeout:  (propagating from src/api/Session.cpp, function shutdown(), line 407)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function waitCompletion(), line 368)
SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function pause(), line 936)
SCF: Error Timeout: During capture abort, syncpoint wait timeout waiting for current frame to finish (in src/services/capture/CaptureServiceDevice.cpp, function handleCancelSourceRequests(), line 1029)

Please help me, thank you very much! ! !

The following log is the error using nvargus tools:

pcai@ubuntu:~/xavier_nx_emmc_package_v1.0.0$ nvargus_nvraw --c 0 --mode 0 --file ~/wxx.nvraw
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)
(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 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)
("nvargus_nvraw") Error BadParameter (0x04): Unable to capture (propagating from capture_nvraw/src/mobile/main.cpp,
     func main(), line 97)

Can anyone help me? Help!Help!Help!Help!Help!

I would suspect it could be HW problem.
You can confirm it by below command if able capture well and show the fps.

v4l2-ctl -c bypass_mode=0 --stream-mmap

It is working normally.

Boost clocks to try.

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

抱歉,回复晚了。
下面是我按照你给的办法测试的结果:

pcai@pcai-desktop:~$ sudo su
root@pcai-desktop:/home/pcai# echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
root@pcai-desktop:/home/pcai# echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
root@pcai-desktop:/home/pcai# echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
root@pcai-desktop:/home/pcai# echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
root@pcai-desktop:/home/pcai# cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
460800000
root@pcai-desktop:/home/pcai# cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee  /sys/kernel/debug/bpmp/debug/clk/isp/rate
576000000
root@pcai-desktop:/home/pcai# cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
314000000
root@pcai-desktop:/home/pcai# cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate
1866000000

root@pcai-desktop:/home/pcai# sudo service nvargus-daemon stop
在另外一个shell下启动nvargus-daemon;

root@pcai-desktop:/home/pcai# nvargus_nvraw --c 0 --mode 0 --file ~/wxx.nvraw
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)
^C
root@pcai-desktop:/home/pcai# exit
exit

另外手动启动nvargus_daemon的log:

pcai@pcai-desktop:~$ sudo /usr/sbin/nvargus-daemon
[sudo] password for pcai:
=== NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== nvargus_nvraw[3337]: Connection established (FFFFB464C900)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
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. ----
(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 1. (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!
=== nvargus_nvraw[3337]: CameraProvider initialized (0xffffac7f6be0)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 2, capture sequence ID = 0 (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 514)
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/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 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)

第二段的错误我不是很看得懂,如果有用的话请提醒下我,十分感谢。

另外,之所以回复晚的原因是因为你提到说可能是硬件损坏了,我尝试了用了新的板子来做测试,但是我没有同样的Xavier Nx板子了,只有个Orin Nx 8g的板子。所以我移植了相关的驱动到Orin Nx板子上,但是又遇到了一些额外的问题。

Orin Nx上的问题:
问题(1):我配置"embedded_metadata_height = “2”;"并且配置了相应的寄存器,在Xavier Nx上用v4l2工具可以正常拿到数据,但是在Orin NX无法拿到数据,并提示

[   67.254128] bwmgr API not supported
[   67.264128] imx556 10-0016: pcai : imx556_power_off: power off
[   92.882079] ------------[ cut here ]------------
[   92.882116] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-tegra186.c:937 tegra186_gpio_irq+0x1ac/0x1f0
[   92.891526] Modules linked in: nv_imx556(E) max9295(E) max9296(E) nvidia_modeset(OE) fuse(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) nfnetlink(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) xt_addrtype(E) iptable_filter(E) br_netfilter(E) lzo_rle(E) lzo_compress(E) zram(E) overlay(E) ramoops(E) reed_solomon(E) loop(E) snd_soc_tegra210_iqc(E) snd_soc_tegra210_ope(E) snd_soc_tegra186_dspk(E) snd_soc_tegra186_asrc(E) snd_soc_tegra210_mvc(E) snd_soc_tegra186_arad(E) snd_soc_tegra210_afc(E) snd_soc_tegra210_adx(E) snd_soc_tegra210_dmic(E) snd_soc_tegra210_admaif(E) snd_soc_tegra210_amx(E) snd_soc_tegra210_mixer(E) snd_soc_tegra_pcm(E) snd_soc_tegra210_sfc(E) snd_soc_tegra210_i2s(E) input_leds(E) aes_ce_blk(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) ghash_ce(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) snd_soc_spdif_tx(E) snd_soc_tegra_machine_driver(E) snd_soc_tegra210_adsp(E) snd_soc_tegra_utils(E) snd_soc_simple_card_utils(E)
[   92.891661]  r8168(E) nvadsp(E) snd_soc_tegra210_ahub(E) nvidia(OE) userspace_alert(E) r8169(E) tegra_bpmp_thermal(E) tegra210_adma(E) realtek(E) snd_hda_codec_hdmi(E) snd_hda_tegra(E) snd_hda_codec(E) snd_hda_core(E) spi_tegra114(E) binfmt_misc(E) ina3221(E) pwm_fan(E) nvgpu(E) nvmap(E) ip_tables(E) x_tables(E) [last unloaded: mtd]
[   92.891722] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           OE     5.10.104-tegra #29
[   92.891726] Hardware name: Unknown NVIDIA Orin NX Developer Kit/NVIDIA Orin NX Developer Kit, BIOS 3.1-32827747 03/19/2023
[   92.891733] pstate: 20400089 (nzCv daIf +PAN -UAO -TCO BTYPE=--)
[   92.891739] pc : tegra186_gpio_irq+0x1ac/0x1f0
[   92.891744] lr : tegra186_gpio_irq+0x11c/0x1f0
[   92.891746] sp : ffff800010003ef0
[   92.891750] x29: ffff800010003ef0 x28: ffff740280dfac60
[   92.891757] x27: ffffc9497a6ccff8 x26: 0000000000000018
[   92.891763] x25: ffff7402854bf080 x24: ffff740285522800
[   92.891769] x23: 000000000000000c x22: 000000000000004c
[   92.891775] x21: 00000000000000b9 x20: 0000000000000000
[   92.891781] x19: ffffc94979b8ee50 x18: 0000000000000000
[   92.891787] x17: 0000000000000000 x16: 0000000000000000
[   92.891793] x15: 0000000000000000 x14: ffffc9497a5b2680
[   92.891799] x13: ffffaaba6e0e7000 x12: 000000003464d91d
[   92.891806] x11: 0000000000000040 x10: ffffc9497a637a80
[   92.891812] x9 : ffffc9497a637a78 x8 : ffff7402804b24a8
[   92.891817] x7 : 0000000000000000 x6 : 0000000000000001
[   92.891823] x5 : 0000000000000000 x4 : 0000000000000000
[   92.891829] x3 : 0000000000000000 x2 : ffffc94978a6e170
[   92.891835] x1 : 000000000000004c x0 : 0000000000000000
[   92.891842] Call trace:
[   92.891847]  tegra186_gpio_irq+0x1ac/0x1f0
[   92.891857]  generic_handle_irq+0x40/0x60
[   92.891862]  __handle_domain_irq+0x70/0xd0
[   92.891868]  gic_handle_irq+0x68/0x134
[   92.891871]  el1_irq+0xd0/0x180
[   92.891878]  cpuidle_enter_state+0xb8/0x410
[   92.891882]  cpuidle_enter+0x40/0x60
[   92.891887]  call_cpuidle+0x44/0x80
[   92.891890]  do_idle+0x208/0x270
[   92.891895]  cpu_startup_entry+0x30/0x70
[   92.891903]  rest_init+0xdc/0xe8
[   92.891911]  arch_call_rest_init+0x18/0x20
[   92.891915]  start_kernel+0x514/0x54c
[   92.891919] ---[ end trace b72a445bb7c9e0be ]---
[   93.180960] ------------[ cut here ]------------
[   93.180990] WARNING: CPU: 0 PID: 0 at drivers/gpio/gpio-tegra186.c:937 tegra186_gpio_irq+0x1ac/0x1f0
[   93.190412] Modules linked in: nv_imx556(E) max9295(E) max9296(E) nvidia_modeset(OE) fuse(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) nfnetlink(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) libcrc32c(E) xt_addrtype(E) iptable_filter(E) br_netfilter(E) lzo_rle(E) lzo_compress(E) zram(E) overlay(E) ramoops(E) reed_solomon(E) loop(E) snd_soc_tegra210_iqc(E) snd_soc_tegra210_ope(E) snd_soc_tegra186_dspk(E) snd_soc_tegra186_asrc(E) snd_soc_tegra210_mvc(E) snd_soc_tegra186_arad(E) snd_soc_tegra210_afc(E) snd_soc_tegra210_adx(E) snd_soc_tegra210_dmic(E) snd_soc_tegra210_admaif(E) snd_soc_tegra210_amx(E) snd_soc_tegra210_mixer(E) snd_soc_tegra_pcm(E) snd_soc_tegra210_sfc(E) snd_soc_tegra210_i2s(E) input_leds(E) aes_ce_blk(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) ghash_ce(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) snd_soc_spdif_tx(E) snd_soc_tegra_machine_driver(E) snd_soc_tegra210_adsp(E) snd_soc_tegra_utils(E) snd_soc_simple_card_utils(E)
[   93.190549]  r8168(E) nvadsp(E) snd_soc_tegra210_ahub(E) nvidia(OE) userspace_alert(E) r8169(E) tegra_bpmp_thermal(E) tegra210_adma(E) realtek(E) snd_hda_codec_hdmi(E) snd_hda_tegra(E) snd_hda_codec(E) snd_hda_core(E) spi_tegra114(E) binfmt_misc(E) ina3221(E) pwm_fan(E) nvgpu(E) nvmap(E) ip_tables(E) x_tables(E) [last unloaded: mtd]
[   93.190608] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W  OE     5.10.104-tegra #29
[   93.190612] Hardware name: Unknown NVIDIA Orin NX Developer Kit/NVIDIA Orin NX Developer Kit, BIOS 3.1-32827747 03/19/2023
[   93.190618] pstate: 20400089 (nzCv daIf +PAN -UAO -TCO BTYPE=--)
[   93.190623] pc : tegra186_gpio_irq+0x1ac/0x1f0
[   93.190628] lr : tegra186_gpio_irq+0x11c/0x1f0
[   93.190631] sp : ffff800010003ef0
[   93.190634] x29: ffff800010003ef0 x28: ffff740280dfac60
[   93.190640] x27: ffffc9497a6ccff8 x26: 0000000000000018
[   93.190646] x25: ffff7402854bf080 x24: ffff740285522800
[   93.190652] x23: 000000000000000c x22: 000000000000004c
[   93.190658] x21: 00000000000000b9 x20: 0000000000000000
[   93.190664] x19: ffffc94979b8ee50 x18: 0000000000000000
[   93.190669] x17: 0000000000000000 x16: 0000000000000000
[   93.190675] x15: 0000000000000000 x14: 0000000000000000
[   93.190680] x13: 0000000000000000 x12: 0000000000000000
[   93.190686] x11: 0000000000000040 x10: ffffc9497a637a80
[   93.190692] x9 : ffffc9497a637a78 x8 : ffff7402804b24a8
[   93.190697] x7 : 0000000000000000 x6 : 0000000000000001
[   93.190703] x5 : 0000000000000000 x4 : 0000000000000000
[   93.190708] x3 : 0000000000000000 x2 : ffffc94978a6e170
[   93.190714] x1 : 000000000000004c x0 : 0000000000000000
[   93.190720] Call trace:
[   93.190726]  tegra186_gpio_irq+0x1ac/0x1f0
[   93.190734]  generic_handle_irq+0x40/0x60
[   93.190740]  __handle_domain_irq+0x70/0xd0
[   93.190745]  gic_handle_irq+0x68/0x134
[   93.190748]  el1_irq+0xd0/0x180
[   93.190756]  cpuidle_enter_state+0xb8/0x410
[   93.190759]  cpuidle_enter+0x40/0x60
[   93.190764]  call_cpuidle+0x44/0x80
[   93.190768]  do_idle+0x208/0x270
[   93.190771]  cpu_startup_entry+0x30/0x70
[   93.190779]  rest_init+0xdc/0xe8
[   93.190786]  arch_call_rest_init+0x18/0x20
[   93.190791]  start_kernel+0x514/0x54c
[   93.190795] ---[ end trace b72a445bb7c9e0bf ]---
[  104.686716] imx556 10-0016: pcai : imx556_power_on: power on
[  104.696865] bwmgr API not supported
[  104.705223] imx556 10-0016: pcai : imx556_set_mode, mode=0
...
[  104.780189] imx556 10-0016: pcai : imx556_start_streaming
...
[  104.790728] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 16384
[  104.800875] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 16384
[  104.811010] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 16384
[  104.821129] tegra-camrtc-capture-vi tegra-capture-vi: corr_err: discarding frame 0, flags: 0, err_data 16384
...

问题(2):我取消了相关embded_data的配置,用v4l2的工具能正常拿到数据了,但是用nvargus_nvraw工具无法识别到我的摄像头,之前在Xavier Nx平台上已经根据这个帖子解决过这个问题了,

但是在Orin Nx平台上这个解决方法无效。报以下的错误:

pcai@pcai-desktop:~$ nvargus_nvraw  --c 0 --mode 0 --file /home/pcai/wxx.nvra
nvargus_nvraw version 1.14.0
("nvargus_nvraw") Error BadParameter (0x04): Provided sensor ID (0) is out of bounds. Total number of
     sensors: 0
 (in capture_nvraw/src/mobile/ArgusNvRawCapture.cpp, func initialize(), line 82)
("nvargus_nvraw") Error BadParameter (0x04): Unable to initialize (propagating from capture_nvraw/src/mobile/main.cpp,
     func main(), line 91)

Does argus_camera recognize the sensor?
Did you dump the device tree to confirm the strings of devname with v4l2-ctl --list-device?

不好意思,我不是很能理解这句话的意思,argus无法识别到我的摄像头.

pcai@nvidia-desktop:~$ v4l2-ctl --list-device
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
        /dev/media0

vi-output, imx556 10-0016 (platform:tegra-capture-vi:2):
        /dev/video0

下面是我的设备树内容:

/ {
	tcp: tegra-camera-platform {
		compatible = "nvidia, tegra-camera-platform";

		num_csi_lanes = <4>;
		max_lane_speed = <2000000>;
		min_bits_per_pixel = <10>;
		vi_peak_byte_per_pixel = <2>;
		vi_bw_margin_pct = <25>;
		isp_peak_byte_per_pixel = <5>;
		isp_bw_margin_pct = <25>;

		modules {
			imx556_module0: module8 {
				badge = "jakku_front0_imx556";
				position = "front0";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "imx556 9-0015";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/imx556_a@15";
				};
			};
			imx556_module1: module9 {
				badge = "jakku_front1_imx556";
				position = "front1";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "imx556 9-0016";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/imx556_b@16";
				};
			};
            imx556_module2: module10 {
				badge = "jakku_front2_imx556";
				position = "front2";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "imx556 10-0015";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/imx556_a@15";
				};
			};
			imx556_module3: module11 {
				badge = "jakku_front3_imx556";
				position = "front3";
				orientation = "1";
				drivernode0 {
					pcl_id = "v4l2_sensor";
					devname = "imx556 10-0016";
					proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/imx556_b@16";
				};
			};
		};
	};
};

Dump the device tree by below command.

sudo dtc -I fs -O dts -o extracted_proc.dts /proc/device-tree

Thanks for your reply!Here is my dump file.
extracted_proc.dts.txt (443.4 KB)

I have 3 types of sensor, but only one’s devname of three could be found.
Is this the problem? How can I fix it?
Please help me! Thanks a lot!

Can anybody help me?

I have simplified this problem. I now use the officially supported imx219 to directly connect to the Orin Nx board through the csi interface. The official original system and sdk installed on the board still have the same problem. I upgraded from Jetpack 5.1.1 to 5.1.2 and still can’t get the solution.
I suspect it is a problem related to the SDK, and I hope it can be solved and supported.
Please reply, thanks very much.

Test (1)gst-launch-1.0:

pcai@ubuntu:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=20/1, format=NV12' ! nvvidconv ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 3280 H = 2464 
   seconds to Run    = 0 
   Frame Rate = 21.000000 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
Execution ended after 0:00:02.889835422
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
(Argus) Error FileOperationFailed: Failed socket read: Connection reset by peer (in src/rpc/socket/common/SocketUtils.cpp, function readSocket(), line 79)
(Argus) Error FileOperationFailed: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error FileOperationFailed: Receive worker failure, notifying 2 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 350)
(Argus) Error InvalidState: Argus client is exiting with 2 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366)
(Argus) Error FileOperationFailed: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error FileOperationFailed:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Caught SIGSEGV
(Argus) Error FileOperationFailed: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
(Argus) Error FileOperationFailed:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Segmentation fault (core dumped)

Test (2) nvgstcapture-1.0 sensor-id=0 :

cai@ubuntu:~$ nvgstcapture-1.0 sensor-id=0 
Encoder null, cannot set bitrate!
Encoder Profile = High
Supported resolutions in case of ARGUS Camera
  (2) : 640x480
  (3) : 1280x720
  (4) : 1920x1080
  (5) : 2104x1560
  (6) : 2592x1944
  (7) : 2616x1472
  (8) : 3840x2160
  (9) : 3896x2192
  (10): 4208x3120
  (11): 5632x3168
  (12): 5632x4224

Runtime ARGUS Camera Commands:

  Help : 'h'
  Quit : 'q'
  Set Capture Mode:
      mo:<val>
          (1): image
          (2): video
  Get Capture Mode:
      gmo
  Set sensor orientation:
      so:<val>
          (0): none
          (1): Rotate counter-clockwise 90 degrees
          (2): Rotate 180 degrees
          (3): Rotate clockwise 90 degrees
  Get sensor orientation:
      gso
  Set sensor mode:
      smo:<val> e.g., smo:1
  Get sensor mode:
      gsmo
  Set Whitebalance Mode:
      wb:<val>
          (0): off
          (1): auto
          (2): incandescent
          (3): fluorescent
          (4): warm-fluorescent
          (5): daylight
          (6): cloudy-daylight
          (7): twilight
          (8): shade
          (9): manual
  Get Whitebalance Mode:
      gwb
  Set Saturation (0 to 2):
      st:<val> e.g., st:1.25
  Get Saturation:
      gst
  Set Exposure Compensation (-2 to 2):
      ec:<val> e.g., ec:-2
  Get Exposure Compensation:
      gec
  Set Auto Whitebalance Lock:
      awbl:<val> e.g., awbl:0
  Get Auto Whitebalance Lock:
      awbl
  Set Auto Exposure Lock:
      ael:<val> e.g., ael:0
  Get Auto Exposure Lock:
      gael
  Set TNR Mode:
      tnrm:<val> e.g., tnrm:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get TNR Mode:
      gtnrm
  Set TNR Strength (-1 to 1):
      tnrs:<val> e.g., tnrs:0.5
  Get TNR Strength:
      gtnrs
  Set EE Mode:
      eem:<val> e.g., eem:1
          (0): OFF
          (1): FAST
          (2): HIGH QUALITY
  Get EE Mode:
      geem
  Set EE Strength (-1 to 1):
      ees:<val> e.g., ees:0.5
  Get EE Strength:
      gees
  Set Auto Exposure Anti-Banding (0 to 3):
      aeab:<val> e.g., aeab:2
          (0): OFF
          (1): MODE AUTO
          (2): MODE 50HZ
          (3): MODE 60HZ
  Get Auto Exposure Anti-Banding:
      gaeab
  Set Gain Range:
      gr:<val><space><val> e.g., gr:1 16
  Get Gain Range:
      ggr
  Set Exposure Time Range:
      etr:<val><space><val> e.g., etr:34000 35000
  Get Exposure Time Range:
      getr
  Set ISP Digital Gain Range:
      dgr:<val><space><val> e.g., dgr:2 152
  Get ISP Digital Gain Range:
      gdgr
  Capture: enter 'j' OR
           followed by a timer (e.g., jx5000, capture after 5 seconds) OR
           followed by multishot count (e.g., j:6, capture 6 images)
           timer/multihot values are optional, capture defaults to single shot with timer=0s
  Start Recording : enter '1'
  Stop Recording  : enter '0'
  Video snapshot  : enter '2' (While recording video)
  Get Preview Resolution:
      gpcr
  Get Image Capture Resolution:
      gicr
  Get Video Capture Resolution:
      gvcr


Runtime encoder configuration options:

  Set Encoding Bit-rate(in bytes):
      br:<val> e.g., br:4000000
  Get Encoding Bit-rate(in bytes):
      gbr
  Set Encoding Profile(only for H.264):
      ep:<val> e.g., ep:1
          (0): Baseline
          (1): Main
          (2): High
  Get Encoding Profile(only for H.264):
      gep
  Force IDR Frame on video Encoder(only for H.264):
      Enter 'f' 


bitrate = 4000000
Encoder Profile = High
Encoder control-rate = 1

Using winsys: x11 
Opening in BLOCKING MODE 
** Message: 22:57:47.232: <main:4734> iterating capture loop ....
NvMMLiteOpen : Block : BlockType = 4 
===== NvVideo: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 4 
   Output Stream W = 1280 H = 720 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR on bus: by /GstPipeline:capture_native_pipeline/GstBin:cap_bin/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
debug info:
Argus Error Status
GST_ARGUS: Cleaning up
** Message: 22:57:52.723: <main:4744> Capture completed
** Message: 22:57:52.755: <main:4795> Camera application will now exit

Test (3) v4l2:

pcai@ubuntu:~$ v4l2-ctl --stream-mmap bypass_mode=0
		VIDIOC_STREAMON returned -1 (Input/output error)
pcai@ubuntu:~$ v4l2-ctl --stream-mmap bypass_mode=0
		VIDIOC_STREAMON returned -1 (Input/output error)

dmesg:

[   93.797318] bwmgr API not supported
[   93.806628] regmap_util_write_table_8:regmap_util_write_table:-121
[   93.810268] imx219 9-0010: Error writing mode
[   93.822502] bwmgr API not supported
[   93.824667] bwmgr API not supported
[   93.845553] regmap_util_write_table_8:regmap_util_write_table:-121
[   93.849158] imx219 9-0010: Error writing mode
[   93.909219] bwmgr API not supported
[   93.926847] regmap_util_write_table_8:regmap_util_write_table:-121
[   93.930473] imx219 9-0010: Error writing mode
[   93.943114] bwmgr API not supported
[   93.960293] regmap_util_write_table_8:regmap_util_write_table:-121
[   93.963915] imx219 9-0010: Error writing mode
[   96.498215] bwmgr API not supported
[   96.621449] tegra-i2c 3180000.i2c: I2C transfer timed out
[   96.631043] regmap_util_write_table_8:regmap_util_write_table:-110
[   96.631049] imx219 9-0010: Error writing mode
[  117.625090] falcon 154c0000.nvenc: Direct firmware load for nvhost_nvenc080.fw failed with error -2
[  117.634546] falcon 154c0000.nvenc: Falling back to sysfs fallback for: nvhost_nvenc080.fw
[  117.644976] falcon 154c0000.nvenc: looking for firmware in subdirectory
[  118.022447] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.028988] imx219 9-0010: imx219_write_reg: i2c write failed, 0x160 = 3
[  118.036574] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.042904] imx219 9-0010: imx219_write_reg: i2c write failed, 0x160 = 6
[  118.052672] bwmgr API not supported
[  118.053225] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.063053] regmap_util_write_table_8:regmap_util_write_table:-5
[  118.063057] imx219 9-0010: Error writing mode
[  118.073932] bwmgr API not supported
[  118.074575] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.084414] imx219 9-0010: imx219_write_reg: i2c write failed, 0x160 = 3
[  118.093590] bwmgr API not supported
[  118.094130] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.103937] regmap_util_write_table_8:regmap_util_write_table:-5
[  118.103942] imx219 9-0010: Error writing mode
[  118.131421] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.137651] imx219 9-0010: imx219_write_reg: i2c write failed, 0x160 = 6
[  118.146707] bwmgr API not supported
[  118.147257] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.157081] regmap_util_write_table_8:regmap_util_write_table:-5
[  118.157086] imx219 9-0010: Error writing mode
[  118.170134] bwmgr API not supported
[  118.170759] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  118.180566] regmap_util_write_table_8:regmap_util_write_table:-5
[  118.180570] imx219 9-0010: Error writing mode
[  120.814030] bwmgr API not supported
[  120.814660] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  120.824548] regmap_util_write_table_8:regmap_util_write_table:-5
[  120.824555] imx219 9-0010: Error writing mode
[  120.836199] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  120.842460] imx219 9-0010: imx219_write_reg: i2c write failed, 0x160 = 3
[  120.851114] bwmgr API not supported
[  120.851695] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  120.861552] regmap_util_write_table_8:regmap_util_write_table:-5
[  120.861556] imx219 9-0010: Error writing mode
[  123.380621] bwmgr API not supported
[  311.636420] bwmgr API not supported
[  311.640649] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  311.650635] regmap_util_write_table_8:regmap_util_write_table:-5
[  311.650639] imx219 9-0010: Error writing mode
[  311.661479] ------------[ cut here ]------------
[  311.661492] WARNING: CPU: 0 PID: 3350 at drivers/media/common/videobuf2/videobuf2-core.c:1548 vb2_start_streaming+0xe4/0x160
[  311.673029] Modules linked in: nvidia_modeset(O) xt_conntrack fuse xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype iptable_filter br_netfilter lzo_rle lzo_compress zram overlay ramoops reed_solomon loop snd_soc_tegra186_asrc snd_soc_tegra210_ope snd_soc_tegra210_iqc snd_soc_tegra186_arad snd_soc_tegra186_dspk snd_soc_tegra210_mvc snd_soc_tegra210_afc snd_soc_tegra210_dmic snd_soc_tegra210_admaif snd_soc_tegra210_mixer snd_soc_tegra_pcm snd_soc_tegra210_adx snd_soc_tegra210_sfc snd_soc_tegra210_amx snd_soc_tegra210_i2s input_leds aes_ce_blk crypto_simd cryptd aes_ce_cipher ghash_ce sha2_ce sha256_arm64 sha1_ce snd_soc_spdif_tx snd_soc_tegra_machine_driver snd_soc_tegra210_adsp snd_soc_tegra_utils snd_soc_simple_card_utils snd_hda_codec_hdmi snd_hda_tegra userspace_alert tegra_bpmp_thermal fusb301 snd_soc_tegra210_ahub snd_hda_codec nvadsp tegra210_adma r8168 snd_hda_core nv_imx219 spi_tegra114 nvidia(O)
[  311.673113]  binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables [last unloaded: mtd]
[  311.673127] CPU: 0 PID: 3350 Comm: v4l2-ctl Tainted: G           O      5.10.120-tegra #1
[  311.673129] Hardware name: Unknown NVIDIA Orin NX Developer Kit/NVIDIA Orin NX Developer Kit, BIOS 4.1-33958178 08/01/2023
[  311.673132] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[  311.673135] pc : vb2_start_streaming+0xe4/0x160
[  311.673137] lr : vb2_start_streaming+0x74/0x160
[  311.673139] sp : ffff80002851bb10
[  311.673140] x29: ffff80002851bb10 x28: ffff70ff1b127900 
[  311.673144] x27: 0000000040045612 x26: 0000000000000000 
[  311.673147] x25: ffff80002851bd08 x24: ffff7100448201f8 
[  311.673150] x23: ffff70ff5b4ce740 x22: ffff80002851bd08 
[  311.673153] x21: ffff710044820858 x20: ffff710044820680 
[  311.673156] x19: 00000000fffffffb x18: 0000000000000010 
[  311.673159] x17: 0000000000000000 x16: ffffc041728d0990 
[  311.673161] x15: ffff70ff5b4cecb0 x14: 0000000000000000 
[  311.673164] x13: 0000000000000000 x12: 0000000000000000 
[  311.673167] x11: 0000000000000000 x10: 0000000000000ab0 
[  311.673170] x9 : ffff80002851b610 x8 : ffff70ff5b4cf250 
[  311.673173] x7 : ffff70ff00282400 x6 : 0000000000000171 
[  311.673176] x5 : 0000000000000002 x4 : 0000000000000002 
[  311.673178] x3 : 0000000000000000 x2 : ffffc04171b20d70 
[  311.673181] x1 : 0000000000000000 x0 : 0000000000000003 
[  311.673185] Call trace:
[  311.673188]  vb2_start_streaming+0xe4/0x160
[  311.673191]  vb2_core_streamon+0x9c/0x1a0
[  311.673192]  vb2_streamon+0x34/0x80
[  311.673194]  vb2_ioctl_streamon+0x58/0x70
[  311.673197]  v4l_streamon+0x40/0x50
[  311.673199]  __video_do_ioctl+0x188/0x400
[  311.673202]  video_usercopy+0x280/0x790
[  311.673205]  video_ioctl2+0x40/0x180
[  311.673206]  v4l2_ioctl+0x68/0x90
[  311.673211]  __arm64_sys_ioctl+0xac/0xf0
[  311.673216]  el0_svc_common.constprop.0+0x80/0x1d0
[  311.673218]  do_el0_svc+0x38/0xb0
[  311.673223]  el0_svc+0x1c/0x30
[  311.673226]  el0_sync_handler+0xa8/0xb0
[  311.673228]  el0_sync+0x16c/0x180
[  311.673230] ---[ end trace 1f2eff9d8ab58d02 ]---
[  313.455574] bwmgr API not supported
[  313.456155] tegra-i2c 3180000.i2c: un-recovered arbitration lost
[  313.465984] regmap_util_write_table_8:regmap_util_write_table:-5
[  313.465989] imx219 9-0010: Error writing mode
[  313.476770] ------------[ cut here ]------------
[  313.476782] WARNING: CPU: 1 PID: 3351 at drivers/media/common/videobuf2/videobuf2-core.c:1548 vb2_start_streaming+0xe4/0x160
[  313.488317] Modules linked in: nvidia_modeset(O) xt_conntrack fuse xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype iptable_filter br_netfilter lzo_rle lzo_compress zram overlay ramoops reed_solomon loop snd_soc_tegra186_asrc snd_soc_tegra210_ope snd_soc_tegra210_iqc snd_soc_tegra186_arad snd_soc_tegra186_dspk snd_soc_tegra210_mvc snd_soc_tegra210_afc snd_soc_tegra210_dmic snd_soc_tegra210_admaif snd_soc_tegra210_mixer snd_soc_tegra_pcm snd_soc_tegra210_adx snd_soc_tegra210_sfc snd_soc_tegra210_amx snd_soc_tegra210_i2s input_leds aes_ce_blk crypto_simd cryptd aes_ce_cipher ghash_ce sha2_ce sha256_arm64 sha1_ce snd_soc_spdif_tx snd_soc_tegra_machine_driver snd_soc_tegra210_adsp snd_soc_tegra_utils snd_soc_simple_card_utils snd_hda_codec_hdmi snd_hda_tegra userspace_alert tegra_bpmp_thermal fusb301 snd_soc_tegra210_ahub snd_hda_codec nvadsp tegra210_adma r8168 snd_hda_core nv_imx219 spi_tegra114 nvidia(O)
[  313.488405]  binfmt_misc ina3221 pwm_fan nvgpu nvmap ip_tables x_tables [last unloaded: mtd]
[  313.488420] CPU: 1 PID: 3351 Comm: v4l2-ctl Tainted: G        W  O      5.10.120-tegra #1
[  313.488422] Hardware name: Unknown NVIDIA Orin NX Developer Kit/NVIDIA Orin NX Developer Kit, BIOS 4.1-33958178 08/01/2023
[  313.488425] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[  313.488429] pc : vb2_start_streaming+0xe4/0x160
[  313.488432] lr : vb2_start_streaming+0x74/0x160
[  313.488433] sp : ffff80002bf4bb10
[  313.488434] x29: ffff80002bf4bb10 x28: ffff70ff907d5100 
[  313.488438] x27: 0000000040045612 x26: 0000000000000000 
[  313.488441] x25: ffff80002bf4bd08 x24: ffff7100448201f8 
[  313.488444] x23: ffff70ff00fa9d80 x22: ffff80002bf4bd08 
[  313.488447] x21: ffff710044820858 x20: ffff710044820680 
[  313.488450] x19: 00000000fffffffb x18: 0000000000000010 
[  313.488452] x17: 0000000000000000 x16: ffffc04171985220 
[  313.488455] x15: ffff70ff00faa2f0 x14: ffffffffffffffff 
[  313.488458] x13: ffff8000abf4b5b7 x12: ffff80002bf4b5bf 
[  313.488461] x11: 0000000000000005 x10: 0101010101010101 
[  313.488464] x9 : 00000000fffffffe x8 : 45203a303130302d 
[  313.488467] x7 : 3920393132786d69 x6 : c0000000ffffefff 
[  313.488469] x5 : 0000000000000002 x4 : 0000000000000002 
[  313.488472] x3 : 0000000000000000 x2 : ffffc04171b20d70 
[  313.488475] x1 : 0000000000000000 x0 : 0000000000000003 
[  313.488478] Call trace:
[  313.488481]  vb2_start_streaming+0xe4/0x160
[  313.488485]  vb2_core_streamon+0x9c/0x1a0
[  313.488486]  vb2_streamon+0x34/0x80
[  313.488488]  vb2_ioctl_streamon+0x58/0x70
[  313.488491]  v4l_streamon+0x40/0x50
[  313.488493]  __video_do_ioctl+0x188/0x400
[  313.488496]  video_usercopy+0x280/0x790
[  313.488498]  video_ioctl2+0x40/0x180
[  313.488500]  v4l2_ioctl+0x68/0x90
[  313.488505]  __arm64_sys_ioctl+0xac/0xf0
[  313.488509]  el0_svc_common.constprop.0+0x80/0x1d0
[  313.488512]  do_el0_svc+0x38/0xb0
[  313.488516]  el0_svc+0x1c/0x30
[  313.488519]  el0_sync_handler+0xa8/0xb0
[  313.488521]  el0_sync+0x16c/0x180
[  313.488523] ---[ end trace 1f2eff9d8ab58d03 ]---

For imx219/imx477 you need to enable it by jetson-io first.

Yes, I had configured it

image

image

image

image

By the way, of the two CSI ports, only the i2c-9 port connected to imx219 can generate a video node.

Does it Orin devkit or customized carrier camera board?
Do you verify on devkit?