QT app with LCD touch gives QEGLPlatformContext: eglSwapBuffers failed: 3003 error.
-
We are having QT App that displays a Logo and changes background colour with LCD Touch.
First touch is not getting detected by the QT APP at boot up.
After restarting the QTAPP, we are getting this errors with touch event.
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d# (1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DoClear: Can't prepare to draw [ :2609 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DrawElements: Can't prepare to draw [ :5673 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DrawElements: Can't prepare to draw [ :5673 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
QEGLPlatformContext: eglSwapBuffers failed: 3003
Could not lock GBM surface front buffer! -
We are having QT App that displays a Logo and changes background colour with LCD Touch.
First touch is not getting detected by the QT APP at boot up.
After restarting the QTAPP, we are getting this errors with touch event.
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d#
root@Node3408e17e8ea9:/etc/init.d# (1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DoClear: Can't prepare to draw [ :2609 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DrawElements: Can't prepare to draw [ :5673 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
(1040) PVR:(Error): PVRImageDrawableGetNativeInfo: Image get buffers call failed [ :106 ]
(1040) PVR:(Error): KEGLGetDrawableParameters: Couldn't get drawable parameters [ :316 ]
(1040) PVR:(Error): PrepareToDraw: Invalid drawable [ :3110 ]
(1040) PVR:(Error): DrawElements: Can't prepare to draw [ :5673 ]
(1040) PVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=12) [ :683 ]
(1040) PVR:(Error): PVRDRIPlanesCreate: Failed to create plane [ :1499 ]
(1040) PVR:(Error): PVRDRIBufferCreate: Failed to create buffer planes [ :1875 ]
(1040) PVR:(Error): CreateImageShared: Failed to create buffer [ :434 ]
QEGLPlatformContext: eglSwapBuffers failed: 3003
Could not lock GBM surface front buffer!@sivasubrahmanyam-Nallamalli
This was fixed after increasing CMA Buffer size from 32 to 64 Bytes.Now while testing we observed some of touch events are skipped QT. Getting this Logs.
qt.pointer.dispatch: skipping QEventPoint(id=0 ts=0 pos=0,0,scn=430.5,1417.5 Released ellipse=(8x8 ?? ^ 0) vel=0,0 press=-430.5 : no target window