X20 Display/HDMI issues

I have compiled the sources including applying the SLA patch. The display has error as indicated below
dmesg errors
[ 1664.168122] (5)[241:surfaceflinger][DISP][set_session_mode #1468]ERROR:[FB]: session(0x20001) swith mode(1) fail
[ 1664.229493] (4)[3274:MtkOmxVencEncod][ERROR] VCODEC_LOCKHW EncHWLockEvent TimeOut, CurrentTID = 3274
[ 1669.590863] (0)[241:surfaceflinger][DISP][set_session_mode #1468]ERROR:[FB]: session(0x20001) swith mode(1) fail
[ 1669.690112] (0)[241:surfaceflinger][DISP][set_session_mode #1468]ERROR:[FB]: session(0x20001) swith mode(1) fail
[ 1670.188559] (4)[370:VSyncThread_0][DDP/ddp_manager]error:wait VSYNC timeout on scenario sub_disp
[ 1670.788541] (0)[370:VSyncThread_0][DDP/ddp_manager]error:wait VSYNC timeout on scenario sub_disp

adb logcat errors
01-01 00:00:18.902 247 247 E hwcomposer: ! (2) DISP_IOCTL_CREATE_SESSION (DL) id:ffffffff err:-1, Unknown error -1
01-01 00:00:19.055 247 351 E hwcomposer: ! (0) DISP_IOCTL_WAIT_FOR_VSYNC id:20001 err:-1, Unknown error -1
01-01 00:00:19.096 247 351 E hwcomposer: ! (0) DISP_IOCTL_WAIT_FOR_VSYNC id:20001 err:-1, Unknown error -1
01-01 00:00:19.135 247 351 E hwcomposer: ! (0) DISP_IOCTL_WAIT_FOR_VSYNC id:20001 err:-1, Unknown error -1
01-01 00:00:19.165 247 351 E hwcomposer: ! (0) DISP_IOCTL_WAIT_FOR_VSYNC id:20001 err:-1, Unknown error -1
01-01 00:00:22.182 551 551 D idmap : error: no read access to /vendor/overlay: No such file or directory
01-01 00:00:22.186 550 550 D idmap : error: no read access to /vendor/overlay: No such file or directory

what is going on here and how can i debug this ?

Hi

Sorry to reply late!

Can you tell me the situation was Occasional or inevitable?

Thanks