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 Update on Monday, May 27th 2025

qt ubuntu opengl not supported

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 3 Posters 2.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.
  • J Offline
    J Offline
    jhovarie
    wrote on 4 Jun 2018, 02:55 last edited by
    #1

    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

    J 1 Reply Last reply 4 Jun 2018, 04:22
    0
    • J jhovarie
      4 Jun 2018, 02:55

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Jun 2018, 04:22 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 4 Jun 2018, 06:52
      2
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 4 Jun 2018, 06:30 last edited by mrjj 6 Apr 2018, 06:31
        #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 4 Jun 2018, 06:54
        1
        • J jsulm
          4 Jun 2018, 04:22

          @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 4 Jun 2018, 06:52 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
          • M mrjj
            4 Jun 2018, 06:30

            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 4 Jun 2018, 06:54 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
            • M mrjj
              4 Jun 2018, 06:30

              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 5 Jun 2018, 05:59 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
              • M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 5 Jun 2018, 06:16 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 5 Jun 2018, 08:21
                0
                • M mrjj
                  5 Jun 2018, 06:16

                  @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 5 Jun 2018, 08:21 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
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 5 Jun 2018, 08:32 last edited by
                    #9

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

                    J 1 Reply Last reply 5 Jun 2018, 08:44
                    0
                    • M mrjj
                      5 Jun 2018, 08:32

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

                      J Offline
                      J Offline
                      jhovarie
                      wrote on 5 Jun 2018, 08:44 last edited by jhovarie 6 May 2018, 08:48
                      #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...

                      M 1 Reply Last reply 5 Jun 2018, 08:58
                      0
                      • J jhovarie
                        5 Jun 2018, 08:44

                        @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...

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 5 Jun 2018, 08:58 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

                        4/11

                        4 Jun 2018, 06:52

                        topic:navigator.unread, 7
                        • Login

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