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.

Issue in partition of Display

Hello All,

I'm using VSDK 2.10 for Linux.

Im trying to create a partition on display, where in one part i need to show output of my newly created algPlugin and in other part the already existing algPlugin output

The usecase before addition of my plugin was:

Capture -> Sync -> Alg_ImgCpy(EVE2) -> Dup_cap

Dup_cap -> Alg_One(DSP1)

Dup_cap -> Alg_Two(DSP2)

Alg_One -> Merge

Alg_Two -> Merge

Merge -> Sync_1 -> Alg_ImgAdd(EVE1) -> SgxFrmcpy (A15) -> Display_M4 (IPU1_0)

//
// Graphics overlay display
//
GrpxSrc -> Display_Grpx

I then added a new display in usecase like this( the addition is marked in yellow)

Capture -> Sync -> Alg_ImgCpy(EVE2) -> Dup_cap

Dup_cap -> Alg_One(DSP1)

Dup_cap -> Alg_Two(DSP2)

Dup_cap-> Alg_Three(DSP) -> Display_video (IPU1_0)

Alg_One -> Merge

Alg_Two -> Merge

Merge -> Sync_1 -> Alg_ImgAdd(EVE1) -> SgxFrmcpy (A15) -> Display_M4 (IPU1_0)

//
// Graphics overlay display
//
GrpxSrc -> Display_Grpx

For this newly generated usecase, I have done certain modifications in the .c file( present in the usecase folder) to set the display parameters which are as under:

pUcObj->Display_GrpxPrm.rtParams.tarWidth   =displayWidth;

pUcObj->Display_GrpxPrm.rtParams.tarHeight   =displayHeight;

pUcObj->Display_GrpxPrm.rtParams.posX   =0;

pUcObj->Display_GrpxPrm.rtParams.posY   =0;

pUcObj->Display_GrpxPrm.displayId   =DISPLAY_LINK_INST_DSS_GFX1;

pUcObj->Display_videoPrm.rtParams.posX   =1024;

pUcObj->Display_videoPrm.rtParams.posY   =0;

pUcObj->Display_videoPrm.displayId   =DISPLAY_LINK_INST_DSS_VID1;

pUcObj->Display_M4Prm.rtParams.tarWidth   =974;

pUcObj->Display_M4Prm.rtParams.tarHeight   =488;

pUcObj->Display_M4Prm.rtParams.posX   =50;

pUcObj->Display_M4Prm.rtParams.posY   =296;

pUcObj->Display_M4Prm.displayId   =DISPLAY_LINK_INST_DSS_VID2;

ChainsCommon_SetDisplayPrms(&pUcObj->Display_M4Prm,NULL,pObj->chainsCfg->displayType,752,1008);

After running the usecase i get an assertion:

Assertion at FVID2_control("some parameters") function  present in the file : links_ipu/display/displayLink_drv.c

What can be the issue? Is there any issue with passing the display parameters? can you suggest any existing approach for partitioning of display using my existing usecase.

Thank you,

Aditi Verma

Display_M4 (IPU1_0)

  • Hi Aditi,

    I have forwarded your question to a VisonSDK expert.

    Regards,
    Yordan
  • Hello

    its possible to aprtition the dsiplay into multiple windows, us the below UC for refernec

    \vision_sdk\hlos\examples\adas\src\usecases\lvds_vip_multi_cam_3d_srv

    chains_lvdsVipMultiCam_Sgx3Dsrv.c

    the assert you see is I guess  with


        status = FVID2_control(
                     pObj->displayHndl,
                     IOCTL_VPS_DISP_SET_DSS_PARAMS,
                     &pObj->dssPrms,
                     NULL);
        UTILS_assert(status==SYSTEM_LINK_STATUS_SOK);

    check pObj->dssPrms, this has some issues.

    regards, Shiju