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

Cannot play any video due to shaders error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7
    • Fix Version/s: 5.6.0
    • Labels:
      None
    • Environment:
      KUbuntu 14.04

      Description

      Using the latest 5.7 branch and "47-based" Chromium. QtWebEngine doesn't display any HTML or DRM video content. I see just black and white rectangles. In console I see:

      QOpenGLShader::compile(Vertex): 0:11(19): error: `in' qualifier in declaration of `_qt_order' only valid for function parameters in GLSL 1.10
      
      *** Problematic Vertex shader source code ***
      #define lowp
      #define mediump
      #define highp
      #line 1
      attribute highp vec4 a_position;
      attribute mediump vec2 a_texCoord;
      uniform highp mat4 matrix;
      varying mediump vec2 v_yaTexCoord;
      varying mediump vec2 v_uvTexCoord;
      uniform mediump vec2 yaTexScale;
      uniform mediump vec2 yaTexOffset;
      uniform mediump vec2 uvTexScale;
      uniform mediump vec2 uvTexOffset;
      in float _qt_order;
      uniform float _qt_zRange;
      void main() {
        gl_Position = matrix * a_position;
        v_yaTexCoord = a_texCoord * yaTexScale + yaTexOffset;
        v_uvTexCoord = a_texCoord * uvTexScale + uvTexOffset;
          gl_Position.z = (gl_Position.z * _qt_zRange + _qt_order) * gl_Position.w;
      }
      ***

      The video chip is Intel Broadwell-U Integrated Graphics. glxinfo is attached. Using Qt 5.5.1.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              dmitryrx Dmitry
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes