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
    18 Posts 10 Posters 1.2k Views 3 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
        last edited by kristatos

        The last days I've used the navigation a lot for a motorcycle tour and it was very annoying when the navigation freezes.
        I've played around with noble on my spare phone and it seems, that this bug is present there as well 😞
        So hopefully we'll get this fixed in near future, to have a reliable working navigation again (as we had in 16.04).
        Is there anything we can provide to the devs @costales @rinigus or help in any other way?

        BQ Aquaris E4.5 (UT 16.04)
        Vollaphone (UT 20.04)

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

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

          Is there anything we can provide

          This is a place to start, maybe: https://github.com/costales/unav/issues/56#issuecomment-1741820194

          Another planet, another time, another universe!

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kristatos @CiberSheep
            last edited by

            @CiberSheep I think that's also the wrong place, because it must be a problem in the location-daemon/gps-daemon.
            I've tested it again with todays build of noble and it's the same behavior like under focal: unav, puremaps and even morph are freezing once you have searched your position and want to do something with it (e.g. calculate a route from the actual position). Maybe @peat_psuwit does have an idea or can even take a look at it?

            BQ Aquaris E4.5 (UT 16.04)
            Vollaphone (UT 20.04)

            Vlad NirkyV CiberSheepC 2 Replies Last reply Reply Quote 0
            • Vlad NirkyV Offline
              Vlad Nirky @kristatos
              last edited by Vlad Nirky

              @kristatos

              I can't run osm scout driver on noble. So are map provided to apps?
              Via GPS Toolkit, i can see GPS is working well.

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

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

                the wrong place

                the link to the parent project is at the end of the issue. Sorry about that

                Another planet, another time, another universe!

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kristatos
                  last edited by

                  @CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you? I've opened a bugreport but it seems to work on a Fairphone 4 (qualcom device...).
                  For me these freezes are happening on Vollaphone and Vollaphone22 running Focal and Noble.

                  BQ Aquaris E4.5 (UT 16.04)
                  Vollaphone (UT 20.04)

                  P CiberSheepC 2 Replies Last reply Reply Quote 0
                  • W Offline
                    wally
                    last edited by

                    Using Oneplus Nord N10, 20.04 OTA 7:
                    TL;DR - uNav freezes after location is acquired, Morph freezes upon clicking Allow in Permission Request for location, PureMaps will crash after location acquired the first time, then works well upon re-opening.

                    -uNav freezes reliably with GPS, seemingly after GPS position is acquired. It will freeze with "Waiting for GPS" still visible, but not immediately, I can still shift from light to dark mode for example, until suddenly I can't click anything in the app.

                    -Morph freezes reliably after enabling location on navigation websites (tried google maps and waze.) Specifically, I select "Your Location", Morph brings up the UT Permission Request to share location, I click Allow, the website says "Waze/GoogleMaps does not have permission to use your location", I repeat the process, and Morph freezes if I click Allow, with Permission Request still visible.

                    -in PureMaps' Navigation menu if I use Current Position and wait for the wheel to stop scrolling (position acquired), then click to enter a destination, the app will crash, not freeze. It just closes itself. But then if I re-open the app, I can do the same and it doesn't crash and successfully navigates. I've navigated long distances using PureMaps. I think it may have crashed unexpectedly during navigation once or twice, but generally it works for me. I can't recall it ever freezing.

                    Not sure why my experience is different, but I've spent some time testing and this all seems to happens consistently for me.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PhAndersson @kristatos
                      last edited by PhAndersson

                      @kristatos I see this freeze on a Google Pixel 3A as well (UT 20.04 OTA-8 fully up-to-date), at least in uNav -- I haven't tried the other apps yet.

                      Xiaomi Mi A2 (16.04 OTA-25/stable) with 2 SIMs
                      Daily driver: Google Pixel 3a (20.04 OTA-8/stable) [was: Nokia N900 (Maemo) from 2009].

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

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

                        @CiberSheep @TheBird @zubozrout Can you please mention on which device these freezes happen to you?

                        Currently I'm on a POCO (but I experienced freezes since Focal.

                        On uNav

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

                        Now UI is freezed

                        • Switch off GPS
                        • Switch on GPS
                          GPS icon doesn't appear on the indicators bar

                        If you open again uNav and tap on a location and try to navigate, UI will freeze until GPS fails to turn on and switches off.
                        With this I mean, if you turn on GPS from the indicator, still doesn't appear on indicators bar but GPS switch is on. GPS fails. GPS switch turns off. uNav UI unfreezes.

                        Another planet, another time, another universe!

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          kristatos @CiberSheep
                          last edited by

                          Ok, than it's definitely not device specific. Now we have got a couple of different phones with this issues. Here's is the bugreport, hopefully we'll get this fixed in near future

                          BQ Aquaris E4.5 (UT 16.04)
                          Vollaphone (UT 20.04)

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post