[Replicant] [i9300][PATCH 2/2] Use LLVMpipe by default

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Tue Apr 7 19:16:09 UTC 2020


On Tue, 7 Apr 2020 14:51:37 +0200
Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org> wrote:

> On Tue, 31 Mar 2020 06:59:35 +0200
> Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org> wrote:
> 
> >  i9300.mk | 10 ++++++++++
> [...]
> > +PRODUCT_PROPERTY_OVERRIDES += ro.libagl=0 +
> I've verified that this worked by testing if the Galaxy Nexus
> booted fine, and it did, and if it had ro.libagl=1 and look if the
> GT-I9300 had ro.libagl=0 in /system/build.props:
> > $ grep libagl out/target/product/i9300/system/build.prop
> > ro.libagl=0
> > $ grep libagl out/target/product/maguro/system/build.prop
> > ro.libagl=1
> But despite that, the GT-I9300 doesn't boot fine anymore.
> 
> I'll try to get the logs.

01-01 00:00:06.520  1920  1920 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
01-01 00:00:06.670  1968  1968 I sysinit : Running /system/etc/init.d/00banner 
01-01 00:00:06.670  1975  1975 I installd: installd firing up
01-01 00:00:06.899  1965  1965 I lowmemorykiller: Using in-kernel low memory killer interface
01-01 00:00:06.899  1970  1970 I Netd    : Netd 1.0 starting
01-01 00:00:06.899  1970  1970 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
01-01 00:00:06.899  1970  1970 D TetherController: Setting IP forward enable = 0
01-01 00:00:06.939  1978  1978 I gatekeeperd: Starting gatekeeperd...
01-01 00:00:06.950  1971  1971 I DEBUG   : debuggerd: starting
01-01 00:00:07.055  1979  1979 I perfprofd: starting Android Wide Profiling daemon
01-01 00:00:07.065  1979  1979 E perfprofd: unable to open configuration file /data/data/com.google.android.gms/files/perfprofd.conf
01-01 00:00:07.065  1979  1979 I perfprofd: random seed set to 3896114014
01-01 00:00:07.065  1980  1980 I macloader: Settting wifi type to murata in /data/.cid.info
01-01 00:00:07.065  1980  1980 D macloader: Change permissions of /data/.cid.info
01-01 00:00:07.075  1995  1995 I Replicant: Welcome to Android 6.0.1 / replicant-6.0-dev 
01-01 00:00:07.095  1996  1996 I sysinit : Running /system/etc/init.d/90userinit 
01-01 00:00:07.115  1978  1978 W gatekeeperd: falling back to software GateKeeper
01-01 00:00:07.130  1999  1999 I sysinit : Running /system/etc/init.d/98netflix 
01-01 00:00:07.140  1976  1976 I keystore: Found keymaster0 module Keymaster OpenSSL HAL, version 2
01-01 00:00:07.140  1976  1976 I SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 122: Creating device
01-01 00:00:07.140  1976  1976 D SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 123: Device address: 0x410975a0
01-01 00:00:07.140  1976  1976 I keystore: Keymaster0 module is software-only.  Using SoftKeymasterDevice instead.
01-01 00:00:07.140  1976  1976 I SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 122: Creating device
01-01 00:00:07.140  1976  1976 D SoftKeymaster: system/keymaster/soft_keymaster_device.cpp, Line 123: Device address: 0x41097798
01-01 00:00:07.175  1967  1967 I SurfaceFlinger: SurfaceFlinger is starting
01-01 00:00:07.175  1967  1967 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-01 00:00:07.175  1967  1967 D libEGL  : UID:1000 EUID:1000
01-01 00:00:07.190  1967  1967 D libEGL  : override found: /system/etc/libGLES_android//system/bin/surfaceflinger
01-01 00:00:07.380  1967  1967 D libEGL  : loaded /system/lib/egl/libGLES_android.so
01-01 00:00:07.505  1967  1967 I gralloc : using (fd=17)
01-01 00:00:07.505  1967  1967 I gralloc : id           = s3cfb
01-01 00:00:07.505  1967  1967 I gralloc : xres         = 720 px
01-01 00:00:07.505  1967  1967 I gralloc : yres         = 1280 px
01-01 00:00:07.505  1967  1967 I gralloc : xres_virtual = 720 px
01-01 00:00:07.505  1967  1967 I gralloc : yres_virtual = 2560 px
01-01 00:00:07.505  1967  1967 I gralloc : bpp          = 32
01-01 00:00:07.505  1967  1967 I gralloc : r            = 16:8
01-01 00:00:07.505  1967  1967 I gralloc : g            =  8:8
01-01 00:00:07.505  1967  1967 I gralloc : b            =  0:8
01-01 00:00:07.505  1967  1967 I gralloc : width        = 60 mm (304.799988 dpi)
01-01 00:00:07.505  1967  1967 I gralloc : height       = 106 mm (306.716980 dpi)
01-01 00:00:07.505  1967  1967 I gralloc : refresh rate = 60.00 Hz
01-01 00:00:07.525  1967  1967 I SurfaceFlinger: Using composer version 1.0
01-01 00:00:07.525  1967  1967 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
01-01 00:00:07.525  1967  1967 F SurfaceFlinger: no suitable EGLConfig found, giving up
01-01 00:00:07.525  1967  2038 W SurfaceFlinger: Ignoring duplicate VSYNC event from HWC (t=0)
01-01 00:00:07.525  1967  1967 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1967 (surfaceflinger)
01-01 00:00:07.525  1971  1971 I DEBUG   : property debug.db.uid not set; NOT waiting for gdb.
01-01 00:00:07.525  1971  1971 I DEBUG   : HINT: adb shell setprop debug.db.uid 100000
01-01 00:00:07.525  1971  1971 I DEBUG   : HINT: adb forward tcp:5039 tcp:5039
01-01 00:00:07.630  1971  1971 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:00:07.630  1971  1971 F DEBUG   : Replicant Version: 'replicant-6.0-dev'
01-01 00:00:07.630  1971  1971 F DEBUG   : Build fingerprint: 'samsung/m0xx/m0:4.3/JSS15J/I9300XXUGMJ9:user/release-keys'
01-01 00:00:07.630  1971  1971 F DEBUG   : Revision: '0'
01-01 00:00:07.630  1971  1971 F DEBUG   : ABI: 'arm'
01-01 00:00:07.630  1971  1971 F DEBUG   : pid: 1967, tid: 1967, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
01-01 00:00:07.630  1971  1971 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-01 00:00:07.635  1971  1971 F DEBUG   : Abort message: 'no suitable EGLConfig found, giving up'
01-01 00:00:07.635  1971  1971 F DEBUG   :     r0 00000000  r1 000007af  r2 00000006  r3 401acba4
01-01 00:00:07.635  1971  1971 F DEBUG   :     r4 401acbac  r5 401acb5c  r6 00000002  r7 0000010c
01-01 00:00:07.635  1971  1971 F DEBUG   :     r8 ffffff8c  r9 00000001  sl 00000000  fp beb90afc
01-01 00:00:07.635  1971  1971 F DEBUG   :     ip 00000006  sp beb90508  lr 402fbd05  pc 402fe248  cpsr 400f0010
01-01 00:00:07.680  1971  1971 F DEBUG   : 
01-01 00:00:07.680  1971  1971 F DEBUG   : backtrace:
01-01 00:00:07.680  1971  1971 F DEBUG   :     #00 pc 00046248  /system/lib/libc.so (tgkill+12)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #01 pc 00043d01  /system/lib/libc.so (pthread_kill+32)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #02 pc 0001bd73  /system/lib/libc.so (raise+10)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #03 pc 00018c03  /system/lib/libc.so (__libc_android_abort+42)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #04 pc 000167ec  /system/lib/libc.so (abort+4)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #05 pc 00008f7f  /system/lib/libcutils.so (__android_log_assert+86)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #06 pc 0002d41b  /system/lib/libsurfaceflinger.so
01-01 00:00:07.680  1971  1971 F DEBUG   :     #07 pc 0002cfd7  /system/lib/libsurfaceflinger.so
01-01 00:00:07.680  1971  1971 F DEBUG   :     #08 pc 0001bcc3  /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+250)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #09 pc 00000ed5  /system/bin/surfaceflinger
01-01 00:00:07.680  1971  1971 F DEBUG   :     #10 pc 00016699  /system/lib/libc.so (__libc_init+44)
01-01 00:00:07.680  1971  1971 F DEBUG   :     #11 pc 00000d90  /system/bin/surfaceflinger
01-01 00:00:07.920  1974  1974 V MediaUtils: physMem: 867917824
01-01 00:00:07.920  1974  1974 V MediaUtils: requested limit: 564146570
01-01 00:00:07.920  1974  1974 V MediaUtils: actual limit: 564146570
01-01 00:00:07.920  1974  1974 V MediaUtils: original limits: 4294967295/4294967295
01-01 00:00:07.920  1974  1974 V MediaUtils: new limits: 564146570/4294967295
01-01 00:00:07.940  1971  1971 F DEBUG   : 
01-01 00:00:07.940  1971  1971 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_09

libagl set to 0 though
> $ adb shell
> # getprop | grep -i gl
> [ro.com.google.clientidbase]: [android-google]
> [ro.libagl]: [0]
> [ro.opengles.version]: [131072]
> [ro.softwaregl]: [1]
> [ro.zygote.disable_gl_preload]: [1]

I'll check if all that is supposed to be there is there, like mesa, the
configuration for overriding the OpenGL implementation, etc.

Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/replicant/attachments/20200407/2857cf54/attachment.asc>


More information about the Replicant mailing list