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.

AM62A7: Edge AI TIOVX Apps run error :Graph verify failed

Part Number: AM62A7

SDK Ver: 10_00_00

I modify tests/app_tiovx_linux_decode_display_test.c and try to capture and display my sensor video. The block diagram is as follows.

The main function is as follows

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
vx_status sensor_capture_test()
{
vx_status status = VX_FAILURE;
GraphObj graph;
NodeObj *viss_node = NULL, *ldc_node = NULL, *scaler_node = NULL, *mosaic_node = NULL;
BufPool *in_buf_pool = NULL, *out_buf_pool = {NULL};
Buf *inbuf = NULL, *outbuf = {NULL};
kmsDisplayCfg kms_display_cfg;
kmsDisplayHandle *kms_display_handle;
v4l2CaptureHandle *v4l2_capture_handle;
TIOVXMultiScalerNodeCfg msc_cfg;
TIOVXLdcNodeCfg ldc_cfg;
TIOVXMosaicNodeCfg mosaic_cfg;
threadParams mosaic_param, ldc_param;
pthread_t id;
printf("link test start\n");
status = tiovx_modules_initialize_graph(&graph);
graph.schedule_mode = VX_GRAPH_SCHEDULE_MODE_QUEUE_AUTO;
// v4l2 capture
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The program ran with an error

16552.514009 s: VX_ZONE_ERROR:[ownContextSendCmd:885] Command ack message returned failure cmd_status: -7
16552.514052 s: VX_ZONE_ERROR:[ownNodeKernelInit:592] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_93
16552.514065 s: VX_ZONE_ERROR:[ownNodeKernelInit:593] Please be sure the target callbacks have been registered for this core
16552.514077 s: VX_ZONE_ERROR:[ownNodeKernelInit:594] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
16552.514092 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:620] kernel init for node 0, kernel com.ti.hwa.vpac_viss ... failed !!!
16552.514125 s: VX_ZONE_ERROR:[vxVerifyGraph:2254] Node kernel init failed
16552.514136 s: VX_ZONE_ERROR:[vxVerifyGraph:2311] Graph verify failed
[TIOVX_MODULES][ERROR] 791: tiovx_modules_verify_graph: Graph Verify failedverify status[-1]

There is no error when I delete the VISS node.I wonder how to solve this porblem.