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

    Problem installing snap

    Scheduled Pinned Locked Moved Unsolved Support
    12 Posts 4 Posters 43 Views 2 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.
      • P Online
        projectmoon
        last edited by

        I have been able to install this exact snap before. Maybe it is something device-specific in the kernel?

        But do note, even if you manage to get the snap working, the scaling is off, and the phone keyboard does not work in it.

        1 Reply Last reply Reply Quote 0
        • P Online
          projectmoon
          last edited by

          So I was still able to install. I also have /sys/fs/bpf. This comes from the kernel. So the only solution, really, is for the Redmi Note 7 kernel to be updated with the BPF modules, I think.

          You could try getting funky and installing the kernel module yourself on an R/W filesystem (if they're even available as a kernel module package), but that is discouraged for obvious reasons.

          Maybe there is a way to disable the check in the dino snap with a command line option to snap?

          1 Reply Last reply Reply Quote 0
          • G Offline
            gpatel-fr @nparafe
            last edited by

            @nparafe said in Problem installing snap:

            Redmi Note 7.

            searching for 'snap' in the issues for your devices turns up this:

            https://gitlab.com/ubports/porting/community-ports/android9/xiaomi-redmi-note-7/xiaomi-lavender/-/issues/9

            si it seems that your device not being one of the 'officially' supported ones, nobody has yet volunteered to get the linux kernel to the same level as to have all the advertised features of 24.04.
            For the record I tried to setup this app on my Fairphone 5 (one of the 'reference devices') and it installed without problem. Did not try to run it as I have no interest myself, but your specific problem don't exist on FP5.

            1 Reply Last reply Reply Quote 0
            • N Online
              nparafe
              last edited by nparafe

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • N nparafe has marked this topic as solved
              • N nparafe has marked this topic as unsolved
              • N Online
                nparafe
                last edited by

                @projectmoon @gpatel-fr
                Thank you for taking time to provide feedback.

                @projectmoon said in Problem installing snap:

                Maybe there is a way to disable the check in the dino snap with a command line option to snap?

                As my knowledge in snap management is limited I will wait for others to provide more info

                @gpatel-fr said in Problem installing snap:

                it seems that your device not being one of the 'officially' supported ones, nobody has yet volunteered to get the linux kernel to the same level as to have all the advertised features of 24.04.

                Bummer.... Anyway, it is shown in https://devices.ubuntu-touch.io/ so maybe it should be removed?

                @gpatel-fr said in Problem installing snap:

                For the record I tried to setup this app on my Fairphone 5 (one of the 'reference devices') and it installed without problem

                @projectmoon said in Problem installing snap:

                So I was still able to install

                If it is possible, can you check if audio and/or video calling is working?

                Cheers!

                P G 2 Replies Last reply Reply Quote 0
                • P Online
                  projectmoon @nparafe
                  last edited by

                  @nparafe Like I said, the snap does not fully integrate with the system due to scaling and keyboard issues. It's probably possible to use it with a physical keyboard, but I don't have one paired to the phone.

                  1 Reply Last reply Reply Quote 1
                  • Vlad NirkyV Offline
                    Vlad Nirky @nparafe
                    last edited by

                    @nparafe
                    Hello.
                    Are you installing snap?
                    I thought that since 24.04, snap had been present on the system.
                    I use it (on 24.04-2x) with cups, avahi and hplip to print from my phone (Xiaomi Redmi Note 9 Pro).
                    Admittedly, not all snaps are compatible at the moment.
                    As this is a project run by volunteers (many thanks to them), I would rather rejoice in this progress than regret that not everything works as it does on Ubuntu.
                    Everyone is free, according to their skills and abilities, to advance UT to obtain a snap that is fully integrated into our OS or snaps adapted to a phone.
                    When you want to go far, the key is not to go fast, but to keep going.
                    Let's remain positive about the gifts this OS brings us, to respect the work and dedication of its developers.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gpatel-fr @nparafe
                      last edited by

                      @nparafe said in Problem installing snap:

                      Anyway, it is shown in https://devices.ubuntu-touch.io/ so maybe it should be removed?

                      Well, it works up to a point, it's not shown with a star, that means it's not as well supported

                      @projectmoon said in Problem installing snap:

                      the snap does not fully integrate with the system due to scaling

                      Note that these kinds of problems can be sometimes mitigated by env variables settings, for exemple some settings like:

                      • with Gtk apps
                        export GDK_SCALE=2

                      • with QT apps
                        export QT_FONT_DPI=320

                      with snaps, there can be problems with setting env variables though, as these apps are supposed to be isolated from their environment. I don't know if this would work with your app.

                      P 1 Reply Last reply Reply Quote 1
                      • P Online
                        projectmoon @gpatel-fr
                        last edited by

                        @gpatel-fr said in Problem installing snap:

                        @nparafe said in Problem installing snap:

                        Anyway, it is shown in https://devices.ubuntu-touch.io/ so maybe it should be removed?

                        Well, it works up to a point, it's not shown with a star, that means it's not as well supported

                        @projectmoon said in Problem installing snap:

                        the snap does not fully integrate with the system due to scaling

                        Note that these kinds of problems can be sometimes mitigated by env variables settings, for exemple some settings like:

                        • with Gtk apps
                          export GDK_SCALE=2

                        • with QT apps
                          export QT_FONT_DPI=320

                        with snaps, there can be problems with setting env variables though, as these apps are supposed to be isolated from their environment. I don't know if this would work with your app.

                        Yeah this will probably at least fix the scaling issues. It is possible to pass environment variables down into snaps (though it's a pain because you must do so from terminal). But there is a missing connection at the snap level between the keyboard and the application. But that Should Be (TM) fixed with Mir 2.0... probably. Don't think anyone has tested it yet.

                        G 1 Reply Last reply Reply Quote 0
                        • G Offline
                          gpatel-fr @projectmoon
                          last edited by gpatel-fr

                          @projectmoon said in Problem installing snap:

                          But that Should Be (TM) fixed with Mir 2.0... probably. Don't think anyone has tested it yet.

                          err, does this Mir 2.0 thingy has magical powers somehow ? I have not seen this part of the UT lore, where was it said that this particular change was going to solve the virtual keyboard problem for apps that are not designed to use it ?

                          P 1 Reply Last reply Reply Quote 0
                          • P Online
                            projectmoon @gpatel-fr
                            last edited by

                            @gpatel-fr said in Problem installing snap:

                            @projectmoon said in Problem installing snap:

                            But that Should Be (TM) fixed with Mir 2.0... probably. Don't think anyone has tested it yet.

                            err, does this Mir 2.0 thingy has magical powers somehow ? I have not seen this part of the UT lore, where was it said that this particular change was going to solve the virtual keyboard problem for apps that are not designed to use it ?

                            It's more of a guess on my part and a part of some of the UT developers. It's because, for example, some snaps expose a wayland plug or something, that cannot yet be bound to. Don't remember the exact specifics of the discussion.

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