UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    20.04 Focal: uNav freezes with GPS enabled

    Scheduled Pinned Locked Moved App Development
    29 Posts 16 Posters 7.4k Views 5 Watching
    Loading More Posts
    • 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.
      • K Offline
        kristatos @lduboeuf
        last edited by

        @lduboeuf Yes, he said it's working for him under noble. But It think he's using a Fairphone 4 or 5.
        I don't think it's a device issue because there are multiple affected devices and under these, there are Mediatek and Qualcomm chipsets.
        But, like @haagch said, it would be nice to know, how to debug this issue to help get this annoying bug fixed.

        BQ Aquaris E4.5 (UT 16.04)
        Vollaphone (UT 24.04)
        Vollaphone 22 (UT 24.04)

        lduboeufL 1 Reply Last reply Reply Quote 0
        • lduboeufL Offline
          lduboeuf @kristatos
          last edited by

          @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

          @lduboeuf Yes, he said it's working for him under noble. But It think he's using a Fairphone 4 or 5.
          I don't think it's a device issue because there are multiple affected devices and under these, there are Mediatek and Qualcomm chipsets.
          But, like @haagch said, it would be nice to know, how to debug this issue to help get this annoying bug fixed.

          Just tested on Noble, FP4 with Unav and i have the freeze issue.
          @AppLee do you confirm it is working for you on FP5 ?

          AppLeeA 1 Reply Last reply Reply Quote 1
          • AppLeeA Offline
            AppLee @lduboeuf
            last edited by AppLee

            Hi @lduboeuf

            Not sure what the problem is, there might be several...
            I noticed some freezes, but I can overcome them and I managed to have to location updated while walking.
            When freeze occurs it's often after making a search or new navigation or this kind of operation.
            Edit: to be thorough only uNav freezes.

            I don't remember exactly but I think I make my search before asking to locate me.
            Basically there is an order that work ; search the location, then start the navigation, then location activation.

            I'm using a FP5 on Noble and Pure Maps doesn't work on Noble yet.

            K 1 Reply Last reply Reply Quote 2
            • K Offline
              kristatos @AppLee
              last edited by

              @AppLee said in 20.04 Focal: uNav freezes with GPS enabled:

              I don't remember exactly but I think I make my search before asking to locate me.
              Basically there is an order that work ; search the location, then start the navigation, then location activation.

              That was the way I thought it would work reliable, but also this order freezes sometimes.
              When you first locate your position and then try to do something else (e.g. search a destination, calculate a route ...) the crash is save for about 99,9%.

              Long story short, there's nobody who can say, that the navigation is working for him like expected and without issues. And for me, that was the case under Xenial. There have never been any freezes in conjunction with GPS. So, how can we figure out what causes this freezes?

              BQ Aquaris E4.5 (UT 16.04)
              Vollaphone (UT 24.04)
              Vollaphone 22 (UT 24.04)

              AppLeeA 1 Reply Last reply Reply Quote -1
              • AppLeeA Offline
                AppLee @kristatos
                last edited by

                @kristatos said in 20.04 Focal: uNav freezes with GPS enabled:

                And for me, that was the case under Xenial.

                On Focal it navigation works fine with Pure Maps, I tested it earlier this year.
                But since I'm testing Noble, I don't use Focal so much...

                H 1 Reply Last reply Reply Quote 0
                • CiberSheepC Offline
                  CiberSheep @CiberSheep
                  last edited by

                  As long as you don't cancel the navigation uNav will work (and it has been all this time).
                  If you cancel, then close and reopen uNav.

                  said in 20.04 Focal: uNav freezes with GPS enabled:

                  With gps, wifi, mobile network all on
                  Tap on the map
                  Start navigation

                  Another planet, another time, another universe!

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    haagch @AppLee
                    last edited by

                    Getting just a bit more into UT, I guess I could get gdb on it, either by just finding a static gdb build and putting it in the user dir, or by making the system writable and installing it, and then attaching to the hanging process, but for the moment I'm just looking around.

                    uNav is really a QtWebEngineProcess and trivially freezing for me.

                    Pure Maps seems to be a native Qt application and it has been very rarely freezing (but it has happened) - on the other hand I'm not sure it ever actually stops locating with GPS while running, so it's hard to say if it suffers the same issue or not - What I'm wondering is if this is just a QtWebEngine issue or a general issue.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Talkless
                      last edited by

                      Not sure if relevant, but I've reported some time ago tha PureMaps freezes for me unless I rebuild PureMaps without AppArmor confinement: https://github.com/rinigus/pure-maps/issues/619

                      I just use OSMand via Waydroyd. UBPorts is less and less usable for me.

                      Volla Phone X

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        uxes @Talkless
                        last edited by

                        @Talkless same here, when i need navigation, i use osmand+

                        unav and puremaps are not usable, issues with missing gps signal in app (but other apps in same time can show my location), crashing or freezing and after some application switching

                        1 Reply Last reply Reply Quote 0
                        • W wally referenced this topic on
                        • W wally referenced this topic on
                        • pparentP pparent referenced this topic on
                        • W wally referenced this topic on
                        • S Offline
                          slowcyclist @Guest
                          last edited by slowcyclist

                          Just as @applee, I suspect that this thread possibly discusses several different bugs. Notably, I believe the problem described in reply #3, and maybe by @kristatos are the same as the one I described in this other topic. The issue in that other topic is related to how UBports interfaces with the android gps drivers and it affects all apps using gps on all ported android phones released since around 2020, but possibly with app-dependent symptoms : freezing, crashing, or just going on with a frozen location.

                          The good news is that the other topic's bug has a working fix which should hopefully land in an upcoming OTA.

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post