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 ubuntu opengl not supported
Forum Updated to NodeBB v4.3 + New Features

qt ubuntu opengl not supported

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 3 Posters 2.3k Views 1 Watching
  • 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.
  • J jhovarie

    ubuntu opengl not supported
    I connect to my azure ubuntu server using tightvnc and open the terminal.

    I check if opengl is supported using the fallowing command.

    1. First command using "glxgears" The results Error: couldn't get an RGB, Double-buffered visual

    2. Second command using "glxinfo" The results name of display: :1.0 Error: couldn't find RGB GLX visual or fbconfig

    Is this mean that my ubuntu server doest not support opengl?

    Also I tried to install QT creator to ubuntu server. I tried to create project and run it. I get error like

    GLX extension not found
    screen shot.
    0_1528079890864_qterror.png

    Is this graphics driver issue? how to fixed this

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @jhovarie First question is: does your app have an UI?
    Usually you don't run UI apps on a server.
    If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    J 1 Reply Last reply
    2
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #3

      just as a note:

      tightvnc as far as i know, does not support openGl.
      only VirtualGL and TurboVNC

      Also indicated by glxgears not running.

      J 2 Replies Last reply
      1
      • jsulmJ jsulm

        @jhovarie First question is: does your app have an UI?
        Usually you don't run UI apps on a server.
        If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild.

        J Offline
        J Offline
        jhovarie
        wrote on last edited by
        #4

        @jsulm said in qt ubuntu opengl not supported:

        @jhovarie First question is: does your app have an UI?
        Usually you don't run UI apps on a server.
        If your app does not have an UI then remove "gui" and "widgets" from "QT +=" in your pro file. Rerun qmake and rebuild.

        my app on server has a UI window but I hide it in other word it doest not have UI. but I need opengl needed support because it converts videos.

        1 Reply Last reply
        0
        • mrjjM mrjj

          just as a note:

          tightvnc as far as i know, does not support openGl.
          only VirtualGL and TurboVNC

          Also indicated by glxgears not running.

          J Offline
          J Offline
          jhovarie
          wrote on last edited by
          #5

          @mrjj said in qt ubuntu opengl not supported:

          rbo

          Ok I will try VirtualGL and TurboVNC I will go back here to report what happen next.

          1 Reply Last reply
          0
          • mrjjM mrjj

            just as a note:

            tightvnc as far as i know, does not support openGl.
            only VirtualGL and TurboVNC

            Also indicated by glxgears not running.

            J Offline
            J Offline
            jhovarie
            wrote on last edited by
            #6

            @mrjj

            Hello I already install turbovnc on my windows client and virtualgl on ubuntu server.. I connect to my server using turbovnc and open terminal then I type vglrun glxgears the result is No protocol specified [VGL] ERROR: Could not open display :0. any help how to fixed this?

            1 Reply Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @jhovarie

              protocol specified [VGL] ERROR

              No sure. can be many things.
              sometimes you just need to export display :0

              did you follow guide ?
              https://gist.github.com/cyberang3l/422a77a47bdc15a0824d5cca47e64ba2

              J 1 Reply Last reply
              0
              • mrjjM mrjj

                @jhovarie

                protocol specified [VGL] ERROR

                No sure. can be many things.
                sometimes you just need to export display :0

                did you follow guide ?
                https://gist.github.com/cyberang3l/422a77a47bdc15a0824d5cca47e64ba2

                J Offline
                J Offline
                jhovarie
                wrote on last edited by
                #8

                @mrjj

                Hey its working now vglrun glxgears and vglrun glxinfo commands is working now on clound.. but the error from qt doest not fixed same error I get.. is this because some plugin is not loaded like this?
                0_1528185825057_pluginserror.png

                1 Reply Last reply
                0
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  Hi
                  Did you try run Creator same was as with glxgears ? ( via vglrun )

                  J 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    Hi
                    Did you try run Creator same was as with glxgears ? ( via vglrun )

                    J Offline
                    J Offline
                    jhovarie
                    wrote on last edited by jhovarie
                    #10

                    @mrjj

                    Hey I tried this code vglrun ./qtcreator the qt runs and The error plugin loader message is gone.. but if I tried to run the qt app I get error message like the fallowing.

                    X Error of failed request: BadMatch (invalid parameter attributes)
                    Major opcode of failed request: 72 (X_PutImage)
                    Serial number of failed request: 41
                    Current serial number in output stream 54

                    How to fixed this? thanks in advance...

                    mrjjM 1 Reply Last reply
                    0
                    • J jhovarie

                      @mrjj

                      Hey I tried this code vglrun ./qtcreator the qt runs and The error plugin loader message is gone.. but if I tried to run the qt app I get error message like the fallowing.

                      X Error of failed request: BadMatch (invalid parameter attributes)
                      Major opcode of failed request: 72 (X_PutImage)
                      Serial number of failed request: 41
                      Current serial number in output stream 54

                      How to fixed this? thanks in advance...

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @jhovarie

                      Hi
                      Sorry i dont know what it is.
                      however, BadMatch and X_PutImage on google
                      seems to talk about color depth.
                      Make sure to read the docs
                      https://virtualgl.org/vgldoc/2_1_1/
                      and check color depth if your X session etc.

                      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