From e04825448a02cfdddca5d1184c5c8d0b56f57053 Mon Sep 17 00:00:00 2001 From: Adithya R Date: Mon, 8 Feb 2021 09:30:07 +0530 Subject: [PATCH] ginkgo: Disable display SVI for now * crashes HWC due to a double-free in libdpps: 02-07 18:18:27.793 2066 2066 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-07 18:18:27.793 2066 2066 F DEBUG : ArrowOS Version: 'Arrow-v11.0-ginkgo-UNOFFICIAL-20210207-VANILLA' 02-07 18:18:27.793 2066 2066 F DEBUG : Build fingerprint: 'google/redfin/redfin:11/RQ1A.210205.004/7038034:user/release-keys' 02-07 18:18:27.793 2066 2066 F DEBUG : Revision: '0' 02-07 18:18:27.793 2066 2066 F DEBUG : ABI: 'arm64' 02-07 18:18:27.793 2066 2066 F DEBUG : Timestamp: 2021-02-07 18:18:27+0000 02-07 18:18:27.793 2066 2066 F DEBUG : pid: 497, tid: 889, name: DPPS_THREAD >>> /vendor/bin/hw/android.hardware.graphics.composer@2.4-service <<< 02-07 18:18:27.793 2066 2066 F DEBUG : uid: 1000 02-07 18:18:27.793 2066 2066 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 02-07 18:18:27.793 2066 2066 F DEBUG : Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x00790948f320 02-07 18:18:27.793 2066 2066 F DEBUG : ' 02-07 18:18:27.794 2066 2066 F DEBUG : x0 0000000000000000 x1 0000000000000379 x2 0000000000000006 x3 000000785fdfe910 02-07 18:18:27.794 2066 2066 F DEBUG : x4 0000808080808080 x5 0000808080808080 x6 0000808080808080 x7 0000000000000018 02-07 18:18:27.794 2066 2066 F DEBUG : x8 00000000000000f0 x9 7fc1dcea005bf9d8 x10 0000000000000000 x11 ffffffc0ffffffdf 02-07 18:18:27.794 2066 2066 F DEBUG : x12 0000000000000001 x13 0000000000000030 x14 0000000000000030 x15 0000000000000007 02-07 18:18:27.794 2066 2066 F DEBUG : x16 0000007af9bfcc80 x17 0000007af9bde870 x18 000000785f244000 x19 00000000000001f1 02-07 18:18:27.794 2066 2066 F DEBUG : x20 0000000000000379 x21 00000000ffffffff x22 000000790948f320 x23 00000000ffffffff 02-07 18:18:27.794 2066 2066 F DEBUG : x24 000000785fdfecc0 x25 000000785fdfecc0 x26 000000785fdfeff8 x27 00000000000fc000 02-07 18:18:27.794 2066 2066 F DEBUG : x28 000000785fd06000 x29 000000785fdfe990 02-07 18:18:27.794 2066 2066 F DEBUG : lr 0000007af9b922a0 sp 000000785fdfe8f0 pc 0000007af9b922cc pst 0000000000000000 02-07 18:18:27.796 2066 2066 F DEBUG : backtrace: 02-07 18:18:27.796 2066 2066 F DEBUG : #00 pc 000000000004e2cc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:27.796 2066 2066 F DEBUG : #01 pc 0000000000042910 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:27.796 2066 2066 F DEBUG : #02 pc 0000000000042f88 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:27.797 2066 2066 F DEBUG : #03 pc 00000000000431bc /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+76) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:27.797 2066 2066 F DEBUG : #04 pc 00000000000445d8 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+340) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:27.797 2066 2066 F DEBUG : #05 pc 00000000000487e0 /vendor/lib64/libdpps.so (AbaOemSvi::FreeXmlParams()+20) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #06 pc 0000000000048be4 /vendor/lib64/libdpps.so (AbaSvi::~AbaSvi()+52) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #07 pc 0000000000057548 /vendor/lib64/libdpps.so (AbaCoreFeature::~AbaCoreFeature()+108) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #08 pc 00000000000575d8 /vendor/lib64/libdpps.so (AbaCoreFeature::~AbaCoreFeature()+16) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #09 pc 000000000003126c /vendor/lib64/libdpps.so (AbaContext::~AbaContext()+224) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #10 pc 00000000000317b8 /vendor/lib64/libdpps.so (AbaContext::~AbaContext()+16) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #11 pc 00000000000365b0 /vendor/lib64/libdpps.so (DppsServer::~DppsServer()+424) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #12 pc 00000000000366b8 /vendor/lib64/libdpps.so (DppsServer::~DppsServer()+16) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:27.797 2066 2066 F DEBUG : #13 pc 0000000000036840 /vendor/lib64/libdpps.so (DppsServer::DeleteInstance()+228) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:28.007 2066 2066 F DEBUG : #14 pc 00000000000736a8 /vendor/lib64/libdpps.so (DppsImpl::ProcessDppsThread()+296) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:28.008 2066 2066 F DEBUG : #15 pc 000000000007347c /vendor/lib64/libdpps.so (DppsImpl::DppsThread(void*)+8) (BuildId: 4d5e250316d879baabd55870bc2ff62f) 02-07 18:18:28.008 2066 2066 F DEBUG : #16 pc 00000000000afd4c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 82f8e76b97607abb7c56af0c44940157) 02-07 18:18:28.008 2066 2066 F DEBUG : #17 pc 0000000000050288 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 82f8e76b97607abb7c56af0c44940157) Change-Id: I5218195eafcdf89dfbe8e46d47220da07d27e89d --- vendor.prop | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor.prop b/vendor.prop index 82e729ea..35c14fa9 100644 --- a/vendor.prop +++ b/vendor.prop @@ -156,8 +156,8 @@ persist.sys.sf.color_saturation=1.0 ro.hardware.egl=adreno ro.hardware.vulkan=adreno ro.opengles.version=196610 -ro.vendor.display.sensortype=2 -ro.vendor.display.svi=1 +#ro.vendor.display.sensortype=2 +#ro.vendor.display.svi=1 vendor.display.comp_mask=0 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 vendor.display.disable_decimation=1 @@ -173,8 +173,8 @@ vendor.display.enable_force_split=0 vendor.display.enable_null_display=0 vendor.display.enable_optimize_refresh=1 vendor.display.idle_time=1200 -vendor.display.svi.config=1 -vendor.display.svi.config_path=/vendor/etc/SVIConfig.xml +#vendor.display.svi.config=1 +#vendor.display.svi.config_path=/vendor/etc/SVIConfig.xml vendor.gralloc.disable_ubwc=0 # DRM