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

[Android] Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.4, 6.6.1, 6.7.0 FF
    • 6.5.0
    • Qt3D
    • None
    • Samsung Galaxy S9 with A 9.0
    • Android
    • a9a7de6af (dev), a035b2cb4 (6.6), f69bc2faa (6.5)

    Description

      Steps to reproduce:

      1. Open Qt Creator and open any 3d example https://doc.qt.io/qt-6/qt3d-examples.html 
      2. Build and try to run the example on Android. 

      Expected: The application is launched, 3d objects are visible. 

      Actual: The application is launched, but the 3d objects could not be rendered thus they're not visible on the screen. 

      Reproducibility:  100%

       

      Error log:

      W Qt3D.Renderer.RHI.Backend: : Initializing RHI with OpenGL backend
      D InputMethodManager: HSIFW - flag : 0 Pid : 19704
      I InputMethodManager: hideSoftInputFromWindow ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :DecorView@bb0ad6b[QtActivity]
      W libpbr-materials_arm64-v8a.so: Attempted to set unsupported sample count 4
      D SurfaceView: onWindowVisibilityChanged(0) true e7bc75b of ViewRootImpl@4b04aba[QtActivity]
      D ViewRootImpl@4b04aba[QtActivity]: Relayout returned: old=[0,0][1080,2076] new=[0,0][1080,2076] result=0x1 surface={valid=true 514101608448} changed=false
      D SurfaceView: hide() Surface(name=SurfaceView - org.qtproject.example.pbr_materials/org.qtproject.qt.android.bindings.QtActivity@e7bc75b@0[19704])/@0xcd3cbf8 false true org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1}
      D SurfaceView: surfaceCreated 1 #8 org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1}
      D SurfaceView: surfaceChanged (1080,2004) 1 #8 org.qtproject.qt.android.QtSurface{e7bc75b V.E...... ......ID 0,0-1080,2004 #1}
      D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=4 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W libpbr-materials_arm64-v8a.so: No GLSL shader code found (versions tried:  QList(100) ) in baked shader QShader(stage=0 shaders=QList(ShaderKey(1 Version(120 QFlags()) 0)) desc.isValid=true)
      W Qt3D.Renderer.RHI.Backend: : Failed to build graphics pipeline: Creation Failed 

       

      Attachments

        1. pixel_3a_logs.txt
          34 kB
          Łukasz Kosiorowski
        2. qt3d_pbr_log.txt
          120 kB
          Łukasz Kosiorowski
        3. qt3d.mov
          7.97 MB
          Łukasz Kosiorowski

        Issue Links

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

          Activity

            People

              taipan BogDan Vatra
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes