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: graph not in expected state

Genius 13655 points
Part Number: TDA4VM


Hello Champs,

SW: SDK0901
HW:EVM + tda4vm

root@j721e-evm:/opt/vision_apps# ./run_app_tidl_usb_cam.sh
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=5) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    79.537159 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    79.540705 s:  VX_ZONE_INIT:Enabled
    79.540731 s:  VX_ZONE_ERROR:Enabled
    79.540737 s:  VX_ZONE_WARNING:Enabled
    79.544323 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    79.548662 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
driver:         uvcvideo
card:           1080P USB Camera: 1080P USB Cam
bus_info:       usb-xhci-hcd.18.auto-1.3
version:        393518
capabilities:   84a00001
Device /dev/video2: supports capture.
Device /dev/video2: supports streaming.
Support format:
        1.YUYV 4:2:2
        2.Motion-JPEG
        3.Y/UV 4:2:0
fmt.type:               1
pix.pixelformat:        YUYV
pix.height:             720
pix.width:              1280
pix.field:              1
init /dev/video2        [OK]

ADDInfo:    usbCameraObj init ok!
grab yuyv OK
app_tidl_od: Iteration 0 of 1 ... Done.
    80.147400 s:  VX_ZONE_ERROR:[vxWaitGraph:871] graph not in expected state
    80.402402 s:  VX_ZONE_WARNING:[vxReleaseContext:1088] Found a reference 0xffff91bec6d0 of type 0000080f at external count 1, internal count 0, releasing it
    80.402426 s:  VX_ZONE_WARNING:[vxReleaseContext:1090] Releasing reference (name=image_98) now as a part of garbage collection
    80.402664 s:  VX_ZONE_WARNING:[vxReleaseContext:1088] Found a reference 0xffff91becef8 of type 0000080f at external count 1, internal count 0, releasing it
    80.402672 s:  VX_ZONE_WARNING:[vxReleaseContext:1090] Releasing reference (name=image_103) now as a part of garbage collection
    80.402985 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
    80.407388 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 34 alloc's of 47336854 bytes
DDR_SHARED_MEM: Free's : 34 free's  of 47336854 bytes
DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!

How to debug this issue?

Thanks
Regards
Shine

  • Hi Shine,

    80.147400 s:  VX_ZONE_ERROR:[vxWaitGraph:871] graph not in expected state

    This means that when you are calling vxWaitGraph(), your graph is not set to running state yet. That means, it failed to execute the graph. Could you check if your vxVerifyGraph() is passed?

    Regards,

    Nikhil