Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT app with LCD touch gives QEGLPlatformContext: eglSwapBuffers failed: 3003 error.
Forum Updated to NodeBB v4.3 + New Features

QT app with LCD touch gives QEGLPlatformContext: eglSwapBuffers failed: 3003 error.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 523 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sivasubrahmanyam.Nallamalli
    wrote on last edited by
    #1

    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!

    S 1 Reply Last reply
    0
    • S sivasubrahmanyam.Nallamalli

      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!

      S Offline
      S Offline
      sivasubrahmanyam.Nallamalli
      wrote on last edited by
      #2

      @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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved