Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Openglseries OpenGL accelerated example on Mali400 GPU
QtWS25 Last Chance

Qt Openglseries OpenGL accelerated example on Mali400 GPU

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    embedded_qt
    wrote on last edited by embedded_qt
    #1

    i have successfully cross compiled qt , All of the opengl and QT charts examples are working , except qtopenglseries example.

    i am quite new to openGL stuff so i don't really understand what is wrong. i think problem is somehow related to Mali 400 GPU which is available on my CPU Chip. it has only two shaders.

    so when i try to run openglseries example have these messages.

    *QOpenGLShader::compile(Vertex): 1:2: S0024: Symbol 'min' redeclared
    *** Problematic Vertex shader source code ***
    #line 1
    attribute highp vec2 points;
    uniform highp vec2 min;
    uniform highp vec2 delta;
    uniform highp float pointSize;
    uniform highp mat4 matrix;
    void main() {
    vec2 normalPoint = vec2(-1, -1) + ((points - min) / delta);
    gl_Position = matrix * vec4(normalPoint, 0, 1);
    gl_PointSize = pointSize;
    }


    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShaderProgram::uniformLocation(color): shader program is not linked
    QOpenGLShaderProgram::uniformLocation(min): shader program is not linked
    QOpenGLShaderProgram::uniformLocation(delta): shader program is not linked
    QOpenGLShaderProgram::uniformLocation(pointSize): shader program is not linked
    QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program
    :
    :
    :
    :
    QOpenGLShader::link: L0100 GLSL allows exactly two attached shaders (one of each type) per program*

    Same message continue.

    of course i can run this example in unaccelerated mode without any problem . but in unaccelerated mode frame rate is quite low and it eatup all of CPU.

    can somboby please help me to understand what is the exact issue.

    is this possible to somehow limit number of shaders qt can use? or any thing else.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      embedded_qt
      wrote on last edited by
      #2

      it will be really nice if anybody can help . please

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        I'd recommend bringing this problem to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved