Hi Team,
I am working on vision SDK v3.07.
I ported the logo usecase in rtos into an early usecase, after which the when the kernel initialises it switches to the custom hlos usecase. I face a flicker in display i.e. the display is turned on when logo comes up and is turned off then its turned on again when custom hlos usecase comes up. In order to avoid the switching on and off of display, I commented the ChainsCommon_StopDisplayCtrl() part in the rtos logo usecase as follows,
fillSrcBuf(&gUcObj); chains_nullSrcDisplay_Start(&gUcObj); done = FALSE; while(!done) { Task_sleep(100); if(chainsCfg->linux_InitComplete && printNotDone) { printf("chainsCfg->linux_InitComplete && printNotDone is TRUE\n"); chains_nullSrcDisplay_Stop(&gUcObj); chains_nullSrcDisplay_Delete(&gUcObj); //ChainsCommon_StopDisplayCtrl(); //printf("Not Stopping display in LOGO\n"); printNotDone = FALSE; done = FALSE; } }
When I comment ChainsCommon_StopDisplayCtrl() and run the usecase I get an error as follows,
[HOST] [IPU2 ] 1.651924 s: DISPLAY: Create in progress !!! [HOST] [IPU2 ] 1.652565 s: DISPLAY: Create Done !!! [HOST] [IPU2 ] 1.750320 s: DISPLAY: Start in progress !!! [HOST] [IPU2 ] 1.750472 s: DISPLAY: Start Done !!! [HOST] [IPU2 ] 6.431525 s: Connection established with HLOS, calling rpmsgInit [HOST] [IPU2 ] 28.351247 s: chainsCfg->linux_InitComplete && printNotDone is TRUE [HOST] [IPU2 ] 28.351399 s: DISPLAY: Stop in progress !!! [HOST] [IPU2 ] 28.351491 s: DISPLAY: Stop Done !!! [HOST] [IPU2 ] 28.351674 s: Stopping logo chains [HOST] [IPU2 ] 28.351765 s: DISPLAY: Delete in progress !!! [HOST] [IPU2 ] 28.351888 s: DISPLAY: Delete Done !!! [HOST] [IPU2 ] 28.352193 s: Deleting logo chains [HOST] [IPU2 ] 29.013084 s: 27950: Assertion @ Line: 246 in dispcore/src/vpscore_dctrl.c: (DctrlCoreInfo.numPipes < VPSHAL_DSS_DISPC_PIPE_MAX_INST) : failed !!!
What is the correct way to do it ?
Is there any ways in which I can switch the z order or anything similar so when the logo is up and when the custom hlos usecase comes up, just the order is switched so that the flicker coud be avoided.
Regards,
Padmesh