Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linux build qt.glx problem
Qt 6.12 LTS is out! See what's new in the release blog

Linux build qt.glx problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
19 Posts 3 Posters 10.2k Views 2 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.
  • SGaistS SGaist

    Hi,

    What Linux distribution are you using ?
    Are you doing anything OpenGL in your application ?

    B Offline
    B Offline
    Bremenpl
    wrote on last edited by
    #3

    @SGaist Hi,
    I am using Ubuntu 18.04. I am not using opengl in the code.

    lprzenioslo.zut.edu.pl

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

      What graphic stack do you have on your machine ?

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        What graphic stack do you have on your machine ?

        B Offline
        B Offline
        Bremenpl
        wrote on last edited by Bremenpl
        #5

        @SGaist I am using a virtualized system (virtualbox).

        lprzenioslo.zut.edu.pl

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

          So a virtualbox running Ubuntu 18.04 ?
          Did you activate 3D acceleration ?
          What is your host OS ?

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

          B 1 Reply Last reply
          0
          • SGaistS SGaist

            So a virtualbox running Ubuntu 18.04 ?
            Did you activate 3D acceleration ?
            What is your host OS ?

            B Offline
            B Offline
            Bremenpl
            wrote on last edited by
            #7

            @SGaist yes, 3D acceleration is on. My host is windows 10.

            lprzenioslo.zut.edu.pl

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

              Wait, it's on your Linux that it is failing. What graphics card do you have ?

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

              B 2 Replies Last reply
              0
              • SGaistS SGaist

                Wait, it's on your Linux that it is failing. What graphics card do you have ?

                B Offline
                B Offline
                Bremenpl
                wrote on last edited by
                #9

                @SGaist 2 graphics cards: intel integrated (the one that comes with i7-8750H) and Radeon Pro WX 7100. I think VB uses the second one, will doublecl check tommorow.

                lprzenioslo.zut.edu.pl

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Wait, it's on your Linux that it is failing. What graphics card do you have ?

                  B Offline
                  B Offline
                  Bremenpl
                  wrote on last edited by
                  #10

                  @SGaist Hi, I have noticed that when I turn off 3d acceleration in the VM, the messages dispensary, but the app crashes as before on shutdown...

                  lprzenioslo.zut.edu.pl

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jars121
                    wrote on last edited by
                    #11

                    Any chance you were able to resolve this @Bremenpl ? I've got exactly the same issue under exactly the same circumstances (Ubuntu 18.04 under VirtualBox in Windows 10, running Qt 5.12.3).

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      Bremenpl
                      wrote on last edited by
                      #12

                      @jars121 unfortunetally not. I am still dealing with this bug in qt 5.13 (android build also crashes).

                      lprzenioslo.zut.edu.pl

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

                        Can you post the stack trace of the crash ?

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

                        B 1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          Bremenpl
                          wrote on last edited by Bremenpl
                          #14

                          @sgaist Hi, sorry for late answer- do you mean a screenshot from the call stack in debug view?

                          Ps: mac os build crashes the same way, havent tested only ios build yet.

                          lprzenioslo.zut.edu.pl

                          1 Reply Last reply
                          0
                          • SGaistS SGaist

                            Can you post the stack trace of the crash ?

                            B Offline
                            B Offline
                            Bremenpl
                            wrote on last edited by
                            #15

                            @sgaist Here is the call stack along with the segfault moment in code (VB Ubuntu 18.04 x64):

                            0_1566405313872_VirtualBox_Lubuntu 18.04 amd64_21_08_2019_18_31_58.png

                            Seems like the problem lies somewhere within the Qt OPCUA code.

                            lprzenioslo.zut.edu.pl

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

                              Do you have the same stack trace on macOS ?

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

                              B 1 Reply Last reply
                              0
                              • SGaistS SGaist

                                Do you have the same stack trace on macOS ?

                                B Offline
                                B Offline
                                Bremenpl
                                wrote on last edited by
                                #17

                                @sgaist Its pretty much the same I think:

                                0_1566465068925_97941aa9-4077-4216-994d-023fcd6ac185-Screen Shot 2019-08-22 at 11.10.40.png Screen Shot 2019-08-22 at 11.10.40

                                lprzenioslo.zut.edu.pl

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

                                  Can you test again with the latest Qt 5.13 ?
                                  There's also going to be a release of Qt 5.12.5 if not already.

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

                                  B 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Can you test again with the latest Qt 5.13 ?
                                    There's also going to be a release of Qt 5.12.5 if not already.

                                    B Offline
                                    B Offline
                                    Bremenpl
                                    wrote on last edited by
                                    #19

                                    @sgaist Hi, just FYI- yje iOS build works without problems, like Windows build (exits with code 0).
                                    I am currently using 5.13.0. Did you mean to update to the latest 5.13.2?

                                    lprzenioslo.zut.edu.pl

                                    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
                                    • Unsolved