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

"custominstancing" shows EGL errors at startup on apalis-imx6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 6.8.0, 6.8.1
    • Device Creation

    Description

      Probably this is due to insufficient OpenGL support on the board, but when running 'custominstancing' on apalis-imx6 output shows:

      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      "DBUS_SESSION_BUS_ADDRESS" "unix:path=/run/user/0/dbus_session_socket"
      "FB_MULTI_BUFFER" "2"
      "LD_LIBRARY_PATH" "/data/user/qt/squish/lib"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_PLUGIN_PATH" "/data/user/qt/squish/plugins"
      "QT_QPA_EGLFS_FORCEVSYNC" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "1"
      "QT_QPA_EGLFS_KMS_CONFIG" "/etc/kms.conf"
      "QT_QPA_GENERIC_PLUGINS" "squish:10100"
      "QT_QPA_PLATFORM" "eglfs"
      "QT_WAYLAND_HARDWARE_INTEGRATION" "linux-dmabuf-unstable-v1"
      "SQUISH_PREFIX" "/data/user/qt/squish"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "/usr/bin/custominstancing" QList()
      Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      WARNING 12:52:16
      Cannot find EGLConfig, returning null config
      WARNING 12:52:16
      QEGLPlatformContext: Failed to create context: 3009
      WARNING 12:52:16
      Cannot find EGLConfig, returning null config
      WARNING 12:52:16
      QEGLPlatformContext: Failed to create context: 3009
      WARNING 12:52:16
      Cannot find EGLConfig, returning null config
      WARNING 12:52:16
      QEGLPlatformContext: Failed to create context: 3009
      WARNING 12:52:16
      Cannot find EGLConfig, returning null config
      WARNING 12:52:16
      QEGLPlatformContext: Failed to create context: 3009
      qt.scenegraph.general: threaded render loop
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
      qt.scenegraph.general: Using sg animation driver
      qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
      qt.scenegraph.general: Creating QRhi with backend OpenGL for window 0xe17d28 (wflags 0x1)
        Graphics API debug/validation layers: 0
        Debug markers: 0
        Timestamps: 0
        Prefer software device: 0
        Shader/pipeline cache collection: 1
      qt.rhi.general: Created OpenGL context QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
      qt.rhi.general: OpenGL VENDOR: etnaviv RENDERER: Vivante GC2000 rev 5108 VERSION: OpenGL ES 2.0 Mesa 22.0.3
      qt.scenegraph.general: Created QRhi 0xac304a50 for window 0xe17d28
      qt.scenegraph.general: MSAA sample count for the swapchain is 4. Alpha channel requested = no.
      qt.scenegraph.general: rhi texture atlas dimensions: 2048x2048
      Particles not supported due to missing RGBA32F and RGBA16F texture format support
      WARNING 12:52:16
      QSpirvCompiler: Failed to parse shader
      WARNING 12:52:16
      Failed to compile vertex shader: ERROR: :4: 'qt_instanceData' : undeclared identifier 
      ERROR: :4: 'assign' :  cannot convert from ' temp float' to 'layout( location=6) smooth out highp 4-component vector of float'
      ERROR: :4: '' : compilation terminated 
      ERROR: 3 compilation errors.  No code generated."custom material -->cubeMaterial.vert>cubeMaterial.frag:81821f6ffc0264b336ab644d2f81c95e2c2ab99c;hasLighting=true;lightCount=1;light0ShadowMapSize=256;light1ShadowMapSize=0;light2ShadowMapSize=0;light3ShadowMapSize=0;light4ShadowMapSize=0;light5ShadowMapSize=0;light6ShadowMapSize=0;light7ShadowMapSize=0;light8ShadowMapSize=0;light9ShadowMapSize=0;light10ShadowMapSize=0;light11ShadowMapSize=0;light12ShadowMapSize=0;light13ShadowMapSize=0;light14ShadowMapSize=0;light0SoftShadowQuality=1;light1SoftShadowQuality=0;light2SoftShadowQuality=0;light3SoftShadowQuality=0;light4SoftShadowQuality=0;light5SoftShadowQuality=0;light6SoftShadowQuality=0;light7SoftShadowQuality=0;light8SoftShadowQuality=0;light9SoftShadowQuality=0;light10SoftShadowQuality=0;light11SoftShadowQuality=0;light12SoftShadowQuality=0;light13SoftShadowQuality=0;light14SoftShadowQuality=0;vertexColorRedMask=0;vertexColorGreenMask=0;vertexColorBlueMask=0;vertexColorAlphaMask=0;specularModel=Default;;diffuseMap={;;;;;};emissiveMap={;;;;;};specularMap={;;;;;};baseColorMap={;;;;;};bumpMap={;;;;;};specularAmountMap={;;;;;};normalMap={;;;;;};clearcoatNormalMap={;;;;;};opacityMap={;;;;;};roughnessMap={;;;;;};metalnessMap={;;;;;};occlusionMap={;;;;;};translucencyMap={;;;;;};heightMap={;;;;;};clearcoatMap={;;;;;};clearcoatRoughnessMap={;;;;;};transmissionMap={;;;;;};thicknessMap={;;;;;};opacityMap_channel=R;roughnessMap_channel=R;metalnessMap_channel=R;occlusionMap_channel=R;translucencyMap_channel=R;heightMap_channel=R;clearcoatMap_channel=R;clearcoatRoughnessMap_channel=R;transmissionMap_channel=R;thicknessMap_channel=R;baseColorMap_channel=R;specularAmountMap_channel=R;=R;boneCount=0;alphaMode=Default;;vertexAttributes={position=true;normal=true;texcoord0=true;;tangent=true;binormal=true;;}};targetCount=0;targetPositionOffset=255;targetNormalOffset=255;targetTangentOffset=255;targetBinormalOffset=255;targetTexCoord0Offset=255;targetTexCoord1Offset=255;targetColorOffset=255;debugMode=0;viewCount=1" qt.scenegraph.general: animation driver switched to timer mode 

      There is no screen attached to the device and Squish cannot hook into the running application, so I cannot see what happens on the device. The application is running fine regardless of the output.

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes