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.

TDA4VEN-Q1: Unable to add data reference to data reference list in graph

Part Number: TDA4VEN-Q1

Tool/software:

HI TI:

When I was creating a graph on J722S, it failed during verification with the following error:

odPreProcObj graph done!
create_tidl: input_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
tivxTIDLNode create success !!!
odTIDLObj graph done!
FSPreProcObj graph done!
create_tidl: input_tensor_arr ch = 1
create_tidl: output_tensor_arr ch = 1
tivxTIDLNode create success !!!
FSTIDLObj graph done!
size = 4
tivxSetGraphPipelineDepth done !
calerObj tivxSetNodeParameterNumBufByIndex
calerObj tivxSetNodeParameterNumBufByIndex
calerObj tivxSetNodeParameterNumBufByIndex
calerObj tivxSetNodeParameterNumBufByIndex
calerObj tivxSetNodeParameterNumBufByIndex
app_linux_opengl_integrated_srv: Verifying graph 2  ... .
   137.802942 s:  VX_ZONE_WARNING: [ownGraphAddSingleDataReference:247] May need to increase the value of TIVX_GRAPH_MAX_DATA_REF in tiovx/include/TI/tivx_config.h
   137.802967 s:  VX_ZONE_ERROR: [ownGraphFindAndAddDataReferences:402] Unable to add data reference to data reference list in graph
   137.802990 s:  VX_ZONE_WARNING: [ownGraphAddSingleDataReference:247] May need to increase the value of TIVX_GRAPH_MAX_DATA_REF in tiovx/include/TI/tivx_config.h
   137.803004 s:  VX_ZONE_ERROR: [ownGraphFindAndAddDataReferences:402] Unable to add data reference to data reference list in graph
   137.803026 s:  VX_ZONE_WARNING: [ownGraphAddSingleDataReference:247] May need to increase the value of TIVX_GRAPH_MAX_DATA_REF in tiovx/include/TI/tivx_config.h
   137.803080 s:  VX_ZONE_ERROR: [ownGraphFindAndAddDataReferences:402] Unable to add data reference to data reference list in graph
   137.803099 s:  VX_ZONE_ERROR: [ ALG_MODEL_TEST_Demo ] Find and add data references failed
   137.803112 s:  VX_ZONE_ERROR: [ ALG_MODEL_TEST_Demo ] Graph verify failed
vxSetGraphScheduleConfig done
app_create_graph exiting
deinit app...
app_deinit_scaler done
mosPreProcObj deinit done!
mosTIDLObj deinit done!
pcdPreProcObj deinit done!
pcdTIDLObj deinit done!
odPreProcObj deinit done!
odTIDLObj deinit done!
od3dPreProcObj deinit done!
od3dTIDLObj deinit done!
od3dPreProcObj_1 deinit done!
od3dTIDLObj_1 deinit done!
FSPreProcObj deinit done!
FSTIDLObj deinit done!
app_deinit_display done
appGrpxDeInit done
tivxHwaUnLoadKernels done
tivxFileIOUnLoadKernels done
tivxTIDLUnLoadKernels done
tivxImgProcUnLoadKernels done

To resolve the above issue, I modified the value from 128 to 512 in TIVX_GRAPH_MAX_DATA_REF in

/tiovx/include/TI/soc/tivx_config_j722s.h and /tiovx/include/TI/soc/tivx_config_am62a.h

, but the same problem persists.How should I resolve this? What might be causing it?

  • Hi

    After making the above modifications, I ran make tiovx, but I didn't see the print logs I added in the output—they didn't take effect.  How should I compile the changes under tiovx?  Which file needs to be copied to the sdk after generation?

  • Hi,

    You have to copy the libtivision_apps.so file,

    I would recommend using the command "make linux_fs_install_sd" after you build your entire sdk.

    Regards,
    Gokul