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.

Linux/TDA2PXEVM: TDA2PXEVM

Part Number: TDA2PXEVM

Tool/software: Linux

Dear,

1. ISS capture -> ISSM2mIsp -> Alg_IssAewb

  ISSM2mIsp -> Select_Capture -> Merge_Simcop->Dup_Simcop->Display_Video

Select_Capture->ISSM2mSimcop->Merge_Simcop

Above use case runs well.

But, if I add Sync between Dup_Simcop and Dispaly_Video the display screen is black.

In Sync paramter  function, 

I set only two parameters which are


static Void setSyncLinkParams(
 SyncLink_CreateParams *pPrm,
 UInt32 numCh,
 UInt32 syncPeriod)
{
 pPrm->syncDelta = SYNC_DELTA_IN_MSEC; //16
 pPrm->syncThreshold = SYNC_DROP_THRESHOLD_IN_MSEC; //33
}

What is problem?

Thanks,

Best regards,

Heechang

  • Hi Kim,

    Display link does not support composite buffer that sync link outputs. so we cannot put sync link before display link.
    Why exactly you want to put sync before display?

    Rgds,
    Brijesh
  • Hi Brijesh,

    I'm trying to transfer RTOS usecase to HLOS.
    In case of vision_sdk\apps\src\rtos\usecases\iss_mult_capture_isp_simcop_stereo_tda3xx, the link flow is below.

    UseCase: chains_issMultCaptIspSimcop_Stereo


    IssCapture -> IssM2mIsp -> IssM2mResizer_Capture -> Select_Capture -> IssM2mSimcop -> Merge_Simcop -> Dup_Simcop

    Select_Capture -> Merge_Simcop


    Dup_Simcop -> Sync_Org -> Alg_DmaSwMs -> Display_Org

    Dup_Simcop -> Sync_CensusIn -> Dup_CensusIn -> Alg_Census (EVE1) -> Alg_DisparityHamDist (EVE1) -> Merge_StereoOut -> Alg_StereoPostProcess (DSP1) -> Display_Disparity

    Dup_CensusIn->Merge_StereoOut


    IssM2mIsp -> Alg_IssAewb

    GrpxSrc -> Display_Grp

    For this case, the link flow (Dup_Simcop -> Sync_Org -> Alg_DmaSwMs -> Display_Org )is specified.
    I'm trying to add sync link and Alg_DmaSwMs link.

    Then, In order to use Sync link, should I add Alg_DmaSwMs cause Display link does not support composite buffers?
    I read the VisionSDK_SW_Architecture.pdf, but the sync link does not be explained detail.


    Thanks,
    Heechang
  • Hi Kim,

    Yes, you could add sync link and dma sw ms to display all four channels in a single frame. But please note that DMA sw ms internally uses same ISP for the resizing operation. So ISP may not run in real time.

    Rgds,
    Brijesh
  • Dear Brijesh,

    Thanks, your reply.
    I have a question.
    Then, ISSM2mIsp -> Select_Capture -> Merge_Simcop->Dup_Simcop->Alg_DMASwMs->Display_Video case will does not matter to display?
    I just will remove Sync link.

    Thanks
    Best regards,
    Heechang
  • Hi Kim,

    You require sync link before dma sw ms, this is to make sure that all four channels, which you want to put in a single frame, are available at the same time to the dma sw ms.

    Rgds,
    Brijesh
  • Hi Brijesh,

    When I set the link flow like
    IssCapture -> IssM2mIsp -> IssM2mResizer_Capture -> Select_Capture -> IssM2mSimcop -> Merge_Simcop -> Dup_Simcop
    Select_Capture -> Merge_Simcop
    Dup_Simcop -> Sync_Org -> Alg_DmaSwMs -> Display_Org
    ,
    the monitor is green by HDMI.

    But, When I remove the two links which are Sync_Org and Alg_DmaSwMs, the capture frame is shown good.

    What is problem?

    Regards,
    Heechang
  • Hi Kim,

    How many input cameras do you have?

    Rgds,
    Brijesh
  • Hi Brijesh

    I have two cameras input and connected these to EVM.
    Later I will use 3 cameras.
    Once I'm using 2 cameras input now.

    Regards,
    Heechang
  • Hi Kim,

    Have you changed DMA SW ms parameters to correct mosaic them? Also what is your sync parameters? Is your sync delta and threshold set correctly?
    Depending on your chain and modules used in the chain, you need to set sync delta and threshold..

    Rgds,
    Brijesh
  • Hi Brijesh,

    I used DMA SW ms parameters same with another usecase(vision_sdk\apps\src\rtos\usecases\avbrx_dec_display_avbtx). And numChannel is 2 and displayWidth and displayHeight set by 1920 and 1080.

    The sync function parameters are #define SYNC_DELTA_IN_MSEC and #define SYNC_DROP_THRESHOLD_IN_MSEC (33).

    Best regards,
    Heechang
  • Hi Kim,

    Typically we keep threshold = delta x 2.
    Can you increase depta to 50ms and try it out?

    Rgds,
    Brijesh
  • Hi Brijesh,

    My code is below(parameters and functions).

    71 /**
    72 *******************************************************************************
    73 * \brief Channels with timestamp difference <= SYNC_DELTA_IN_MSEC
    74 * are synced together by sync link
    75 *******************************************************************************
    76 */
    77 #define SYNC_DELTA_IN_MSEC (16)
    78
    79 /**
    80 *******************************************************************************
    81 * \brief Channels with timestamp older than SYNC_DROP_THRESHOLD_IN_MSEC
    82 * are dropped by sync link
    83 *******************************************************************************
    84 */
    85 #define SYNC_DROP_THRESHOLD_IN_MSEC (33)



    591 setSyncLinkParams(
    592 &pUcObj->Sync_OrgPrm,
    593 1, 0x0);
    594
    595
    596 setDmaSwMsLinkParams(
    597 &pUcObj->Alg_DmaSwMsPrm,
    598 2,
    599 pObj->displayWidth, //1920
    600 pObj->displayHeight); //1080




    180 static Void setSyncLinkParams(
    181 SyncLink_CreateParams *pPrm,
    182 UInt32 numCh,
    183 UInt32 syncPeriod)
    184 {
    185 pPrm->syncDelta = SYNC_DELTA_IN_MSEC;
    186 pPrm->syncThreshold = SYNC_DROP_THRESHOLD_IN_MSEC;
    187 }



    202 static Void setDmaSwMsLinkParams(
    203 AlgorithmLink_DmaSwMsCreateParams *pPrm,
    204 UInt32 numCh,
    205 UInt32 outWidth,
    206 UInt32 outHeight)
    207 {
    208 UInt32 algId, winId;
    209 UInt32 useLocalEdma;
    210 AlgorithmLink_DmaSwMsLayoutWinInfo *pWinInfo;
    211 UInt32 widthFactor, heightFactor;
    212
    213 useLocalEdma = FALSE;
    214 algId = ALGORITHM_LINK_IPU_ALG_DMA_SWMS;
    215
    216 pPrm->baseClassCreate.algId = algId;
    217 pPrm->numOutBuf = 4;
    218 pPrm->useLocalEdma = useLocalEdma;
    219 pPrm->initLayoutParams.numWin = numCh;
    220 pPrm->maxOutBufWidth = outWidth;
    221 pPrm->maxOutBufHeight = outHeight;
    222
    223 switch (numCh)
    224 {
    225 case 1:
    226 widthFactor = 1;
    227 heightFactor = 1;
    228 pPrm->initLayoutParams.numWin = 1;
    229 break;
    230 case 2:
    231 widthFactor = 2;
    232 heightFactor = 1;
    233 pPrm->initLayoutParams.numWin = 2;
    234 break;
    235 case 3:
    236 case 4:
    237 widthFactor = 2;
    238 heightFactor = 2;
    239 pPrm->initLayoutParams.numWin = 4;
    240 break;
    241 case 5:
    242 case 6:
    243 widthFactor = 2;
    244 heightFactor = 3;
    245 pPrm->initLayoutParams.numWin = 6;
    246 break;
    247 default:
    248 widthFactor = 2;
    249 heightFactor = 2;
    250 pPrm->initLayoutParams.numWin = 4;
    251 break;
    252 }
    253
    254 /* assuming 4Ch and 2x2 layout */
    255 for(winId=0; winId<pPrm->initLayoutParams.numWin; winId++)
    256 {
    257 pWinInfo = &pPrm->initLayoutParams.winInfo[winId];
    258
    259 pWinInfo->chId = winId;
    260
    261 pWinInfo->inStartX = 0;
    262 pWinInfo->inStartY = 0;
    263
    264 pWinInfo->width =
    265 SystemUtils_floor(pPrm->initLayoutParams.outBufWidth/widthFactor, 16);
    266 pWinInfo->height =
    267 pPrm->initLayoutParams.outBufHeight/heightFactor;
    268
    269 /* winId == 0 */
    270 pWinInfo->outStartX = 0;
    271 pWinInfo->outStartY = 0;
    272
    273 if(winId==1)
    274 {
    275 pWinInfo->outStartX = pWinInfo->width;
    276 pWinInfo->outStartY = 0;
    277 } else
    278 if(winId==2)
    279 {
    280 pWinInfo->outStartX = 0;
    281 pWinInfo->outStartY = pWinInfo->height;
    282 } else
    283 if(winId==3)
    284 {
    285 pWinInfo->outStartX = pWinInfo->width;
    286 pWinInfo->outStartY = pWinInfo->height;
    287 } else
    288 if(winId==4)
    289 {
    290 pWinInfo->outStartX = 0;
    291 pWinInfo->outStartY = 2 * pWinInfo->height;
    292 } else
    293 if(winId==5)
    294 {
    295 pWinInfo->outStartX = pWinInfo->width;
    296 pWinInfo->outStartY = 2 * pWinInfo->height;
    297 }
    298 }
    299 }

    Regards,
    Heechang
  • Hi Brijesh,

    I changed the SYNC_DELTA_IN_MSEC value to 50 but the result is same(SYNC_DROP_THRESHOLD_IN_MSEC is 33).
    I attached my code.

    Something is wrong?

    Regards,
    Heechang
  • Hi Kim,
    Since it works without sync, it is clear that sync is dropping frames. Now sync will drop frames only if time stamp from both the frames are more than the delta/threshold specified. Please check first by setting delta to 1000 and see if it outputs something.

    Rgds,
    Brijesh
  • Hi Brijesh,

    I changed the parameter SYNC_DROP_THRESHOLD_IN_MSEC 33 to 100 (delat is 50) as you said.
    The green screen is gone.
    But, just statistcs data screen is shown like TI logo and core sharing.

    Should I adjust the sync values?

    Regards,
    Heechang
  • Hi Brijesh,

    Could you explain regarding SYNC_DROP_THRESHOLD_IN_MSEC and SYNC_DELTA_IN_MSEC?
    How should I set the values?

    Regards,
    Heechang
  • Hi Kim,

    Since you are capturing two channels at 30fps, their timestamp should be at max 33ms apart. This is sync delta. Sync link will try to synchronize the frame, whose time stamp is within sync delta.
    Now if the frame from cam0 goes through different chain than the frame from cam1, we need to include latency for the cam0 also in the sync delta. So lets say Simcop takes around 30ms, the delta between cam0 and cam1 frame could be around 63ms. If the two frame's timestamp are withing 63ms, they will be merged and sent out as a composite frame.
    But if that does not match, it will wait for the threshold amount of time to synchronize the frame. if it does not receive frame whose timestamp is within sync delta withing threshold time, then it will drop the frame.

    If you set delta to 1000, it will match any two frames and send them out.

    Rgds,
    Brijesh
  • Hi Brijesh,

    When I merge Sync and Alg_DMASwMs links, the System_linkCreate of the Display link is failed.

    The log is below.
    [HOST] [IPU2 ] 41.756877 s: UTILS: DMA: Allocated CH (TCC) = 35 (35)
    [HOST] [IPU2 ] 41.757060 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 35 (0x63304860)
    [HOST] [IPU2 ] 41.758585 s: ISSM2MSIMCOP: Create Done !!!
    [HOST] [IPU2 ] 41.761849 s: DISPLAY: Create in progress !!!
    [HOST] [IPU2 ] 41.762215 s: dispcore/src/vpscore_dss.c @ Line 1433:
    [HOST] [IPU2 ] 41.762307 s: Upscaling of greater than 8x is not supported
    [HOST] [IPU2 ] 41.762398 s: dispdrv/src/vpsdrv_displayCore.c @ Line 304:
    [HOST] [IPU2 ] 41.762490 s: Set DSS parameter failed
    [HOST] [IPU2 ] 41.762520 s: Assertion @ Line: 459 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : failed !!!

    I set the Alg_DMASwMs parameter above. (setDmaSwMsLinkParams)
    If I resolve the Alg_DMASwMs issue, the display will good.

    Thanks for your support.

    Best regards,
    Heechang
  • Hi Kim,

    Can you check your output resolution from SWMS? You could vps_print outWidth/outHeight after below statements.

    220 pPrm->maxOutBufWidth = outWidth;
    221 pPrm->maxOutBufHeight = outHeight;

    Also what is your display size? Are you displaying it over smaller LCD? Please note that display cannot upscale more than 8x. It seems outwidth/outheight is incorrect as per the display resolution.

    Rgds,
    Brijesh
  • Hi Brijesh,

    pPrm->maxOutBufWidth = 1920;
    pPrm->maxOutBufHeight = 1080;

    My display size is 1920*1080.

    Regards,
    Heechang
  • Hi Kim,

    Can you put breakpoint in the display link and check what it is trying to set as input frame size?
    It seems it is wrongly configuring input frame size.. Then you could back trace to check where the incorrect frame size is set.

    Rgds,
    Brijesh
  • Hi Brijesh,

    After Alg_DMASwMs paramter set, the display configuration code runs as below.

    630 chains_issIspSimcop_Display_SetDisplayPrms(
    631 pObj->chainsCfg->displayType, &pUcObj->Display_VideoPrm,
    632 &pUcObj->Display_GrpxPrm,
    633 pObj->displayWidth, pObj->displayHeight, //1920, 1080
    634 pUcObj->IssM2mIspPrm.channelParams[0U].outParams.widthRszA, //1920
    635 pUcObj->IssM2mIspPrm.channelParams[0U].outParams.heightRszA); //1080

    637 ChainsCommon_StartDisplayCtrl(
    638 pObj->chainsCfg->displayType, //4
    639 pObj->displayWidth, //1920
    640 pObj->displayHeight); //1080


    Below are the functions .

    420 Void chains_issIspSimcop_Display_SetDisplayPrms(
    421 Chains_DisplayType displayType,
    422 DisplayLink_CreateParams *pPrm_Video,
    423 DisplayLink_CreateParams *pPrm_Grpx,
    424 UInt32 displayWidth, //1920
    425 UInt32 displayHeight, //1080
    426 UInt32 captureWidth, //1920
    427 UInt32 captureHeight) //1080
    428 {
    429 UInt32 dispWidth, dispHeight;
    430
    431 if(pPrm_Video)
    432 {
    433 /* To maintain the aspect ratio, change the display tarWidth */
    434 dispWidth = captureWidth * displayHeight / captureHeight;
    435 dispHeight = displayHeight;
    436
    437 if (dispWidth > displayWidth)
    438 {
    439 dispWidth = displayWidth;
    440 dispHeight = displayWidth * captureHeight / captureWidth;
    441 }
    442
    443 pPrm_Video->rtParams.tarWidth = dispWidth;
    444 pPrm_Video->rtParams.tarHeight = dispHeight;
    445 pPrm_Video->rtParams.posX = (displayWidth - dispWidth) / 2U;
    446 pPrm_Video->rtParams.posY = (displayHeight - dispHeight) / 2U;
    447
    448 pPrm_Video->displayId = DISPLAY_LINK_INST_DSS_VID1;
    449 }
    450
    451 if (pPrm_Grpx)
    452 {
    453 pPrm_Grpx->displayId = DISPLAY_LINK_INST_DSS_GFX1;
    454 }
    455 }


    1728 Int32 ChainsCommon_StartDisplayCtrl(UInt32 displayType, //4 (CHAINS_DISPLAY_TYPE_HDMI_1080P)
    1729 UInt32 displayWidth, //1920
    1730 UInt32 displayHeight) //1080

    I used cameras which are 1920x1080 size.(captureWidthxcaputureHeight)

    When the "Display Link" is created, the parameters are shown as below.
    [HOST] [HOST ] 170.053833 s: pObj->Display_VideoPrm.rtParams.tarWidth:1920
    [HOST] [HOST ] 170.053833 s: pObj->Display_VideoPrm.rtParams.tarHeight:1080


    I don't have emulator so I just insert log to code.

    Thanks,
    Best regards,
    Heechang
  • Hi Brijesh,

    I found the reason why the log is shown which is "Upscaling of greater than 8x is not supported".
    I checked the function of "Int32 DisplayLink_drvDisplayCreate(DisplayLink_Obj *pObj)"
    The parameters are as below.
    pObj->createArgs.rtParams.tarWidth : 1920
    pObj->createArgs.rtParams.tarHeight : 1080
    dssPrms->inFmt.width = pInChInfo->width : 0
    dssPrms->inFmt.height = pInChInfo->height :0

    In function of VpsCore_dssValidateDssParams(),
    It is checked like below.

    1426 /* Scaling ratio check */
    1427 if (((pathCfg->inFmt.height * 8) <
    1428 (pathCfg->tarHeight)) ||
    1429 ((pathCfg->inFmt.width * 8) < (pathCfg->tarWidth)))
    1430 {
    1431 GT_0trace(
    1432 VpsDssCoreTrace, GT_ERR,
    1433 "Upscaling of greater than 8x is not supported \r\n");
    1434 retVal = BSP_EINVALID_PARAMS;
    1435 }

    I have a question.
    Before create the link, set the parameters of the "DisplayLink_CreateParams".

    The pInChInfo is System_LinkChInfo.
    But, I don't set the parameters related with System_LinkChInfo.

    When the parameters of the System_LinkChInfo is set?

    Best regards,
    Heechang
  • Hi Brijesh,

    If I inserted Alg_DmaSwMs link, dssPrms->inFmt.width and dssPrms->inFmt.height are zero.
    But, I think that the Alg_DmaSwMs does not set the dssPrms.

    Rgds,
    Heechang
  • Hi Brijesh,

    I resolved this issue changing the linkID.

    73 Void chains_issIspSimcop_Display_SetLinkId(chains_issIspSimcop_DisplayObj *pObj){
    74 pObj->IssCaptureLinkID = SYSTEM_LINK_ID_ISSCAPTURE_0;
    75 pObj->IssM2mIspLinkID = SYSTEM_LINK_ID_ISSM2MISP_0;
    76 pObj->Alg_IssAewbLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_ALG_1); //origianlly SYSTEM_LINK_ID_ALG_0
    77 pObj->IssM2mSimcopLinkID = SYSTEM_LINK_ID_ISSM2MSIMCOP_0;
    78 pObj->Select_CaptureLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_SELECT_0);
    79 pObj->Merge_SimcopLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_MERGE_0);
    80 pObj->Dup_SimcopLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_DUP_0);
    81 pObj->Sync_OrgLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_SYNC_0);
    82 pObj->Alg_DmaSwMsLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_ALG_0);
    83 pObj->Display_VideoLinkID = SYSTEM_LINK_ID_DISPLAY_0;
    84 pObj->GrpxSrcLinkID = IPU1_0_LINK (SYSTEM_LINK_ID_GRPX_SRC_0);
    85 pObj->Display_GrpxLinkID = SYSTEM_LINK_ID_DISPLAY_1;
    86 }

    I have two question.

    First,
    This code is generated by code generation tools.
    The Alg_IssAewbLinkID and Alg_DmaSwMsLinkID are same link ID(SYSTEM_LINK_ID_ALG_0).
    Do I change this link id value?

    Second,
    The screen shows statistics data and TI logo with black screen.
    If I remove Sync and Alg_DmaSwMs link, the camera input screen is shown.
    I don't know that it is normal or not.

    Thank you very much.
    Best regards,
    Heechang
  • Hi Kim,

    That's great.

    If you are running both of these algos on the same core, then the link id must be different, cannot use ALG_0 for both AEWB and DMA SWMS.  Can you change to ALG_1 for DMA SWMS.

    This is still not correct, it means sync is still dropping frames. can you check sync parameters? can you share print stats by pressing 'p' console?

    Rgds,

    Brijesh

  • Hi Brijesh,

    The status is below.

    [HOST] [HOST ] ====================
    [HOST] [HOST ] Chains Run-time Menu
    [HOST] [HOST ] ====================
    [HOST] [HOST ]
    [HOST] [HOST ] 0: Stop Chain
    [HOST] [HOST ]
    [HOST] [HOST ] p: Print Performance Statistics
    [HOST] [HOST ]
    [HOST] [HOST ] Enter Choice:
    [HOST] [HOST ]
    p
    [HOST] [IPU2 ] 493.677545 s:
    [HOST] [IPU2 ] 493.677606 s: CPU [DSP1 ] Statistics,
    [HOST] [IPU2 ] 493.677667 s: *************************
    [HOST] [IPU2 ] 493.677728 s:
    [HOST] [IPU2 ] 493.677789 s: LOAD: CPU: 0.3% HWI: 0.1%, SWI:0.0%, Low Power: 98.9%
    [HOST] [IPU2 ] 493.677911 s:
    [HOST] [IPU2 ] 493.677972 s: LOAD: TSK: MISC : 0.2%
    [HOST] [IPU2 ] 493.678063 s:
    [HOST] [IPU2 ] 493.678094 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1021
    [HOST] [IPU2 ] 493.678185 s:
    [HOST] [IPU2 ] 493.678246 s: SYSTEM: Sempahores Objects, 456 of 1050 free
    [HOST] [IPU2 ] 493.678338 s: SYSTEM: Task Objects , 91 of 100 free
    [HOST] [IPU2 ] 493.678429 s: SYSTEM: Clock Objects , 99 of 100 free
    [HOST] [IPU2 ] 493.678704 s: SYSTEM: Hwi Objects , 100 of 100 free
    [HOST] [IPU2 ] 493.678795 s:
    [HOST] [IPU2 ] 493.678856 s: SYSTEM: Heap = LOCAL_L2 @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
    [HOST] [IPU2 ] 493.679009 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 524288 B (512 KB), Free size = 520464 B (508 KB)
    [HOST] [IPU2 ] 493.679161 s:
    [HOST] [IPU2 ] 493.679222 s:
    [HOST] [IPU2 ] 493.679253 s: CPU [EVE1 ] Statistics,
    [HOST] [IPU2 ] 493.679314 s: *************************
    [HOST] [IPU2 ] 493.679375 s:
    [HOST] [IPU2 ] 493.679436 s: LOAD: CPU: 0.6% HWI: 0.2%, SWI:0.1%, Low Power: 94.1%
    [HOST] [IPU2 ] 493.679588 s:
    [HOST] [IPU2 ] 493.679649 s: LOAD: TSK: MISC : 0.3%
    [HOST] [IPU2 ] 493.679741 s:
    [HOST] [IPU2 ] 493.679771 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1021
    [HOST] [IPU2 ] 493.679863 s:
    [HOST] [IPU2 ] 493.679893 s: SYSTEM: Sempahores Objects, 457 of 1050 free
    [HOST] [IPU2 ] 493.679985 s: SYSTEM: Task Objects , 93 of 100 free
    [HOST] [IPU2 ] 493.680076 s: SYSTEM: Clock Objects , 99 of 100 free
    [HOST] [IPU2 ] 493.680168 s: SYSTEM: Hwi Objects , 99 of 100 free
    [HOST] [IPU2 ] 493.680259 s:
    [HOST] [IPU2 ] 493.680290 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
    [HOST] [IPU2 ] 493.680442 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 258632 B (252 KB)
    [HOST] [IPU2 ] 493.681937 s:
    [HOST] [IPU2 ] 493.682028 s:
    [HOST] [IPU2 ] 493.682059 s: CPU [IPU2 ] Statistics,
    [HOST] [IPU2 ] 493.682120 s: *************************
    [HOST] [IPU2 ] 493.682181 s:
    [HOST] [IPU2 ] 493.682242 s: LOAD: CPU: 26.3% HWI: 3.1%, SWI:0.8%, Low Power: 146.5%
    [HOST] [IPU2 ] 493.682394 s:
    [HOST] [IPU2 ] 493.682425 s: LOAD: TSK: DUP0 : 0.2%
    [HOST] [IPU2 ] 493.682608 s: LOAD: TSK: MERGE0 : 0.3%
    [HOST] [IPU2 ] 493.682730 s: LOAD: TSK: SELECT0 : 0.3%
    [HOST] [IPU2 ] 493.682821 s: LOAD: TSK: SYNC0 : 0.8%
    [HOST] [IPU2 ] 493.682943 s: LOAD: TSK: ISSCAPTURE : 0.5%
    [HOST] [IPU2 ] 493.683035 s: LOAD: TSK: ISSM2MISP : 4.1%
    [HOST] [IPU2 ] 493.683126 s: LOAD: TSK: ISSM2MSIMCOP : 1.6%
    [HOST] [IPU2 ] 493.683248 s: LOAD: TSK: ALGORITHM0 : 10.5%
    [HOST] [IPU2 ] 493.683340 s: LOAD: TSK: GrpxSrc0 : 3.8%
    [HOST] [IPU2 ] 493.683462 s: LOAD: TSK: STAT_COLL : 3.5%
    [HOST] [IPU2 ] 493.683797 s: LOAD: TSK: MISC : -3.-2%
    [HOST] [IPU2 ] 493.683889 s:
    [HOST] [IPU2 ] 493.683919 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1021
    [HOST] [IPU2 ] 493.684011 s:
    [HOST] [IPU2 ] 493.684072 s: SYSTEM: Sempahores Objects, 53 of 1050 free
    [HOST] [IPU2 ] 493.684163 s: SYSTEM: Task Objects , 7 of 100 free
    [HOST] [IPU2 ] 493.684255 s: SYSTEM: Clock Objects , 97 of 100 free
    [HOST] [IPU2 ] 493.684346 s: SYSTEM: Hwi Objects , 91 of 100 free
    [HOST] [IPU2 ] 493.684529 s:
    [HOST] [IPU2 ] 493.684590 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 154760 B (151 KB)
    [HOST] [IPU2 ] 493.684773 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
    [HOST] [IPU2 ] 493.684926 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x84203000, Total size = 346030080 B (330 MB), Free size = 220637696 B (210 MB)
    [HOST] [IPU2 ] 493.685078 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xa0100000, Total size = 1046912 B (0 MB), Free size = 1019264 B (0 MB)
    [HOST] [IPU2 ] 493.685262 s:
    [HOST] [IPU2 ] 493.685658 s:
    [HOST] [IPU2 ] 493.685750 s: Statistics Collector,
    [HOST] [IPU2 ] 493.685872 s:
    [HOST] [IPU2 ] 493.685933 s: STATISTIC Avg Data Peak Data
    [HOST] [IPU2 ] 493.686024 s: COLLECTOR MB/s MB/s
    [HOST] [IPU2 ] 493.686116 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.686207 s: SCI_EMIF1 RD+WR | 24.053754 107.218868
    [HOST] [IPU2 ] 493.686329 s: SCI_EMIF2 RD+WR | 28.588329 116.601769
    [HOST] [IPU2 ] 493.686451 s: SCI_EMIF1 RD ONLY | 13.531049 56.017589
    [HOST] [IPU2 ] 493.686604 s: SCI_EMIF1 WR ONLY | 10.536081 51.258844
    [HOST] [IPU2 ] 493.686787 s: SCI_EMIF2 RD ONLY | 15.975595 61.267900
    [HOST] [IPU2 ] 493.686909 s: SCI_EMIF2 WR ONLY | 12.617580 55.385358
    [HOST] [IPU2 ] 493.687031 s: SCI_MA_MPU_P1 | 0.263525 60.465413
    [HOST] [IPU2 ] 493.687153 s: SCI_MA_MPU_P2 | 0.207629 59.496201
    [HOST] [IPU2 ] 493.687244 s: SCI_DSS | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687366 s: SCI_IPU1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687488 s: SCI_VIP1_P1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687641 s: SCI_VIP1_P2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687732 s: SCI_VPE_P1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687854 s: SCI_VPE_P2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.687946 s: SCI_DSP1_MDMA | 2.918540 30.574673
    [HOST] [IPU2 ] 493.688068 s: SCI_DSP1_EDMA | 0.000000 0.000000
    [HOST] [IPU2 ] 493.688159 s: SCI_DSP2_MDMA | 0.000000 0.000000
    [HOST] [IPU2 ] 493.688281 s: SCI_DSP2_EDMA | 0.000000 0.000000
    [HOST] [IPU2 ] 493.688373 s: SCI_EVE1_TC0 | 2.076097 25.522176
    [HOST] [IPU2 ] 493.688495 s: SCI_EVE1_TC1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.689349 s: SCI_EVE2_TC0 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.689562 s: SCI_EVE2_TC1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.689654 s: SCI_EDMA_TC0_RD | 0.012347 0.093562
    [HOST] [IPU2 ] 493.689776 s: SCI_EDMA_TC0_WR | 0.012348 0.093562
    [HOST] [IPU2 ] 493.689867 s: SCI_EDMA_TC1_RD | 0.000000 0.000000
    [HOST] [IPU2 ] 493.689989 s: SCI_EDMA_TC1_WR | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690081 s: SCI_VIP2_P1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690203 s: SCI_VIP2_P2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690294 s: SCI_IVA | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690386 s: SCI_GPU_P1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690538 s: SCI_GPU_P2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690630 s: SCI_GMAC_SW | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690752 s: SCI_OCMC_RAM1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690843 s: SCI_OCMC_RAM2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.690965 s: SCI_OCMC_RAM3 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.691057 s: SCI_ISS_RT | 0.000000 0.000000
    [HOST] [IPU2 ] 493.691148 s: SCI_ISS_NRT1 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.691270 s: SCI_ISS_NRT2 | 0.000000 0.000000
    [HOST] [IPU2 ] 493.691362 s: SCI_CAL | 0.000000 0.000000
    [HOST] [IPU2 ] 493.804733 s:
    [HOST] [IPU2 ] 493.804794 s:
    [HOST] [IPU2 ] 493.805160 s:
    [HOST] [IPU2 ] 493.805252 s: [ ISSCAPTURE ] Link Statistics,
    [HOST] [IPU2 ] 493.805313 s: ******************************
    [HOST] [IPU2 ] 493.805374 s:
    [HOST] [IPU2 ] 493.805404 s: Elapsed time = 6232 msec
    [HOST] [IPU2 ] 493.805465 s:
    [HOST] [IPU2 ] 493.805557 s: Get Full Buf Cb = 60.1 fps
    [HOST] [IPU2 ] 493.805618 s: Put Empty Buf Cb = 60.1 fps
    [HOST] [IPU2 ] 493.805709 s: Driver/Notify Cb = 59.85 fps
    [HOST] [IPU2 ] 493.805770 s:
    [HOST] [IPU2 ] 493.805831 s: Input Statistics,
    [HOST] [IPU2 ] 493.805862 s:
    [HOST] [IPU2 ] 493.805923 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.806106 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.806197 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.806258 s: 0 | 30. 0 0. 0 0. 0 30. 0
    [HOST] [IPU2 ] 493.806411 s: 1 | 30. 0 0. 0 0. 0 30. 0
    [HOST] [IPU2 ] 493.806563 s:
    [HOST] [IPU2 ] 493.806594 s: Output Statistics,
    [HOST] [IPU2 ] 493.806655 s:
    [HOST] [IPU2 ] 493.806685 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.806777 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.806838 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.806929 s: 0 | 0 30. 0 0. 0 0. 0
    [HOST] [IPU2 ] 493.807051 s: 1 | 0 30. 0 0. 0 0. 0
    [HOST] [IPU2 ] 493.815622 s:
    [HOST] [IPU2 ] 493.815714 s: [ ISSM2MISP ] Link Statistics,
    [HOST] [IPU2 ] 493.815775 s: ******************************
    [HOST] [IPU2 ] 493.815836 s:
    [HOST] [IPU2 ] 493.815866 s: Elapsed time = 6242 msec
    [HOST] [IPU2 ] 493.815927 s:
    [HOST] [IPU2 ] 493.815988 s: New data Recv = 60.7 fps
    [HOST] [IPU2 ] 493.816049 s: Get Full Buf Cb = 119.83 fps
    [HOST] [IPU2 ] 493.816141 s: Driver/Notify Cb = 60.7 fps
    [HOST] [IPU2 ] 493.816202 s:
    [HOST] [IPU2 ] 493.816232 s: Input Statistics,
    [HOST] [IPU2 ] 493.816293 s:
    [HOST] [IPU2 ] 493.816324 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.816415 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.816476 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.816598 s: 0 | 30.11 0. 0 0. 0 30.11
    [HOST] [IPU2 ] 493.816751 s: 1 | 29.95 0. 0 0. 0 29.95
    [HOST] [IPU2 ] 493.816873 s:
    [HOST] [IPU2 ] 493.816903 s: Output Statistics,
    [HOST] [IPU2 ] 493.816964 s:
    [HOST] [IPU2 ] 493.816995 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.817086 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.817147 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.817239 s: 0 | 0 30.11 0. 0 0. 0
    [HOST] [IPU2 ] 493.817330 s: 0 | 1 30.11 0. 0 0. 0
    [HOST] [IPU2 ] 493.817452 s: 0 | 2 0. 0 30.11 0. 0
    [HOST] [IPU2 ] 493.817605 s: 0 | 3 0. 0 30.11 0. 0
    [HOST] [IPU2 ] 493.817788 s: 1 | 0 29.95 0. 0 0. 0
    [HOST] [IPU2 ] 493.817910 s: 1 | 1 29.95 0. 0 0. 0
    [HOST] [IPU2 ] 493.818032 s: 1 | 2 0. 0 29.95 0. 0
    [HOST] [IPU2 ] 493.818154 s: 1 | 3 0. 0 29.95 0. 0
    [HOST] [IPU2 ] 493.818276 s:
    [HOST] [IPU2 ] 493.818337 s: [ ISSM2MISP ] LATENCY,
    [HOST] [IPU2 ] 493.818367 s: ********************
    [HOST] [IPU2 ] 493.818428 s: Local Link Latency : Avg = 7921 us, Min = 7869 us, Max = 9608 us,
    [HOST] [IPU2 ] 493.818581 s: Source to Link Latency : Avg = 11105 us, Min = 7960 us, Max = 17050 us,
    [HOST] [IPU2 ] 493.818703 s:
    [HOST] [IPU2 ] 493.828676 s:
    [HOST] [IPU2 ] 493.828737 s: [ ALG_ISS_AEWB ] Link Statistics,
    [HOST] [IPU2 ] 493.828829 s: ******************************
    [HOST] [IPU2 ] 493.828890 s:
    [HOST] [IPU2 ] 493.828920 s: Elapsed time = 6243 msec
    [HOST] [IPU2 ] 493.828981 s:
    [HOST] [IPU2 ] 493.829042 s: New data Recv = 59.90 fps
    [HOST] [IPU2 ] 493.829134 s:
    [HOST] [IPU2 ] 493.829164 s: Input Statistics,
    [HOST] [IPU2 ] 493.829225 s:
    [HOST] [IPU2 ] 493.829256 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.829347 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.829408 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.830537 s: 0 | 30.11 0. 0 0. 0 30.11
    [HOST] [IPU2 ] 493.830720 s:
    [HOST] [IPU2 ] 493.830750 s: Output Statistics,
    [HOST] [IPU2 ] 493.830811 s:
    [HOST] [IPU2 ] 493.830842 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.830933 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.831025 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.831086 s: 0 | 0 30.11 0. 0 0. 0
    [HOST] [IPU2 ] 493.831238 s:
    [HOST] [IPU2 ] 493.831269 s: [ ALG_ISS_AEWB ] LATENCY,
    [HOST] [IPU2 ] 493.831330 s: ********************
    [HOST] [IPU2 ] 493.831391 s: Local Link Latency : Avg = 10464 us, Min = 244 us, Max = 46483 us,
    [HOST] [IPU2 ] 493.831574 s: Source to Link Latency : Avg = 19599 us, Min = 16348 us, Max = 55542 us,
    [HOST] [IPU2 ] 493.831696 s:
    [HOST] [IPU2 ] 493.838437 s:
    [HOST] [IPU2 ] 493.838559 s: [ ISSM2MSIMCOP ] Link Statistics,
    [HOST] [IPU2 ] 493.838620 s: ******************************
    [HOST] [IPU2 ] 493.838711 s:
    [HOST] [IPU2 ] 493.838742 s: Elapsed time = 6253 msec
    [HOST] [IPU2 ] 493.838803 s:
    [HOST] [IPU2 ] 493.838833 s: New data Recv = 60.13 fps
    [HOST] [IPU2 ] 493.838925 s: Get Full Buf Cb = 51.17 fps
    [HOST] [IPU2 ] 493.838986 s:
    [HOST] [IPU2 ] 493.839047 s: Input Statistics,
    [HOST] [IPU2 ] 493.839077 s:
    [HOST] [IPU2 ] 493.839138 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.839199 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.839413 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.839535 s: 0 | 30. 6 5.43 0. 0 24.62
    [HOST] [IPU2 ] 493.839687 s: 1 | 30. 6 3.51 0. 0 26.54
    [HOST] [IPU2 ] 493.839809 s:
    [HOST] [IPU2 ] 493.839840 s: Output Statistics,
    [HOST] [IPU2 ] 493.839901 s:
    [HOST] [IPU2 ] 493.839931 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.840023 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.840084 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.840175 s: 0 | 0 24.62 0. 0 0. 0
    [HOST] [IPU2 ] 493.840267 s: 1 | 0 26.54 0. 0 0. 0
    [HOST] [IPU2 ] 493.840419 s:
    [HOST] [IPU2 ] 493.840450 s: [ ISSM2MSIMCOP ] LATENCY,
    [HOST] [IPU2 ] 493.840541 s: ********************
    [HOST] [IPU2 ] 493.840602 s: Local Link Latency : Avg = 9063 us, Min = 7991 us, Max = 10401 us,
    [HOST] [IPU2 ] 493.840694 s: Source to Link Latency : Avg = 22186 us, Min = 18819 us, Max = 30044 us,
    [HOST] [IPU2 ] 493.840816 s:
    [HOST] [IPU2 ] 493.841700 s:
    [HOST] [IPU2 ] 493.841761 s: [ SYNC_LINK_0 ] Link Statistics,
    [HOST] [IPU2 ] 493.841822 s: ******************************
    [HOST] [IPU2 ] 493.841883 s:
    [HOST] [IPU2 ] 493.841944 s: Elapsed time = 6276 msec
    [HOST] [IPU2 ] 493.842005 s:
    [HOST] [IPU2 ] 493.842036 s: New data Recv = 81.26 fps
    [HOST] [IPU2 ] 493.842127 s: Driver/Notify Cb = 30.27 fps
    [HOST] [IPU2 ] 493.842188 s:
    [HOST] [IPU2 ] 493.842249 s: Input Statistics,
    [HOST] [IPU2 ] 493.842280 s:
    [HOST] [IPU2 ] 493.842341 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.842402 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.842493 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.842585 s: 0 | 24.53 24.21 0. 0 0. 0
    [HOST] [IPU2 ] 493.842737 s: 1 | 26.44 26.13 0. 0 0. 0
    [HOST] [IPU2 ] 493.842859 s:
    [HOST] [IPU2 ] 493.842890 s: Output Statistics,
    [HOST] [IPU2 ] 493.842951 s:
    [HOST] [IPU2 ] 493.842981 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.843073 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.843134 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.843256 s:
    [HOST] [IPU2 ] 493.843286 s: [ SYNC_LINK_0 ] LATENCY,
    [HOST] [IPU2 ] 493.843347 s: ********************
    [HOST] [IPU2 ] 493.843408 s:
    [HOST] [IPU2 ] 493.844445 s:
    [HOST] [IPU2 ] 493.844567 s: [ ALG_DMA_SWMS ] Link Statistics,
    [HOST] [IPU2 ] 493.844628 s: ******************************
    [HOST] [IPU2 ] 493.844689 s:
    [HOST] [IPU2 ] 493.844750 s: Elapsed time = 11751 msec
    [HOST] [IPU2 ] 493.844811 s:
    [HOST] [IPU2 ] 493.844872 s:
    [HOST] [IPU2 ] 493.844903 s: Input Statistics,
    [HOST] [IPU2 ] 493.844964 s:
    [HOST] [IPU2 ] 493.844994 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.845055 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.845147 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.845238 s:
    [HOST] [IPU2 ] 493.845269 s: Output Statistics,
    [HOST] [IPU2 ] 493.845330 s:
    [HOST] [IPU2 ] 493.845360 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.845452 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.845543 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.845757 s:
    [HOST] [IPU2 ] 493.845787 s: [ ALG_DMA_SWMS ] LATENCY,
    [HOST] [IPU2 ] 493.845848 s: ********************
    [HOST] [IPU2 ] 493.845909 s:
    [HOST] [IPU2 ] 493.846245 s:
    [HOST] [IPU2 ] 493.846306 s: [ DISPLAY ] Link Statistics,
    [HOST] [IPU2 ] 493.846367 s: ******************************
    [HOST] [IPU2 ] 493.846458 s:
    [HOST] [IPU2 ] 493.846489 s: Elapsed time = 11751 msec
    [HOST] [IPU2 ] 493.846580 s:
    [HOST] [IPU2 ] 493.846641 s:
    [HOST] [IPU2 ] 493.846672 s: Input Statistics,
    [HOST] [IPU2 ] 493.846733 s:
    [HOST] [IPU2 ] 493.846763 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.846855 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.846916 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.847007 s:
    [HOST] [IPU2 ] 493.847068 s: Output Statistics,
    [HOST] [IPU2 ] 493.847099 s:
    [HOST] [IPU2 ] 493.847160 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.847221 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.847282 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.847526 s:
    [HOST] [IPU2 ] 493.847556 s: [ DISPLAY ] LATENCY,
    [HOST] [IPU2 ] 493.847617 s: ********************
    [HOST] [IPU2 ] 493.847678 s:
    [HOST] [IPU2 ] 493.847739 s:
    [HOST] [IPU2 ] 493.847770 s: [ DISPLAY VID1 ] Additional Statistics,
    [HOST] [IPU2 ] 493.847861 s: ************************************
    [HOST] [IPU2 ] 493.847922 s: Driver Queued = 0 frames
    [HOST] [IPU2 ] 493.847983 s: Driver De-Queued = 0 frames
    [HOST] [IPU2 ] 493.848044 s: Driver Displayed = 0 frames
    [HOST] [IPU2 ] 493.848136 s: Driver Repeated = 0 frames
    [HOST] [IPU2 ] 493.848197 s:
    [HOST] [IPU2 ] 493.848227 s: ##### DSS DISPC Underflow Count = 0 #####
    [HOST] [IPU2 ] 493.848319 s:
    [HOST] [IPU2 ] 493.852437 s:
    [HOST] [IPU2 ] 493.852498 s: [ DISPLAY ] Link Statistics,
    [HOST] [IPU2 ] 493.852620 s: ******************************
    [HOST] [IPU2 ] 493.852681 s:
    [HOST] [IPU2 ] 493.852711 s: Elapsed time = 6321 msec
    [HOST] [IPU2 ] 493.852803 s:
    [HOST] [IPU2 ] 493.852833 s: Driver/Notify Cb = 60.11 fps
    [HOST] [IPU2 ] 493.852925 s:
    [HOST] [IPU2 ] 493.852955 s: Input Statistics,
    [HOST] [IPU2 ] 493.853016 s:
    [HOST] [IPU2 ] 493.853047 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.853108 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.853199 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.853291 s: 0 | 0.15 0. 0 0. 0 0.15
    [HOST] [IPU2 ] 493.853443 s:
    [HOST] [IPU2 ] 493.853474 s: [ DISPLAY ] LATENCY,
    [HOST] [IPU2 ] 493.853565 s: ********************
    [HOST] [IPU2 ] 493.853626 s: Local Link Latency : Avg = 31 us, Min = 31 us, Max = 31 us,
    [HOST] [IPU2 ] 493.853748 s: Source to Link Latency : Avg = 4016714 us, Min = 4016714 us, Max = 4016714 us,
    [HOST] [IPU2 ] 493.853870 s:
    [HOST] [IPU2 ] 493.853931 s:
    [HOST] [IPU2 ] 493.853962 s: [ DISPLAY GRPX1 ] Additional Statistics,
    [HOST] [IPU2 ] 493.854053 s: ************************************
    [HOST] [IPU2 ] 493.854114 s: Driver Queued = 1 frames
    [HOST] [IPU2 ] 493.854175 s: Driver De-Queued = 0 frames
    [HOST] [IPU2 ] 493.854236 s: Driver Displayed = 379 frames
    [HOST] [IPU2 ] 493.854328 s: Driver Repeated = 379 frames
    [HOST] [IPU2 ] 493.854389 s:
    [HOST] [IPU2 ] 493.854419 s: ##### DSS DISPC Underflow Count = 0 #####
    [HOST] [IPU2 ] 493.854541 s:
    [HOST] [HOST ] 493.855334 s:

    I used sync parameters as below.

    #define SYNC_DELTA_IN_MSEC (50)
    #define SYNC_DROP_THRESHOLD_IN_MSEC (100)

    I think that the DISPLAY Link is wrong.

    [HOST] [IPU2 ] 493.847770 s: [ DISPLAY VID1 ] Additional Statistics,
    [HOST] [IPU2 ] 493.847861 s: ************************************
    [HOST] [IPU2 ] 493.847922 s: Driver Queued = 0 frames
    [HOST] [IPU2 ] 493.847983 s: Driver De-Queued = 0 frames
    [HOST] [IPU2 ] 493.848044 s: Driver Displayed = 0 frames
    [HOST] [IPU2 ] 493.848136 s: Driver Repeated = 0 frames

    Thanks
    Best regards,
    Heechang
  • Hi Brijesh,

    I think that Alg_DmaSwMs is problem right?
    [HOST] [IPU2 ] 493.844567 s: [ ALG_DMA_SWMS ] Link Statistics,
    [HOST] [IPU2 ] 493.844628 s: ******************************
    [HOST] [IPU2 ] 493.844689 s:
    [HOST] [IPU2 ] 493.844750 s: Elapsed time = 11751 msec
    [HOST] [IPU2 ] 493.844811 s:
    [HOST] [IPU2 ] 493.844872 s:
    [HOST] [IPU2 ] 493.844903 s: Input Statistics,
    [HOST] [IPU2 ] 493.844964 s:
    [HOST] [IPU2 ] 493.844994 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.845055 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.845147 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.845238 s:
    [HOST] [IPU2 ] 493.845269 s: Output Statistics,
    [HOST] [IPU2 ] 493.845330 s:
    [HOST] [IPU2 ] 493.845360 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.845452 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.845543 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.845757 s:
    [HOST] [IPU2 ] 493.845787 s: [ ALG_DMA_SWMS ] LATENCY,
    [HOST] [IPU2 ] 493.845848 s: ********************

    Thanks
    Best Regards,
    Heechang
  • Hi Brijesh,

    In sync link, no output is shown.

    [HOST] [IPU2 ] 493.841761 s: [ SYNC_LINK_0 ] Link Statistics,
    [HOST] [IPU2 ] 493.841822 s: ******************************
    [HOST] [IPU2 ] 493.841883 s:
    [HOST] [IPU2 ] 493.841944 s: Elapsed time = 6276 msec
    [HOST] [IPU2 ] 493.842005 s:
    [HOST] [IPU2 ] 493.842036 s: New data Recv = 81.26 fps
    [HOST] [IPU2 ] 493.842127 s: Driver/Notify Cb = 30.27 fps
    [HOST] [IPU2 ] 493.842188 s:
    [HOST] [IPU2 ] 493.842249 s: Input Statistics,
    [HOST] [IPU2 ] 493.842280 s:
    [HOST] [IPU2 ] 493.842341 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.842402 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.842493 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.842585 s: 0 | 24.53 24.21 0. 0 0. 0
    [HOST] [IPU2 ] 493.842737 s: 1 | 26.44 26.13 0. 0 0. 0
    [HOST] [IPU2 ] 493.842859 s:
    [HOST] [IPU2 ] 493.842890 s: Output Statistics,
    [HOST] [IPU2 ] 493.842951 s:
    [HOST] [IPU2 ] 493.842981 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.843073 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.843134 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.843256 s:
    [HOST] [IPU2 ] 493.843286 s: [ SYNC_LINK_0 ] LATENCY,
    [HOST] [IPU2 ] 493.843347 s: ********************

    this means that frames are all dropped?

    BR,
    Heechang
  • Hi Kim,

    Yes, Sync is dropping all frames, if you see, it gets two channels are 24 and 26 fps rate, but it looks like it is dropping all of them. It looks like your chain takes longer.
    Are you running in debug build? Please run in release build.
    In addition can you check both the channels paths and see the differences and latency that can be introduced by these two chains/paths?
    Also why is there a fps drop? Capture is 30fps, but at sync, one of them is 24fps and other is 26fps??

    Rgds,
    Brijesh
  • Hi Brijesh.

    [HOST] [IPU2 ] 493.838559 s: [ ISSM2MSIMCOP ] Link Statistics,
    [HOST] [IPU2 ] 493.838620 s: ******************************
    [HOST] [IPU2 ] 493.838711 s:
    [HOST] [IPU2 ] 493.838742 s: Elapsed time = 6253 msec
    [HOST] [IPU2 ] 493.838803 s:
    [HOST] [IPU2 ] 493.838833 s: New data Recv = 60.13 fps
    [HOST] [IPU2 ] 493.838925 s: Get Full Buf Cb = 51.17 fps
    [HOST] [IPU2 ] 493.838986 s:
    [HOST] [IPU2 ] 493.839047 s: Input Statistics,
    [HOST] [IPU2 ] 493.839077 s:
    [HOST] [IPU2 ] 493.839138 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 493.839199 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.839413 s: --------------------------------------------------
    [HOST] [IPU2 ] 493.839535 s: 0 | 30. 6 5.43 0. 0 24.62
    [HOST] [IPU2 ] 493.839687 s: 1 | 30. 6 3.51 0. 0 26.54
    [HOST] [IPU2 ] 493.839809 s:
    [HOST] [IPU2 ] 493.839840 s: Output Statistics,
    [HOST] [IPU2 ] 493.839901 s:
    [HOST] [IPU2 ] 493.839931 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 493.840023 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 493.840084 s: ---------------------------------------------
    [HOST] [IPU2 ] 493.840175 s: 0 | 0 24.62 0. 0 0. 0
    [HOST] [IPU2 ] 493.840267 s: 1 | 0 26.54 0. 0 0. 0
    [HOST] [IPU2 ] 493.840419 s:
    [HOST] [IPU2 ] 493.840450 s: [ ISSM2MSIMCOP ] LATENCY,
    [HOST] [IPU2 ] 493.840541 s: ********************
    [HOST] [IPU2 ] 493.840602 s: Local Link Latency : Avg = 9063 us, Min = 7991 us, Max = 10401 us,
    [HOST] [IPU2 ] 493.840694 s: Source to Link Latency : Avg = 22186 us, Min = 18819 us, Max = 30044 us,

    As you can see above, ISSM2MSIMCOP input fps is about 30 but output are 24 and 26 fps.
    I just run build as shown in document that specified "make -s -j".
    Where can I found the build option of the release or debug?

    Thanks
    Regards,
    Heechang
  • Hi Brijesh,

    I ran the app with "release" build option.
    But, the result is same.

    The reason why the frame rate from 30 to 24 is passed by ISSM2MSIMCOP link.
    If I adjust the sync delta and threshold parameters, the drop frame can be resolved?

    Thanks
    Rgds,
    Heechang
  • Hi Brijesh,

    [HOST] [IPU2 ] 97.756603 s: [ ISSM2MSIMCOP ] Link Statistics,
    [HOST] [IPU2 ] 97.756664 s: ******************************
    [HOST] [IPU2 ] 97.756725 s:
    [HOST] [IPU2 ] 97.756755 s: Elapsed time = 3448 msec
    [HOST] [IPU2 ] 97.756816 s:
    [HOST] [IPU2 ] 97.756908 s: New data Recv = 60.32 fps
    [HOST] [IPU2 ] 97.756999 s: Get Full Buf Cb = 60.32 fps
    [HOST] [IPU2 ] 97.757060 s:
    [HOST] [IPU2 ] 97.757121 s: Input Statistics,
    [HOST] [IPU2 ] 97.757152 s:
    [HOST] [IPU2 ] 97.757213 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 97.757274 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 97.757365 s: --------------------------------------------------
    [HOST] [IPU2 ] 97.757426 s: 0 | 30.16 0. 0 0. 0 30.16
    [HOST] [IPU2 ] 97.757579 s: 1 | 30.16 0. 0 0. 0 30.16
    [HOST] [IPU2 ] 97.757701 s:
    [HOST] [IPU2 ] 97.757731 s: Output Statistics,
    [HOST] [IPU2 ] 97.757792 s:
    [HOST] [IPU2 ] 97.757823 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 97.757914 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 97.758006 s: ---------------------------------------------
    [HOST] [IPU2 ] 97.758067 s: 0 | 0 30.16 0. 0 0. 0
    [HOST] [IPU2 ] 97.758189 s: 1 | 0 30.16 0. 0 0. 0
    [HOST] [IPU2 ] 97.758311 s:
    [HOST] [IPU2 ] 97.758372 s: [ ISSM2MSIMCOP ] LATENCY,
    [HOST] [IPU2 ] 97.758433 s: ********************
    [HOST] [IPU2 ] 97.758463 s: Local Link Latency : Avg = 9115 us, Min = 7991 us, Max = 10949 us,
    [HOST] [IPU2 ] 97.758585 s: Source to Link Latency : Avg = 22181 us, Min = 18849 us, Max = 28182 us,
    [HOST] [IPU2 ] 97.758707 s:
    [HOST] [IPU2 ] 97.759623 s:
    [HOST] [IPU2 ] 97.759684 s: [ SYNC_LINK_0 ] Link Statistics,
    [HOST] [IPU2 ] 97.759745 s: ******************************
    [HOST] [IPU2 ] 97.759806 s:
    [HOST] [IPU2 ] 97.759836 s: Elapsed time = 3471 msec
    [HOST] [IPU2 ] 97.759989 s:
    [HOST] [IPU2 ] 97.760019 s: New data Recv = 90.46 fps
    [HOST] [IPU2 ] 97.760111 s: Driver/Notify Cb = 30.25 fps
    [HOST] [IPU2 ] 97.760172 s:
    [HOST] [IPU2 ] 97.760233 s: Input Statistics,
    [HOST] [IPU2 ] 97.760294 s:
    [HOST] [IPU2 ] 97.760324 s: CH | In Recv | In Drop | In User Drop | In Process
    [HOST] [IPU2 ] 97.760416 s: | FPS | FPS | FPS | FPS
    [HOST] [IPU2 ] 97.760507 s: --------------------------------------------------
    [HOST] [IPU2 ] 97.760568 s: 0 | 29.96 29.96 0. 0 0. 0
    [HOST] [IPU2 ] 97.760721 s: 1 | 29.96 29.67 0. 0 0. 0
    [HOST] [IPU2 ] 97.760843 s:
    [HOST] [IPU2 ] 97.760904 s: Output Statistics,
    [HOST] [IPU2 ] 97.760965 s:
    [HOST] [IPU2 ] 97.761026 s: CH | Out | Out | Out Drop | Out User Drop
    [HOST] [IPU2 ] 97.761087 s: | ID | FPS | FPS | FPS
    [HOST] [IPU2 ] 97.761148 s: ---------------------------------------------
    [HOST] [IPU2 ] 97.761270 s:
    [HOST] [IPU2 ] 97.761300 s: [ SYNC_LINK_0 ] LATENCY,
    [HOST] [IPU2 ] 97.761361 s: ********************

    If I modified the sync parameters(delta=10, threshold=20), the SIMCOP link does not drop the frame rate.

    Regards,
    Heechang
  • Hi Kim,

    ok, the simcop link was dropping the frames due to output buffer unavailability. The output buffer were held in the sync link, due to high threshold set. Can you check simcop number of output buffers? Atleast three buffers are required in the simcop output buffer.
    Also please try tuning sync delta and threshold to for the sync to start outputting buffers..

    Rgds,
    Brijesh
  • Hi brijesh,

    pUcObj->IssM2mIspPrm.channelParams[i].numBuffersPerCh = 4; (i=1, 2 for 2 chnnels)
    I used 4 output buffers for simcop.

    To resolve this problem, should I tune sync parameters?

    Rgds,
    Heechang
  • can you also check number of output buffers in simcop?

    Rgds,
    Brijesh
  • Hi Brijesh,

    The Simcop output buffers set 4 each channel.

    Regards,
    Heechang
  • Hi Brijesh,

    My usecase in HLOS is below.

    ISS capture -> ISSM2mIsp -> Alg_IssAewb
    ISSM2mIsp -> Select_Capture -> Merge_Simcop->Dup_Simcop->Sync->Alg_DmaSwMs->Display_Video
    Select_Capture->ISSM2mSimcop->Merge_Simcop

    GrpxSrc -> DisplayGrpx

    This usecase can run in HLOS?

    I'm tuning sync parameters but sync link dropped the frames all.
    I use VSDK v3.4.

    I'm using the code generation tool for xxxxx_priv.h and xxxx_priv.c.
    I think that I just set the parameters.

    If I remove the sync and alg_dmaswms, the camera screen is shown well.
    So, I think that the parameters set are not problem except Sync parameters.

    But, the Sync link parameters set by only two parameters which are delta and threshold.

    I tried many case of delta and threshold but the sync dropped the frames.

    I want to resolve this issue.

    Thank you for your effort.

    Best regards,
    Heechang
  • Hi Brijesh,

    I cannot find the IssM2mSimcop Link in HLOS usecases.
    The IssM2mSimcop Link can not be used in HLOS?

    Rgds,
    Heechang
  • Hi Brijesh,

    Except for iss_capture_isp_display, I cannot find Simcop example.
    I set the simcop parameters like iss_capture_isp_display.

    Regards,
    Heechang
  • Hi Kim,

    Can you please share your usecase file (text) again? Let me check and get  back to you.

    Rgds,

    Brijesh

  • Is this the usecase that you are using ?

    ISS capture -> ISSM2mIsp -> Alg_IssAewb
    ISSM2mIsp -> Select_Capture -> Merge_Simcop->Dup_Simcop->Sync->Alg_DmaSwMs->Display_Video
    Select_Capture->ISSM2mSimcop->Merge_Simcop

    Why do you have select link after ISP link? Does it mean you want to do simcop only for one of the channel only? After Merge why is there a dup link? could you please explain what is your usecase?

    Rgds,
    Brijesh
  • Hi Brijesh,

    1. Why do you have select link after ISP link? Does it mean you want to do simcop only for one of the channel only?
    My purpose is using usecase of vision_sdk/apps/src/rtos/usecases/iss_mult_capture_isp_simcop_stereo_tda3xx in RTOS.

    In vision_sdk/apps/src/rtos/usecases/iss_mult_capture_isp_simcop_stereo_tda3xx,
    the usecase is IssCapture -> IssM2mIsp -> IssM2mResizer_Capture -> Select_Capture.
    But, I build for Linux so I remove the IssM2mResizer cause it is not build in HLOS.

    Now,
    My usecase is
    ISS capture -> ISSM2mIsp -> Alg_IssAewb
    ISSM2mIsp -> Select_Capture -> Merge_Simcop->Dup_Simcop->Sync->Alg_DmaSwMs->Display_Video
    Select_Capture->ISSM2mSimcop->Merge_Simcop

    After above usecase is done,
    I will do usecase like path vision_sdk/apps/src/rtos/usecases/iss_mult_capture_isp_simcop_stereo_tda3xx .

    2. After Merge why is there a dup link?
    I will add the Alg_Census link in EVE after IPU link is done.
    So, I set the parameter of pObj->Dup_SimcopPrm).numOutQue = 1; (after IPU runs well, I will set from 1 to 2)


    Thanks,
    Rgds,
    Heechang
  • ok, i see.
    For the time being, can you disable/bypass simcop and see if second path reaches to the sync link in time?
    I am assuming that you have two input camera for this usecase.

    Rgds,
    Brijesh
  • Hi Brijesh,

    I made the usecase as below.
    IssCapture -> IssM2mIsp -> Select_Capture -> Merge_Simcop -> Dup_Simcop
    Dup_Simcop -> Sync_Org -> Alg_DmaSwMs -> Display_Org
    IssM2mIsp -> Alg_IssAewb
    GrpxSrc -> Display_Grpx

    If I run the application, then the error log is shown.

    [HOST] [IPU2 ] 232.639053 s: SYSTEM: NOTIFY: Send Event to [IPU2][9] failed !!! (status = -14)
    [HOST] [IPU2 ] 232.639175 s: Assertion @ Line: 232 in system_ipc_bios_ipc.c: (Bool)FALSE : failed !!!

    I set the select link parameters as below.

    pPrm->numOutQue = 1;
    pPrm->outQueChInfo[0].outQueId = 0;
    pPrm->outQueChInfo[0].numOutCh = 1;
    pPrm->outQueChInfo[0].inChNum[0] = 0;
    pPrm->outQueChInfo[0].inChNum[1] = 1;

    Am I right?

    Rgds,
    Heechang
  • When I use ISSM2mSimcop, I disabled resizerB.
    Is it related with this Sync Link?

    Rgds.
    Heechang
  • Hi Brijesh,

    I resolved all this issue!!

    I set the Select Link parameters as below.

    355 pPrm->outQueChInfo[0].outQueId = 0;
    356 pPrm->outQueChInfo[0].numOutCh = 1;
    357 pPrm->outQueChInfo[0].inChNum[0] = 0;
    358
    359 pPrm->outQueChInfo[1].outQueId = 1;
    360 pPrm->outQueChInfo[1].numOutCh = 1;
    361 pPrm->outQueChInfo[1].inChNum[0] = 1;
    362
    363 #if 0
    364 pPrm->outQueChInfo[0].outQueId = 0;
    365 pPrm->outQueChInfo[0].numOutCh = 2;
    366 pPrm->outQueChInfo[0].inChNum[0] = 0;
    367 pPrm->outQueChInfo[0].inChNum[1] = 1;
    368
    369 pPrm->outQueChInfo[1].outQueId = 1;
    370 pPrm->outQueChInfo[1].numOutCh = 2;
    371 pPrm->outQueChInfo[1].inChNum[0] = 2;
    372 pPrm->outQueChInfo[1].inChNum[1] = 3;
    373 #endif

    I have two cameras that input to "Select Link" each ch 0 and ch 1, right?
    [1 input -> Select Link -> 2 output]
    Cam0 (inChNum[0]=0) -> Select Link -> ISSM2mSimcop Link (outQueChInfo[0])
    Cam1 (inChNum[0]=1) -> Select Link -> ISSM2mSimcop Link (outQueChInfo[1])

    Now,
    I can see the camera input screen with cam0 and cam1.

    If you don't help me, I cannot resolve this issue.
    Thank you very much!!

    Thank you!!

    Best regards,
    Heechang

    p.s. I will set the EVE and DSP link to achieve my final purpose(vision_sdk/apps/src/rtos/usecases/iss_mult_capture_isp_simcop_stereo_tda3xx in HLOS)
    Please help me, again if I have a problem.
  • Hi Kim,

    Oh great, Finally both the camera are visible. Thanks. I could help you.

    Sure, if you have further questions, do let me know.

    Rgds,
    Brijesh
  • Hi Brijesh,

    I added other links like below.(usecase)

    IssCapture -> IssM2mIsp -> Select_Capture -> IssM2mSimcop -> Merge_Simcop -> Dup_Simcop

    Select_Capture -> Merge_Simcop
    Dup_Simcop -> Sync_Org -> Alg_DmaSwMs -> Display_Org

    Dup_Simcop -> Sync_CensusIn -> Dup_CensusIn -> Alg_Census (EVE1) -> Alg_DisparityHamDist (EVE1) -> Merge_StereoOut -> Alg_StereoPostProcess (DSP1) -> Display_Disparity
    Dup_CensusIn->Merge_StereoOut
    IssM2mIsp -> Alg_IssAewb
    GrpxSrc -> Display_Grpx


    When the usecase create the StereoPostProcess link, the error is shown.
    I used the parameters the function of ChainsCommon_TDA3x_Stereo_SetPrms() which path is /vision_sdk/apps/src/rtos/usecases/common/chains_common_stereo.c

    But, the error returns that the handle is null as below.
    The path of the function is vision_sdk/apps/src/rtos/alg_plugins/stereo_postprocessing/stereoPostProcessLink_algPlugin.c.
    (line 421: pStereoPostProcessObj->handle = AlgIvision_create(&STEREOVISION_TI_VISION_FXNS, (IALG_Params *)(pAlgCreateParams));)

    It looks like the structure does not be allocated but I think that I set the parameters related to "StereoPostProcessing".

    Thanks
    Best regards,
    Heechang
  • Hi Brijesh,

    I debugged the code.
    when "AlgIvision_create" is called, the malloc is run.
    This malloc function returns address and the fxns->ialg.algAlloc is run.
    But, the status value is -1023 after fxns->ialg.algAlloc is run.
    (AlgIvision_create_useLinkMem())

    What is problem?

    Rgds,
    Heechang