This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TIDL Graph init fail

Genius 13655 points

Part Number: TDA4VM

Hello Champs,

Two applications exist for image collect and image processing in one TDA4

1 、app_1  image collect app  used nodes (3 senor nodes ; 3 capture nodes ; 3 (viss +aewb) nodes ; 2  ldc nodes ; 1 miscoa node ; 1 display node ) in one graph ,The application captures the image and sends the address to the Tidl processing application.

2 、app_2 Tidl processing app ,Take the image, process the image 。

(app_1)image collect app Can run normally. The error is TIDL Graph initialization error by the tdil processing process(app_2)

error  log 

========== [GraphOD]No Check outbuf size!!! ==========
26.897582 s: VX_ZONE_ERROR:[ownGraphCreateNodeCallbackCommands:983] Node create user callback command at index 0 failed
26.897602 s: VX_ZONE_ERROR:[vxVerifyGraph:2024] Create node callback commands failed
26.897616 s: VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
26.897738 s: VX_ZONE_ERROR:[Create:166] [GraphDL]Graph verify failed
[ProcUnitMgr]RegisterProcUnit create failed
[RunMgr_Front]m_pu_front_od_center RegisterProcUnit failed
[RunMgr]Camera front Init failed
[HWAC_IF]RunMgr Init Failed
[tidl_task_Pyrd()] threadid:26
[tidl_task()] threadid:27
[tidl_task_optflow()] threadid:28
[DOF Task] Over.

The memory partition is configured as follows 

Marked in red is the modified configuration used

Customer tried to make adjustments and couldn't fix the bug;

TIOVX_OBJ_DESC_MEM 0xB2040000 0xB5FDFFFF 63.62 MB   Memory for TI OpenVX shared memory. MUST be non-cached or cache-coherent
  0xB2040000 0xB9FDFFFF 127.62 MB    
PCIE_QUEUE_SHARED_MEM 0xB5FE0000 0xB5FEFFFF 64.00 KB   Memory for IPC over PCIe using shared memory. MUST be non-cached or cache-coherent
  0xB9FE0000 0xB9FEFFFF 64.00 KB    
PCIE_QUEUE_MIRROR_REMOTE_SHARED_MEM 0xB5FF0000 0xB5FFFFFF 64.00 KB   Reserved Memory for RAT mapping of remote PCIe IPC shared memory. MUST be non-cached or cache-coherent
  0xB9FF0000 0xB9FFFFFF 64.00 KB    
TIOVX_LOG_RT_MEM 0xB6000000 0xB7FFFFFF 32.00 MB   Memory for TI OpenVX shared memory for Run-time logging. MUST be non-cached or cache-coherent
  0xBA000000 0xBBFFFFFF 32.00 MB    
DDR_SHARED_MEM 0xB8000000 0xD7FFFFFF 512.00 MB   Memory for shared memory buffers in DDR
  0xBC000000 0xD7FFFFFF 448.00 MB    

 Thanks.
Rgds
Shine

  • Hello Shine,

    > Could you please share the full application logs (along with the logs of "source ./vision_apps_init.sh")?

    > Are you making the memory changes with the help of the tool gen_linker_mem_map.py available in the vision_apps of the SDK?

    If not, I would suggest you use this tool to do the memory related changes so that it would create all the relevant dependencies.

    > Have you made the relevant changes on the linux side (i.e., in the .dts file) and generated .dtb file and replaced the same in the SD card? 

    Regards,
    Nikhil

  • Hello Nikhil;

    > Are you making the memory changes with the help of the tool gen_linker_mem_map.py available in the vision_apps of the SDK?

    > Have you made the relevant changes on the linux side (i.e., in the .dts file) and generated .dtb file and replaced the same in the SD card? 

    answer:That's what we did

    > Could you please share the full application logs (along with the logs of "source ./vision_apps_init.sh")?

    answer:

    app_1.logapp_2.log7217.vision_apps_init.log

    Regards,

    Gao Weizheng

  • Hi,

    Thank you for sharing the logs.

    26.897582 s: VX_ZONE_ERROR:[ownGraphCreateNodeCallbackCommands:983] Node create user callback command at index 0 failed

    I wasn't able to find this error in the logs in the app_2.log file. Is it not seen anymore?

    I see there are many errors, such as regarding graph parameters and related to create of GraphScalar? Are these known issues? 
    Could you clarify where the issue is currently?

    Regards,
    Nikhil

  • Hello Nikhil;

    Before the change of APP1, there was no error in APP2;(No changes have been made to APP2)

    ~~~~~~~~~~~~~~~~~~~~~~~~

    Before the change of APP1,

    app_1  image collect app  used nodes (1 senor nodes ; 1 capture nodes ; 1 (viss +aewb) nodes ; 1  ldc nodes ; 1 miscoa node ; 1 display node ) in one graph ,The application captures the image and sends the address to the Tidl processing application.

    ~~~~~~~~~~~~~~~~~~~~~~~~

    !!!!!!!!!!!!!!!!!!!!!!

    After  APP1 is changed

    app_1  image collect app  used nodes (3 senor nodes ; 3 capture nodes ; 3 (viss +aewb) nodes ; 2  ldc nodes ; 1 miscoa node ; 1 display node ) in one graph ,The application captures the image and sends the address to the Tidl processing application.

    !!!!!!!!!!!!!!!!!!!!!!

    ****************log****************

    The last log did not reappear,We also changed TIVX_ PLATFORM_ MAX_ OBJ_ DESC_ SHM_ INST 1024 adjusted to 2048 and couldn't fix the bug.

    Change TIVX_ PLATFORM_ MAX_ OBJ_ DESC_ SHM_ INST Log as follows:

    0272.vision_apps_init.log

    Start general process! 
    21689	000 n/a info [[Fw_CameraGraph2Node_Create] success
    ]
    21704	000 com.neu debug [[FwNode] name:com.neusoft.ads.CameraGraph2, qid:1a85d1d0]
    21704	000 com.neu debug [[FwNode] [com.neusoft.ads.CameraGraph2]: fw_node_task start.]
    21704	001 com.neu info [[FwNode] [Fw_Node_Create]: com.neusoft.ads.CameraGraph2: stmc: [4c1a85f0f0]]
    21707	000 com.neu debug [[FwNode] [com.neusoft.ads.FWCPD]: fw_node_task start.]
    21707	000 com.neu debug [[FwNode] name:com.neusoft.ads.FWCPD, qid:1a85d220]
    21707	002 com.neu info [[FwNode] [Fw_Node_Create]: com.neusoft.ads.FWCPD: stmc: [4c1a85f2a0]]
    21709	000 com.neu debug [[FwNode] [com.neusoft.ads.fwcvd]: fw_node_task start.]
    21709	000 com.neu debug [[FwNode] name:com.neusoft.ads.fwcvd, qid:1a85d270]
    21709	002 com.neu info [[FwNode] [Fw_Node_Create]: com.neusoft.ads.fwcvd: stmc: [4c1a85f450]]
    21711	000 com.neu debug [[FwNode] [com.neusoft.ads.lane]: fw_node_task start.]
    21711	000 com.neu debug [[FwNode] name:com.neusoft.ads.lane, qid:1a85d2c0]
    21711	002 com.neu info [[FwNode] [Fw_Node_Create]: com.neusoft.ads.lane: stmc: [4c1a85f600]]
    21712	000 node.ad debug [[FwNode] [node.ads.rtalign]: fw_node_task start.]
    21712	000 node.ad debug [[FwNode] name:node.ads.rtalign, qid:1a85d310]
    21712	002 node.ad info [[FwNode] [Fw_Node_Create]: node.ads.rtalign: stmc: [4c1a85fde0]]
    ~~~~~~[TSR]: Create !
    21713	000 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_task start.]
    21713	000 node.ad debug [[FwNode] name:node.ads.tsr, qid:1a85d360]
    21713	002 node.ad info [[FwNode] [Fw_Node_Create]: node.ads.tsr: stmc: [4c1a85ffc0]]
    ~~~~~~[RM]: Create !
    21714	000 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_task start.]
    21714	000 node.ad debug [[FwNode] name:node.ads.tsr, qid:1a85d400]
    21714	002 node.ad info [[FwNode] [Fw_Node_Create]: node.ads.tsr: stmc: [4c1ad811e0]]
    21714	000 com.neu debug [[FwNode] [com.neusoft.ads.FWCSSD]: fw_node_task start.]
    21714	000 com.neu debug [[FwNode] name:com.neusoft.ads.FWCSSD, qid:1a85d450]
    21714	002 com.neu info [[FwNode] [Fw_Node_Create]: com.neusoft.ads.FWCSSD: stmc: [4c1ad81390]]
    21716	001 n/a debug [[Commu] com_txc_init: [0x4c1a963888, 4, 1902968833]]
    21716	002 n/a debug [[Commu] com_txc_init: [0x4c1a963888, 34, 1902968834]]
    21716	003 n/a debug [[Commu] com_txc_init: [0x4c1a963888, 25, 1902968835]]
    21716	004 n/a debug [[Commu] com_txc_init: [0x4c1a963888, 30, 1902968836]]
    21717	005 n/a debug [[Commu] com_sd_init: [4, 1902968838]]
    21717	006 n/a debug [[Commu] com_rxc_init: [0x4c1a963870, 4, 1902968837]]
    21717	007 n/a debug [[Commu] com_sd_init: [34, 1902968840]]
    21717	008 n/a debug [[Commu] com_rxc_init: [0x4c1a963870, 34, 1902968839]]
    21717	009 n/a debug [[Commu] com_sd_init: [47, 1902968842]]
    21717	010 n/a debug [[Commu] com_rxc_init: [0x4c1a963870, 47, 1902968841]]
    21717	011 n/a debug [[Commu] com_sd_init: [45, 1902968843]]
    21717	012 n/a debug [[Commu] Com_Init (45)]
    21717	000 frontvp debug [[FwMain] name:frontvpp, qid:1a85d130]
    21717	001 frontvp debug [[FwMain] [frontvpp]: fw_main_task start.]
    21718	000 frontvp info [[frontvpp] fw_frontvpp_init]
    21718	002 frontvp info [[FwMain] [Fw_Main_Init]: frontvpp]
    21719	003 frontvp info [[FwMain] [Fw_Main_Create]: frontvpp: stmc: [4c1a85f090]]
    APP: Init QNX ... !!!
    21719	004 frontvp info [[FwMain] [Framework version]: 3.3.934916e0]
    21720	003 com.neu info [[FwNode] [Fw_Node_Init]: com.neusoft.ads.FWCPD]
    21720	004 com.neu debug [[FwNode] [com.neusoft.ads.FWCPD]: fw_node_action_init.]
    21722	003 com.neu info [[FwNode] [Fw_Node_Init]: com.neusoft.ads.fwcvd]
    21723	004 com.neu debug [[FwNode] [com.neusoft.ads.fwcvd]: fw_node_action_init.]
    21724	003 com.neu info [[FwNode] [Fw_Node_Init]: com.neusoft.ads.lane]
    21724	004 com.neu debug [[FwNode] [com.neusoft.ads.lane]: fw_node_action_init.]
    21730	003 node.ad info [[FwNode] [Fw_Node_Init]: node.ads.rtalign]
    21730	003 node.ad info [[FwNode] [Fw_Node_Init]: node.ads.tsr]
    21730	004 node.ad debug [[FwNode] [node.ads.rtalign]: fw_node_action_init.]
    21730	004 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_action_init.]
    21732	003 node.ad info [[FwNode] [Fw_Node_Init]: node.ads.tsr]
    21732	004 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_action_init.]
    21734	013 n/a info [[FWCSSD] FWCSSDNode_init
    ]
    FWCSSDNode_init
    21734	003 com.neu info [[FwNode] [Fw_Node_Init]: com.neusoft.ads.FWCSSD]
    21734	004 com.neu debug [[FwNode] [com.neusoft.ads.FWCSSD]: fw_node_action_init.]
    appIpcInit: IPC: Init QNX ... !!!
    appIpcInit: IPC: Init ... Done !!!
        28.809053 s: REMOTE_SERVICE: Init ... !!!
        28.809315 s: REMOTE_SERVICE: Init ... Done !!!
        28.809332 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        28.809348 s:  VX_ZONE_INIT:Enabled
        28.809354 s:  VX_ZONE_ERROR:Enabled
        28.809359 s:  VX_ZONE_WARNING:Enabled
        28.810872 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
        28.810922 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
    init obj->dl_image_fw 53bd22ca30 0
    init obj->dl_image_fw 53bd22d258 1
    init obj->dl_image_fw 53bd22da80 2
    init obj->dl_image_fw 53bd22e2a8 3
    22161	003 com.neu info [[FwNode] [Fw_Node_Init]: com.neusoft.ads.CameraGraph2]
    22161	004 com.neu debug [[FwNode] [com.neusoft.ads.CameraGraph2]: fw_node_action_init.]
    22161	005 frontvp debug [[FwMain] [fw_main_action_init] init]
    22162	014 n/a debug [[Commu] Com_Start (45)]
    22162	001 frontvp info [[frontvpp] fw_frontvpp_start]
    22162	006 frontvp info [[FwMain] [Fw_Main_Start]: frontvpp]
    22163	015 n/a info [[Front_START] Set Timer run!]
    22163	005 com.neu info [[FwNode] [Fw_Node_Start]: com.neusoft.ads.CameraGraph2]
    22163	006 com.neu debug [[FwNode] [com.neusoft.ads.CameraGraph2]: fw_msg_proc_task start.]
    22163	007 com.neu debug [[FwNode] [com.neusoft.ads.CameraGraph2]: fw_node_action_start.]
    22163	016 n/a debug [[Commu] --> ONLINE: [0x4c1a963888, 4]]
    22163	017 n/a debug [[Commu] --> ONLINE: [0x4c1a963870, 4]]
    22165	018 n/a debug [[Commu] --> ONLINE: [0x4c1a963888, 34]]
    22165	018 n/a info [[FWCPD] fw_FWCPDNode_start 
    ]
    22165	019 n/a debug [[Commu] --> ONLINE: [0x4c1a963870, 34]]
    [FWCPD_Start] threadid:3
    22165	005 com.neu info [[FwNode] [Fw_Node_Start]: com.neusoft.ads.FWCPD]
    22165	006 com.neu debug [[FwNode] [com.neusoft.ads.FWCPD]: fw_msg_proc_task start.]
    22165	007 com.neu debug [[FwNode] [com.neusoft.ads.FWCPD]: fw_node_action_start.]
    22167	021 n/a info [[Vehicle] fw_FWCVDNode_start 
    ]
    [FWCVD_Start] threadid:4
    22167	005 com.neu info [[FwNode] [Fw_Node_Start]: com.neusoft.ads.fwcvd]
    22167	006 com.neu debug [[FwNode] [com.neusoft.ads.fwcvd]: fw_msg_proc_task start.]
    22167	007 com.neu debug [[FwNode] [com.neusoft.ads.fwcvd]: fw_node_action_start.]
    22169	022 n/a info [[Lane] fw_FWC_LaneNode_init
    ]
    [FWCLD_Start] threadid:5
    22169	005 com.neu info [[FwNode] [Fw_Node_Start]: com.neusoft.ads.lane]
    22169	006 com.neu debug [[FwNode] [com.neusoft.ads.lane]: fw_msg_proc_task start.]
    22169	007 com.neu debug [[FwNode] [com.neusoft.ads.lane]: fw_node_action_start.]
    [FWCVE_Start] threadid:6
    22171	023 n/a info [[FWCVE] fw_RtAlignmentNode_start 
    ]
    22171	005 node.ad info [[FwNode] [Fw_Node_Start]: node.ads.rtalign]
    22171	006 node.ad debug [[FwNode] [node.ads.rtalign]: fw_msg_proc_task start.]
    22171	007 node.ad debug [[FwNode] [node.ads.rtalign]: fw_node_action_start.]
    22173	024 n/a info [[TrafficSign] fw_TrafficSignNode_start]
    22173	005 node.ad info [[FwNode] [Fw_Node_Start]: node.ads.tsr]
    22173	006 node.ad debug [[FwNode] [node.ads.tsr]: fw_msg_proc_task start.]
    22173	007 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_action_start.]
    22175	025 n/a info [[Roadmark] fw_RoadmarkNode_start]
    22175	005 node.ad info [[FwNode] [Fw_Node_Start]: node.ads.tsr]
    22175	006 node.ad debug [[FwNode] [node.ads.tsr]: fw_msg_proc_task start.]
    22175	007 node.ad debug [[FwNode] [node.ads.tsr]: fw_node_action_start.]
    22177	026 n/a info [[FWCSSD] FWCSSDNode_start
    ]
    FWCSSDNode_start
    22177	005 com.neu info [[FwNode] [Fw_Node_Start]: com.neusoft.ads.FWCSSD]
    22177	006 com.neu debug [[FwNode] [com.neusoft.ads.FWCSSD]: fw_msg_proc_task start.]
    22177	007 com.neu debug [[FwNode] [com.neusoft.ads.FWCSSD]: fw_node_action_start.]
    22179	007 frontvp debug [[FwMain] [fw_main_action_start] start]
    22179	002 frontvp info [[frontvpp] fw_frontvpp_online: [4]. ]
    22179	003 frontvp info [[frontvpp] fw_frontvpp_online: [34]. ]
    tsrparam: cx: 967
    tsrparam: cy: 529
    tsrparam: fx: 1274.000000
    tsrparam: fy: 1275.000000
    tsrparam: rx: 0
    tsrparam: ry: 0
    tsrparam: rz: 0
    tsrparam: tx: 0
    tsrparam: ty: -1380
    tsrparam: tz: -1950
    rmparam: cx: 967
    rmparam: cy: 529
    rmparam: fx: 1274.000000
    rmparam: fy: 1275.000000
    rmparam: rx: 0
    rmparam: ry: 0
    rmparam: rz: 0
    rmparam: tx: 0
    rmparam: ty: -1380
    rmparam: tz: -1950
    ========================FWCLD Init Para========================
    	FWCLD Input rx:2.470000
    	FWCLD Input ry:1.034200
    	FWCLD Input rz:0.000000
    	FWCLD Input tx:0.000000
    	FWCLD Input ty:-1380.000000
    	FWCLD Input tz:-1950.000000
    
    	FWCLD Input fx:1274.000000
    	FWCLD Input fy:1275.000000
    	FWCLD Input cx:967.000000
    	FWCLD Input cy:529.000000
    	FWCLD Init Width = 960
    	FWCLD Init Height = 540
    ========================FWCLD Init Para========================
    FWCVE create rx:2.470000
    FWCVE create ry:1.034200
    FWCVE create rz:0.000000
    FWCVE create tx:0.000000
    FWCVE create ty:-1380.000000
    FWCVE create tz:-1950.000000
    FWCVE create fx:1274.000000
    FWCVE create fy:1275.000000
    FWCVE create cx:967.000000
    FWCVE create cy:529.000000
    FWC avecreate vrow:583.998840
    FWC avecreate vcol:944.001526
    [PD_Init] [ver:1.0.1] sensorID:0 rx:2.47 ry:1.03 rz:0.00 tx:0 ty:-1380 tz:-1950 cx:967 cy:529 fx:1274.00 fy:1275.00 saveFlag:0
    
    [VD] TDA4_Ver1.3.4_20221013
    
    E_CAM_FRONT_WIDE Init Success
    
    
    [VD] Sensor:0 Create rx:2.470000 ry:1.034200 rz:0.000000 fx:1274.000000 fy:1275.000000 cx:967 cy:529 SaveFlag:0
    [FWCVD] fw_FWCVDNode_evtexec init
    22417	027 n/a debug [[Commu] --> ONLINE: [0x4c1a963888, 25]]
    22418	004 frontvp info [[frontvpp] fw_frontvpp_online: [25]. ]
    23338	028 n/a debug [[Commu] --> ONLINE: [0x4c1a963870, 47]]
    23338	005 frontvp info [[frontvpp] fw_frontvpp_online: [47]. ]
    28332	029 n/a debug [[Commu] --> ONLINE: [0x4c1a963888, 30]]
    28333	006 frontvp info [[frontvpp] fw_frontvpp_online: [30]. ]
    open index = 0 virAddr =  185493876736  phyaddr = 3192320000 
    open index = 0 virAddr =  185496989696  phyaddr = 3150442496 
    open index = 0 virAddr =  185500102656  phyaddr = 3153555456 
    interval 5s FMT_SHM_CAMERAIMAGE_GROUP1 trigger count = 0 
    open index = 1 virAddr =  185503215616  phyaddr = 3199135744 
    open index = 1 virAddr =  185506328576  phyaddr = 3209494528 
    open index = 1 virAddr =  185509441536  phyaddr = 3212607488 
    open index = 2 virAddr =  185512554496  phyaddr = 3202248704 
    open index = 2 virAddr =  185515667456  phyaddr = 3221946368 
    open index = 2 virAddr =  185518780416  phyaddr = 3225059328 
    open index = 3 virAddr =  185521893376  phyaddr = 3205361664 
    open index = 3 virAddr =  185525006336  phyaddr = 3234398208 
    open index = 3 virAddr =  185528119296  phyaddr = 3237511168 
    -----------------------------------tidl_init_front_multyCam init ----------------------------
    ***** [HWAC]Context version: 1.1.01.09.05.00 *****
        62.227179 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptFCalcPt:834] === Self CPU: 7 === TIVX_TARGET_A72_0:7
        62.227885 s:  VX_ZONE_WARNING:[ravxAddTargetKernelEgome:377] === Self CPU: 7 ===  TIVX_CPU_ID_A72_0:7 
        62.227903 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptF:245] === Self CPU: 7 ===TIVX_CPU_ID_A72_0:7 
        62.227944 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptFCalcPt:834] === Self CPU: 7 === TIVX_TARGET_A72_0:7
        62.227960 s:  VX_ZONE_WARNING:[ravxAddTargetKernelEgome:377] === Self CPU: 7 ===  TIVX_CPU_ID_A72_0:7 
        62.227975 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptF:245] === Self CPU: 7 ===TIVX_CPU_ID_A72_0:7 
        62.265351 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptFCalcPt:834] === Self CPU: 7 === TIVX_TARGET_A72_0:7
        62.265374 s:  VX_ZONE_WARNING:[ravxAddTargetKernelEgome:377] === Self CPU: 7 ===  TIVX_CPU_ID_A72_0:7 
        62.265392 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptF:245] === Self CPU: 7 ===TIVX_CPU_ID_A72_0:7 
        62.266557 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptFCalcPt:834] === Self CPU: 7 === TIVX_TARGET_A72_0:7
        62.266575 s:  VX_ZONE_WARNING:[ravxAddTargetKernelEgome:377] === Self CPU: 7 ===  TIVX_CPU_ID_A72_0:7 
        62.266677 s:  VX_ZONE_WARNING:[ravxAddTargetKernelOptF:245] === Self CPU: 7 ===TIVX_CPU_ID_A72_0:7 
    
    No.    Name      Graph    [HWAC/OPTF]--------
    00:  Optf_VE    GraphOptF           
    01:  Optf_VD    GraphOptF_PtMV      
    02:  Optf_PD    GraphOptF_PtMV      
    
    ---------Task----------
    ========== [GraphOD]No Check outbuf size!!! ==========
        62.959629 s:  VX_ZONE_ERROR:[ownGraphCreateNodeCallbackCommands:983] Node create user callback command at index 0 failed
        62.959650 s:  VX_ZONE_ERROR:[vxVerifyGraph:2024] Create node callback commands failed
        62.959663 s:  VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
        62.959789 s:  VX_ZONE_ERROR:[Create:166] [GraphDL]Graph verify failed
    [ProcUnitMgr]RegisterProcUnit create failed
    [RunMgr_Front]m_pu_front_ld RegisterProcUnit failed
    [RunMgr]Camera front Init failed
    [HWAC_IF]RunMgr Init Failed
    [tidl_task_Pyrd()] threadid:26
    [tidl_task()] threadid:27
    [tidl_task_optflow()] threadid:28
    [DOF Task] Over.
    [RunMgr_Beside]Camera beside is not enable
    [RunMgr]Camera Beside Init failed
    [HWAC_IF]RunMgr Init Failed
    [RunMgr_Beside]Camera beside is not enable
    [RunMgr]Camera Beside Init failed
    [HWAC_IF]RunMgr Init Failed
    [ISA]:pointer is NULL!
    [TSR]:box pack pointer is NULL!
    [FWCVE_Proc] threadid:20
    IN VE INPUT CHECK THE LanePack ld IS NULL
    [FWCPD_Proc] threadid:21
    [FWCPD]:  get DL result: 0_0
    [FWCLD_Proc] threadid:19
    IN LD INPUT CHECK THE LanePack DnnSegMat IS NULL
    aldappmain -2
    [FWCVD_Proc] threadid:18
    VD error pack->box = null
    
    
    [FWCVD] DNNboxnum:0 frame:0
    [RM]:pointer is NULL!
    [TSR]:box pack pointer is NULL!
    IN VE INPUT CHECK THE LanePack ld IS NULL
    IN LD INPUT CHECK THE LanePack DnnSegMat's FrameID IS UNNORMAL
    aldappmain -2
    [VDDEBUG] fvl:0.000000 orifvl:0.000000 
    [FWCVD] DNNboxnum:0 frame:6
    [FWCPD]:  get DL result: 6_0
    [RM]:pointer is NULL!
    [TSR]:box pack pointer is NULL!
    IN VE INPUT CHECK THE LanePack ld IS NULL
    IN LD INPUT CHECK THE LanePack DnnSegMat's FrameID IS UNNORMAL
    aldappmain -2
    [V
    Process 651305 (FrontVPP) terminated SIGSEGV code=1 fltno=11 ip=00000053b8cc9190(/opt/FrontVPP/bin/FrontVPP@_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_+0x0000000000055770) mapaddr=0000000000078190. ref=0000000000000084
    


    8666.app_1.log

  • Hi,

    Just to summarize your issue.

    You have 2 Apps. I believe it is 2 graphs in the same context, right?

    CASE 1: If yes, First App (i.e., First Graph) is running "1 senor nodes; 1 capture nodes; 1 (viss +aewb) nodes; 1  ldc nodes; 1 miscoa node; 1 display node"
    and the second App (i.e., Second Graph) is running "TIDL node".

    In the above scenario, everything is working fine, right?

    CASE 2: The issue occurs when you changed the First App (i.e., First Graph) to 3 senor nodes; 3 capture nodes; 3 (viss +aewb) nodes; 2  ldc nodes; 1 miscoa node; 1 display node 
    In this case, you are seeing the below error in Second Graph i.e. in the TIDL node

    VX_ZONE_ERROR:[ownGraphCreateNodeCallbackCommands:983] Node create user callback command at index 0 failed
    62.959650 s: VX_ZONE_ERROR:[vxVerifyGraph:2024] Create node callback commands failed
    62.959663 s: VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed

    Please let me know if I have understood your issue correctly?


    If yes, few queries from my end are follows

    1. Are both graphs in the same context?

    2. What are the graph parameters you are using here?

    3. The change which you have done, i.e., 3 capture nodes, 3 viss etc. May I know what is the usecase? We could control multiple sensors with 1 capture node and 1 viss node (As done in the multi-cam demo in the SDK) 

    4. In CASE 1, where everything is working, are the memory changes present there?

    or are the memory related changes mentioned in the description a part of changes made during CASE 2?


    Regards,
    Nikhil

  • Hi,

    Thank you for support.

    Please read the attachmentTIDLInitialization failed QA.docx

  • Hi gao

    Thank you for sharing the information.

    Could you please tell me which SDK version is this issue seen?

    So, regarding the memory changes you mentioned in the description, I see that you have increased "TIOVX_OBJ_DESC_MEM" and reduced the same amount of memory from "DDR_SHARED_MEM" right?

    In this case, could you confirm that you have made the extended region of TIOVX_OBJ_DESC_MEM as non-cachable? 

    If you are using SDK 8.2 or lower, you would have to make this change in vision_apps/platform/j721e/rtos/mcu2_0/r5_mpu.xs
    If you are using SDK 8.4, you would have to make this change in vision_apps/platform/j721e/rtos/mcu2_0/j721e_mpu_cfg.c

    Could you make this change and confirm if you are seeing the issue?

    Regards,
    Nikhil

  • Thanks for your support. We've solved this issue by increasing TIVX_PLATFORM_MAX_OBJ_DESC_SHM_INST