Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT opengl shader error

QT opengl shader error

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 1.3k 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.
  • S Offline
    S Offline
    s002wjh
    wrote on 2 Apr 2018, 14:58 last edited by
    #1

    Using 5.5qt. I encountered this error when plotting 3d opengl using nividia GPU

    Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 2 Apr 2018, 20:23 last edited by
      #2

      Hi,

      You should print the output of QOpenGLShader::.log to get more information about what is gong wrong.

      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
      1
      • S Offline
        S Offline
        s002wjh
        wrote on 3 Apr 2018, 18:16 last edited by
        #3

        Hi I think because I run the opengl gui remote via ssh and my local machines don't have Nividia gpu cause the issues. Is this possible?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Apr 2018, 20:01 last edited by
          #4

          Do you have enabled X forwarding with your ssh connection ?

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

          S 1 Reply Last reply 4 Apr 2018, 17:39
          0
          • S SGaist
            3 Apr 2018, 20:01

            Do you have enabled X forwarding with your ssh connection ?

            S Offline
            S Offline
            s002wjh
            wrote on 4 Apr 2018, 17:39 last edited by
            #5

            @SGaist. Yes it's enabled. I remote logon and run other non opengl GUI fine

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Apr 2018, 21:45 last edited by
              #6

              Did you got the log output as I suggested ?

              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

              1/6

              2 Apr 2018, 14:58

              • Login

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