Tool/software:
When using tiovxmosaic via gstreamer, I get the following error.
On SK board, the command works fine.
We are using SDK version 10, and we are using a custom board, not an SK board.
What should I check?
gst:
gst-launch-1.0 \ v4l2src device=/dev/video4 io-mode=5 ! queue max-size-buffers=1 leaky=2 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! \ tiovxdlcolorconvert ! \ video/x-raw,format=NV12, width=1920,height=1080 ! textoverlay text="VIDEO4 (/dev/video4)" ! queue ! mosaic.sink_0 \ v4l2src device=/dev/video3 io-mode=5 ! queue max-size-buffers=1 leaky=2 ! video/x-raw,width=1920,height=1080,framerate=30/1,format=UYVY ! \ tiovxdlcolorconvert ! \ video/x-raw,format=NV12, width=1920,height=1080 ! textoverlay text="VIDEO3 (/dev/video3)" ! queue ! mosaic.sink_1 \ tiovxmosaic name=mosaic \ sink_0::startx="<0>" sink_0::starty="<0>" sink_0::widths="<1920>" sink_0::heights="<540>" \ sink_1::startx="<0>" sink_1::starty="<540>" sink_1::widths="<1920>" sink_1::heights="<540>" ! \ queue ! video/x-raw, width=1920, height=1080 ! queue ! kmssink driver-name=tidss sync=false force-modesetting=true
APP: Init ... !!! 969.185955 s: MEM: Init ... !!! 969.186021 s: MEM: Initialized DMA HEAP (fd=8) !!! 969.186171 s: MEM: Init ... Done !!! 969.186186 s: IPC: Init ... !!! 969.204608 s: IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 969.209618 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 969.209751 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR 969.209770 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING 969.209781 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO 969.210951 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0 969.211281 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1 969.211562 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2 969.211804 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3 969.211838 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!! 969.211852 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock [ 957.770331] max96712 1-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 [ 957.777418] max96712 1-0029: Mapping sink 0/0 to output VC 0, type 2,30 [ 957.784134] max96712 1-0029: Mapping sink 0/1 to output VC 1, type 2,30 [ 957.790849] max96712 1-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 [ 957.797925] max96712 1-0029: Mapping sink 0/0 to output VC 0, type 2,30 [ 957.804637] max96712 1-0029: Mapping sink 0/1 to output VC 1, type 2,30 [ 957.811389] max96712 1-0029: enable streaming (0) [ 957.816211] max96712 1-0029: Prepare for streaming [ 957.821012] max96712 1-0029: max96712_get_vc_maps: VC map for port 0 is 0x04 [ 957.828069] max96712 1-0029: enable tx port 0 [ 957.833446] max96712 1-0029: enable rx port 0 [ 957.837822] max96712 1-0029: enable RX port 0 streams 0x3 [ 957.843234] max9295E 1-0042: enable streaming 969.566105 s: VX_ZONE_ERROR: [ownContextSendCmd:912] Command ack message returned failure cmd_status: -1 969.566171 s: VX_ZONE_ERROR: [ownNodeKernelInit:604] Target kernel, TIVX_CMD_NODE_CREATE failed for node img_mosaic_node 969.566196 s: VX_ZONE_ERROR: [ownNodeKernelInit:605] Please be sure the target callbacks have been registered for this core 969.566208 s: VX_ZONE_ERROR: [ownNodeKernelInit:606] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel 969.566225 s: VX_ZONE_ERROR: [ownGraphNodeKernelInit:690] kernel init for node 0, kernel com.ti.img_proc.img.mosaic:2 ... failed !!! 969.566252 s: VX_ZONE_ERROR: [ graph_135 ] Node kernel init failed 969.566264 s: VX_ZONE_ERROR: [ graph_135 ] Graph verify failed 969.566469 s: VX_ZONE_ERROR: [ownReleaseReferenceInt:747] Invalid reference ERROR: from element /GstPipeline:pipeline0/GstTIOVXMosaic:mosaic: Unable to init TIOVX module Additional debug info: /usr/src/debug/edgeai-gst-plugins/1.0.0/gst-libs/gst/tiovx/gs[ 958.028382] max96712 1-0029: disable streaming (1) ttiovxmiso.c(1512): gst_tiovx_miso_negotiated_src_caps (): /GstP[ 958.036344] max96712 1-0029: disable RX port 0 streams 0x3 ipeline:pipeline0/GstTIOVXMosaic:mosaic Execution ended after 0[ 958.047355] max9295E 1-0042: disable streaming :00:00.183445765 Setting pipeline to NULL ... [ 958.057425] max96712 1-0029: disable rx port 0 [ 958.065998] max96712 1-0029: disable tx port 0 Freeing pipeline ... 969.782587 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff882ea970 of type 00000816 at external count 1, internal count 0, releasing it 969.782666 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=mosaic_node_config) now as a part of garbage collection 969.782760 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff88321e50 of type 0000080f at external count 1, internal count 0, releasing it 969.782774 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=mosaic_node_background_image_0) now as a part of garbage collection 969.782795 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff8839cdd0 of type 00000813 at external count 1, internal count 0, releasing it 969.782808 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=object_array_129) now as a part of garbage collection 969.782829 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff88322120 of type 0000080f at external count 1, internal count 0, releasing it 969.782842 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=image_130) now as a part of garbage collection 969.783133 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff8839cf80 of type 00000813 at external count 1, internal count 0, releasing it 969.783149 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=object_array_131) now as a part of garbage collection 969.783169 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff883223f0 of type 0000080f at external count 1, internal count 0, releasing it 969.783182 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=image_132) now as a part of garbage collection 969.783480 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff883226c0 of type 0000080f at external count 1, internal count 0, releasing it 969.783495 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=mosaic_node_output_image_0) now as a part of garbage collection 969.783787 s: VX_ZONE_WARNING: [vxReleaseContext:1275] Found a reference 0xffff882a95b0 of type 00000804 at external count 1, internal count 1, releasing it 969.783802 s: VX_ZONE_WARNING: [vxReleaseContext:1277] Releasing reference (name=com.ti.img_proc.img.mosaic:2) now as a part of garbage collection 969.783816 s: VX_ZONE_WARNING: [vxReleaseContext:1297] A kernel with name com.ti.img_proc.img.mosaic:2 has not been removed, possibly due to a kernel module not being unloaded. 969.783828 s: VX_ZONE_WARNING: [vxReleaseContext:1298] Removing as a part of garbage collection