Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imidigi A1 Pro AOSP 9.0 v103 #173

Closed
stevea76 opened this issue Sep 3, 2018 · 17 comments
Closed

Imidigi A1 Pro AOSP 9.0 v103 #173

stevea76 opened this issue Sep 3, 2018 · 17 comments
Labels
validation pending A potential fix has been commited, this needs to be validated with next release

Comments

@stevea76
Copy link

stevea76 commented Sep 3, 2018

Force closing, rebooting to lockscreen in general use Umidigi A1 Pro chipset MediaTek MT6739
graphics PowerVR GE8100
processor Quad core, 1.5 GHz, Cortex A53
ram 3 GB

@stevea76
Copy link
Author

stevea76 commented Sep 4, 2018

logcat.zip

@phhusson
Copy link
Owner

phhusson commented Sep 4, 2018

8.1 works?

@stevea76
Copy link
Author

stevea76 commented Sep 4, 2018

8.1 works (with the known exception of camera/incoming calls)

@phhusson
Copy link
Owner

phhusson commented Sep 4, 2018

Ok sounds like SkiaOpenGL is bad for you.
You can try to switch to SkiaGL in developer settings

Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 1796 (RenderThread), pid 1670 (droid.launcher3)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android/treble_arm64_avN/phhgsi_arm64_a:9/PPR1.180610.009/180829:userdebug/test-keys'
Revision: '0'
ABI: 'arm64'
pid: 1670, tid: 1796, name: RenderThread  >>> com.android.launcher3 <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'glGenTextures error! GL_INVALID_ENUM (0x500)'

    x0  0000000000000000  x1  0000000000000704  x2  0000000000000006  x3  0000000000000008
    x4  3300000000000000  x5  3300000000000000  x6  3300000000000000  x7  0000000000008033
    x8  0000000000000083  x9  a58d2e008a8b37a5  x10 0000000000000000  x11 fffffffc7ffffbdf
    x12 0000000000000001  x13 0000000000000001  x14 ffffffffffffffff  x15 3300000000000000
    x16 0000007edd5b32c8  x17 0000007edd4f10d0  x18 0000000000000001  x19 0000000000000686
    x20 0000000000000704  x21 0000007ee020905e  x22 0000007ee02090be  x23 0000007ee020908f
    x24 0000007ee0209042  x25 0000007ee020906f  x26 0000007ee02090a4  x27 0000000000000500
    x28 0000007ee0209032  x29 0000007e423e5a50
    sp  0000007e423e5a10  lr  0000007edd4e5bfc  pc  0000007edd4e5c24

backtrace:
    #00 pc 0000000000021c24  /system/lib64/libc.so (abort+116)
    #01 pc 0000000000008080  /system/lib64/liblog.so (__android_log_assert+304)
    #02 pc 00000000004738a4  /system/lib64/libhwui.so (android::uirenderer::debug::GlesErrorCheckWrapper::assertNoErrors(char const*)+236)
    #03 pc 00000000000fb180  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::allocateHardwareBitmap(android::uirenderer::renderthread::RenderThread&, SkBitmap&)+1072)
    #04 pc 0000000000481a5c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::allocateHardwareBitmap(SkBitmap&)+52)
    #05 pc 0000000000481428  /system/lib64/libhwui.so (std::__1::packaged_task<sk_sp<android::Bitmap> ()>::operator()()+88)
    #06 pc 0000000000433f98  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+168)
    #07 pc 0000000000113d5c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+240)
    #08 pc 000000000000f9d8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
    #09 pc 0000000000081938  /system/lib64/libc.so (__pthread_start(void*)+36)
    #10 pc 0000000000023478  /system/lib64/libc.so (__start_thread+68)

@stevea76
Copy link
Author

stevea76 commented Sep 4, 2018

Many thanks, I will give it a go.

@stevea76
Copy link
Author

stevea76 commented Sep 4, 2018

Perhaps I am missing something here, but the option to set GPU renderer is not present in the Developer Options to switch.

@stevea76
Copy link
Author

stevea76 commented Sep 5, 2018

In my stock rom developer options set GPU renderer: openGL (default) or openGL (Skia) Is there a way to set the set the GL via adb commands? as the option is not showing in the developer options Hardware accelerated rendering on 9.0 GSI

@phhusson
Copy link
Owner

phhusson commented Sep 5, 2018

Try those two: (it's not persist across reboots)
setprop debug.hwui.renderer skiagl
setprop debug.hwui.renderer opengl

@stevea76
Copy link
Author

stevea76 commented Sep 5, 2018

You sir are a genius, problem solved, no more lock ups, fantastic, thank you!

@stevea76 stevea76 closed this as completed Sep 5, 2018
@stevea76 stevea76 reopened this Sep 5, 2018
@stevea76
Copy link
Author

stevea76 commented Sep 5, 2018

I just need to find a way to make it permanent (sorry did not read the warning not persist across reboots), many thanks again

@phhusson
Copy link
Owner

phhusson commented Sep 6, 2018

So which one works for you?

@phhusson
Copy link
Owner

phhusson commented Sep 6, 2018

Could you dump your /vendor/lib/egl ?

@stevea76
Copy link
Author

stevea76 commented Sep 6, 2018

setprop debug.hwui.renderer opengl this one worked. Will try to dump /vendor/lib/egl
here is the file dump

@stevea76
Copy link
Author

stevea76 commented Sep 6, 2018

phhusson added a commit to phhusson/device_phh_treble that referenced this issue Sep 6, 2018
@phhusson
Copy link
Owner

phhusson commented Sep 6, 2018

Ok, download https://raw.githubusercontent.com/phhusson/device_phh_treble/android-9.0/rw-system.sh inside your adb folder
then do:

adb root
adb remount
adb push rw-system.sh /system/bin/rw-system.sh
adb reboot

It should fix it permanently

abun880007 pushed a commit to Team-UB/device_phh_treble that referenced this issue Sep 6, 2018
@stevea76
Copy link
Author

stevea76 commented Sep 6, 2018

many thanks, this has seemed to have made it permanent. first time it loaded to a blank screen, but factory reset, tried again and all good so far, thank you.

@phhusson phhusson added the validation pending A potential fix has been commited, this needs to be validated with next release label Sep 6, 2018
@stevea76 stevea76 closed this as completed Sep 7, 2018
@stevea76
Copy link
Author

stevea76 commented Sep 7, 2018

Tested yesterday and all seems good, only had a couple of lock ups which may be related to the device having lots of tasks running at the time, as far as I can tell it is resolved, sent thanks via PayPal for your work on this.

sooti pushed a commit to aosp-tissot/device_phh_treble that referenced this issue Sep 18, 2018
blissgerrit pushed a commit to BlissRoms/device_phh_treble that referenced this issue Oct 31, 2018
growtopiajaw pushed a commit to growtopiajaw/device_phh_treble that referenced this issue Nov 1, 2019
growtopiajaw pushed a commit to growtopiajaw/device_phh_treble that referenced this issue Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validation pending A potential fix has been commited, this needs to be validated with next release
Projects
None yet
Development

No branches or pull requests

2 participants