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
    25 Posts 13 Posters 1.6k Views 4 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 @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!

                    CiberSheepC 1 Reply Last reply Reply Quote 0
                    • H Online
                      haagch
                      last edited by

                      Also happens on Volla Quintus with Morph, unav, etc, on latest 20.04 OTA-9. To reproduce in morph you can go to maps.google.com, tap the location thing once, once it got your location, tap it again. The entire UI freezes, including the tab chooser thing. Freezing a whole browser with multiple tabs is kind of annoying.

                      Since this seems to have been broken for more than 2 years now.

                      • Is there any phone where it actually works without freezing?
                      • Any info on how this can be debugged? On desktop linux I'd start by starting the app with strace and see what call it freezes on. Can that be done on ubuntu touch too?
                      lduboeufL 1 Reply Last reply Reply Quote 0
                      • lduboeufL Offline
                        lduboeuf @haagch
                        last edited by

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

                        Also happens on Volla Quintus with Morph, unav, etc, on latest 20.04 OTA-9. To reproduce in morph you can go to maps.google.com, tap the location thing once, once it got your location, tap it again. The entire UI freezes, including the tab chooser thing. Freezing a whole browser with multiple tabs is kind of annoying.

                        Since this seems to have been broken for more than 2 years now.

                        • Is there any phone where it actually works without freezing?
                        • Any info on how this can be debugged? On desktop linux I'd start by starting the app with strace and see what call it freezes on. Can that be done on ubuntu touch too?

                        If i'm not wrong @AppLee in the Q&A said that he uses uNav, pureMaps without issue. Does it mean that is is a device issue ? ( i do have the issue too on P3a since Focal)

                        K 1 Reply Last reply Reply Quote 0
                        • 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 20.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 0
                              • 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 20.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...

                                  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
                                    • First post
                                      Last post