Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Windows Qt Creator freezing within VirtualBox
Forum Updated to NodeBB v4.3 + New Features

Windows Qt Creator freezing within VirtualBox

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qtcreatorfreezevirtualbox
17 Posts 4 Posters 5.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.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 29 Apr 2019, 17:43 last edited by
    #7

    Hi
    Used VBox 5.2.28 and win 7 64bit and so far i have not seen
    any freezes.
    I noticed that a newer version has come out. it could be worth trying.

    I will use it some more tomorrow to see if i can get it to be funky.

    A 1 Reply Last reply 29 Apr 2019, 19:37
    1
    • M mrjj
      29 Apr 2019, 17:43

      Hi
      Used VBox 5.2.28 and win 7 64bit and so far i have not seen
      any freezes.
      I noticed that a newer version has come out. it could be worth trying.

      I will use it some more tomorrow to see if i can get it to be funky.

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 29 Apr 2019, 19:37 last edited by
      #8

      @mrjj you're the best :)

      Qt has to stay free or it will die.

      M 1 Reply Last reply 29 Apr 2019, 20:23
      1
      • A aha_1980
        29 Apr 2019, 19:37

        @mrjj you're the best :)

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 29 Apr 2019, 20:23 last edited by
        #9

        @aha_1980
        :)) \o/
        Actually, i must say VBox actually feels
        faster with a Windows 7 than it does in vmware.
        I notice that QML was a bit unhappy about the openGl.
        I did install the addons but didnt enable openGL in settings (somewhere)

        Do you have openGL on ?

        A 1 Reply Last reply 1 May 2019, 05:15
        0
        • M mrjj
          29 Apr 2019, 20:23

          @aha_1980
          :)) \o/
          Actually, i must say VBox actually feels
          faster with a Windows 7 than it does in vmware.
          I notice that QML was a bit unhappy about the openGl.
          I did install the addons but didnt enable openGL in settings (somewhere)

          Do you have openGL on ?

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 1 May 2019, 05:15 last edited by aha_1980 5 Jan 2019, 05:22
          #10

          @mrjj said in Windows Qt Creator freezing within VirtualBox:

          I did install the addons but didnt enable openGL in settings (somewhere)
          Do you have openGL on ?

          I don't even know how to do that.

          These are my machine graphics settings:
          0_1556687632317_0c42fa3c-9952-470a-b424-21b40036538e-image.png

          When installing the Guest Additions, I did not choose the experimental Direct3D support.

          I'm currently indeed reinstalling Qt on one system. Let's see how it goes.

          Edit: on first start, following dialog appears:

          0_1556687863200_0d2d81cb-a44d-4769-a581-bf9a3171bcbe-image.png

          So indeed no OpenGL

          And after running one of the examples, I have these in my Application Output:

          07:20:28: Starting C:\Qt\Examples\Qt-5.12.3\widgets\itemviews\build-editabletreemodel-Desktop_Qt_5_12_3_MSVC2017_32bit-Debug\debug\editabletreemodel.exe ...
          OpenGL Warning: State tracker is being re-initialized..
          
          OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file D:\tinderbox\add-5.2\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 443
          OpenGL Warning: freeing context 01ff0020, id(0) not being in the context list
          OpenGL Warning: State tracker is being re-initialized..
          
          OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file D:\tinderbox\add-5.2\src\VBox\GuestHost\OpenGL\state_tracker\state_init.c, line 443
          OpenGL Warning: freeing context 04600020, id(0) not being in the context list
          07:20:35: C:/Qt/Examples/Qt-5.12.3/widgets/itemviews/build-editabletreemodel-Desktop_Qt_5_12_3_MSVC2017_32bit-Debug/debug/editabletreemodel.exe exited with code 0
          

          So OpenGL could really be a problem.

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 1 May 2019, 06:19 last edited by mrjj 5 Jan 2019, 06:40
            #11

            Hi
            Ok, it is on. (3d -Beschleunigung )
            But i guess its not good enough for QML. hence the warning

            I have 4 cores assigned. Are you using it on ryzen and have like 8 ?

            So far no freezes.

            Im going to mega update win 7 and see if that makes a difference.
            alt text
            1 GB updates..:)

            A 1 Reply Last reply 1 May 2019, 06:57
            0
            • M mrjj
              1 May 2019, 06:19

              Hi
              Ok, it is on. (3d -Beschleunigung )
              But i guess its not good enough for QML. hence the warning

              I have 4 cores assigned. Are you using it on ryzen and have like 8 ?

              So far no freezes.

              Im going to mega update win 7 and see if that makes a difference.
              alt text
              1 GB updates..:)

              A Offline
              A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 1 May 2019, 06:57 last edited by aha_1980 5 Jan 2019, 07:44
              #12

              @mrjj

              But i guess its not good enough for QML. hence the warning

              Probably. I disabled the two plugins, as I don't need them.

              I have 4 cores assigned. Are you using it on ryzen and have like 8 ?

              No, only six cores. I'm running it on a Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz notebook.

              After the re-installation (Qt 5.12.3 MSVC2017, Visual Studio Build tools) it works quite well. I've compiled QtCreator from source (takes 17 minutes and is therefore faster than on the Linux host - interesting btw.) and debugged a smaller program. So far without crashes or freezes.

              I will try next time on my development machine (the Ryzen), but I really think it's just some installation hickup.

              @J-Hilk: I guess I owe you a beer @ Qt World Summit ( @mrjj: I hope we can have one too :))

              Regards

              Qt has to stay free or it will die.

              J J 2 Replies Last reply 1 May 2019, 09:11
              2
              • A aha_1980
                1 May 2019, 06:57

                @mrjj

                But i guess its not good enough for QML. hence the warning

                Probably. I disabled the two plugins, as I don't need them.

                I have 4 cores assigned. Are you using it on ryzen and have like 8 ?

                No, only six cores. I'm running it on a Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz notebook.

                After the re-installation (Qt 5.12.3 MSVC2017, Visual Studio Build tools) it works quite well. I've compiled QtCreator from source (takes 17 minutes and is therefore faster than on the Linux host - interesting btw.) and debugged a smaller program. So far without crashes or freezes.

                I will try next time on my development machine (the Ryzen), but I really think it's just some installation hickup.

                @J-Hilk: I guess I owe you a beer @ Qt World Summit ( @mrjj: I hope we can have one too :))

                Regards

                J Offline
                J Offline
                JonB
                wrote on 1 May 2019, 09:11 last edited by JonB 5 Jan 2019, 09:12
                #13

                @aha_1980
                Throw away comment: I use VirtualBox, but on Windows host for Linux guest. In this VB (at least), on Settings, Display tab, there are options for both 3D and 2D acceleration. I found I had to switch both off (i.e. including the 2D) to get reliable Qt application/Creator behaviour. Just a thought if further odd behaviour...?

                A 1 Reply Last reply 1 May 2019, 10:28
                2
                • J JonB
                  1 May 2019, 09:11

                  @aha_1980
                  Throw away comment: I use VirtualBox, but on Windows host for Linux guest. In this VB (at least), on Settings, Display tab, there are options for both 3D and 2D acceleration. I found I had to switch both off (i.e. including the 2D) to get reliable Qt application/Creator behaviour. Just a thought if further odd behaviour...?

                  A Offline
                  A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on 1 May 2019, 10:28 last edited by
                  #14

                  @JonB Thanks for the hint, I will take it into account if the reinstallation does not help.

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  0
                  • A aha_1980
                    1 May 2019, 06:57

                    @mrjj

                    But i guess its not good enough for QML. hence the warning

                    Probably. I disabled the two plugins, as I don't need them.

                    I have 4 cores assigned. Are you using it on ryzen and have like 8 ?

                    No, only six cores. I'm running it on a Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz notebook.

                    After the re-installation (Qt 5.12.3 MSVC2017, Visual Studio Build tools) it works quite well. I've compiled QtCreator from source (takes 17 minutes and is therefore faster than on the Linux host - interesting btw.) and debugged a smaller program. So far without crashes or freezes.

                    I will try next time on my development machine (the Ryzen), but I really think it's just some installation hickup.

                    @J-Hilk: I guess I owe you a beer @ Qt World Summit ( @mrjj: I hope we can have one too :))

                    Regards

                    J Offline
                    J Offline
                    J.Hilk
                    Moderators
                    wrote on 2 May 2019, 04:46 last edited by
                    #15

                    @aha_1980 ;-) I'm all for it, of course.


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    1 Reply Last reply
                    1
                    • A Offline
                      A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on 3 May 2019, 06:46 last edited by
                      #16

                      I now reinstalled Qt and Creator on my workstation too.

                      So far, no freezes - let's cross fingers.

                      Thank you all for your help :)

                      Regards

                      Qt has to stay free or it will die.

                      M 1 Reply Last reply 3 May 2019, 06:53
                      1
                      • A aha_1980
                        3 May 2019, 06:46

                        I now reinstalled Qt and Creator on my workstation too.

                        So far, no freezes - let's cross fingers.

                        Thank you all for your help :)

                        Regards

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 3 May 2019, 06:53 last edited by
                        #17

                        @aha_1980
                        That is good news.
                        Besides getting slower after being patched to death,
                        i did not experience any freezing.

                        1 Reply Last reply
                        0

                        16/17

                        3 May 2019, 06:46

                        • Login

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