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

QML Rendering failed on Intel Cards with OpenGL 3.0 and higher

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.5.0 Beta
    • None
    • Windows 7 on Intel Graphics HD 2500 driver version 9.17.10.2932

    Description

      If I setup, for example on QQuickWidget, surface format with version 3.0 and above running Windows 7 on Intel Graphics HD 2500 I will see blank screen and errors in console:

      Code:
      QSurfaceFormat format;
      format.setVersion(2, 1);
      format.setSamples(4);
      format.setProfile(QSurfaceFormat::CompatibilityProfile);

      Error:
      QOpenGLShader::compile(Vertex): WARNING: 0:? : '' : Version number deprecated in OGL 3.0 forward compatible context driver
      ERROR: 0:2: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 0:3: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 0:4: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 1:2: '' : syntax error: #version is mandatory and should be set before any other token
      ERROR: 2:1: '' : syntax error: #version is mandatory and should be set before any other token

          • Problematic Vertex shader source code ***
            #define lowp
            #define mediump
            #define highp
            #line 1
            uniform highp mat4 qt_Matrix;

      attribute highp vec4 qt_VertexPosition;
      attribute highp vec2 qt_VertexTexCoord;

      varying highp vec2 qt_TexCoord;

      attribute highp float _qt_order;
      uniform highp float _qt_zRange;
      void main()

      { qt_TexCoord = qt_VertexTexCoord; gl_Position = qt_Matrix * qt_VertexPosition; gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w; }

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            Rem.Kolomna Kolesnikov Roman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes