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. Having issues starting a majority of QT-created apps

Having issues starting a majority of QT-created apps

Scheduled Pinned Locked Moved Unsolved General and Desktop
37 Posts 5 Posters 15.2k Views 4 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 Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #15

    Any chance of having that since the Windows 10th Anniversary update ?

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

    D 1 Reply Last reply
    1
    • D darkaegis

      @kshegunov said in Having issues starting a majority of QT-created apps:

      I have that exact processor (without overclocking though) and I haven't observed anything suspicious about it.

      Yeah, same. It's actually worked fine for me for some time. Suddenly, out of the blue and without changing anything, I'm getting errors and crashes all over the place. It's infuriating.

      @hskoglund said in Having issues starting a majority of QT-created apps:

      Ivy Bridge, then you should have a Turbo Boost setting in your BIOS? Try disable that also.

      Sure do, it's actually what I was using to overclock. I had a slight overclock going for some time with the turbo boost numbers. Tested stable and cool for the longest time. That said, I've already reverted it to stock for test. I'll try dropping turbo boost if there's a setting.

      Update: Went as far as going with a fixed ratio, turned off speedstep completely, turned off turboboost. No dice.

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #16

      @SGaist said in Having issues starting a majority of QT-created apps:

      Any chance of having that since the Windows 10th Anniversary update ?

      I'm with you on that. I'd always suspect software before hardware ... especially the video drivers ... and of course Windows itself ...

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1
      • SGaistS SGaist

        Any chance of having that since the Windows 10th Anniversary update ?

        D Offline
        D Offline
        darkaegis
        wrote on last edited by darkaegis
        #17

        Unfortunately, at least some of the issues preceded the Windows 10 Anniversary update. The Vive setup was crashing as early as July 28th, when I got it, and EasyAntiCheat was crashing even before that (I posted about it looking for help on the Steam forums as early as June 4).

        I can't pinpoint when Origin started crashing on me, but I suspect it was relatively recently. I can say that the last game I played on it was about seven months ago, so there's a possibility it has been messed up for a while.

        I tried rolling back to 362 drivers, from March, for my GPU with no luck. I can try rolling back further, but I can't imagine others with the same GPU/drivers not reporting a similar issue at some point.

        I'm honestly not super far from demoting this stupid computer to media center and building another one, although I'm fairly certain my head would explode if the problems persisted after a new Mobo/CPU/GPU.

        That said, I'd be ecstatic if we were able to find a fix.

        1 Reply Last reply
        0
        • hskoglundH Online
          hskoglundH Online
          hskoglund
          wrote on last edited by
          #18

          Hmm, perhaps it's time for some slight surgery (not on you but on your PC :):
          if you have 2 RAM memory sticks, swap them.

          D 1 Reply Last reply
          1
          • hskoglundH hskoglund

            Hmm, perhaps it's time for some slight surgery (not on you but on your PC :):
            if you have 2 RAM memory sticks, swap them.

            D Offline
            D Offline
            darkaegis
            wrote on last edited by
            #19

            Was going to try that next, @hskoglund , even though they passed memtest, I figure it can't hurt to swap them, change channels, and remove one and then the other, just in case. I'm going to try that in a bit. Might have to head out for a job really quick for the time being, but I really, really appreciate all of the help you people are offering up.

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

              In the same kind of idea, did you try to change the PCI slot in which you put the graphic card ?

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

              D 1 Reply Last reply
              1
              • SGaistS SGaist

                In the same kind of idea, did you try to change the PCI slot in which you put the graphic card ?

                D Offline
                D Offline
                darkaegis
                wrote on last edited by
                #21

                Tried RAM, no luck. Tried one of each, then switched slots. No luck. I definitely won't have time to switch the slot my GPU is in, but try that next.

                1 Reply Last reply
                0
                • hskoglundH Online
                  hskoglundH Online
                  hskoglund
                  wrote on last edited by
                  #22

                  @darkaegis maybe this is a good opportunity for you to switch to and learn Ubuntu (there are plenty of Steam games that work) :-))

                  D 1 Reply Last reply
                  1
                  • hskoglundH hskoglund

                    @darkaegis maybe this is a good opportunity for you to switch to and learn Ubuntu (there are plenty of Steam games that work) :-))

                    D Offline
                    D Offline
                    darkaegis
                    wrote on last edited by darkaegis
                    #23

                    Haha, I'm somewhat familiar with Ubuntu - I used it years ago in college and I dabble occasionally, but I've got far too many Windows-exclusive Steam games as well as Lightroom and Photoshop (for my job) that demand a Windows PC.

                    Plus, many of the issues I've got right now revolve around Vive, which I hear has pretty close to zero Linux support.

                    If anything, I'll probably dual-boot at some point in the near future, but I don't think I'll do it as a solution to my issue. :D

                    Something just came to me, by the way - Origin recently overhauled their platform - presumably into qt5. That may have been why I didn't have the issue before but am having the issue now. I can't find a way to install the old version of Origin since they use a web installer and it downloads the newest version by default, but I can say that the graphical glitches and crashes I get in the newest installer aren't present in their older versions.

                    Obviously I can't say it conclusively, but I can say that the problem seems to be restricted to applications made with Qt, regardless of how resource-heavy they are. Although I'm not sure why some Qt apps work with glitches and some crash outright.

                    1 Reply Last reply
                    0
                    • hskoglundH Online
                      hskoglundH Online
                      hskoglund
                      wrote on last edited by
                      #24

                      Yeah agree. What about VLC for watching movies (another pretty well known Qt app)?

                      1 Reply Last reply
                      1
                      • hskoglundH Online
                        hskoglundH Online
                        hskoglund
                        wrote on last edited by hskoglund
                        #25

                        BTW, perhaps it's some specific Qt behavior that triggers the glitches. Now I'm thinking about the NX settings, have you tried disabling NX in BIOS?

                        Edit: you can try it from inside Windows 10, open an elevated CMD window:
                        bcdedit.exe /set {current} nx AlwaysOff

                        1 Reply Last reply
                        1
                        • D Offline
                          D Offline
                          darkaegis
                          wrote on last edited by darkaegis
                          #26

                          Yeah, VLC is actually my primary video player, and seems to be one of the Qt apps that doesn't trigger the behavior. I also use KeePass without error very regularly. I wonder if it has something to do with a specific version of Qt.

                          I disabled XD in bios - no luck. Same results.

                          And seriously, thanks again for all of the help. Even if we can't nail this down I appreciate it.

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            darkaegis
                            wrote on last edited by darkaegis
                            #27

                            Let me know logs or anything might help. I'm willing to do whatever, at this point, to nail this down. A bit of extra info:

                            The version of qt in the crashing Origin is 5.6.0.0.and it points to Qt5core.dll and I can (usually) get moments past logging in before crashing outright.

                            The version of qt in the crashing EasyAntiCheat is 5.3.1.0 (although, technically, this one may not be related because I'm just getting a failure to start and no actual error in the event log, but it is inexplicably failing to start, so I can only assume that this is part of the issue)

                            The version of qt in the crashing Stellarium is 5.6.1.0 and it points to qt5core.dll

                            The version of qt in HTC Vive setup software is 5.5.1.0 and I don't even get a splash screen before starting. It also points to qt5core.dll.

                            SteamVR uses 5.5.0.0 - and while it does work without crashing outright, there are weird text glitches in the menu, similar to what I see in Origin before it crashes. I'm unable to get to it at the moment, but this guy was having a similar issue and you can see what it looks like here.

                            alt text.

                            It'll often (but not always) look like that in every menu in the app, including settings. In addition, sometimes the background of the settings menu will fail to load and the whole window will be transparent.

                            Videolan works fine and seems to be using an older version of Qt - Qt4, unless their documentation is outdated. Even so, their latest stable version is still old enough to come before this bug I'm having.

                            Would this be a proper bug to submit officially to the bug tracker? Considering I'm not encountering it (seemingly) with any non-Qt apps on a very heavily used computer, I can only assume something is happening between the newest versions of Qt and my specific hardware/software setup.

                            1 Reply Last reply
                            0
                            • hskoglundH Online
                              hskoglundH Online
                              hskoglund
                              wrote on last edited by
                              #28

                              Hi to submit it as a bug, best would be to have a small working, reproducible example.
                              For example. if you could try download and install Qt on your Windows 10 and build a simple Widgets app (no coding necessary, just select a Widgets app and Build/Run.

                              Then when you try to start that simple Widgets app and it glitches out, we're in business.

                              D 1 Reply Last reply
                              1
                              • hskoglundH hskoglund

                                Hi to submit it as a bug, best would be to have a small working, reproducible example.
                                For example. if you could try download and install Qt on your Windows 10 and build a simple Widgets app (no coding necessary, just select a Widgets app and Build/Run.

                                Then when you try to start that simple Widgets app and it glitches out, we're in business.

                                D Offline
                                D Offline
                                darkaegis
                                wrote on last edited by darkaegis
                                #29

                                Unfortunately, since I think the Qt installer is based on Qt, it never makes it through completely. Sometimes it chokes when it's downloading the packages, sometimes it chokes on the "selection" screen, and sometimes it chokes halfway through installation, but it never makes it through completely without crashing or messing up to the point where I can't go any further. Similar story with the offline installation.

                                I'll keep trying to install it, but I don't think I'll have any luck.

                                hskoglundH 1 Reply Last reply
                                0
                                • D darkaegis

                                  Unfortunately, since I think the Qt installer is based on Qt, it never makes it through completely. Sometimes it chokes when it's downloading the packages, sometimes it chokes on the "selection" screen, and sometimes it chokes halfway through installation, but it never makes it through completely without crashing or messing up to the point where I can't go any further. Similar story with the offline installation.

                                  I'll keep trying to install it, but I don't think I'll have any luck.

                                  hskoglundH Online
                                  hskoglundH Online
                                  hskoglund
                                  wrote on last edited by
                                  #30

                                  @darkaegis Oh for sure the installer app is 100% Qt.
                                  But if you another Windows PC around, you could install Qt and build a vanilla Widgets app on that PC, then run windeployqt on the .exe and copy the files over to your main culprit.

                                  1 Reply Last reply
                                  1
                                  • D Offline
                                    D Offline
                                    darkaegis
                                    wrote on last edited by
                                    #31

                                    Ah, I should've thought of that. That'll be my next step. Thanks for the suggestion.

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      mchinand
                                      wrote on last edited by
                                      #32

                                      Are all of the applications that use Qt using their own copy of the Qt dlls? Did any of them add their directory to your PATH environment variable?

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        darkaegis
                                        wrote on last edited by darkaegis
                                        #33

                                        It does look like all of them are using their own copy of the Qt dlls. At least, for every app that I'm having errors, the Qt dlls are either within the application folder, or within a temporary folder created by the application (in the case of the Vive installer).

                                        I also realized something - a lot of the same errors I had on the Linux install, I had with the Windows install before it crashed or just didn't work outright. There's a possibility that my issues do extend to Linux, although it seems as if they were less severe since I was able to get the program running, at least.

                                        Installing it on my media PC right now to test. No errors at all, predictably.

                                        1 Reply Last reply
                                        0
                                        • D Offline
                                          D Offline
                                          darkaegis
                                          wrote on last edited by
                                          #34

                                          Well, this is frustrating. I've built and successfully run chip, colliding mice, and Google Suggest with no errors or issues. Seems I need either something specific, something more complex, or both to trigger it.

                                          Problem is, since I have no idea how this all works, when I try to build more complex programs, they're starting blank because I have no idea how to compile and run them with their resources for use outside of Qt. As of now, though, I'm at a dead end. I'll attempt to build and run a few more of these over the weekend.

                                          hskoglundH 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