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

Qt3D examples crash on Raspberry Pi 3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.7.0
    • Qt3D
    • Host Ubuntu 16.04 X64, Qt for Device Creation Rasperry Pi 3 image using eglfs

    Description

      All the examples crash after EGL_BAD_MATCH

      QVector<Qt3DRender::Render::RenderView*>&) rendering frame 
      QEGLPlatformContext: eglMakeCurrent failed: 3009
      Qt3D.Renderer.Backend: bool Qt3DRender::Render::GraphicsContext::makeCurrent(QSurface*) makeCurrent failed
      Failed to make OpenGL context current on surface
      

      Tried forcing the RGB888 also on Qt3DWindow but still something is missing.
      Additional crashes come from shader linking errors (assumes ES2.0, trying to link the PhongMaterial):

      QVector<Qt3DRender::Render::RenderView*>&) rendering frame 
      Qt3D.Renderer.Backend: Qt3DRender::Render::GraphicsHelperInterface* Qt3DRender::Render::GraphicsContext::resolveHighestOpenGLFunctions()  Building OpenGL 2/ES2 Helper
      Qt3D.Core.ChangeArbiter: virtual void Qt3DCore::QChangeArbiter::sceneChangeEventWithLock(const QSceneChangeList&) Handles  4  changes at once
      Qt3D.Renderer.Backend: context supports 8 texture units
      Qt3D.Renderer.Backend: VAO support =  false
      Qt3D.Renderer.RenderStates:  current states  "1000001010000" inverse  "1111111111111111111111111111111111111111111111111110111110101111"  -> states to change:   "0"
      QOpenGLShader::link: ERROR:LEX/PARSE-1 (fragment shader, line 40) Syntax error
      Failed to link shader program: ERROR:LEX/PARSE-1 (fragment shader, line 40) Syntax error
      Application crashed: /home/koshui/Qt/5.7/Boot2Qt/raspberrypi3/toolchain/sysroots/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/usr/share/examples/qt3d/scene3d/scene3d
      Process stopped
      

      Attachments

        Issue Links

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

          Activity

            People

              seanharmer Sean Harmer
              e0150566 Janne Koskinen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes