We notice rebooting the target has fixed the issue
So Nvidia has done independent testing and is able to replicate this issue? Rebooting isn’t a resolution, it’s a workaround.
As mentioned in my last post, I dug a bit into the MAX96712 deserializer driver in the SDK and I see a TODO
comment (cdi_max96712.c
line 2583) mentioning that the link lock may take >100ms intermittently. I wonder if this may have something to do with this issue?
As posted last time, here is the syslog:
Apr 01 12:58:51 tegra-ubuntu [5257459663] Module_id 30 Severity 2 : devices/MAX96712DeserializerDriver/cdi_max96712.c 2604
Apr 01 12:58:51 tegra-ubuntu [5257464454] Module_id 30 Severity 2 : MAX96712: GMSL2 link lock not detected on link 0
Apr 01 12:58:51 tegra-ubuntu [5257465052] Module_id 30 Severity 2 : devices/MAX96712DeserializerDriver/CNvMMax96712.cpp 254
Apr 01 12:58:51 tegra-ubuntu [5257465216] Module_id 30 Severity 2 : MAX96712: MAX96712SetDefaults failed with NvMedia error 7
Apr 01 12:58:51 tegra-ubuntu [5257465559] Module_id 30 Severity 2 : src/devblk/common/ddi/CNvMDevice.cpp 71
Apr 01 12:58:51 tegra-ubuntu [5257465723] Module_id 30 Severity 2 : Driver failed Init() call 10
Apr 01 12:58:51 tegra-ubuntu [5257466563] Module_id 30 Severity 2 : src/devblk/common/core/CNvMDeviceBlock.cpp 793
Apr 01 12:58:51 tegra-ubuntu [5257466720] Module_id 30 Severity 2 : Deserializer init failed with SIPL error 10
Apr 01 12:58:51 tegra-ubuntu [5257467027] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 616
Apr 01 12:58:51 tegra-ubuntu [5257467235] Module_id 30 Severity 2 : Device block init failed. Status: 10
Apr 01 12:58:51 tegra-ubuntu [5257467921] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 244
Apr 01 12:58:51 tegra-ubuntu [5257468646] Module_id 30 Severity 2 : Device block action failed for action 1
Apr 01 12:58:51 tegra-ubuntu [5257468906] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 246
Apr 01 12:58:51 tegra-ubuntu [5257469361] Module_id 30 Severity 2 : Device block action failed for block 0
Apr 01 12:58:51 tegra-ubuntu [5257469663] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 278
Apr 01 12:58:51 tegra-ubuntu [5257469932] Module_id 30 Severity 2 : Failed to initialize device blocks
Apr 01 12:58:51 tegra-ubuntu [5257470140] Module_id 30 Severity 2 : src/core/CNvMCamera.cpp 1142
Apr 01 12:58:51 tegra-ubuntu [5257470332] Module_id 30 Severity 2 : DeviceBlock manager init failed
Apr 01 12:58:51 tegra-ubuntu [5257795614] Module_id 30 Severity 2 : src/core/pipelineMgr/spmgr/pipeline/blocks/CNvFusaISPBlock.cpp 450
Apr 01 12:58:51 tegra-ubuntu [5257798515] Module_id 30 Severity 2 : FusaISP: Skiping Deinit as block was not initialized 1
Apr 01 12:58:51 tegra-ubuntu [5267229908] Module_id 30 Severity 2 : src/devblk/common/core/CNvMDeviceBlock.cpp 1235
Apr 01 12:58:51 tegra-ubuntu [5267231855] Module_id 30 Severity 2 : CNvMDeviceBlock must be in the initialized state or the stopped state before attempting to deinitialize
Apr 01 12:58:51 tegra-ubuntu [5267232216] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 638
Apr 01 12:58:51 tegra-ubuntu [5267232378] Module_id 30 Severity 2 : Device block deinit failed. Status: 6
Apr 01 12:58:51 tegra-ubuntu [5267233226] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 244
Apr 01 12:58:51 tegra-ubuntu [5267234330] Module_id 30 Severity 2 : Device block action failed for action 4
Apr 01 12:58:51 tegra-ubuntu [5267234567] Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 246
Apr 01 12:58:51 tegra-ubuntu [5267234830] Module_id 30 Severity 2 : Device block action failed for block 0
Apr 01 12:58:51 tegra-ubuntu [5276615257] Module_id 30 Severity 2 : src/devblk/common/core/CNvMDeviceBlock.cpp 1235
Apr 01 12:58:51 tegra-ubuntu [5276616740] Module_id 30 Severity 2 : CNvMDeviceBlock must be in the initialized state or the stopped state before attempting to deinitialize
Here is the nvsipl_camera
output:
$ sudo /opt/nvidia/drive-linux/samples/nvmedia/nvsipl/test/camera/nvsipl_camera --platform-config HZKJ_IMX728_ES2_V2_070FOV_CPHY_x4 --link-enable-masks "0x0001 0x0000 0x0000 0x0000" --showfps --enableRawOutput
Pipeline: 0 ISP Output: 0 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 0 ISP Output: 1 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 0 ISP Output: 2 is using RGBA PACKED FLOAT16 PL SENSOR_RGBA
nvsipl_camera: ERROR: NvSIPLCamera Init failed
nvsipl_camera: ERROR: Master initialization failed. status: 10