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.

AM62A3: Unable to init TIOVX module - AM62A

Part Number: AM62A3

Hello,

We are developing application which requires multiple resolution , if we change resolution to different resolution some times it got failed,

I am using imx219 with the board

3280*2464
1640*1232
1280*720
640*480


It's working fine but if i change 3280*2464 to 1280*720 and 3280*2464 to 640*480 continuosuly im getting below error


root@am62axx-evm:~# gst-launch-1.0 v4l2src device=/dev/video-rpi-cam0 io-mode=5 ! queue leaky=2 ! video/x-bayer, width=3280, height=2464,format=rggb ! \
> tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name='SENSOR_SONY_IMX219_RPI' dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7 ! queue ! \
> tiovxmultiscaler ! video/x-raw, format=NV12, width=2560, height=1440 ! tee name=t \
> t. ! queue ! v4l2sink device=/dev/video10 sync=false \
> t. ! queue ! v4l2sink device=/dev/video11 sync=false \
> t. ! queue ! v4l2sink device=/dev/video12 sync=false
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=6) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
  6538.157415 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
  6538.157876 s:  VX_ZONE_INIT:Enabled
  6538.157947 s:  VX_ZONE_ERROR:Enabled
  6538.157980 s:  VX_ZONE_WARNING:Enabled
  6538.160408 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
  6538.162194 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
  6538.433959 s:  VX_ZONE_ERROR:[ownContextSendCmd:868] Command ack message returned failure cmd_status: -7
  6538.434084 s:  VX_ZONE_ERROR:[ownNodeKernelInit:584] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_119
  6538.434129 s:  VX_ZONE_ERROR:[ownNodeKernelInit:585] Please be sure the target callbacks have been registered for this core
  6538.434172 s:  VX_ZONE_ERROR:[ownNodeKernelInit:586] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
  6538.434220 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:583] kernel init for node 0, kernel com.ti.hwa.vpac_viss ... failed !!!
  6538.434283 s:  VX_ZONE_ERROR:[vxVerifyGraph:2055] Node kernel init failed
  6538.434326 s:  VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
  6538.435660 s:  VX_ZONE_ERROR:[ownReleaseReferenceInt:601] Invalid reference
ERROR: from element /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0: Unable to init TIOVX module
Additional debug info:
../git/gst-libs/gst/tiovx/gsttiovxmiso.c(1508): gst_tiovx_miso_negotiated_src_caps (): /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0
Execution ended after 0:00:00.248439455
Setting pipeline to NULL ...
Freeing pipeline ...
  6538.563810 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91785350 of type 00000816 at external count 1, internal count 0, releasing it
  6538.563921 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=user_data_object_108) now as a part of garbage collection
  6538.564166 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91785570 of type 00000816 at external count 1, internal count 0, releasing it
  6538.564212 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=user_data_object_109) now as a part of garbage collection
  6538.564340 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff918252f8 of type 00000813 at external count 1, internal count 0, releasing it
  6538.564382 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=object_array_111) now as a part of garbage collection
  6538.564435 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff917859b0 of type 00000816 at external count 1, internal count 0, releasing it
  6538.564472 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=user_data_object_112) now as a part of garbage collection
  6538.564520 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91825498 of type 00000813 at external count 1, internal count 0, releasing it
  6538.564558 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=object_array_113) now as a part of garbage collection
  6538.564608 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91793700 of type 00000817 at external count 1, internal count 0, releasing it
  6538.564645 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=raw_image_114) now as a part of garbage collection
  6538.565825 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91825638 of type 00000813 at external count 1, internal count 0, releasing it
  6538.566113 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=object_array_115) now as a part of garbage collection
  6538.566182 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff91785bd0 of type 00000816 at external count 1, internal count 0, releasing it
  6538.566221 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=user_data_object_116) now as a part of garbage collection
  6538.566271 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff918257d8 of type 00000813 at external count 1, internal count 0, releasing it
  6538.566308 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=object_array_117) now as a part of garbage collection
  6538.566357 s:  VX_ZONE_WARNING:[vxReleaseContext:1144] Found a reference 0xffff917b7708 of type 0000080f at external count 1, internal count 0, releasing it
  6538.566393 s:  VX_ZONE_WARNING:[vxReleaseContext:1146] Releasing reference (name=image_118) now as a part of garbage collection
  6538.568218 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
  6538.573032 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: 27 alloc's of 102952707 bytes 
DDR_SHARED_MEM: Free's : 27 free's  of 102952707 bytes 
DDR_SHARED_MEM: Open's : 0 allocs  of 0 bytes 
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
root@am62axx-evm:~# 




This is not only issue,we are facing another issue also which we created the thread before This Thread


i think tiovx isp is not able to handle the application


Regards,

Udhayamoorthi Ramasamy