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

Black windows on QtWebEngine under Vmware Player

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P5: Not important
    • None
    • 5.5.0
    • WebEngine
    • None
    • Vmware player 6.06 build-2700073
      Embedding OS: Windows 7 SP1 x32.

    Description

      Build simple program.
      Start it under Vmware player.
      I see a window with black content.

      WebEngine on qt 5.4.2 on the same virtual machine - the error does not occur.

      DebugView trace:

      [3532] QOpenGLShader::compile(Vertex): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Vertex shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] attribute highp vec3 vertexCoord;attribute highp vec2 textureCoord;varying highp vec2 uv;uniform highp mat4 vertexTransform;uniform highp mat3 textureTransform;void main()

      { uv = (textureTransform * vec3(textureCoord,1.0)).xy; gl_Position = vertexTransform * vec4(vertexCoord,1.0);}

      [3532] ***
      [3532] QOpenGLShader::compile(Fragment): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Fragment shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] varying highp vec2 uv;uniform sampler2D textureSampler;uniform bool swizzle;uniform highp float opacity;void main()

      { highp vec4 tmpFragColor = texture2D(textureSampler,uv); tmpFragColor.a *= opacity; gl_FragColor = swizzle ? tmpFragColor.bgra : tmpFragColor;}

      [3532] ***
      [3532] QOpenGLShader::compile(Vertex): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Vertex shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] uniform highp mat4 qt_Matrix;
      [3532]
      [3532] attribute highp vec4 qt_VertexPosition;
      [3532] attribute highp vec2 qt_VertexTexCoord;
      [3532]
      [3532] varying highp vec2 qt_TexCoord;
      [3532]
      [3532] attribute highp float _qt_order;
      [3532] uniform highp float _qt_zRange;
      [3532] void main()
      [3532]

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

      [3532] ***
      [3532] QOpenGLShader::compile(Fragment): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Fragment shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] varying highp vec2 qt_TexCoord;
      [3532]
      [3532] uniform sampler2D qt_Texture;
      [3532]
      [3532] void main()
      [3532]

      { [3532] gl_FragColor = texture2D(qt_Texture, qt_TexCoord); [3532] }

      [3532] ***
      [3532] QOpenGLShader::compile(Vertex): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Vertex shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] attribute highp vec4 vCoord;
      [3532] uniform highp mat4 matrix;
      [3532]
      [3532] attribute highp float _qt_order;
      [3532] uniform highp float _qt_zRange;
      [3532] void main()
      [3532]

      { [3532] gl_Position = matrix * vCoord; [3532] gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w; [3532] }

      [3532]
      [3532] ***
      [3532] QOpenGLShader::compile(Fragment): 0:5(1): error: syntax error, unexpected $undefined
      [3532]
      [3532] *** Problematic Fragment shader source code ***
      [3532] #define lowp
      [3532] #define mediump
      [3532] #define highp
      [3532] #line 1
      [3532] uniform lowp vec4 color;
      [3532]
      [3532] void main()
      [3532]

      { [3532] gl_FragColor = color; [3532] }

      [3532] ***

      Attachments

        Issue Links

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

          Activity

            People

              albisser Zeno Albisser
              Yaroslav Yaroslav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes