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

How to use Libertine container?

Scheduled Pinned Locked Moved Unsolved General
16 Posts 2 Posters 1.2k Views 1 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.
    • M Offline
      Markatrafik @Markatrafik
      last edited by Markatrafik 4 May 2021, 19:36 5 Apr 2021, 19:35

      I had to use SQLite to remove the bogus icons, very interesting... 🙂

      cd ~/.cache/unity8
      sqlite3 windowstatestorage.sqlite
      sqlite> delete from geometry where windowId like 'xenial_%';
      sqlite> delete from state where windowId like 'xenial_%';
      sqlite> save windowstatestorage.sqlite;
      ^C
      
      D 1 Reply Last reply 5 Apr 2021, 21:35 Reply Quote 0
      • D Offline
        dobey @Markatrafik
        last edited by 5 Apr 2021, 21:35

        @markatrafik This has nothing to do with what is shown in the app drawer. You probably simply needed to refresh the drawer, which you can do by pulling down from the top.

        M 1 Reply Last reply 6 Apr 2021, 03:30 Reply Quote 0
        • M Offline
          Markatrafik @dobey
          last edited by 6 Apr 2021, 03:30

          @dobey said in How to use Libertine container?:

          This has nothing to do with what is shown in the app drawer. You probably simply needed to refresh the drawer, which you can do by pulling down from the top.

          No, I am not so dumb... Of course I tried, and rebooted the system. When container was already deleted - the icons remained, because there was a failure during the installation inside the container. After the removal of applications and after the removal of the container itself - someone has not cleaned up the SQLite file... and there is no "garbage collctor" for this purpose. It's kind of weird. Some of the applications have .desktop files, and some only appear in SQLite for Unity8.

          D 1 Reply Last reply 6 Apr 2021, 14:59 Reply Quote 0
          • M Offline
            Markatrafik
            last edited by 6 Apr 2021, 03:39

            and, still... how do I diagnose and solve the problem with the X server not being available to the container applications? Something like libertine-mir, it says incompatible galloc(), may be LD_PRELOAD something?

            D 1 Reply Last reply 6 Apr 2021, 15:01 Reply Quote 0
            • D Offline
              dobey @Markatrafik
              last edited by 6 Apr 2021, 14:59

              @markatrafik Well that is coincidence then, because that sqlite file has nothing to do with what is shown in the app drawer.

              M 1 Reply Last reply 6 Apr 2021, 15:18 Reply Quote 0
              • D Offline
                dobey @Markatrafik
                last edited by 6 Apr 2021, 15:01

                @markatrafik Try to install the tls-padding package in the container, with libertine-container-manager install-package -p tls-padding -i <container_id>

                M 1 Reply Last reply 6 Apr 2021, 16:08 Reply Quote 0
                • M Offline
                  Markatrafik
                  last edited by 6 Apr 2021, 15:03

                  ok, I'll try... Maybe the container must be installed from the shell as well? With some other parameters? From the interface is it "chroot"?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Markatrafik @dobey
                    last edited by 6 Apr 2021, 15:18

                    @dobey said in How to use Libertine container?:

                    @markatrafik Well that is coincidence then, because that sqlite file has nothing to do with what is shown in the app drawer.

                    Maybe, but it means that there is some huge delay, so that even if there is no .desktop file and after rebooting, icons of non-existent applications and in non-existent container are somehow displayed in the panel for more than an hour and then disappear at the same moment after editing the file... the probability is small, I'll look at the code. BTW, all such apps have index xenial_*

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Markatrafik @dobey
                      last edited by Markatrafik 4 Jun 2021, 16:13 6 Apr 2021, 16:08

                      @dobey something changed, but possible not enough...

                      ~/.cache/upstart$ cat application-legacy-xenial_debian-xterm_0.0-.log
                      xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
                      hybris_gralloc_retain:245: called gralloc method without gralloc loaded
                      Xmir: gralloc.c:245: hybris_gralloc_retain: Assertion `NULL' failed.
                      xterm: fatal IO error 104 (Connection reset by peer ) or KillClient on X server ":0"
                      pasted: Could not connect to any X display.
                      

                      gralloc.c at line 245 assertion NULL... W*F, BTW, application starts, but crashes when accessing the X server because it has errors inside

                      the same situation: https://paste.ubuntu.com/p/GQ2k5hXmCv/

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Markatrafik
                        last edited by Markatrafik 4 Jun 2021, 16:23 6 Apr 2021, 16:23

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Markatrafik
                          last edited by Markatrafik 4 Jun 2021, 18:45 6 Apr 2021, 18:28

                          At the moment I have ubports packages installed in my system (also to work with Android HAL?) from 2020-08-27. From ubports_GSI_installer_v10.zip

                          ~$ dpkg -l | grep libandroid | awk '{printf "%s\n", $3}'
                          0.1.3+ubports3+0~20200827080951.2~1.gbp002f19
                          

                          now, as far as I see in the repository packages from 2020-11-13. May be it fix the problem:

                          https://repo.ubports.com/dists/xenial_-_android9_-_gralloc-20201113062738141602671/
                          

                          If I apt upgrade them, I get a brick... I wrote in another post. I can't install with ubports-installer - errors, brick... tried on different computers. I would like to get an OTA instead of a GSI somehow. But it's kind of a dead end. And I've already setup a lot of things... and I don't know what settings get lost during re-installation and how to return them.

                          1 Reply Last reply Reply Quote 0
                          15 out of 16
                          • First post
                            15/16
                            Last post