Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129320

openglunderqml and hellogles3 throws errors on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 RC
    • GUI: OpenGL
    • None
    • Pixel 4a Android 13
      Emulator Android 14
    • Android

    Description

      The openglunderqml and hellogles3 example throws some errors on Pixel 4a after going to background. Then after going back the app still works fine though.

      W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
      W AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
      E OpenGLRenderer: Unable to match the desired swap behavior.
      I englunderqmlapp: Compiler allocated 4495KB to compile void android.view.ViewRootImpl.performTraversals()
      D ProfileInstaller: Installing profile for org.qtproject.example.openglunderqmlapp
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) requestBuffer: BufferQueue has no connected producer
      E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -19
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) cancelBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) dequeueBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) dequeueBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) dequeueBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) dequeueBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:19c100000001,api:0,p:-1,c:6593) dequeueBuffer: BufferQueue has no connected producer
      I Adreno  : DequeueBuffer: dequeueBuffer failed
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
      E OpenGLRenderer: Unable to match the desired swap behavior. 

       

      Emulator Android 14 has the following in the same scenario

      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:245300000001,api:0,p:-1,c:9299) requestBuffer: BufferQueue has no connected producer
      E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -19
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.openglunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:245300000001,api:0,p:-1,c:9299) cancelBuffer: BufferQueue has no connected producer
      E EGL_emulation: tid 9381: swapBuffers(817): error 0x300d (EGL_BAD_SURFACE)
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
      E EGL_emulation: egl_window_surface_t::swapBuffers called with NULL buffer
      E EGL_emulation: tid 9381: swapBuffers(800): error 0x300d (EGL_BAD_SURFACE)
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d
      E EGL_emulation: egl_window_surface_t::swapBuffers called with NULL buffer
      E EGL_emulation: tid 9381: swapBuffers(800): error 0x300d (EGL_BAD_SURFACE)
      W libopenglunderqmlapp_arm64-v8a.so: QEGLPlatformContext: eglSwapBuffers failed: 300d 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes