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.

DRA76P: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000006 (status=ffffffff) !!!

Part Number: DRA76P
Other Parts Discussed in Thread: TDA2PXEVM

Hello All,

  1. I am working on DRA76P custom board in which our display module is not up currently.
  2. Thus, we are trying to dump the video frame using Encode -> Null link.
  3. I am working on following two sets of usecase that are,

    A)

    UseCase: SVS_3D

    NullSource (A15) -> Decode -> VPE_dec -> Sync -> Dup -> Gate_A -> Alg_A (DSP1) -> SgxFrmcpy (A15)

    Dup -> Gate_B -> Alg_B (DSP1) -> SgxFrmcpy (A15)

    Dup -> Alg_C (DSP1)

    SgxFrmcpy (A15) -> VPE_enc -> Encode -> Null (A15)

    //SgxFrmcpy (A15) -> Display_LCD


    B)

    UseCase: SVS_3D

    NullSource (A15) -> Decode -> VPE -> Sync -> Dup -> Gate_A -> Alg_A (DSP1) -> SgxFrmcpy (A15) 

    Dup -> Gate_B -> Alg_B (DSP1) -> SgxFrmcpy (A15)

    Dup -> Alg_C (DSP1)

    SgxFrmcpy (A15) -> Encode -> Null (A15)

    //SgxFrmcpy (A15) -> Display_LCD

  4. In above 3A usecase we are getting output data format from SgxFrmcpy as SYSTEM_DF_ARGB32_8888 which we are trying to convert to SYSTEM_DF_YUV422I_YUYV using VPE_enc. But in this case we are facing assertion in VPE link as 

    [HOST] [IPU1-0] 38.364972 s: VpeLink_drvCreateFvidObj retVal = -1
    [HOST] [IPU1-0] 38.365064 s: Assertion @ Line: 719 in vpeLink_drv.c: retVal == SYSTEM_LINK_STATUS_SOK : failed !!!

  5. In 3B usecase we are directly feeding the output of SgxFrmcpy to Encode link where we are facing the error in Encode link as 

    [HOST] [IPU1-0] 29.945891 s: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000006 (status=ffffffff) !!!
    [HOST] [IPU1-0] 29.946044 s: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000003 (status=ffffffff) !!!
    [HOST] [IPU1-0] 29.946135 s: LINK ERR::linkID:55::channelID:0::errorCode:-5::FileName:iva_enc/encLink_h264.c::linuNum:1178::errorCondition:(algStatus == XDM_EOK)
    [HOST] [IPU1-0] 29.946318 s: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000001 (status=ffffffff) !!!
    [HOST] [IPU1-0] 29.946410 s: LINK ERR::linkID:55::channelID:0::errorCode:-5::FileName:iva_enc/encLink_h264.c::linuNum:1186::errorCondition:(algStatus == XDM_EOK)
    [HOST] [IPU1-0] 29.946623 s: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000000 (status=ffffffff) !!!
    [HOST] [IPU1-0] 29.946715 s: ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000005 (status=ffffffff) !!!
    [HOST] [IPU1-0] 29.946837 s: LINK ERR::linkID:55::channelID:0::errorCode:-8::FileName:iva_enc/encLink_h264.c::linuNum:1202::errorCondition:(algStatus == XDM_EOK)
  6. Please note that with display link above usecase without Encode and Null and with single instance of VPE is working fine in TDA2PXEVM as well as DRA76P custom board. In custom board we are also able to dump the images of input frame received in SgxFrmcpy link using File operation. Our objective to modify this usecase is to dump the complete video in h264 format.
  7. I am using default Encode link setting provided in other usecases as follows,

    static Void SVS_3D_SetEncPrms(
    EncLink_CreateParams *pPrm,
    SVS_3DAppObj *pObj,
    UInt32 numLvdsCh)
    {
    int i, chId;
    EncLink_ChCreateParams *pLinkChPrm;
    EncLink_ChDynamicParams *pLinkDynPrm;

    for (i = 0; i < ENC_LINK_MAX_BUF_ALLOC_POOLS; i++)
    {
    pPrm->numBufPerCh[i] = 4;
    }

    for (chId = 0; chId < numLvdsCh; chId++)
    {
    pLinkChPrm = &pPrm->chCreateParams[chId];
    pLinkDynPrm = &pLinkChPrm->defaultDynamicParams;

    UTILS_assert (chId < ENC_LINK_MAX_CH);

    switch (pObj->codecType)
    {
    case '0': /* MJPEG */
    pLinkChPrm->format = SYSTEM_IVIDEO_MJPEG;
    pLinkChPrm->profile = 0;
    pLinkChPrm->dataLayout = VENC_FIELD_SEPARATED;
    pLinkChPrm->fieldMergeEncodeEnable = FALSE;
    pLinkChPrm->enableAnalyticinfo = 0;
    pLinkChPrm->enableWaterMarking = 0;
    pLinkChPrm->maxBitRate = 0;
    pLinkChPrm->encodingPreset = 0;
    pLinkChPrm->rateControlPreset = 0;
    pLinkChPrm->enableHighSpeed = 0;
    pLinkChPrm->enableSVCExtensionFlag = 0;
    pLinkChPrm->numTemporalLayer = 0;
    pLinkChPrm->overrideInputScanFormat= 0;
    pLinkChPrm->fieldPicEncode = 0;

    pLinkDynPrm->intraFrameInterval = 0;
    pLinkDynPrm->targetBitRate = 10*1000*1000;
    pLinkDynPrm->interFrameInterval = 0;
    pLinkDynPrm->mvAccuracy = 0;
    pLinkDynPrm->inputFrameRate = 30;
    pLinkDynPrm->rcAlg = 0;
    pLinkDynPrm->qpMin = 0;
    pLinkDynPrm->qpMax = 0;
    pLinkDynPrm->qpInit = -1;
    pLinkDynPrm->vbrDuration = 0;
    pLinkDynPrm->vbrSensitivity = 0;
    break;

    case '1': /* H264 */
    pLinkChPrm->format = SYSTEM_IVIDEO_H264HP;
    pLinkChPrm->profile = 100;
    pLinkChPrm->dataLayout = VENC_FIELD_SEPARATED; //VENC_FIELD_INTERLEAVED //to try
    pLinkChPrm->fieldMergeEncodeEnable = FALSE;
    pLinkChPrm->enableAnalyticinfo = 0;
    pLinkChPrm->enableWaterMarking = 0;
    pLinkChPrm->maxBitRate = -1;
    pLinkChPrm->encodingPreset = SYSTEM_XDM_MED_SPEED_HIGH_QUALITY;
    /* Set encodingPreset to SYSTEM_XDM_USER_DEFINED
    if SEI/meta data needs to be enabled */
    /* pLinkChPrm->encodingPreset = SYSTEM_XDM_USER_DEFINED; */
    pLinkChPrm->rateControlPreset = SYSTEM_IVIDEO_LOW_DELAY;
    pLinkChPrm->enableHighSpeed = FALSE;
    pLinkChPrm->enableSVCExtensionFlag = FALSE;
    pLinkChPrm->numTemporalLayer = 0;
    pLinkChPrm->overrideInputScanFormat= 0;
    pLinkChPrm->fieldPicEncode = 0;
    pLinkChPrm->IDRFrameInterval = 1;

    pLinkDynPrm->intraFrameInterval = 30;
    pLinkDynPrm->targetBitRate = 10*1000*1000;
    pLinkDynPrm->interFrameInterval = 1;
    pLinkDynPrm->mvAccuracy = SYSTEM_IVIDENC2_MOTIONVECTOR_QUARTERPEL;
    pLinkDynPrm->inputFrameRate = 30;
    pLinkDynPrm->rcAlg = 0;
    pLinkDynPrm->qpMin = 0;
    pLinkDynPrm->qpMax = 51;
    pLinkDynPrm->qpInit = 25;
    pLinkDynPrm->vbrDuration = 8;
    pLinkDynPrm->vbrSensitivity = 0;
    /* Set maxPicSizeRatioI to 1 for IDR or I-Frame only mode */
    pLinkDynPrm->maxPicSizeRatioI = 640;
    break;

    default: /* D1 */
    printf("\r\nCodec Type: %d, returning \n", pObj->codecType);
    UTILS_assert(FALSE);
    break;
    }
    }
    }

  8. VPE setting I am using is as follows for both instances

    static Void SVS_3D_SetVPEPrms(
    VpeLink_CreateParams *pPrm,
    UInt32 numCh,
    UInt32 displayWidth,
    UInt32 displayHeight,
    UInt32 inputWidth,
    UInt32 inputHeight
    )
    {
    UInt16 chId;

    pPrm->enableOut[0] = TRUE;

    for(chId = 0; chId < numCh; chId++)
    {
    pPrm->chParams[chId].outParams[0].numBufsPerCh = 4;

    pPrm->chParams[chId].outParams[0].width = displayWidth;
    pPrm->chParams[chId].outParams[0].height = displayHeight;
    pPrm->chParams[chId].outParams[0].dataFormat = SYSTEM_DF_YUV422I_YUYV;

    pPrm->chParams[chId].scCfg.bypass = FALSE;
    pPrm->chParams[chId].scCfg.nonLinear = FALSE;
    pPrm->chParams[chId].scCfg.stripSize = 0;

    pPrm->chParams[chId].scCropCfg.cropStartX = 32;
    pPrm->chParams[chId].scCropCfg.cropStartY = 24;
    pPrm->chParams[chId].scCropCfg.cropWidth = inputWidth-32;
    pPrm->chParams[chId].scCropCfg.cropHeight = inputHeight-24;
    }
    }

I am attaching the complete log of both the usecases along with this query.

Regards

Shantanu Joshi

root@dra7xx-evm:/opt/vision_sdk# ./apps.out 
 [HOST]  OSA: MEM: 0: Mapped 0x9fc00000 to 0xb69ae000 of size 0x00100000 
 [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa60ae000 of size 0x10900000 
 [HOST]  OSA: MEM: 2: Mapped 0x9fd00000 to 0xa5fee000 of size 0x00040000 
 [HOST]  OSA: MEM: 3: Mapped 0x9fdc0000 to 0xa602e000 of size 0x00080000 
 [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
 [HOST]  OSA: IPU1-0 Remote Log Shared Memory @ 0x9fd00000
 [HOST]  OSA: HOST Remote Log Shared Memory @ 0x9fd4f140
 [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0x9fd769e0
   22.945223] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
[   22.985428] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
[H OST] [IPU1-0]     11.129018 s:  
 [HOST] [DSP1  ]     10.71523 s: 
 [HOST] [DSP1  ]  AlgorithmLink_SurroundView3d_initPlugin start Time: 10715
 [HOST] [DSP1  ]     11.104068 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after boot !!!
 [HOST] [DSP1  ]     11.104099 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after update by APP !!!
 [HOST] [HOST  ]     26.786494 s: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  Vision SDK Usecases
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  1: 3DSVS
 [HOST] [HOST  ]  2: Offline
 [HOST] [HOST  ]  3: 3DSVS_Main
 [HOST] [HOST  ]  s: Set Vehical Speed
 [HOST] [HOST  ]  4: SoilDetection_Debug
 [HOST] [HOST  ]  p: CPU Status
 [HOST] [HOST  ]  t: System Settings 
 [HOST] [HOST  ]  0: Exit 
 [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  Enter Choice: 
 [HOST] [HOST  ]  
1
 [HOST] [HOST  ]     27.764625 s: alloc_LUT_buffer start
 [HOST] [HOST  ]     27.765540 s: pFisheyeLUT virtual=0xa6d30400
 [HOST] [HOST  ]     27.766699 s: alloc_LUT_buffer Done
 [HOST] [HOST  ]     27.767278 s: sizeof(SSDConfigObj) = 1904
 [HOST] [HOST  ]     27.767309 s: Global ptr_virt = a8950600
 [HOST] [HOST  ]     27.767309 s: val = 86aa5600
 [HOST] [HOST  ]     27.767370 s: pObj->chainsCfg->numLvdsCh=4
 [HOST] [HOST  ]     27.777374 s: SVS3D UC Address of cfgPrmsInMemory in Fisheye = 86aa5600
 [HOST] Done. [13115520 bytes] 
 [HOST] [HOST  ]     28.385103 s: Reading [/opt/vision_sdk/Fisheye_LUT.txt]
[   25.039460] random: nonblocking pool is initialized
 [HOST] [DSP1  ]     29.102330 s: optimization buffers allocated
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
 [HOST] [HOST  ]     29.194900 s: SgxFrmcpyLink_drvCreate start Time: 29194
 [HOST] [HOST  ]     29.194991 s:  SYSTEM_PVRSCOPE: FIFO /opt/vision_sdk/gpufifo opened successfully 
 [HOST] [HOST  ]     29.262795 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     29.263496 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     29.264381 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     29.265113 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     29.277374 s: SgxFrmcpy EGLInfo pObj->tskInfo.queInfo[0].chInfo[0].flags = 23
Read 0, 0.986111, 0.000000
Read 1, 0.055556, 0.000000
Read 2, 0.986111, 0.000000
Read 3, 0.000000, 0.000000
Read 4, 1.000000, 0.000000
Read 5, 0.000000, 0.000000
Read 6, 1.000000, 0.000000
Read 7, 0.000000, 0.000000
Read 8, 1.000000, 0.000000
Read 9, 0.055556, 0.000000
Read 10, 0.986111, 0.000000
Read 11, 0.055556, 0.000000
Read 12, 0.972222, 0.000000
Read 13, 0.055556, 0.000000
Read 14, 0.972222, 0.000000
Read 15, 0.000000, 0.000000
Read 16, 0.986111, 0.000000
Read 17, 0.000000, 0.000000
Read 18, 0.986111, 0.000000
Read 19, 0.000000, 0.000000
indicesarr_size=93312 m_texturearr_size=62208 
cannot open bmp file: ./font.bmp
 [HOST] [HOST  ]     29.746416 s: SgxFrmcpyLink_drvCreate end Time: 552
 [HOST] [IPU1-0]     29.824955 s: ENCLINK pInChInfo->flags = 23
 [HOST] [HOST  ]     29.843469 s: Done read_fisheye_lut
 [HOST] [IPU1-0]     29.945891 s:  ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000006 (status=ffffffff) !!!
 [HOST] [IPU1-0]     29.946044 s:  ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000003 (status=ffffffff) !!!
 [HOST] [IPU1-0]     29.946135 s:  LINK ERR::linkID:55::channelID:0::errorCode:-5::FileName:iva_enc/encLink_h264.c::linuNum:1178::errorCondition:(algStatus == XDM_EOK)
 [HOST] [IPU1-0]     29.946318 s:  ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000001 (status=ffffffff) !!!
 [HOST] [IPU1-0]     29.946410 s:  LINK ERR::linkID:55::channelID:0::errorCode:-5::FileName:iva_enc/encLink_h264.c::linuNum:1186::errorCondition:(algStatus == XDM_EOK)
 [HOST] [IPU1-0]     29.946623 s:  ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000000 (status=ffffffff) !!!
 [HOST] [IPU1-0]     29.946715 s:  ENCODE: ERROR: ALGCONTROL FAILED CMD=0x00000005 (status=ffffffff) !!!
 [HOST] [IPU1-0]     29.946837 s:  LINK ERR::linkID:55::channelID:0::errorCode:-8::FileName:iva_enc/encLink_h264.c::linuNum:1202::errorCondition:(algStatus == XDM_EOK)
 [HOST] [HOST  ]     29.949734 s:  NULL Link: Create in progress !!!
 [HOST] [HOST  ]     29.949734 s:  NULL Link: Create done !!!
 [HOST] [HOST  ]     30.050631 s: lutThread returns: 0
 [HOST] [HOST  ]     30.050661 s:  NULL LINK: Opening file for Dump 
 [HOST] [HOST  ]     30.054474 s:  NULL LINK: Opened file for Dump 
 [HOST] [HOST  ]     30.057646 s: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]     Run-time Menu for 3DSVS
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  0: Stop Chain
 [HOST] [HOST  ]  a: Top + Front 
 [HOST] [HOST  ]  b: Top + Rear 
 [HOST] [HOST  ]  c: Top + Left 
 [HOST] [HOST  ]  d: Top + Right 
 [HOST] [HOST  ]  e: Top + Front Right 
 [HOST] [HOST  ]  f: Top + Front Left 
 [HOST] [HOST  ]  g: Top + Rear Right 
 [HOST] [HOST  ]  h: Top + Rear Left 
 [HOST] [HOST  ]  i: Front Full Screen 
 [HOST] [HOST  ]  j: Left Full Screen 
 [HOST] [HOST  ]  k: Right Full Screen 
 [HOST] [HOST  ]  l: Rear Full Screen 
 [HOST] [HOST  ]  m: Dynamic Overlay 
 [HOST] [HOST  ]  q: Soiling Detection 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Vehicle Signals ====
 [HOST] [HOST  ]  n: Set Speed 
 [HOST] [HOST  ]  4: Forward Gear 
 [HOST] [HOST  ]  5: Reverse Gear 
 [HOST] [HOST  ]  6: Left Indicator Toggle 
 [HOST] [HOST  ]  7: Right Indicator Toggle 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Config Settings ====
 [HOST] [HOST  ]  8: ECU Temperature Threshold 
 [HOST] [HOST  ]  o: Calibration Set Select 
 [HOST] [HOST  ]  r: Speed Threshold 
 [HOST] [HOST  ]  v: Default View Setting
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Debug Menu ====
 [HOST] [HOST  ]  9: Print ECU Temperature Statistics 
 [HOST] [HOST  ]  p: Print Performance Statistics 
 [HOST] [HOST  ]  s: Read SW version 
 [HOST] [HOST  ]  t: Read HW version
 [HOST] [HOST  ]  u: Write HW version
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]  3: Wait state 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  Enter Choice: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]     30.057707 s: 
 [HOST] [HOST  ] Unsupported option '
 [HOST] [HOST  ] '. Please try again
 [HOST] [HOST  ]     30.057738 s: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]     Run-time Menu for 3DSVS
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  0: Stop Chain
 [HOST] [HOST  ]  a: Top + Front 
 [HOST] [HOST  ]  b: Top + Rear 
 [HOST] [HOST  ]  c: Top + Left 
 [HOST] [HOST  ]  d: Top + Right 
 [HOST] [HOST  ]  e: Top + Front Right 
 [HOST] [HOST  ]  f: Top + Front Left 
 [HOST] [HOST  ]  g: Top + Rear Right 
 [HOST] [HOST  ]  h: Top + Rear Left 
 [HOST] [HOST  ]  i: Front Full Screen 
 [HOST] [HOST  ]  j: Left Full Screen 
 [HOST] [HOST  ]  k: Right Full Screen 
 [HOST] [HOST  ]  l: Rear Full Screen 
 [HOST] [HOST  ]  m: Dynamic Overlay 
 [HOST] [HOST  ]  q: Soiling Detection 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Vehicle Signals ====
 [HOST] [HOST  ]  n: Set Speed 
 [HOST] [HOST  ]  4: Forward Gear 
 [HOST] [HOST  ]  5: Reverse Gear 
 [HOST] [HOST  ]  6: Left Indicator Toggle 
 [HOST] [HOST  ]  7: Right Indicator Toggle 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Config Settings ====
 [HOST] [HOST  ]  8: ECU Temperature Threshold 
 [HOST] [HOST  ]  o: Calibration Set Select 
 [HOST] [HOST  ]  r: Speed Threshold 
 [HOST] [HOST  ]  v: Default View Setting
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==== Debug Menu ====
 [HOST] [HOST  ]  9: Print ECU Temperature Statistics 
 [HOST] [HOST  ]  p: Print Performance Statistics 
 [HOST] [HOST  ]  s: Read SW version 
 [HOST] [HOST  ]  t: Read HW version
 [HOST] [HOST  ]  u: Write HW version
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ==============================
 [HOST] [HOST  ]  3: Wait state 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  Enter Choice: 
 [HOST] [HOST  ]  
 [HOST] [DSP1  ]     30.207253 s: AlgorithmLink_fisheyeCorrectionProcess (1 th frame) start Time: 30207
 [HOST] [HOST  ]     30.263039 s: SgxFrmcpyLink_drvDoProcessFrames (1 th frame) start Time: 30263
 [HOST] [DSP1  ]     30.260111 s: AlgorithmLink_fisheyeCorrectionProcess (1 th frame) end Time: 53
 [HOST] [DSP1  ]     30.263039 s: AlgorithmLink_fisheyeCorrectionProcess (2 th frame) start Time: 30263
 [HOST] [HOST  ]     30.271823 s: Writing [/opt/vision_sdk/InputFisheyeDump.txt]
 [HOST] [HOST  ]     30.271823 s: pBuffer->bufType Fisheye = 0
 [HOST] [HOST  ]     30.280943 s: Fisheye n_write=1843200
 [HOST] [DSP1  ]     30.279936 s: AlgorithmLink_fisheyeCorrectionProcess (2 th frame) end Time: 16
 [HOST] [IPU1-0]     30.291862 s:  ENCODE: ERROR: ALGPROCESS FAILED (status=0xffffffff) !!!
 [HOST] [IPU1-0]     30.291984 s:  ENCODE: ERROR in Enclink_h264EncodeFrame.Status[-1]
 [HOST] [HOST  ]     30.286494 s: Input Frame Dumped
 [HOST] [HOST  ]     30.288263 s: SgxFrmcpyLink_drvDoProcessFrames end (1 th frame) Time: 25
 [HOST] [HOST  ]     30.288293 s: SgxFrmcpyLink_drvDoProcessFrames (2 th frame) start Time: 30288
 [HOST] [HOST  ]     30.296346 s: SgxFrmcpyLink_drvDoProcessFrames end (2 th frame) Time: 8
 [HOST] [DSP1  ]     39.777374 s: AlgorithmLink_fisheyeCorrectionProcess (300 th frame) start Time: 39777
 [HOST] [DSP1  ]     39.794271 s: AlgorithmLink_fisheyeCorrectionProcess (300 th frame) end Time: 17
 [HOST] [HOST  ]     39.829866 s: SgxFrmcpyLink_drvDoProcessFrames (300 th frame) start Time: 39829
 [HOST] [HOST  ]     39.830018 s: SgxFrmcpyLink_drvDoProcessFrames end (300 th frame) Time: 1
 [HOST] [DSP1  ]     49.377447 s: AlgorithmLink_fisheyeCorrectionProcess (600 th frame) start Time: 49377
 [HOST] [DSP1  ]     49.394772 s: AlgorithmLink_fisheyeCorrectionProcess (600 th frame) end Time: 17
 [HOST] [HOST  ]     49.433325 s: SgxFrmcpyLink_drvDoProcessFrames (600 th frame) start Time: 49433
 [HOST] [HOST  ]     49.433477 s: SgxFrmcpyLink_drvDoProcessFrames end (600 th frame) Time: 0
 [HOST] [DSP1  ]     58.977886 s: AlgorithmLink_fisheyeCorrectionProcess (900 th frame) start Time: 58977
 [HOST] [DSP1  ]     58.994723 s: AlgorithmLink_fisheyeCorrectionProcess (900 th frame) end Time: 17
 [HOST] [HOST  ]     59.030927 s: SgxFrmcpyLink_drvDoProcessFrames (900 th frame) start Time: 59030
 [HOST] [HOST  ]     59.031080 s: SgxFrmcpyLink_drvDoProcessFrames end (900 th frame) Time: 1
0
 [HOST] [HOST  ]     61.518544 s: *case 0***
 [HOST] [HOST  ]     61.525895 s:  File Write Complete : 0 
 [HOST] [HOST  ]     61.525986 s:  NULL LINK: Closing Dump file 
 [HOST] [HOST  ]     61.526017 s:  NULL LINK: Closed dump file 
 [HOST] [DSP1  ]     61.655859 s: AlgorithmLink_surroundView3dDelete Done !!!
 [HOST] [HOST  ]     61.675806 s: free_LUT_buffer Start
 [HOST] [HOST  ]     61.679741 s: free_LUT_buffer Done
 [HOST] [HOST  ]     61.679985 s: SVS_3D_StopAndDeleteApp DONE
 [HOST] [HOST  ]     61.680015 s: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  Vision SDK Usecases
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  1: 3DSVS
 [HOST] [HOST  ]  2: Offline
 [HOST] [HOST  ]  3: 3DSVS_Main
 [HOST] [HOST  ]  s: Set Vehical Speed
 [HOST] [HOST  ]  4: SoilDetection_Debug
 [HOST] [HOST  ]  p: CPU Status
 [HOST] [HOST  ]  t: System Settings 
 [HOST] [HOST  ]  0: Exit 
 [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  Enter Choice: 
 [HOST] [HOST  ]  
0
 [HOST] [HOST  ]     65.898737 s:  SYSTEM: De-Initializing A15 Links !!! 
 [HOST] [HOST  ]     65.899011 s:  IPC_OUT_0 : DeInit done - linkid-0x2000000
 [HOST] [HOST  ]     65.899133 s:  IPC_OUT_1 : DeInit done - linkid-0x2000001
 [HOST] [HOST  ]     65.899225 s:  IPC_OUT_2 : DeInit done - linkid-0x2000002
 [HOST] [HOST  ]     65.899316 s:  IPC_OUT_3 : DeInit done - linkid-0x2000003
 [HOST] [HOST  ]     65.899469 s:  IPC_OUT_4 : DeInit done - linkid-0x2000004
 [HOST] [HOST  ]     65.899591 s:  IPC_IN_0 : DeInit done - linkid-0x200000a
 [HOST] [HOST  ]     65.899713 s:  IPC_IN_1 : DeInit done - linkid-0x200000b
 [HOST] [HOST  ]     65.899865 s:  IPC_IN_2 : DeInit done - linkid-0x200000c
 [HOST] [HOST  ]     65.899957 s:  IPC_IN_3 : DeInit done - linkid-0x200000d
 [HOST] [HOST  ]     65.900079 s:  IPC_IN_4 : DeInit done - linkid-0x200000e
 [HOST] [HOST  ]     65.900231 s:  IPC_IN_5 : DeInit done - linkid-0x200000f
 [HOST] [HOST  ]     65.900353 s:  IPC_IN_6 : DeInit done - linkid-0x2000010
 [HOST] [HOST  ]     65.900475 s:  NULL_0 : DeInit done - linkid-0x2000014
 [HOST] [HOST  ]     65.900597 s:  NULL_1 : DeInit done - linkid-0x2000015
 [HOST] [HOST  ]     65.900719 s:  NULL_SRC_0 : DeInit done - linkid-0x2000039
 [HOST] [HOST  ]     65.900841 s:  DISP_DIST_SRC_0 : DeInit done - linkid-0x2000062
 [HOST] [HOST  ]     65.900994 s:  DISP_DIST_SRC_1 : DeInit done - linkid-0x2000063
 [HOST] [HOST  ]     65.901116 s:  DISP_DIST_SRC_2 : DeInit done - linkid-0x2000064
 [HOST] [HOST  ]     65.901238 s:  DISP_DIST_SRC_3 : DeInit done - linkid-0x2000065
 [HOST] [HOST  ]     65.901360 s:  ALGORITHM_0 : DeInit done - linkid-0x2000031
 [HOST] [HOST  ]     65.901451 s:  ALGORITHM_1 : DeInit done - linkid-0x2000032
 [HOST] [HOST  ]     65.901543 s:  ALGORITHM_2 : DeInit done - linkid-0x2000033
 [HOST] [HOST  ]     65.901604 s:  ALGORITHM_3 : DeInit done - linkid-0x2000034
 [HOST] [HOST  ]     65.901695 s:  ALGORITHM_4 : DeInit done - linkid-0x2000035
 [HOST] [HOST  ]     65.901787 s:  ALGORITHM_5 : DeInit done - linkid-0x2000036
 [HOST] [HOST  ]     65.901878 s:  ALGORITHM_6 : DeInit done - linkid-0x2000037
 [HOST] [HOST  ]     65.901970 s:  ALGORITHM_7 : DeInit done - linkid-0x2000038
 [HOST] [HOST  ]     65.902763 s:  SYNC_0 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.902885 s:  SYNC_1 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903007 s:  SYNC_2 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903129 s:  SYNC_3 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903281 s:  MERGE_0 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903403 s:  MERGE_1 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903495 s:  MERGE_2 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903617 s:  MERGE_3 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903739 s:  MERGE_4 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903861 s:  SELECT_0 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.903952 s:  SELECT_1 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.904074 s:  GATE_0 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.904196 s:  GATE_1 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.904318 s:  GATE_2 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.904410 s:  GATE_3 : DeInit done - linkid-0x0
 [HOST] [HOST  ]     65.904654 s:  NULL_0 : DeInit done - linkid-0x200006d
 [HOST] [HOST  ]     65.904776 s:  NULL_1 : DeInit done - linkid-0x200006e
 [HOST] [HOST  ]     65.904776 s:  SYSTEM: De-Initializing A15 Links ... DONE !!! 
 [HOST] [HOST  ]     65.904806 s:  SYSTEM: IPC: De-init in progress !!!
 [HOST] [HOST  ]     65.904806 s:  SYSTEM: MSGQ: MsgQ de-init in progress !!!
 [HOST] [HOST  ]     65.904928 s:  SYSTEM: MSGQ: MsgQ de-init DONE !!!
 [HOST] [HOST  ]     65.904928 s:  SYSTEM: IPC: Notify de-init in progress !!!
 [HOST] [HOST  ]     65.905721 s:  SYSTEM: IPC: Notify de-init DONE !!!
 [HOST] [HOST  ]     65.905721 s:  SYSTEM: IPC: De-init DONE !!!
root@dra7xx-evm:/opt/vision_sdk# ./apps.out 
 [HOST]  OSA: MEM: 0: Mapped 0x9fc00000 to 0xb69c5000 of size 0x00100000 
 [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa60c5000 of size 0x10900000 
 [HOST]  OSA: MEM: 2: Mapped 0x9fd00000 to 0xa6005000 of size 0x00040000 
 [HOST]  OSA: MEM: 3: Mapped 0x9fdc0000 to 0xa6045000 of size 0x00080000 
 [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
 [HOST]  OSA: IPU1-0 Remote Log Shared Memory @ 0x9fd00000
 [HOST]  OSA: HOST Remote Log Shared Memory @ 0x9fd4f140
 [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0x9fd769e0
   24.553173] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
[   24.595550] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
[ HOST] [IPU1-0]     11.095467 s:  
 [HOST] [DSP1  ]     10.67865 s: 
 [HOST] [DSP1  ]  AlgorithmLink_SurroundView3d_initPlugin start Time: 10678
 [HOST] [DSP1  ]     11.069999 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after boot !!!
 [HOST] [DSP1  ]     11.070029 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after update by APP !!!
 [HOST] [HOST  ]     28.398950 s: 
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  Vision SDK Usecases
 [HOST] [HOST  ]  ====================
 [HOST] [HOST  ]  1: 3DSVS
 [HOST] [HOST  ]  2: Offline
 [HOST] [HOST  ]  3: 3DSVS_Main
 [HOST] [HOST  ]  s: Set Vehical Speed
 [HOST] [HOST  ]  4: SoilDetection_Debug
 [HOST] [HOST  ]  p: CPU Status
 [HOST] [HOST  ]  t: System Settings 
 [HOST] [HOST  ]  0: Exit 
 [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
 [HOST] [HOST  ]  
 [HOST] [HOST  ]  Enter Choice: 
 [HOST] [HOST  ]  
1
 [HOST] [HOST  ]     36.205148 s: alloc_LUT_buffer start
 [HOST] [HOST  ]     36.206094 s: pFisheyeLUT virtual=0xa6d47400
 [HOST] [HOST  ]     36.207314 s: alloc_LUT_buffer Done
 [HOST] [HOST  ]     36.207832 s: sizeof(SSDConfigObj) = 1904
 [HOST] [HOST  ]     36.207863 s: Global ptr_virt = a8967600
 [HOST] [HOST  ]     36.207863 s: val = 86aa5600
 [HOST] [HOST  ]     36.207893 s: pObj->chainsCfg->numLvdsCh=4
 [HOST] [HOST  ]     36.217897 s: SVS3D UC Address of cfgPrmsInMemory in Fisheye = 86aa5600
 [HOST] Done. [13115520 bytes] 
 [HOST] [HOST  ]     36.819404 s: Reading [/opt/vision_sdk/Fisheye_LUT.txt]
[   33.326105] random: nonblocking pool is initialized
 [HOST] [IPU1-0]     37.545354 s: VpeLink_drvCreateFvidObj retVal  = 0
 [HOST] [IPU1-0]     37.545842 s: VpeLink_drvCreateFvidObj retVal  = 0
 [HOST] [IPU1-0]     37.546269 s: VpeLink_drvCreateFvidObj retVal  = 0
 [HOST] [IPU1-0]     37.546757 s: VpeLink_drvCreateFvidObj retVal  = 0
 [HOST] [DSP1  ]     37.556396 s: optimization buffers allocated
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
 [HOST] [HOST  ]     37.649637 s: SgxFrmcpyLink_drvCreate start Time: 37649
 [HOST] [HOST  ]     37.649728 s:  SYSTEM_PVRSCOPE: FIFO /opt/vision_sdk/gpufifo opened successfully 
 [HOST] [HOST  ]     37.714908 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     37.715640 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     37.716342 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     37.717043 s: eglWindowOpen pEglWindowObj->chInfo.flags = 94208
 [HOST] [HOST  ]     37.729884 s: SgxFrmcpy EGLInfo pObj->tskInfo.queInfo[0].chInfo[0].flags = 94208
Read 0, 0.986111, 0.000000
Read 1, 0.055556, 0.000000
Read 2, 0.986111, 0.000000
Read 3, 0.000000, 0.000000
Read 4, 1.000000, 0.000000
Read 5, 0.000000, 0.000000
Read 6, 1.000000, 0.000000
Read 7, 0.000000, 0.000000
Read 8, 1.000000, 0.000000
Read 9, 0.055556, 0.000000
Read 10, 0.986111, 0.000000
Read 11, 0.055556, 0.000000
Read 12, 0.972222, 0.000000
Read 13, 0.055556, 0.000000
Read 14, 0.972222, 0.000000
Read 15, 0.000000, 0.000000
Read 16, 0.986111, 0.000000
Read 17, 0.000000, 0.000000
Read 18, 0.986111, 0.000000
Read 19, 0.000000, 0.000000
indicesarr_size=93312 m_texturearr_size=62208 
cannot open bmp file: ./font.bmp
 [HOST] [HOST  ]     38.204050 s: SgxFrmcpyLink_drvCreate end Time: 555
 [HOST] [HOST  ]     38.271243 s: Done read_fisheye_lut
 [HOST] [IPU1-0]     38.364972 s: VpeLink_drvCreateFvidObj retVal  = -1
 [HOST] [IPU1-0]     38.365064 s:  Assertion @ Line: 719 in vpeLink_drv.c: retVal == SYSTEM_LINK_STATUS_SOK : failed !!!