R3920 遇到zed相机点不亮

hi:

你好,之前咨询zed相机点不亮,现在原厂提供了nito文件,能扫出来sensor的配置,但是不出流,帮忙看看是什么原因?

agi@tegra-ubuntu:~$ === nvargus_nvraw[78033]: Connection established (FFFF92E988C0)
*******************************************************************
Running Power Service HW ISP 
*******************************************************************
*******************************************************************
Running Power Service HW ISP 
*******************************************************************
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
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
NvCameraIspGetNitoFilename: nito file /var/nvidia/nvcam/settings/zedx_ar0234.nito found. Badge "zedx_ar0234" SensorModel "" Modulename "zedx_ar0234"
NvCameraIspInitialize: Using NITO /var/nvidia/nvcam/settings/zedx_ar0234.nito
LSC: LSC surface is not based on full res!
NvCameraIspLoadAllNito: NvCameraIspLoadAllConfigFiles and LoadNvCameraKnobFromFile success
BuildSensorModeInfoList: Sensor mode list from Static properties. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: NITO Knobset list. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: Sensor mode index 0, knobSetId found 0, knobSetLutIndex 0
BuildSensorModeInfoList: Sensor mode index 1, knobSetId found 1, knobSetLutIndex 1
BuildSensorModeInfoList: Sensor mode index 2, knobSetId found 2, knobSetLutIndex 2
loadIspConfigFromControlKnob: Nito mode. Using cfgData.Common.lensShading

---- Finished loading config data from NITO knobset /var/nvidia/nvcam/settings/zedx_ar0234.nito using knobSetID 0
        sensorModeIndex 0 knobSetLutIndex 0 lastKnobSetId -1
[NvCameraIspDriver::initialize] Using CamPG
(Argus) Error 0x00000004: Model Name is NULL (in src/api/CameraDeviceImpl.cpp, function initialize(), line 151)
(Argus) Warning: Unidentified sensor placement (in src/common/ScfTranslate.cpp, function fromScfSensorPlacement(), line 687)
---- imager: No override file found. ----
NvCameraIspGetNitoFilename: nito file /var/nvidia/nvcam/settings/zedx_ar0234.nito found. Badge "zedx_ar0234" SensorModel "" Modulename "zedx_ar0234"
NvCameraIspInitialize: Using NITO /var/nvidia/nvcam/settings/zedx_ar0234.nito
LSC: LSC surface is not based on full res!
NvCameraIspLoadAllNito: NvCameraIspLoadAllConfigFiles and LoadNvCameraKnobFromFile success
BuildSensorModeInfoList: Sensor mode list from Static properties. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: NITO Knobset list. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: Sensor mode index 0, knobSetId found 0, knobSetLutIndex 0
BuildSensorModeInfoList: Sensor mode index 1, knobSetId found 1, knobSetLutIndex 1
BuildSensorModeInfoList: Sensor mode index 2, knobSetId found 2, knobSetLutIndex 2
loadIspConfigFromControlKnob: Nito mode. Using cfgData.Common.lensShading

---- Finished loading config data from NITO knobset /var/nvidia/nvcam/settings/zedx_ar0234.nito using knobSetID 0
        sensorModeIndex 0 knobSetLutIndex 0 lastKnobSetId -1
[NvCameraIspDriver::initialize] Using CamPG
(Argus) Error 0x00000004: Model Name is NULL (in src/api/CameraDeviceImpl.cpp, function initialize(), line 151)
(Argus) Warning: Unidentified sensor placement (in src/common/ScfTranslate.cpp, function fromScfSensorPlacement(), line 687)
=== nvargus_nvraw[78033]: CameraProvider initialized (0xffff8e2ad4a0)
=== nvargus_nvraw[78033]: CameraProvider destroyed (0xffff8e2ad4a0)
CaptureService:stop: is requested --------------------------
=== nvargus_nvraw[78033]: Connection closed (FFFF92E988C0)
=== nvargus_nvraw[78033]: Connection cleaned up (FFFF92E988C0)

root@tegra-ubuntu:/home/agi# cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 161/161   #P:14
#
#                                _-----=> irqs-off/BH-disabled
#                               / _----=> need-resched
#                              | / _---=> hardirq/softirq
#                              || / _--=> preempt-depth
#                              ||| / _-=> migrate-disable
#                              |||| /     delay
#           TASK-PID     CPU#  |||||  TIMESTAMP  FUNCTION
#              | |         |   |||||     |         |
     kworker/3:2-431     [003] .....  2391.299907: rtcpu_string: tstamp:2412639956859 id:0x04010000 str:"VM0 deactivating"
        v4l2-ctl-149381  [003] .....  2400.084961: tegra_channel_open: vi-output, zedx 9-0028
        v4l2-ctl-149381  [003] .....  2400.087274: tegra_channel_set_power: zedx 9-0028 : 0x1
        v4l2-ctl-149381  [003] .....  2400.087279: camera_common_s_power: status : 0x1
        v4l2-ctl-149381  [003] .....  2400.088222: tegra_channel_set_power: 8181200000.host1x:nvcsi@8188000000--14 : 0x1
        v4l2-ctl-149381  [003] .....  2400.088224: csi_s_power: enable : 0x1
        v4l2-ctl-149381  [003] .....  2400.088576: tegra_channel_capture_setup: vnc_id 0 W 1920 H 1200 fmt c4
     kworker/3:2-431     [003] .....  2400.091919: rtcpu_string: tstamp:2421436683305 id:0x04010000 str:"VM0 activating"
 vi-output, zedx-149382  [009] .....  2400.094910: vi_task_submit: class_id:48 ch:0 syncpt_id:106 syncpt_thresh:14 pid:149382 tid:149382
 vi-output, zedx-149382  [009] .....  2400.094919: vi_task_submit: class_id:48 ch:0 syncpt_id:106 syncpt_thresh:17 pid:149382 tid:149382
 vi-output, zedx-149382  [009] .....  2400.094920: vi_task_submit: class_id:48 ch:0 syncpt_id:106 syncpt_thresh:20 pid:149382 tid:149382
 vi-output, zedx-149382  [009] .....  2400.094920: vi_task_submit: class_id:48 ch:0 syncpt_id:106 syncpt_thresh:23 pid:149382 tid:149382
        v4l2-ctl-149381  [003] .....  2400.094931: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-149381  [003] .....  2400.095028: tegra_channel_set_stream: 8181200000.host1x:nvcsi@8188000000--14 : 0x1
        v4l2-ctl-149381  [003] .....  2400.095030: csi_s_stream: enable : 0x1
        v4l2-ctl-149381  [003] .....  2400.098618: tegra_channel_set_stream: zedx 9-0028 : 0x1
     kworker/3:2-431     [003] .....  2400.147905: rtcpu_unknown: tstamp:2421438562213 id:0x000a0002 len:4 data:00 00 00 00
     kworker/3:2-431     [003] .....  2400.147905: rtcpu_unknown: tstamp:2421438585454 id:0x000a0004 len:8 data:00 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147906: rtcpu_unknown: tstamp:2421438594889 id:0x000a0003 len:36 data:00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 12 00 00 00 12 00 00 00 0f 00 00 00 1a 00 00 00 18 00 00 00
     kworker/3:2-431     [003] .....  2400.147906: rtcpu_unknown: tstamp:2421438602398 id:0x000a0003 len:36 data:00 00 00 00 01 00 00 00 00 00 00 00 14 00 00 00 16 00 00 00 12 00 00 00 0d 00 00 00 18 00 00 00 10 00 00 00
     kworker/3:2-431     [003] .....  2400.147906: rtcpu_unknown: tstamp:2421438625963 id:0x000a0004 len:8 data:00 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147907: rtcpu_unknown: tstamp:2421438635213 id:0x000a0003 len:36 data:00 00 00 00 00 00 00 00 01 00 00 00 16 00 00 00 15 00 00 00 13 00 00 00 0f 00 00 00 1a 00 00 00 17 00 00 00
     kworker/3:2-431     [003] .....  2400.147907: rtcpu_unknown: tstamp:2421438642676 id:0x000a0003 len:36 data:00 00 00 00 01 00 00 00 01 00 00 00 13 00 00 00 18 00 00 00 12 00 00 00 0f 00 00 00 16 00 00 00 13 00 00 00
     kworker/3:2-431     [003] .....  2400.147907: rtcpu_unknown: tstamp:2421438666130 id:0x000a0004 len:8 data:00 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147908: rtcpu_unknown: tstamp:2421438675370 id:0x000a0003 len:36 data:00 00 00 00 00 00 00 00 02 00 00 00 16 00 00 00 18 00 00 00 15 00 00 00 10 00 00 00 19 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147908: rtcpu_unknown: tstamp:2421438682713 id:0x000a0003 len:36 data:00 00 00 00 01 00 00 00 02 00 00 00 17 00 00 00 1a 00 00 00 0d 00 00 00 0f 00 00 00 14 00 00 00 12 00 00 00
     kworker/3:2-431     [003] .....  2400.147908: rtcpu_unknown: tstamp:2421438703370 id:0x000a0002 len:4 data:01 00 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438726241 id:0x000a0004 len:8 data:01 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438735611 id:0x000a0003 len:36 data:01 00 00 00 00 00 00 00 00 00 00 00 13 00 00 00 11 00 00 00 15 00 00 00 13 00 00 00 16 00 00 00 1c 00 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438743046 id:0x000a0003 len:36 data:01 00 00 00 01 00 00 00 00 00 00 00 1b 00 00 00 12 00 00 00 10 00 00 00 1a 00 00 00 0c 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438766704 id:0x000a0004 len:8 data:01 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438775981 id:0x000a0003 len:36 data:01 00 00 00 00 00 00 00 01 00 00 00 15 00 00 00 17 00 00 00 12 00 00 00 10 00 00 00 11 00 00 00 17 00 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438783380 id:0x000a0003 len:36 data:01 00 00 00 01 00 00 00 01 00 00 00 1a 00 00 00 10 00 00 00 10 00 00 00 17 00 00 00 13 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147909: rtcpu_unknown: tstamp:2421438807000 id:0x000a0004 len:8 data:01 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147910: rtcpu_unknown: tstamp:2421438816278 id:0x000a0003 len:36 data:01 00 00 00 00 00 00 00 02 00 00 00 14 00 00 00 15 00 00 00 14 00 00 00 0f 00 00 00 0e 00 00 00 18 00 00 00
     kworker/3:2-431     [003] .....  2400.147910: rtcpu_unknown: tstamp:2421438823685 id:0x000a0003 len:36 data:01 00 00 00 01 00 00 00 02 00 00 00 1a 00 00 00 0f 00 00 00 10 00 00 00 16 00 00 00 18 00 00 00 16 00 00 00
     kworker/3:2-431     [003] .....  2400.147910: rtcpu_unknown: tstamp:2421438844352 id:0x000a0002 len:4 data:02 00 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438867518 id:0x000a0004 len:8 data:02 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438877065 id:0x000a0003 len:36 data:02 00 00 00 00 00 00 00 00 00 00 00 17 00 00 00 15 00 00 00 14 00 00 00 14 00 00 00 1e 00 00 00 10 00 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438884518 id:0x000a0003 len:36 data:02 00 00 00 01 00 00 00 00 00 00 00 18 00 00 00 12 00 00 00 0e 00 00 00 13 00 00 00 15 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438908009 id:0x000a0004 len:8 data:02 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438917259 id:0x000a0003 len:36 data:02 00 00 00 00 00 00 00 01 00 00 00 17 00 00 00 13 00 00 00 12 00 00 00 12 00 00 00 1b 00 00 00 10 00 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438924611 id:0x000a0003 len:36 data:02 00 00 00 01 00 00 00 01 00 00 00 13 00 00 00 12 00 00 00 0f 00 00 00 0f 00 00 00 16 00 00 00 17 00 00 00
     kworker/3:2-431     [003] .....  2400.147911: rtcpu_unknown: tstamp:2421438948296 id:0x000a0004 len:8 data:02 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421438957537 id:0x000a0003 len:36 data:02 00 00 00 00 00 00 00 02 00 00 00 14 00 00 00 12 00 00 00 0f 00 00 00 15 00 00 00 16 00 00 00 15 00 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421438965000 id:0x000a0003 len:36 data:02 00 00 00 01 00 00 00 02 00 00 00 14 00 00 00 14 00 00 00 0d 00 00 00 10 00 00 00 17 00 00 00 16 00 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421438985926 id:0x000a0002 len:4 data:03 00 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421439009018 id:0x000a0004 len:8 data:03 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421439018231 id:0x000a0003 len:36 data:03 00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 16 00 00 00 14 00 00 00 17 00 00 00 0c 00 00 00 13 00 00 00
     kworker/3:2-431     [003] .....  2400.147912: rtcpu_unknown: tstamp:2421439025583 id:0x000a0003 len:36 data:03 00 00 00 01 00 00 00 00 00 00 00 0e 00 00 00 15 00 00 00 0f 00 00 00 13 00 00 00 18 00 00 00 0e 00 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439049278 id:0x000a0004 len:8 data:03 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439058491 id:0x000a0003 len:36 data:03 00 00 00 00 00 00 00 01 00 00 00 13 00 00 00 14 00 00 00 15 00 00 00 13 00 00 00 0e 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439065787 id:0x000a0003 len:36 data:03 00 00 00 01 00 00 00 01 00 00 00 10 00 00 00 0e 00 00 00 13 00 00 00 10 00 00 00 19 00 00 00 0f 00 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439089426 id:0x000a0004 len:8 data:03 00 00 00 ff 0f 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439098963 id:0x000a0003 len:36 data:03 00 00 00 00 00 00 00 02 00 00 00 15 00 00 00 18 00 00 00 14 00 00 00 10 00 00 00 13 00 00 00 14 00 00 00
     kworker/3:2-431     [003] .....  2400.147913: rtcpu_unknown: tstamp:2421439106296 id:0x000a0003 len:36 data:03 00 00 00 01 00 00 00 02 00 00 00 13 00 00 00 11 00 00 00 15 00 00 00 0e 00 00 00 16 00 00 00 10 00 00 00
     kworker/3:2-431     [003] .....  2400.147914: rtcpu_unknown: tstamp:2421440292028 id:0x000d0000 len:36 data:80 00 00 00 04 00 00 00 43 10 00 00 01 00 00 00 6a 00 00 00 0e 00 00 00 02 00 00 00 02 00 00 00 02 00 00 00
     kworker/3:2-431     [003] .....  2400.147914: rtcpu_unknown: tstamp:2421441387981 id:0x000d0001 len:16 data:80 00 00 00 00 00 00 00 00 00 00 00 23 00 00 00
     kworker/3:2-431     [003] .....  2400.147914: rtcpu_string: tstamp:2421441555481 id:0x04010000 str:"VI ch[35] frame configuration: 1920x1200 
"
     kworker/3:2-431     [003] .....  2400.147916: rtcpu_string: tstamp:2421441571065 id:0x04010000 str:"    left skip pixels=0 top skip lines=0
"
     kworker/3:2-431     [003] .....  2400.147918: rtcpu_string: tstamp:2421441587009 id:0x04010000 str:"    right crop pixels=1920 bottom crop lines=12"
     kworker/3:2-431     [003] .....  2400.147918: rtcpu_string: tstamp:2421441610593 id:0x04010000 str:"00
"
     kworker/3:2-431     [003] .....  2400.147919: rtcpu_string: tstamp:2421441626250 id:0x04010000 str:"    pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196"
     kworker/3:2-431     [003] .....  2400.147919: rtcpu_string: tstamp:2421441641065 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147920: rtcpu_unknown: tstamp:2421441705759 id:0x000f0004 len:40 data:00 00 00 00 02 00 00 00 02 00 00 00 07 00 00 00 01 00 00 00 ee fa 09 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     kworker/3:2-431     [003] .....  2400.147920: rtcpu_string: tstamp:2421441723389 id:0x04010000 str:"===== NVCSI Stream Configuration =====
"
     kworker/3:2-431     [003] .....  2400.147921: rtcpu_string: tstamp:2421441738472 id:0x04010000 str:"stream_id: PP 2, csi_port: PORT C
"
     kworker/3:2-431     [003] .....  2400.147922: rtcpu_string: tstamp:2421441752278 id:0x04010000 str:"Brick: PHY 1, Mode: C-PHY
"
     kworker/3:2-431     [003] .....  2400.147924: rtcpu_string: tstamp:2421441768620 id:0x04010000 str:"Partition: CIL A, LP bypass: Disabled, Lanes: 2"
     kworker/3:2-431     [003] .....  2400.147924: rtcpu_string: tstamp:2421441784306 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147925: rtcpu_string: tstamp:2421441795296 id:0x04010000 str:"Clock information:
"
     kworker/3:2-431     [003] .....  2400.147926: rtcpu_string: tstamp:2421441807417 id:0x04010000 str:"CIL rate: 270000000 Hz
"
     kworker/3:2-431     [003] .....  2400.147928: rtcpu_string: tstamp:2421441820722 id:0x04010000 str:"MIPI symbol rate: 654062 kHz
"
     kworker/3:2-431     [003] .....  2400.147929: rtcpu_string: tstamp:2421441833278 id:0x04010000 str:"Physical rate: 1494998 Kbps
"
     kworker/3:2-431     [003] .....  2400.147930: rtcpu_string: tstamp:2421441843250 id:0x04010000 str:"T_HS settle: "
     kworker/3:2-431     [003] .....  2400.147930: rtcpu_string: tstamp:2421441854111 id:0x04010000 str:"autoconfigured"
     kworker/3:2-431     [003] .....  2400.147930: rtcpu_string: tstamp:2421441864120 id:0x04010000 str:", T_CLK settle: "
     kworker/3:2-431     [003] .....  2400.147931: rtcpu_string: tstamp:2421441874157 id:0x04010000 str:"autoconfigured"
     kworker/3:2-431     [003] .....  2400.147931: rtcpu_string: tstamp:2421441887981 id:0x04010000 str:"
======================================
"
     kworker/3:2-431     [003] .....  2400.147932: rtcpu_unknown: tstamp:2421441897731 id:0x000f0005 len:8 data:00 00 00 00 00 00 00 00
     kworker/3:2-431     [003] .....  2400.147932: rtcpu_unknown: tstamp:2421441969509 id:0x000f0000 len:12 data:00 00 00 00 02 00 00 00 02 00 00 00
     kworker/3:2-431     [003] .....  2400.147933: rtcpu_string: tstamp:2421442007130 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c m"
     kworker/3:2-431     [003] .....  2400.147933: rtcpu_string: tstamp:2421442031843 id:0x04010000 str:"ask=0x06000000 value=0x04000000 (was 0x04020100"
     kworker/3:2-431     [003] .....  2400.147933: rtcpu_string: tstamp:2421442038722 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147934: rtcpu_string: tstamp:2421442081481 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c m"
     kworker/3:2-431     [003] .....  2400.147934: rtcpu_string: tstamp:2421442105981 id:0x04010000 str:"ask=0x06070000 value=0x00020000 (was 0x04020100"
     kworker/3:2-431     [003] .....  2400.147935: rtcpu_string: tstamp:2421442112926 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147936: rtcpu_string: tstamp:2421442141593 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 m"
     kworker/3:2-431     [003] .....  2400.147936: rtcpu_string: tstamp:2421442165833 id:0x04010000 str:"ask=0xc7ff07ff value=0x40000000 (was 0x40000000"
     kworker/3:2-431     [003] .....  2400.147936: rtcpu_string: tstamp:2421442172759 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147937: rtcpu_string: tstamp:2421442201046 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 m"
     kworker/3:2-431     [003] .....  2400.147937: rtcpu_string: tstamp:2421442225639 id:0x04010000 str:"ask=0x01ff01ff value=0x00150015 (was 0x00080008"
     kworker/3:2-431     [003] .....  2400.147937: rtcpu_string: tstamp:2421442232528 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147938: rtcpu_unknown: tstamp:2421442279120 id:0x000a000a len:16 data:02 00 00 00 01 00 00 00 00 00 00 00 02 00 00 00
     kworker/3:2-431     [003] .....  2400.147938: rtcpu_unknown: tstamp:2421442293861 id:0x000a000f len:20 data:02 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00
     kworker/3:2-431     [003] .....  2400.147939: rtcpu_unknown: tstamp:2421444136046 id:0x000a0010 len:12 data:02 00 00 00 01 00 00 00 00 00 00 00
     kworker/3:2-431     [003] .....  2400.147939: rtcpu_unknown: tstamp:2421444149954 id:0x000a000c len:4 data:02 00 00 00
     kworker/3:2-431     [003] .....  2400.147939: rtcpu_string: tstamp:2421444179944 id:0x04010000 str:"Partition: CIL A, LP bypass: Disabled
"
     kworker/3:2-431     [003] .....  2400.147940: rtcpu_unknown: tstamp:2421444198380 id:0x000a0009 len:24 data:02 00 00 00 01 00 00 00 00 00 00 00 02 00 00 00 06 00 00 00 15 00 00 00
     kworker/3:2-431     [003] .....  2400.147940: rtcpu_string: tstamp:2421444228454 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c m"
     kworker/3:2-431     [003] .....  2400.147940: rtcpu_string: tstamp:2421444252843 id:0x04010000 str:"ask=0x06070000 value=0x00020000 (was 0x00020000"
     kworker/3:2-431     [003] .....  2400.147940: rtcpu_string: tstamp:2421444259750 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147941: rtcpu_string: tstamp:2421444287472 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 m"
     kworker/3:2-431     [003] .....  2400.147942: rtcpu_string: tstamp:2421444311648 id:0x04010000 str:"ask=0xc7ff07ff value=0x40000000 (was 0x40000000"
     kworker/3:2-431     [003] .....  2400.147942: rtcpu_string: tstamp:2421444318528 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147943: rtcpu_string: tstamp:2421444346083 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 m"
     kworker/3:2-431     [003] .....  2400.147943: rtcpu_string: tstamp:2421444370296 id:0x04010000 str:"ask=0x01ff01ff value=0x00150015 (was 0x00150015"
     kworker/3:2-431     [003] .....  2400.147943: rtcpu_string: tstamp:2421444377102 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147944: rtcpu_string: tstamp:2421444414972 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 m"
     kworker/3:2-431     [003] .....  2400.147944: rtcpu_string: tstamp:2421444439111 id:0x04010000 str:"ask=0x0000f0fc value=0x00002040 (was 0x00000055"
     kworker/3:2-431     [003] .....  2400.147945: rtcpu_string: tstamp:2421444445917 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147946: rtcpu_string: tstamp:2421444473204 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c94 m"
     kworker/3:2-431     [003] .....  2400.147946: rtcpu_string: tstamp:2421444497222 id:0x04010000 str:"ask=0x000000ff value=0x00000011 (was 0x00600000"
     kworker/3:2-431     [003] .....  2400.147946: rtcpu_string: tstamp:2421444504074 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147947: rtcpu_string: tstamp:2421444546926 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c m"
     kworker/3:2-431     [003] .....  2400.147948: rtcpu_string: tstamp:2421444571148 id:0x04010000 str:"ask=0x07fff1ff value=0x00020000 (was 0x00020000"
     kworker/3:2-431     [003] .....  2400.147948: rtcpu_string: tstamp:2421444578018 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147949: rtcpu_string: tstamp:2421444606963 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c58 m"
     kworker/3:2-431     [003] .....  2400.147949: rtcpu_string: tstamp:2421444630731 id:0x04010000 str:"ask=0x000f07ff value=0x000f0002 (was 0x000f0002"
     kworker/3:2-431     [003] .....  2400.147949: rtcpu_string: tstamp:2421444637611 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147951: rtcpu_string: tstamp:2421444666185 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c8c m"
     kworker/3:2-431     [003] .....  2400.147951: rtcpu_string: tstamp:2421444690269 id:0x04010000 str:"ask=0x00ffffff value=0x00000333 (was 0x00000777"
     kworker/3:2-431     [003] .....  2400.147951: rtcpu_string: tstamp:2421444697157 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147952: rtcpu_string: tstamp:2421444724407 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 m"
     kworker/3:2-431     [003] .....  2400.147952: rtcpu_string: tstamp:2421444748241 id:0x04010000 str:"ask=0x0000f0ff value=0x00000040 (was 0x00002041"
     kworker/3:2-431     [003] .....  2400.147953: rtcpu_string: tstamp:2421444755148 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147954: rtcpu_string: tstamp:2421444783861 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 m"
     kworker/3:2-431     [003] .....  2400.147955: rtcpu_string: tstamp:2421444808093 id:0x04010000 str:"ask=0xc7ff07ff value=0x40000000 (was 0x40000000"
     kworker/3:2-431     [003] .....  2400.147955: rtcpu_string: tstamp:2421444814926 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147956: rtcpu_string: tstamp:2421444842454 id:0x04010000 str:"NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 m"
     kworker/3:2-431     [003] .....  2400.147956: rtcpu_string: tstamp:2421444866676 id:0x04010000 str:"ask=0x01ff01ff value=0x00150015 (was 0x00150015"
     kworker/3:2-431     [003] .....  2400.147957: rtcpu_string: tstamp:2421444873500 id:0x04010000 str:"
"
     kworker/3:2-431     [003] .....  2400.147958: rtcpu_string: tstamp:2421444913639 id:0x04010000 str:"CSI port CD IDAC calibration result with freqba"
     kworker/3:2-431     [003] .....  2400.147958: rtcpu_string: tstamp:2421444929667 id:0x04010000 str:"nd=0:
"
     kworker/3:2-431     [003] .....  2400.147959: rtcpu_string: tstamp:2421444946111 id:0x04010000 str:"  Trio A0 rxab=19 rxbc=17 rxca=21
"
     kworker/3:2-431     [003] .....  2400.147960: rtcpu_string: tstamp:2421444960769 id:0x04010000 str:"  Trio A1 rxab=19 rxbc=22 rxca=28
"
     kworker/3:2-431     [003] .....  2400.147961: rtcpu_string: tstamp:2421444977528 id:0x04010000 str:"CSI port CD IDAC calibration result with freqba"
     kworker/3:2-431     [003] .....  2400.147961: rtcpu_string: tstamp:2421444993500 id:0x04010000 str:"nd=1:
"
     kworker/3:2-431     [003] .....  2400.147962: rtcpu_string: tstamp:2421445008157 id:0x04010000 str:"  Trio B0 rxab=26 rxbc=16 rxca=16
"
     kworker/3:2-431     [003] .....  2400.147963: rtcpu_string: tstamp:2421445022880 id:0x04010000 str:"  Trio B1 rxab=23 rxbc=19 rxca=20
"
     kworker/3:2-431     [003] .....  2400.147964: rtcpu_unknown: tstamp:2421445031037 id:0x000a0007 len:8 data:02 00 00 00 01 00 00 00
     kworker/3:2-431     [003] .....  2400.147964: rtcpu_unknown: tstamp:2421445056768 id:0x000a0006 len:28 data:01 00 00 00 03 00 00 00 03 00 00 00 03 00 00 00 07 00 00 00 07 00 00 00 07 00 00 00
     kworker/3:2-431     [003] .....  2400.147964: rtcpu_string: tstamp:2421445068389 id:0x04010000 str:"CSI port CD
"
     kworker/3:2-431     [003] .....  2400.147965: rtcpu_string: tstamp:2421445080593 id:0x04010000 str:"  AFE_HFGAIN_IO0_A=3
"
     kworker/3:2-431     [003] .....  2400.147966: rtcpu_string: tstamp:2421445093028 id:0x04010000 str:"  AFE_HFGAIN_IO1_A=3
"
     kworker/3:2-431     [003] .....  2400.147967: rtcpu_string: tstamp:2421445104657 id:0x04010000 str:"  AFE_HFGAIN_CLK_A=3
"
     kworker/3:2-431     [003] .....  2400.147968: rtcpu_string: tstamp:2421445116972 id:0x04010000 str:"  AFE_HFGAIN_IO0_B=7
"
     kworker/3:2-431     [003] .....  2400.147969: rtcpu_string: tstamp:2421445130204 id:0x04010000 str:"  AFE_HFGAIN_IO1_B=7
"
     kworker/3:2-431     [003] .....  2400.147970: rtcpu_string: tstamp:2421445142482 id:0x04010000 str:"  AFE_HFGAIN_CLK_B=7
"
     kworker/3:2-431     [003] .....  2400.147971: rtcpu_unknown: tstamp:2421445151250 id:0x000f0001 len:8 data:00 00 00 00 00 00 00 00
     kworker/3:2-431     [003] .....  2400.315904: rtcpu_string: tstamp:2421644149057 id:0x04010000 str:"NVCSI Edge delay calibration timeout: stream_id"
     kworker/3:2-431     [003] .....  2400.315905: rtcpu_string: tstamp:2421644167178 id:0x04010000 str:"=2 pending_mask=0x3
"
     kworker/3:2-431     [003] .....  2400.315906: rtcpu_unknown: tstamp:2421644182900 id:0x000a0008 len:32 data:02 00 00 00 01 00 00 00 00 00 00 00 3f 3f 00 00 00 00 00 00 00 00 00 00 02 02 00 00 00 00 00 00
     kworker/3:2-431     [003] .....  2400.315907: rtcpu_string: tstamp:2421644200307 id:0x04010000 str:"NVCSI Edge delay calibration completed: stream="
     kworker/3:2-431     [003] .....  2400.315907: rtcpu_string: tstamp:2421644216557 id:0x04010000 str:"2 phy=1
"
     kworker/3:2-431     [003] .....  2400.315908: rtcpu_string: tstamp:2421644232326 id:0x04010000 str:"  CIL A: status=0x0 value=0x3f3f result=0x0
"
     kworker/3:2-431     [003] .....  2400.315909: rtcpu_string: tstamp:2421644247752 id:0x04010000 str:"  CIL B: status=0x0 value=0x202 result=0x0
"
     kworker/3:2-431     [003] .....  2400.315910: rtcpu_unknown: tstamp:2421644265650 id:0x000a000b len:4 data:02 00 00 00
     kworker/3:2-431     [003] .....  2400.651904: rtcpu_nvcsi_intr: tstamp:2421985976664 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x00000044
     kworker/3:2-431     [003] .....  2400.651905: rtcpu_nvcsi_intr: tstamp:2421985976664 class:CORRECTABLE_ERR type:PHY_INTR phy:1 cil:0 st:0 vc:0 status:0x00000044
     kworker/3:2-431     [003] .....  2400.651906: rtcpu_nvcsi_intr: tstamp:2421994346609 class:GLOBAL type:STREAM_NOVC phy:0 cil:0 st:2 vc:0 status:0x00000002

hello mingming,

may I know what’s your commands to fetch camera stream, were you running with Argus or SIPL pipeline?

there’s PHY interrupts according to the logs..
the error code 0x44 indicate there’re more than one bit error has detected on data-lane. so, it seems like sensor issue still.

hi:

我用的这个命令

v4l2-ctl -d /dev/video24 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=200

我同步个现象,我用的驱动和设备树在3840上可以抓流,在3920上不行,不知道啥原因

内核的报错log

[  165.803299] [TS:187146061362] sl_max96712: module verification failed: signature and/or required key missing - tainting kernel
[  165.804007] [TS:187146768964] sl_max96712 9-006b: Driver Version : v1.4.3
[  165.804041] [TS:187146803455] sl_max96712 9-006b: sl_max96712_parse_dt: Camera not declared for all GMSL link
[  165.804043] [TS:187146804732] sl_max96712 9-006b: sl_max96712_parse_dt: Camera not declared for all GMSL link. If you don't want a camera at a certain port, set a dummy instead
[  165.916846] [TS:187259608373] sl_max96712 9-006b: slow_reset_Dser: Setup Deser as 2 lanes output
[  167.357808] [TS:188700569711] sl_max96712 9-006b: sl_max96712_gmsl_pipeline_setup: Active GMSL ports : 1
[  167.617526] [TS:188960287860] sl_max96712 9-006b: sl_max96712_get_camera_model: zedx camera connected to this port (eeprom)
[  167.635350] [TS:188978111684] sl_max96712 9-006b: sl_max96712_pipes_setup: sensor model 16777215 doesn't match with camera model 0
[  167.635353] [TS:188978115378] sl_max96712 9-006b: sl_max96712_gmsl_pipeline_setup: GMSL #3 : Link Camera zedx (id: 0) to port-index 2
[  167.849770] [TS:189192531506] sl_max96712 9-006b: sl_max96712_probe: success
[  172.893536] [TS:194236298441] sl_max9295 9-0062: Driver Version : v1.4.3
[  173.109534] [TS:194452296259] sl_max9295 9-0062: probe_serializer: Serializer pipeline operational
[  173.111241] [TS:194454003426] sl_max9295 9-0062: probe_serializer: Serializer for zedx detect success
[  180.973247] [TS:202316008565] zedx 9-0020: Driver Version : v1.4.3
[  180.973343] [TS:202316104713] zedx 9-0020: tegracam sensor driver:video1_v2.0.6
[  181.208266] [TS:202551027710] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 9-0020 bound
[  181.208276] [TS:202551037673] camera reg:2 ,3
[  181.208722] [TS:202551483969] zedx 9-0020: ZED-X sensor initialisation done
[  181.329819] [TS:202672580740] zedx 9-0020: zedx_probe: Serial Number : 550788623
[  181.329831] [TS:202672592999] Video device name is video26
[  181.329833] [TS:202672595342] Video device ID is 26
[  181.329849] [TS:202672610972] zedx 9-0020: zedx_probe: success
[  181.329864] [TS:202672626027] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 9-0020
[  181.332563] [TS:202675325259] zedx 9-0028: Driver Version : v1.4.3
[  181.332644] [TS:202675406129] zedx 9-0028: tegracam sensor driver:video0_v2.0.6
[  181.564949] [TS:202907711339] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 9-0028 bound
[  181.564956] [TS:202907718200] camera reg:2 ,2
[  181.565294] [TS:202908056247] zedx 9-0028: ZED-X sensor initialisation done
[  181.685821] [TS:203028582764] zedx 9-0028: zedx_probe: Serial Number : 550788623
[  181.685832] [TS:203028594431] Video device name is video24
[  181.685835] [TS:203028596931] Video device ID is 24
[  181.685852] [TS:203028613708] zedx 9-0028: zedx_probe: success
[  181.685866] [TS:203028627523] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 9-0028
[  184.477802] [TS:205820563830] zedx 9-0028: Failed to get PMC device: -19
[  184.484695] [TS:205827457191] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  184.485589] [TS:205828351432] [RCE] VM0 deactivatingVM0 activatingVM0 deactivatingVM0 activatingVI ch[35] frame configuration: 1920x1200 
[  184.485592] [TS:205828354506] [RCE]     left skip pixels=0 top skip lines=0
[  184.485594] [TS:205828355524] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  184.485594] [TS:205828356256] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  184.485595] [TS:205828357043] [RCE] ===== NVCSI Stream Configuration =====
[  184.485596] [TS:205828357802] [RCE] stream_id: PP 2, csi_port: PORT C
[  184.485596] [TS:205828358478] [RCE] Brick: PHY 1, Mode: C-PHY
[  184.485597] [TS:205828359367] [RCE] Partition: CIL A, LP bypass: Disabled, Lanes: 2
[  184.485598] [TS:205828360135] [RCE] Clock information:
[  184.485599] [TS:205828360950] [RCE] CIL rate: 270000000 Hz
[  184.485600] [TS:205828361728] [RCE] MIPI symbol rate: 654062 kHz
[  184.485600] [TS:205828362404] [RCE] Physical rate: 1494998 Kbps
[  184.485601] [TS:205828363237] [RCE] T_HS settle: autoconfigured, T_CLK settle: autoconfigured
               ======================================
[  184.485602] [TS:205828364163] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06000000 value=0x04000000 (was 0x04020100)
[  184.485603] [TS:205828365135] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x04020100)
[  184.485604] [TS:205828366154] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  184.485605] [TS:205828367228] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00080008)
[  184.541529] [TS:205884291450] [RCE] Partition: CIL A, LP bypass: Disabled
[  184.541533] [TS:205884295376] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x00020000)
[  184.541534] [TS:205884296357] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  184.541535] [TS:205884297237] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00150015)
[  184.541536] [TS:205884298061] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0fc value=0x00002040 (was 0x00000055)
[  184.541537] [TS:205884298987] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c94 mask=0x000000ff value=0x00000011 (was 0x00600000)
[  184.541538] [TS:205884299607] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x07fff1ff value=0x00020000 (was 0x00020000)
[  184.541538] [TS:205884300357] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c58 mask=0x000f07ff value=0x000f0002 (was 0x000f0002)
[  184.541539] [TS:205884301014] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c8c mask=0x00ffffff value=0x00000333 (was 0x00000777)
[  184.541540] [TS:205884301635] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0ff value=0x00000040 (was 0x00002041)
[  184.541540] [TS:205884302468] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  184.541541] [TS:205884303089] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00150015)
[  184.541542] [TS:205884303913] [RCE] CSI port CD IDAC calibration result with freqband=0:
[  184.541542] [TS:205884304487] [RCE]   Trio A0 rxab=19 rxbc=17 rxca=21
[  184.541543] [TS:205884305033] [RCE]   Trio A1 rxab=18 rxbc=23 rxca=28
[  184.541544] [TS:205884305607] [RCE] CSI port CD IDAC calibration result with freqband=1:
[  184.541545] [TS:205884306505] [RCE]   Trio B0 rxab=26 rxbc=16 rxca=17
[  184.541545] [TS:205884307061] [RCE]   Trio B1 rxab=24 rxbc=19 rxca=20
[  184.541546] [TS:205884307653] [RCE] CSI port CD
[  184.541546] [TS:205884308200] [RCE]   AFE_HFGAIN_IO0_A=3
[  184.541547] [TS:205884308885] [RCE]   AFE_HFGAIN_IO1_A=3
[  184.541548] [TS:205884309598] [RCE]   AFE_HFGAIN_CLK_A=3
[  184.541548] [TS:205884310302] [RCE]   AFE_HFGAIN_IO0_B=7
[  184.541549] [TS:205884310987] [RCE]   AFE_HFGAIN_IO1_B=7
[  184.541550] [TS:205884311653] [RCE]   AFE_HFGAIN_CLK_B=7
[  184.709528] [TS:206052289629] [RCE] NVCSI Edge delay calibration timeout: stream_id=2 pending_mask=0x3
[  184.709533] [TS:206052294860] [RCE] NVCSI Edge delay calibration completed: stream=2 phy=1
[  184.709534] [TS:206052295897] [RCE]   CIL A: status=0x0 value=0x3f3f result=0x0
[  184.709535] [TS:206052296582] [RCE]   CIL B: status=0x0 value=0x202 result=0x0
[  187.101536] [TS:208444297733] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  187.101547] [TS:208444309400] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  187.102863] [TS:208445625205] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  187.102869] [TS:208445630835] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  187.117533] [TS:208460295511] [RCE] VI ch[35] frame configuration: 1920x1200 
[  187.117537] [TS:208460299289] [RCE]     left skip pixels=0 top skip lines=0
[  187.117538] [TS:208460300187] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  187.117539] [TS:208460301141] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  187.117540] [TS:208460302270] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165258603711
[  187.117541] [TS:208460303307] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165258666165
[  187.117542] [TS:208460304252] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165298603757
[  187.117543] [TS:208460305261] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165298660960
[  187.117544] [TS:208460306307] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165338603571
[  187.117545] [TS:208460307363] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165338659700
[  187.117546] [TS:208460308178] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165378603746
[  187.117547] [TS:208460308826] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165378660737
[  187.117548] [TS:208460309622] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165418603867
[  187.117548] [TS:208460310418] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165418660339
[  187.117549] [TS:208460311039] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165458603757
[  187.117550] [TS:208460311659] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165458660266
[  187.117550] [TS:208460312261] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165498603795
[  187.117551] [TS:208460312881] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165498660970
[  187.117552] [TS:208460313835] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165538603582
[  187.117553] [TS:208460314567] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165538659712
[  187.117553] [TS:208460315168] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165578603759
[  187.117554] [TS:208460315835] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165578660324
[  187.117555] [TS:208460316668] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165618603713
[  187.117555] [TS:208460317483] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165618660223
[  187.117556] [TS:208460318085] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165658603623
[  187.117557] [TS:208460318872] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165658659549
[  187.117558] [TS:208460319854] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165698603737
[  187.117559] [TS:208460320807] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165698660172
[  187.117559] [TS:208460321483] [RCE] isp: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165738603554
[  187.117560] [TS:208460322094] [RCE] isp1: DMAINFO: FINISHED_FBRD_LOW=71, FINISHED_FBWR_LOW=ffffffff, CTL=0, ts=165738660267
[  189.661533] [TS:211004295330] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  189.661547] [TS:211004308645] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  189.662736] [TS:211005497608] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  189.662742] [TS:211005503635] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  189.693528] [TS:211036289849] [RCE] VI ch[35] frame configuration: 1920x1200 
[  189.693531] [TS:211036293136] [RCE]     left skip pixels=0 top skip lines=0
[  189.693532] [TS:211036294460] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  189.693533] [TS:211036295442] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  192.221532] [TS:213564294517] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  192.221547] [TS:213564308767] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  192.222940] [TS:213565702240] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  192.222946] [TS:213565708240] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  192.269524] [TS:213612285831] [RCE] VI ch[35] frame configuration: 1920x1200 
[  192.269528] [TS:213612289664] [RCE]     left skip pixels=0 top skip lines=0
[  192.269529] [TS:213612290952] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  192.269530] [TS:213612292183] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  193.332617] [TS:214675379502] nvethernet a808e10000.ethernet: [xpcs_poll_for_an_complete][58][type:0x4][loga-0x0] XPCS AN completion timed out
[  194.781533] [TS:216124295256] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  194.781544] [TS:216124305534] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  194.782808] [TS:216125570127] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  194.782812] [TS:216125573627] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  194.789527] [TS:216132288747] [RCE] VI ch[35] frame configuration: 1920x1200 
[  194.789530] [TS:216132292460] [RCE]     left skip pixels=0 top skip lines=0
[  194.789531] [TS:216132293303] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  194.789532] [TS:216132293997] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  197.341532] [TS:218684293602] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  197.341575] [TS:218684337009] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  197.342335] [TS:218685096750] tegra194-vi5 8181200000.host1x:vi1@8188c00000: [PIPELINE 0] VI capture setup complete (channel_id=0, csi_stream=2, vc=2)
[  197.342341] [TS:218685102583] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[  197.365529] [TS:218708290675] [RCE] VI ch[35] frame configuration: 1920x1200 
[  197.365532] [TS:218708293545] [RCE]     left skip pixels=0 top skip lines=0
[  197.365533] [TS:218708294694] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  197.365533] [TS:218708295490] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196

hello mingming,

didn’t your sensor output with 1920x1200, may I know what’s your 3840 and 3920 represented?

hi:

是R3840 jp7.1,和jp7.2 R3920 你们的版本号,

R38 (release), REVISION: 4.0,

这是在R3840 版本上抓的log,我们第一次在thor上点raw的相机,这个平台有nito文件机制,现在原厂提供了,当前可以抓流,执行这个命令看不到sensor,预览看不到画面,还想问下在这个平台上预览raw的相机用什么命令?

LindenBot@Linden:~$ nvargus_nvraw --lps
nvargus_nvraw version 1.17.0
("nvargus_nvraw") Error Undefined error code (0x04): getCameraDevices() failed (in capture_nvraw/src
    /mobile/ArgusNvRawCapture.cpp, func initialize(), line 70)
("nvargus_nvraw") Error Undefined error code (0x04): Unable to initialize (propagating from capture_
    nvraw/src/mobile/main.cpp, func main(), line 73)
LindenBot@Linden:~$
LindenBot@Linden:~$ sudo systemctl stop nvargus-daemon
LindenBot@Linden:~$ sudo -E /usr/sbin/nvargus-daemon &
[1] 14435
LindenBot@Linden:~$ === NVIDIA Libargus Camera Service (0.99.33)
=== Listening for connections...
=== nvargus_nvraw[14596]: Connection established (FFFF949388C0)
*******************************************************************
Running Power Service HW ISP 
*******************************************************************
*******************************************************************
Running Power Service HW ISP 
*******************************************************************
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
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x000a000e: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function verifyDeviceCaps(), line 209)
(NvCamV4l2) Error 0x000a000e:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 69)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
(NvCamV4l2) Error 0x0003000f:  (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function queryCapabilities(), line 1682)
(NvCamV4l2) Error 0x0003000f:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 68)
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
NvCameraIspGetNitoFilename: nito file /var/nvidia/nvcam/settings/zedx_ar0234.nito found. Badge "zedx_ar0234" SensorModel "" Modulename "zedx_ar0234"
NvCameraIspInitialize: Using NITO /var/nvidia/nvcam/settings/zedx_ar0234.nito
LSC: LSC surface is not based on full res!
NvCameraIspLoadAllNito: NvCameraIspLoadAllConfigFiles and LoadNvCameraKnobFromFile success
BuildSensorModeInfoList: Sensor mode list from Static properties. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: NITO Knobset list. Count 3
         index 0 Res 1920 x 1200 type 4 BPS 10 FPS 60.00
         index 1 Res 960 x 600 type 4 BPS 10 FPS 120.00
         index 2 Res 1920 x 1080 type 4 BPS 10 FPS 60.00
BuildSensorModeInfoList: Sensor mode index 0, knobSetId found 0, knobSetLutIndex 0
BuildSensorModeInfoList: Sensor mode index 1, knobSetId found 1, knobSetLutIndex 1
BuildSensorModeInfoList: Sensor mode index 2, knobSetId found 2, knobSetLutIndex 2
loadIspConfigFromControlKnob: Nito mode. Using cfgData.Common.lensShading

---- Finished loading config data from NITO knobset /var/nvidia/nvcam/settings/zedx_ar0234.nito using knobSetID 0
        sensorModeIndex 0 knobSetLutIndex 0 lastKnobSetId -1
[NvCameraIspDriver::initialize] Using CamPG
(NvCameraIspMergeIsp7) Error 0x00000003: failed to open CamPg QM handle (in merge/NvCameraIspMergeIsp7.cpp, function open(), line 1224)
SCF: Error 0x00000003: Cannot create ISP7 merger (in src/services/autocontrol/NvCameraIspDriver.cpp, function initialize(), line 320)
SCF: Error 0x00000003:  (propagating from src/services/autocontrol/NvCameraIspDriver.cpp, function fillStaticProps(), line 2195)
SCF: Error 0x00000003:  (propagating from src/services/autocontrol/AutocontrolService.cpp, function fillStaticProps(), line 176)
SCF: Error 0x00000003:  (propagating from src/api/Source.cpp, function initialize(), line 132)
SCF: Error 0x00000003:  (propagating from src/api/CameraDriver.cpp, function replaceSourceInList(), line 461)
SCF: Error 0x00000003:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 386)
SCF: Error 0x00000003:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 556)
(Argus) Error 0x00000003:  (propagating from src/api/CameraProviderImpl.cpp, function initialize(), line 107)
(Argus) Error 0x00000003:  (propagating from src/api/GlobalProcessState.cpp, function createCameraProvider(), line 220)
CaptureService:stop: is requested --------------------------
=== nvargus_nvraw[14596]: CameraProvider failed to initialize
=== nvargus_nvraw[14596]: Connection closed (FFFF949388C0)
=== nvargus_nvraw[14596]: Connection cleaned up (FFFF949388C0)
[  204.906672] sl_max96712: module verification failed: signature and/or required key missing - tainting kernel
[  204.907197] sl_max96712 9-006b: Driver Version : v1.4.3
[  204.907228] sl_max96712 9-006b: sl_max96712_parse_dt: Camera not declared for all GMSL link
[  204.907229] sl_max96712 9-006b: sl_max96712_parse_dt: Camera not declared for all GMSL link. If you don't want a camera at a certain port, set a dummy instead
[  205.020987] sl_max96712 9-006b: slow_reset_Dser: Setup Deser as 2 lanes output
[  206.465544] sl_max96712 9-006b: sl_max96712_gmsl_pipeline_setup: Active GMSL ports : 1
[  206.633549] sl_max96712 9-006b: sl_max96712_get_camera_model: zedx camera connected to this port (eeprom)
[  206.651904] sl_max96712 9-006b: sl_max96712_pipes_setup: sensor model -65281 doesn't match with camera model 0
[  206.651907] sl_max96712 9-006b: sl_max96712_gmsl_pipeline_setup: GMSL #1 : Link Camera zedx (id: 0) to port-index 2
[  206.869779] sl_max96712 9-006b: sl_max96712_probe: success
[  221.025696] [schedu][0xd2c8fa3][17:46:29.632362] wlan: [3240:I:OSIF] scan start scan id 40972
[  222.138120] [schedu][0xd3d890b][17:46:30.744786] wlan: [3240:I:OSIF] vdev 0, scan id 40972 type COMPLETED(1) reason COMPLETED(1) scan found 26 bss
[  253.781846] sl_max9295 9-0062: Driver Version : v1.4.3
[  253.997550] sl_max9295 9-0062: probe_serializer: Serializer pipeline operational
[  253.998536] sl_max9295 9-0062: probe_serializer: Serializer for zedx detect success
[  257.315382] zedx 9-0020: Driver Version : v1.4.3
[  257.315473] zedx 9-0020: tegracam sensor driver:video1_v2.0.6
[  257.548033] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 9-0020 bound
[  257.548040] camera reg:2 ,3
[  257.548376] zedx 9-0020: ZED-X sensor initialisation done
[  257.665829] zedx 9-0020: zedx_probe: Serial Number : 550788623
[  257.665841] Video device name is video26
[  257.665843] Video device ID is 26
[  257.665863] zedx 9-0020: zedx_probe: success
[  257.665880] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 9-0020
[  257.667355] zedx 9-0028: Driver Version : v1.4.3
[  257.667571] zedx 9-0028: tegracam sensor driver:video0_v2.0.6
[  257.899847] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 9-0028 bound
[  257.899853] camera reg:2 ,2
[  257.900179] zedx 9-0028: ZED-X sensor initialisation done
[  258.021833] zedx 9-0028: zedx_probe: Serial Number : 550788623
[  258.021844] Video device name is video24
[  258.021846] Video device ID is 24
[  258.021865] zedx 9-0028: zedx_probe: success
[  258.021879] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 9-0028
[  287.691770] tegra194-vi5 8181200000.host1x:vi1@8188c00000: vi5_get_syncpt_gos_backing: id=110 addr=0x7ffc6e0000 gos_idx=255 gos_offset=0
[  287.691777] tegra194-vi5 8181200000.host1x:vi1@8188c00000: vi5_get_syncpt_gos_backing: id=111 addr=0x7ffc6f0000 gos_idx=255 gos_offset=0
[  287.691780] tegra194-vi5 8181200000.host1x:vi1@8188c00000: vi5_get_syncpt_gos_backing: id=112 addr=0x7ffc700000 gos_idx=255 gos_offset=0
[  287.709547] [RCE] VM0 deactivating.VM0 activating.VM0 deactivating.VM0 activating.VI ch[35] frame configuration: 1920x1200 
[  287.709551] [RCE]     left skip pixels=0 top skip lines=0
[  287.709552] [RCE]     right crop pixels=1920 bottom crop lines=1200
[  287.709552] [RCE]     pixel format=VI_PIXFMT_FORMAT_T_R16 fmt=196
[  287.709553] [RCE] ===== NVCSI Stream Configuration =====
[  287.709554] [RCE] stream_id: PP 2, csi_port: PORT C
[  287.709554] [RCE] Brick: PHY 1, Mode: C-PHY
[  287.709555] [RCE] Partition: CIL A, LP bypass: Disabled, Lanes: 2
[  287.709556] [RCE] Clock information:
[  287.709556] [RCE] CIL rate: 270000000 Hz
[  287.709557] [RCE] MIPI symbol rate: 654062 kHz
[  287.709557] [RCE] Physical rate: 1494998 Kbps
[  287.709558] [RCE] T_HS settle: autoconfigured, T_CLK settle: autoconfigured
               ======================================
[  287.709559] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06000000 value=0x04000000 (was 0x04020100)
[  287.709560] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x04020100)
[  287.709561] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  287.709562] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00080008)
[  287.709562] [RCE] Partition: CIL A, LP bypass: Disabled
[  287.709563] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x00020000)
[  287.709564] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  287.709565] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00150015)
[  287.709565] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0fc value=0x00002040 (was 0x00000055)
[  287.709566] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c94 mask=0x000000ff value=0x00000011 (was 0x00600000)
[  287.709567] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x07fff1ff value=0x00020000 (was 0x00020000)
[  287.709568] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c58 mask=0x000f07ff value=0x000f0002 (was 0x000f0002)
[  287.709568] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c8c mask=0x00ffffff value=0x00000333 (was 0x00000777)
[  287.709569] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c90 mask=0x0000f0ff value=0x00000040 (was 0x00002041)
[  287.709570] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  287.709570] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00150015)
[  287.709571] [RCE] CSI port CD IDAC calibration result with freqband=0:
[  287.709572] [RCE]   Trio A0 rxab=20 rxbc=17 rxca=20
[  287.709572] [RCE]   Trio A1 rxab=17 rxbc=22 rxca=28
[  287.709573] [RCE] CSI port CD IDAC calibration result with freqband=1:
[  287.709574] [RCE]   Trio B0 rxab=26 rxbc=16 rxca=16
[  287.709575] [RCE]   Trio B1 rxab=23 rxbc=20 rxca=19
[  287.709575] [RCE] CSI port CD
[  287.709576] [RCE]   AFE_HFGAIN_IO0_A=3
[  287.709576] [RCE]   AFE_HFGAIN_IO1_A=3
[  287.709577] [RCE]   AFE_HFGAIN_CLK_A=3
[  287.709578] [RCE]   AFE_HFGAIN_IO0_B=7
[  287.709578] [RCE]   AFE_HFGAIN_IO1_B=7
[  287.709579] [RCE]   AFE_HFGAIN_CLK_B=7
[  288.281549] [RCE] CSI port CD edge delay calibration:
[  288.281553] [RCE] Partition A status=30 value=b0b result=b0b
[  288.281554] [RCE] Partition B status=0 value=202 result=0
[  295.017547] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06000000 value=0x04000000 (was 0x00020000)
[  295.017552] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021c1c mask=0x06070000 value=0x00020000 (was 0x04020000)
[  295.017554] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d34 mask=0xc7ff07ff value=0x40000000 (was 0x40000000)
[  295.017555] [RCE] NVCSI prod write phy: 1 cil: 0 reg=0x00021d60 mask=0x01ff01ff value=0x00150015 (was 0x00150015)

hello mingming,

let me have confirmation, what’s the format types of this ZED camera sensor?

hi:

在设备树配置的是raw10

 dynamic_pixel_bit_depth = "10"; \
        csi_pixel_bit_depth = "10"; \
        mode_type = "bayer"; \
        pixel_phase = "grbg"; \
        active_w = "1920"; \
        active_h = "1200"; \

please refer to developer guide, CSI Camera Capture Using nvarguscamerasrc.

hi:

现在是在R3840上还是R3920上debug 咱们定一个,基于当前的log 能不能分析出问题

然后预览命令可以给一个准确的指令不,参考这个网址 我写了一个,这个命令运行不起来

gst-launch-1.0 nvv4l2camerasrc device=/dev/video24 ! \
     'video/x-raw(memory:NVMM), format=(string)UYVY, \
     width=(int)1920, height=(int)1200, \
     interlace-mode= progressive, \
     framerate=(fraction)30/1' ! nvvidconv ! \
     'video/x-raw(memory:NVMM), format=(string)NV12' ! \
     nv3dsink -e

hello mingming,

according to your test results..

it means the basic camera functionality works on JP-7.1/r38.4
let’s moving forward to JP-7.2/r39.2 for debugging.

hi:

在r39.2 需要我提供什么文件

hello mingming,

let’s also test v4l2 IOCTL on JP-7.2/r39.2, sharing the logs if there’s an issue with basic camera functionality for debugging.

hi:

log如下:

r39.2-trace.log (20.1 KB)

r39.2-zed.log (151.1 KB)

hello mingming,

according to the VI trace, I do not see valid frame events such as CHANSEL_PXL_SOF/CHANSEL_PXL_EOF.
the log only shows VI capture setup, then repeated timeout/reset, for instance, tegra-camrtc-capture-vi: uncorr_err: request timed out after 2500 ms
there is also NVCSI calibration timeout.. NVCSI Edge delay calibration timeout: stream_id=2 pending_mask=0x3
so this does not look like an Argus/NITO preview issue at this stage. we should first confirm whether the deserializer is really outputting valid CSI data to NVCSI.

here’s NVCSI configuration per debug messages.
stream_id = 2
csi_port = PORT C
Mode = C-PHY
Lanes = 2
vc = 2
pixel format = T_R16 / RAW10 capture path
please check whether MAX96712 is really outputting the stream with the same port/mode/lane/VC configuration.

hi:

我们原理图上用的这一组,我们硬件设计的是c-phy,帮忙检查是在port c上吗,从96712 读寄存器状态看是有数据到达的,然后这组设备树和驱动在r38.4上验证是可以出流的 这一点很奇怪

hello mingming,

the culprit should be NVCSI Edge delay calibration timeout pending_mask=0x3, so VI is waiting for valid C-PHY activity.
let’s give it a try to configure system performance to MaxN, and also execute the commands to boost all the VI/CSI/ISP clocks.
for instance,

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

hi:

执行了这个命令,测试还是报超时

[ 257.214595] [TS:280253058152] [RCE] CIL A: status=0x0 value=0x3f3f result=0x0 这个value值也是异常,在3840上不是这个值 还有没有其他建议修改的地方

could you please share me the latest kernel logs with clock boosting.

hi:

r39.2-log-1.log (121.1 KB)

hello mingming,

according to the logs..

[  153.030752] [TS:176098146491] [RCE] NVCSI Edge delay calibration timeout: stream_id=2 pending_mask=0x3
[  153.030754] [TS:176098148102] [RCE] NVCSI Edge delay calibration completed: stream=2 phy=1
[  153.030755] [TS:176098148935] [RCE]   CIL A: status=0x0 value=0x3f3f result=0x0
[  153.030756] [TS:176098149815] [RCE]   CIL B: status=0x0 value=0x202 result=0x0

it shows calibration timeout, and fallback/default edge-delay value for CPHY calibration.
so.. it looks NVCSI is not seeing usable C-PHY transitions on the expected PORT-C/CIL-A trios.
do you have r38.4 tracing logs for comparsion?

please see-also VI driver,
for instance, $public_sources/kernel_src/nvidia-oot/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c

there’re tuning parameters you may apply via device tree for C-PHY.
you may give it a try to have controlled C-PHY tuning experiment for edge_delay and afe_hf_gain.
for example,

        if (mode && mode->signal_properties.shmoo_enable) {
                cil_config.tuning.control = true;
                cil_config.tuning.afe_hf_gain = mode->signal_properties.afe_hf_gain;
                cil_config.tuning.edge_delay = mode->signal_properties.edge_delay;