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
Qt 6.11 is out! See what's new in the release blog

Having issues starting a majority of QT-created apps

Scheduled Pinned Locked Moved Unsolved General and Desktop
37 Posts 5 Posters 30.7k 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 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 Offline
      hskoglundH Offline
      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 Offline
              hskoglundH Offline
              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 Offline
                  hskoglundH Offline
                  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 Offline
                    hskoglundH Offline
                    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 Offline
                          hskoglundH Offline
                          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 Offline
                              hskoglundH Offline
                              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
                                      • D darkaegis

                                        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 Offline
                                        hskoglundH Offline
                                        hskoglund
                                        wrote on last edited by hskoglund
                                        #35

                                        Well, from a Qt standpoint this is somewhat good news, I mean that simple apps perform nominally.

                                        Probably means that those more complex, real Qt apps use some additional resources that makes them go south. Have you tried some sound demo?

                                        BTW: have you got some fancy hardware plugged in to your USB connectors? Like video-camera? Pull 'em all out :-)

                                        Edit: also try removing your network cable. I know, I'm somewhat at my wit's end.

                                        Edit 2nd time: if you want to go full medieval on this one, you could try installing an older version of Qt on your media PC (say that 5.6.0 version that Origin is built with) and test some demos on that version on your Win10.

                                        D 1 Reply Last reply
                                        1
                                        • hskoglundH hskoglund

                                          Well, from a Qt standpoint this is somewhat good news, I mean that simple apps perform nominally.

                                          Probably means that those more complex, real Qt apps use some additional resources that makes them go south. Have you tried some sound demo?

                                          BTW: have you got some fancy hardware plugged in to your USB connectors? Like video-camera? Pull 'em all out :-)

                                          Edit: also try removing your network cable. I know, I'm somewhat at my wit's end.

                                          Edit 2nd time: if you want to go full medieval on this one, you could try installing an older version of Qt on your media PC (say that 5.6.0 version that Origin is built with) and test some demos on that version on your Win10.

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

                                          That's good to hear. I've run a few more QT apps in the meantime. Subsurface, which uses 5.5.1.0, Teamspeak, and Telegram seem to work fine, so no idea what might be triggering it at this point.

                                          I'll try a sound demo when I can get around to it. Wife is home, so the media center PC is occupied at the moment. In the meantime, I'll try unplugging everything from my USB drives. I don't have anything too fancy, really. Gaming keyboard and mouse, XQD reader, and Steam Remote dongle. I'll see how the games fare with everything unplugged.

                                          I tried disabling my NIC completely earlier, because Origin was hinting at some sort of network issue (igoproxy64 was faulting half the time), but I'll try unplugging ethernet as well.

                                          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