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

    libGLESv2S3D_adreno.so

    Scheduled Pinned Locked Moved OS
    7 Posts 3 Posters 809 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.
      • G Offline
        Giiba
        last edited by Giiba

        So the other day I was using the location service and as has happened before the location system froze. However this time I had time to check the log app and noticed an odd entry:

        loading module 'libubuntu_application_api_touch_mirclient.so.3.0.0'
        library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found

        screenshot20190509_222750727.png
        for the record the last two calls for location in that log both failed with the applications saying something about the 'gps system is unavailable'

        I dug about and found this issue:
        https://github.com/ubports/ubuntu-touch/issues/352

        For the heck of it I found a copy of the library on the webs, but Windows user me soon ran into the fact that I cannot edit any of the filesystems in question. So as I can figure the file in question is only shipped with adreno305 devices (not many it seems) yet if I type test_hwcomposer on my 1+1 or nexus5 I get the same failure message about the missing library when neither of these devices ship with it (I know, I downloaded factory images and extracted them).

        Is there an easy way to symlink to the file for testing? Or would this require a custom build of the android subsystem? Or am I barking up the wrong tree?

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @Giiba
          last edited by

          That error seems to be present in all apps and I believe can be ignored.
          Although I think it's worth looking at anyway since I'm also getting error when running Qt apps in xmir/xcb.

          advocatuxA 1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @kugiigi
            last edited by

            That error seems to be present in all apps and I believe can be ignored.

            @kugiigi https://github.com/ubports/ubuntu-touch/issues/352 🙂

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              Giiba @advocatux
              last edited by

              @advocatux I was planning to comment on that issue as it seems to have stalled.

              It seems odd to me that the library is being called at all on phones that don't have it, makes me think the problem is the mir library. But that is way over my head.

              advocatuxA 1 Reply Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @Giiba
                last edited by

                @Giiba did you try the workaround described on that issue?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Giiba
                  last edited by

                  I don't understand what was done to work around this per that discussion, so I started this thread in hopes someone might be able to explain it better 😀

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Giiba
                    last edited by Giiba

                    Back at it.

                    After pondering the aforementioned issue and the work-around, I stopped trying to understand that which I don't, and did what I know.

                    I just made the appropriate folder in system-data, copied the existing libs there and added the libGLESv2S3D_adreno.so

                    mkdir /userdata/system-data/vendor/lib
                    cp -a /vendor/lib/egl/. /userdata/system-data/vendor/lib/egl
                    

                    Then added to fstab:

                    /userdata/system-data//vendor/lib/egl /vendor/lib/egl none bind 0 0
                    

                    then

                    mount -a
                    

                    And the error disappears from logs... no idea if it makes a difference yet.

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