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

Need Help to fix GPU adreno 305

Scheduled Pinned Locked Moved Porting
adreno 305
32 Posts 5 Posters 10.4k 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.
    • W Offline
      walidham @flohack
      last edited by walidham 21 Apr 2017, 15:55

      @Flohack Hi thank you very much sir
      When i aded symlink to vendor/lib/egl folder in root i got this when run test_hwcomposer

      root@ubuntu-phablet:/# test_hwcomposer
      width: 720 height: 1280
      library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
      OpenGL ES 2.0 (OpenGL ES 3.0 V@84.0 AU@05.00.00.046.002 (CL@))
      test_hwcomposer: hwcomposer_window.cpp:186: virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer, int😞 Assertion `fbnb!=__null' failed.***
      Aborted (core dumped)

      root@ubuntu-phablet:/# test_egl
      Segmentation fault (core dumped)
      root@ubuntu-phablet:/# test_glesv2
      Segmentation fault (core dumped)

      F 1 Reply Last reply 21 Apr 2017, 20:42 Reply Quote 0
      • F Offline
        flohack @walidham
        last edited by 21 Apr 2017, 20:42

        @walidham Yes you are missing more than just one file. You need to also find libGLESv2S3D_adreno.so somewhere. The /vendor/lib prefix is strange.

        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

        W 1 Reply Last reply 14 May 2017, 10:45 Reply Quote 0
        • W Offline
          walidham @flohack
          last edited by 14 May 2017, 10:45

          @Flohack YESSSSS i do it, now Ubuntu Touch start
          I will fix RIL for the first urgent feature and after camera.
          Do i need patch kernel for apparmor ?

          F 1 Reply Last reply 14 May 2017, 12:23 Reply Quote 0
          • F Offline
            flohack @walidham
            last edited by 14 May 2017, 12:23

            @walidham Please send SCREENSHOT! πŸ™‚

            apparmor you will need for click apps yes, but there is a description somewhere about how to disable apparmor for testing. You find it in Google, just look for Ubuntu Touch apparmor howto or such a thing.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            W 1 Reply Last reply 14 May 2017, 19:01 Reply Quote 1
            • W Offline
              walidham @flohack
              last edited by 14 May 2017, 19:01

              @Flohack this is first image Ubuntu Touch in Moto G 2014

              ![0_1494788418495_UBT-Moto-G-2014.png](Uploading 100%)
              I will change kernel with kernel used in SailfishOS (its work fine in moto g 2014 sailfishos) , hope this will resolve many pbs

              F 1 Reply Last reply 14 May 2017, 19:07 Reply Quote 0
              • F Offline
                flohack @walidham
                last edited by 14 May 2017, 19:07

                @walidham Beautiful! You are really skilled then, not many people can port in the first go so that they get a usable screen.

                You can follow these items roughly to see if you got all things covered:

                AppArmor
                Bluetooth
                Boot
                Camera
                Cellular Radio
                GPS
                Graphics
                Resume
                Rotation
                Sound
                Touch

                BR Florian πŸ˜‰

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                L 1 Reply Last reply 15 May 2017, 14:51 Reply Quote 1
                • L Offline
                  Leppa @flohack
                  last edited by 15 May 2017, 14:51

                  @Flohack said in Need Help to fix GPU adreno 305:

                  @walidham Beautiful! You are really skilled then, not many people can port in the first go so that they get a usable screen.

                  You can follow these items roughly to see if you got all things covered:

                  AppArmor
                  Bluetooth
                  Boot
                  Camera
                  Cellular Radio
                  GPS
                  Graphics
                  Resume
                  Rotation
                  Sound
                  Touch

                  BR Florian πŸ˜‰

                  Why is touch at the bottom? I'd consider that somewhat more important.

                  Everyone believes that their actions are better than the alternatives.

                  D F 2 Replies Last reply 15 May 2017, 14:57 Reply Quote 0
                  • D Offline
                    demokrit @Leppa
                    last edited by 15 May 2017, 14:57

                    @Leppa
                    I think from a quick look that it is just posted in alphabetical order 😜

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      flohack @Leppa
                      last edited by 15 May 2017, 17:23

                      @Leppa Please, this is NOT ordered by importance πŸ™‚

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      W 1 Reply Last reply 18 May 2017, 20:49 Reply Quote 0
                      • W Offline
                        walidham @flohack
                        last edited by 18 May 2017, 20:49

                        @Flohack Hi can you help me to understant this error :

                        E/adsprpc ( 0): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: ./oemconfig.so No such file or directory
                        E/adsprpc ( 0): vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:33:apps_std fopen failed: /system/lib/rfsa/adsp/./oemconfig.so No such file or directory

                        btw camera(photo) , power buton, rotaion work.
                        what no work : ril, audio, wifi,....

                        full logs logcat

                        F 1 Reply Last reply 20 May 2017, 07:29 Reply Quote 1
                        • F Offline
                          flohack @walidham
                          last edited by 20 May 2017, 07:29

                          @walidham Hello, sorry no...

                          You might want to take a look at CM/Lineage sources if they somewhere include a file called oemconfig.so - which source does your vendor tree come from? TheMuppets?

                          BR

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          W 1 Reply Last reply 20 May 2017, 11:13 Reply Quote 0
                          • W Offline
                            walidham @flohack
                            last edited by 20 May 2017, 11:13

                            @Flohack Hi, wifi fixed, amazon & ebay application work, but browser, facebook and twiter crash .

                            For vendor, yes i used TheMuppets, cm-12.1 device tree and cm12.1 kernel with small modification in 4 files (fix boot.img size, compilation errors...)
                            I think RIL not work due to this error of file oemconfig.so.
                            I think need more debug for it

                            F 1 Reply Last reply 21 May 2017, 12:24 Reply Quote 0
                            • F Offline
                              flohack @walidham
                              last edited by 21 May 2017, 12:24

                              @walidham Crashing Apps can be an indication that your apparmor does not work... Did you apply those patches already?

                              BR

                              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                              W 1 Reply Last reply 21 May 2017, 13:24 Reply Quote 0
                              • W Offline
                                walidham @flohack
                                last edited by 21 May 2017, 13:24

                                @Flohack in wiki ubuntu guide its not clear how to patch apparmor, i will try to do it.
                                The audio is not working, is it related to apparmor ?
                                Also i found that RIL is related to audio, i think fix audio will fix RIL, right ?

                                F 1 Reply Last reply 21 May 2017, 13:37 Reply Quote 0
                                • F Offline
                                  flohack @walidham
                                  last edited by 21 May 2017, 13:37

                                  @walidham I was never so far that I could see if audio or RIL works. But maybe yes.

                                  Which kernel version do you have? I just replaced the apparmor folder completly with the backport version. Dunno if this will be enough but it looked so far ok πŸ˜‰

                                  BR

                                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                  W 1 Reply Last reply 21 May 2017, 14:00 Reply Quote 0
                                  • W Offline
                                    walidham @flohack
                                    last edited by 21 May 2017, 14:00

                                    @Flohack i used motorola kernel msm8226 v 3.42.
                                    Can u give me the link the backport version.
                                    Also many thanks for reply
                                    Best Regards

                                    F 1 Reply Last reply 21 May 2017, 14:20 Reply Quote 0
                                    • F Offline
                                      flohack @walidham
                                      last edited by 21 May 2017, 14:20

                                      @walidham See https://developer.ubuntu.com/en/phone/devices/porting-new-device/ => Scroll down to "Device-specific changes" => Scroll further down to "AppArmor" and you see a list of links for that. Found it? πŸ˜ƒ

                                      linux-maguro (3.0.0)
                                      linux-grouper (3.1.10)
                                      linux-mako (3.4.0)
                                      linux-manta (3.4.0)
                                      

                                      BR

                                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                      W 2 Replies Last reply 21 May 2017, 14:33 Reply Quote 0
                                      • W Offline
                                        walidham @flohack
                                        last edited by 21 May 2017, 14:33

                                        @Flohack yes thanks

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          walidham @flohack
                                          last edited by 21 May 2017, 17:21

                                          @Flohack OMG, its work now, many thanks, apparmor work, i tested by open browser.
                                          Also its more fast now

                                          My big problem now is pulseaudio and ril.

                                          F 1 Reply Last reply 21 May 2017, 17:44 Reply Quote 1
                                          • F Offline
                                            flohack @walidham
                                            last edited by 21 May 2017, 17:44

                                            @walidham Wow good job man! The critical point is if we ever find a kernel that is not already ported. AppArmor backporting is real pain. Keep on going, send screenshots etc πŸ˜‰

                                            BR

                                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                            W 1 Reply Last reply 21 May 2017, 20:59 Reply Quote 0
                                            • First post
                                              Last post