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

Interstellar-Network Wallet Phase 2 Milestone 1 #918

Merged
merged 34 commits into from
Oct 5, 2023

Conversation

nashjl
Copy link
Contributor

@nashjl nashjl commented Jul 11, 2023

Milestone Delivery Checklist

  • The milestone-delivery-template.md has been copied and updated.
  • The invoice form 📝 has been filled out for this milestone.
  • This pull request is being made by the same account as the accepted application.
  • I have disclosed any and all sources of reused code in the submitted repositories and have done my due diligence to meet its license requirements.
  • In case of acceptance, the payment will be transferred to the BTC/ETH/fiat account provided in the application.
  • The delivery is according to the Guidelines for Milestone Deliverables.

Link to the application pull request: w3f/Grants-Program#1543

Copy link
Contributor

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@n-prat not sure if I understood your instructions correctly, but running the command on my MacBook didn't work if no emulator is running:

% adb install ~/Downloads/androidApp-arm64-release-unsigned-signed.apk
adb: no devices/emulators found

As indicated earlier, I'm not able to start the Pixel 5 API 31 emulator. When I start the Pixel 5 API 34 emulator the command succeeds and the app is installed, but the behaviour remains the same:

So I guess the app is force closing and you never see the pinpad? Do you have a stack trace?

No, I've never seen the pinpad appearing after sending the transaction.

I asked my team colleague @semuelle to try it on his machine, he experienced the same.

With a Pixel 5 API 31 emulator:

It keeps crashing after hitting the checkmark button on the Send screen.
I get a Processing... and Registered toast, and then it crashes.

It also crashes when using a Pixel 3a or 7a physical device.

@n-prat
Copy link
Contributor

n-prat commented Aug 31, 2023

Ah I should have been clearer: the adb command should be run when your device is connected, eg when you see its logcat in Android Studio.

  • what machine is semuelle using for the emulator host? It's been tested by both nashjl and myself on Linux and Windows
  • what language is the device running? It must be set to english for now cf 1.2.1 on an android device. Again it's been tested by both nashjl(Galaxy S something I believe) and myself (POCO F3) so I really don't know what could be wrong here...
    • Can you provide me semuelle's logcat please?

Maybe we should start an Element(or other app) channel for this evaluation?

edit/PS: I confirm it works both:

  • on a fresh Ubuntu 22.04(HyperV: Quick Create: Ubuntu 22.04); this is sped-up 4x
  • on a fresh Windows 11(HyperV: Quick Create: Windows 11 dev env); this is sped-up 8x b/c nested virtualization is really slow...; NOTE the pinpad is a black screen, but this (probably) due to the warning message when starting the emulator

Only thing I did was making sure nested virtualization was set up both on the host(Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true) and in the VM(Ubuntu only).
The host machine is a Windows 11, AMD processor, AMD GPU, nothing special.

@takahser
Copy link
Contributor

takahser commented Sep 1, 2023

@n-prat

what machine is semuelle using for the emulator host?

It's a linux machine.

Maybe we should start an Element(or other app) channel for this evaluation?

Yes, we can do that. Can you send a mail with the element name(s) to [email protected]?

what language is the device running? It must be set to english for now

It was tested in German, but after retesting in English it actually worked. 👍

However, that's a very unexpected precondition. Why would it have to be English? Does that mean the wallet not usable from non-English devices?

Can you provide me semuelle's logcat please?

Yes, it's here:

2023-08-31 13:16:34.578  1161-1161  TaplEvents              com...le.android.apps.nexuslauncher  D  Main / Touch event: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=118.98193, y[0]=1456.9299, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=META_NUM_LOCK_ON, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5534300, downTime=5534300, deviceId=9, source=0x5002, displayId=0, eventId=752562639 }
2023-08-31 13:16:34.578   574-864   ClipboardService        system_process                       E  Denying clipboard access to com.android.chrome, application is not in focus nor is it a system service for user 0
2023-08-31 13:16:34.644  1161-1161  TaplEvents              com...le.android.apps.nexuslauncher  D  Main / Touch event: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=118.98193, y[0]=1456.9299, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=META_NUM_LOCK_ON, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5534384, downTime=5534300, deviceId=9, source=0x5002, displayId=0, eventId=518230085 }
2023-08-31 13:16:34.659  1161-1161  TaplEvents              com...le.android.apps.nexuslauncher  D  Main / start: startAppShortcutOrInfoActivity
2023-08-31 13:16:34.663   574-2222  ActivityTaskManager     system_process                       I  START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=gg.interstellar.wallet.android/.MainActivity bnds=[37,1295][238,1605]} from uid 10133
2023-08-31 13:16:34.664   574-2222  ActivityTaskManager     system_process                       W  Can't find TaskDisplayArea to determine support for multi window. Task id=19 attached=false
2023-08-31 13:16:34.665  1161-1920  EGL_emulation           com...le.android.apps.nexuslauncher  D  app_time_stats: avg=14384.43ms min=14384.43ms max=14384.43ms count=1
2023-08-31 13:16:34.668   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 174042980; UID 10147; state: DISABLED
2023-08-31 13:16:34.669   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 184838306; UID 10147; state: DISABLED
2023-08-31 13:16:34.670   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 185004937; UID 10147; state: DISABLED
2023-08-31 13:16:34.670   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 181136395; UID 10147; state: DISABLED
2023-08-31 13:16:34.670   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 174042936; UID 10147; state: DISABLED
2023-08-31 13:16:34.678   393-524   AudioFlinger            audioserver                          D  mixer(0x7d66eaaeba70) throttle end: throttle time(34)
2023-08-31 13:16:34.678   574-2222  Compatibil...geReporter system_process                       D  Compat change id reported: 168419799; UID 10147; state: DISABLED
2023-08-31 13:16:34.682   887-959   PhoneStart...eAlgorithm com.android.systemui                 D  preferredStartingWindowType newTask:true taskSwitch:true processRunning:false allowTaskSnapshot:true activityCreated:false useEmptySplashScreen:false legacySplashScreen:false topIsHome:false
2023-08-31 13:16:34.682   887-959   StartingSurfaceDrawer   com.android.systemui                 D  addSplashScreen gg.interstellar.wallet.android theme=7f11021c task=19 suggestType=1
2023-08-31 13:16:34.684   887-959   StartingSurfaceDrawer   com.android.systemui                 D  addSplashScreen: creating context based on task Configuration {1.0 310mcc260mnc [en_US] ldltr sw392dp w392dp h750dp 440dpi nrml long port finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 1080, 2340) mAppBounds=Rect(0, 136 - 1080, 2208) mMaxBounds=Rect(0, 0 - 1080, 2340) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.1 fontWeightAdjustment=0} for splash screen
2023-08-31 13:16:34.685   887-959   StartingSurfaceDrawer   com.android.systemui                 D  addSplashScreen: apply overrideConfig{1.0 310mcc260mnc [en_US] ldltr sw392dp w392dp h750dp 440dpi nrml long port finger qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 1080, 2340) mAppBounds=Rect(0, 136 - 1080, 2208) mMaxBounds=Rect(0, 0 - 1080, 2340) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} as.2 s.1 fontWeightAdjustment=0} to starting window resId=2131034171
2023-08-31 13:16:34.688   887-960   StartingSurfaceDrawer   com.android.systemui                 D  window attributes color: 0 icon null duration 0 brandImage null
2023-08-31 13:16:34.692   887-960   StartingSurfaceDrawer   com.android.systemui                 D  FgMainColor=ff040404 BgMainColor=ff38d880 IsBgComplex=true FromCache=true ThemeColor=ff121212
2023-08-31 13:16:34.692   887-960   StartingSurfaceDrawer   com.android.systemui                 D  makeSplashScreenContentView: draw whole icon
2023-08-31 13:16:34.702   887-960   SplashScreenView        com.android.systemui                 D  Build android.window.SplashScreenView{4c51b67 V.E...... ......ID 0,0-0,0}
                                                                                                    Icon: view: android.widget.ImageView{ef03d14 V.ED..... ......I. 0,0-0,0 #10204a7 android:id/splashscreen_icon_view} drawable: com.android.wm.shell.startingsurface.SplashscreenIconDrawableFactory$ImmobileIconDrawable@5e49bd size: 440
                                                                                                    Branding: view: android.view.View{7cb2bb2 G.ED..... ......I. 0,0-0,0 #10204a6 android:id/splashscreen_branding_view} drawable: null size w: 0 h: 0
2023-08-31 13:16:34.702   887-960   StartingSurfaceDrawer   com.android.systemui                 D  fillViewWithIcon surfaceWindowView android.window.SplashScreenView{4c51b67 V.E...... ......ID 0,0-0,0}
2023-08-31 13:16:34.714   574-617   Compatibil...geReporter system_process                       D  Compat change id reported: 135634846; UID 10147; state: DISABLED
2023-08-31 13:16:34.714   574-617   Compatibil...geReporter system_process                       D  Compat change id reported: 177438394; UID 10147; state: DISABLED
2023-08-31 13:16:34.715   574-617   Compatibil...geReporter system_process                       D  Compat change id reported: 135772972; UID 10147; state: DISABLED
2023-08-31 13:16:34.716   574-617   Compatibil...geReporter system_process                       D  Compat change id reported: 135754954; UID 10147; state: ENABLED
2023-08-31 13:16:34.719   574-626   Compatibil...geReporter system_process                       D  Compat change id reported: 143937733; UID 10147; state: ENABLED
2023-08-31 13:16:34.732   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f89a4000 0x3f9348000]
2023-08-31 13:16:34.758   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f9348000 0x3f9cec000]
2023-08-31 13:16:34.770   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3fdcec000 0x3fe690000]
2023-08-31 13:16:34.776   349-349   Zygote                  pid-349                              D  Forked child process 8205
2023-08-31 13:16:34.778   574-626   ActivityManager         system_process                       W  Slow operation: 69ms so far, now at startProcess: returned from zygote!
2023-08-31 13:16:34.779   574-626   ActivityManager         system_process                       W  Slow operation: 69ms so far, now at startProcess: done updating battery stats
2023-08-31 13:16:34.779   574-626   ActivityManager         system_process                       W  Slow operation: 70ms so far, now at startProcess: building log message
2023-08-31 13:16:34.780   574-626   ActivityManager         system_process                       I  Start proc 8205:gg.interstellar.wallet.android/u0a147 for pre-top-activity {gg.interstellar.wallet.android/gg.interstellar.wallet.android.MainActivity}
2023-08-31 13:16:34.781   574-626   ActivityManager         system_process                       W  Slow operation: 71ms so far, now at startProcess: starting to update pids map
2023-08-31 13:16:34.788   574-626   ActivityManager         system_process                       W  Slow operation: 78ms so far, now at startProcess: done updating pids map
2023-08-31 13:16:34.810  8205-8205  .wallet.androi          pid-8205                             W  Unexpected CPU variant for X86 using defaults: x86_64
2023-08-31 13:16:34.833  2285-2285  GsaVoiceInteractionSrv  com....android.googlequicksearchbox  I  Handling ACTION_STOP_HOTWORD
2023-08-31 13:16:34.843  2285-2285  HwDetectorWithState     com....android.googlequicksearchbox  E  a: 3
2023-08-31 13:16:34.980  8205-8205  ndk_translation         pid-8205                             I  Initialized NDK translation (aarch64), version 0.2.3
2023-08-31 13:16:35.038   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=26027.71ms min=26027.71ms max=26027.71ms count=1
2023-08-31 13:16:35.041   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=10040.97ms min=33.92ms max=49788.09ms count=5
2023-08-31 13:16:35.091   442-469   adbd                    adbd                                 I  jdwp connection from 8205
2023-08-31 13:16:35.122  8205-8205  Compatibil...geReporter pid-8205                             D  Compat change id reported: 171979766; UID 10147; state: ENABLED
2023-08-31 13:16:35.218  8205-8205  GraphicsEnvironment     gg.interstellar.wallet.android       V  ANGLE Developer option for 'gg.interstellar.wallet.android' set to: 'default'
2023-08-31 13:16:35.218  8205-8205  GraphicsEnvironment     gg.interstellar.wallet.android       V  Neither updatable production driver nor prerelease driver is supported.
2023-08-31 13:16:35.220  8205-8205  NetworkSecurityConfig   gg.interstellar.wallet.android       D  No Network Security Config specified, using platform default
2023-08-31 13:16:35.221  8205-8205  NetworkSecurityConfig   gg.interstellar.wallet.android       D  No Network Security Config specified, using platform default
2023-08-31 13:16:35.270  8205-8226  libEGL                  gg.interstellar.wallet.android       D  loaded /vendor/lib64/egl/libEGL_emulation.so
2023-08-31 13:16:35.279  8205-8226  libEGL                  gg.interstellar.wallet.android       D  loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
2023-08-31 13:16:35.290  8205-8226  libEGL                  gg.interstellar.wallet.android       D  loaded /vendor/lib64/egl/libGLESv2_emulation.so
2023-08-31 13:16:35.296   574-2101  ActivityManager         system_process                       W  Unable to start service Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } U=0: not found
2023-08-31 13:16:35.305   574-2101  RemoteSmartspaceService system_process                       W  could not bind to Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } using flags 67112961
2023-08-31 13:16:35.305   574-574   ActivityManager         system_process                       W  Unbind failed: could not find connection for android.app.LoadedApk$ServiceDispatcher$InnerConnection@3e6b835
2023-08-31 13:16:35.415  8205-8224  HostConnection          gg.interstellar.wallet.android       D  createUnique: call
2023-08-31 13:16:35.416  8205-8224  HostConnection          gg.interstellar.wallet.android       D  HostConnection::get() New Host Connection established 0x768b7212e750, tid 8224
2023-08-31 13:16:35.424  8205-8224  HostConnection          gg.interstellar.wallet.android       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:35.432   195-195   hwservicemanager        hwservicemanager                     I  getTransport: Cannot find entry [email protected]::ISurfaceFlingerConfigs/default in either framework or device VINTF manifest.
2023-08-31 13:16:35.434  8205-8224  OpenGLRenderer          gg.interstellar.wallet.android       W  Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2023-08-31 13:16:35.434  8205-8224  OpenGLRenderer          gg.interstellar.wallet.android       W  Failed to initialize 101010-2 format, error = EGL_SUCCESS
2023-08-31 13:16:35.449  8205-8224  EGL_emulation           gg.interstellar.wallet.android       D  eglCreateContext: 0x768b72134810: maj 3 min 1 rcv 4
2023-08-31 13:16:35.464  8205-8224  EGL_emulation           gg.interstellar.wallet.android       D  eglMakeCurrent: 0x768b72134810: ver 3 1 (tinfo 0x768d91a00080) (first time)
2023-08-31 13:16:35.481   396-552   HWComposer              surfaceflinger                       E  getSupportedContentTypes: getSupportedContentTypes failed for display 4619827259835644672: Unsupported (8)
2023-08-31 13:16:35.484   195-195   hwservicemanager        hwservicemanager                     I  getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device VINTF manifest.
2023-08-31 13:16:35.484  8205-8224  Gralloc4                gg.interstellar.wallet.android       I  mapper 4.x is not supported
2023-08-31 13:16:35.486  8205-8224  HostConnection          gg.interstellar.wallet.android       D  createUnique: call
2023-08-31 13:16:35.487  8205-8224  HostConnection          gg.interstellar.wallet.android       D  HostConnection::get() New Host Connection established 0x768b721324d0, tid 8224
2023-08-31 13:16:35.488  8205-8224  goldfish-address-space  gg.interstellar.wallet.android       D  allocate: Ask for block of size 0x100
2023-08-31 13:16:35.488  8205-8224  goldfish-address-space  gg.interstellar.wallet.android       D  allocate: ioctl allocate returned offset 0x3f3ffe000 size 0x2000
2023-08-31 13:16:35.534   195-195   hwservicemanager        hwservicemanager                     I  getTransport: Cannot find entry [email protected]::IAllocator/default in either framework or device VINTF manifest.
2023-08-31 13:16:35.535  8205-8224  Gralloc4                gg.interstellar.wallet.android       W  allocator 4.x is not supported
2023-08-31 13:16:35.538   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f701c000 0x3f79c0000]
2023-08-31 13:16:35.562  8205-8224  HostConnection          gg.interstellar.wallet.android       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:35.572   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f4000000 0x3f49a4000]
2023-08-31 13:16:35.578   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f9e97000 0x3fa83b000]
2023-08-31 13:16:35.607  8205-8205  .wallet.androi          gg.interstellar.wallet.android       W  Class androidx.compose.runtime.snapshots.SnapshotStateList failed lock verification and will run slower.
                                                                                                    Common causes for lock verification issues are non-optimized dex code
                                                                                                    and incorrect proguard optimizations.
2023-08-31 13:16:35.695   887-959   StartingSurfaceDrawer   com.android.systemui                 D  Task start finish, remove starting surface for task 19
2023-08-31 13:16:35.695   887-959   StartingSurfaceDrawer   com.android.systemui                 V  Removing splash screen window for task: 19
2023-08-31 13:16:35.697   574-614   system_server           system_process                       W  Failed to determine oat file name for dex location /data/app/~~D2PVI_M5TPwbI7xMmSQc1g==/gg.interstellar.wallet.android-nvbCi6FpDZZ2xcDKgElLZQ==/base.apk: Dalvik cache directory does not exist
2023-08-31 13:16:35.701   574-614   ActivityTaskManager     system_process                       I  Displayed gg.interstellar.wallet.android/.MainActivity: +1s30ms
2023-08-31 13:16:35.731  8205-8205  Compatibil...geReporter gg.interstellar.wallet.android       D  Compat change id reported: 171228096; UID 10147; state: ENABLED
2023-08-31 13:16:36.057   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=18.94ms min=2.31ms max=186.11ms count=43
2023-08-31 13:16:36.105  1228-1244  FontLog                 com.google.android.gms               I  Received query Noto Color Emoji Compat, URI content://com.google.android.gms.fonts [CONTEXT service_id=132 ]
2023-08-31 13:16:36.106  1228-1244  FontLog                 com.google.android.gms               I  Query [emojicompat-emoji-font] resolved to {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false} [CONTEXT service_id=132 ]
2023-08-31 13:16:36.113  1228-1244  FontLog                 com.google.android.gms               I  Fetch {Noto Color Emoji Compat, wdth 100.0, wght 400, ital 0.0, bestEffort false} end status Status{statusCode=SUCCESS, resolution=null} [CONTEXT service_id=132 ]
2023-08-31 13:16:36.120  1228-5109  FontLog                 com.google.android.gms               I  Pulling font file for id = 20, cache size = 5 [CONTEXT service_id=132 ]
2023-08-31 13:16:36.120   574-2221  InputManager-JNI        system_process                       W  Input channel object 'b1e9bc2 Splash Screen gg.interstellar.wallet.android (client)' was disposed without first being removed with the input manager!
2023-08-31 13:16:36.134  1228-1244  FontLog                 com.google.android.gms               I  Pulling font file for id = 20, cache size = 5 [CONTEXT service_id=132 ]
2023-08-31 13:16:36.180  8205-8221  OpenGLRenderer          gg.interstellar.wallet.android       I  Davey! duration=814ms; Flags=0, FrameTimelineVsyncId=14508, IntendedVsync=5535098144327, Vsync=5535431477647, InputEventId=0, HandleInputStart=5535444367080, AnimationStart=5535444368025, PerformTraversalsStart=5535683037648, DrawStart=5535683070440, FrameDeadline=5535131477659, FrameInterval=5535444363584, FrameStartTime=16666666, SyncQueued=5535828252790, SyncStart=5535828333273, IssueDrawCommandsStart=5535828473111, SwapBuffers=5535908484623, FrameCompleted=5535912765977, DequeueBufferDuration=13753, QueueBufferDuration=2059794, GpuCompleted=5535912619437, SwapBuffersCompleted=5535912765977, DisplayPresentTime=0, 
2023-08-31 13:16:36.190  1533-1533  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onFinishInput():3420 
2023-08-31 13:16:36.192  1533-1533  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInput():2002 
2023-08-31 13:16:36.197  1533-1533  DeviceUnlockedTag       com...gle.android.inputmethod.latin  I  DeviceUnlockedTag.notifyDeviceLockStatusChanged():31 Notify device unlocked.
2023-08-31 13:16:36.323   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=181.27ms min=11.54ms max=1150.45ms count=7
2023-08-31 13:16:39.891  8205-8224  EGL_emulation           gg.interstellar.wallet.android       D  app_time_stats: avg=1050.34ms min=4.20ms max=3679.22ms count=4
2023-08-31 13:16:40.902  8205-8224  EGL_emulation           gg.interstellar.wallet.android       D  app_time_stats: avg=14.32ms min=2.75ms max=33.63ms count=57
2023-08-31 13:16:41.003  8205-8232  ProfileInstaller        gg.interstellar.wallet.android       D  Skipping profile installation for gg.interstellar.wallet.android
2023-08-31 13:16:42.183  8205-8224  EGL_emulation           gg.interstellar.wallet.android       D  app_time_stats: avg=213.40ms min=14.80ms max=1196.76ms count=6
2023-08-31 13:16:46.317  8205-8205  System.out              gg.interstellar.wallet.android       I  fda init
2023-08-31 13:16:46.318  8205-8205  Compatibil...geReporter gg.interstellar.wallet.android       D  Compat change id reported: 147798919; UID 10147; state: ENABLED
2023-08-31 13:16:46.321   887-887   ziparchive              com.android.systemui                 W  Unable to open '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': No such file or directory
2023-08-31 13:16:46.321   887-887   ndroid.systemu          com.android.systemui                 E  Failed to open APK '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': I/O error
2023-08-31 13:16:46.322   887-887   ResourcesManager        com.android.systemui                 W  failed to preload asset path '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk'
                                                                                                    java.io.IOException: Failed to load asset path /data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk
                                                                                                    	at android.content.res.ApkAssets.nativeLoad(Native Method)
                                                                                                    	at android.content.res.ApkAssets.<init>(ApkAssets.java:295)
                                                                                                    	at android.content.res.ApkAssets.loadFromPath(ApkAssets.java:144)
                                                                                                    	at android.app.ResourcesManager.loadApkAssets(ResourcesManager.java:454)
                                                                                                    	at android.app.ResourcesManager.access$000(ResourcesManager.java:72)
                                                                                                    	at android.app.ResourcesManager$ApkAssetsSupplier.load(ResourcesManager.java:168)
                                                                                                    	at android.app.ResourcesManager.createApkAssetsSupplierNotLocked(ResourcesManager.java:980)
                                                                                                    	at android.app.ResourcesManager.getResources(ResourcesManager.java:1101)
                                                                                                    	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:2372)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1751)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1737)
                                                                                                    	at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:1506)
                                                                                                    	at android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:3029)
                                                                                                    	at android.content.pm.PackageItemInfo.loadUnbadgedIcon(PackageItemInfo.java:290)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.getBadgedIcon(SystemUIToast.java:284)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.inflateToastView(SystemUIToast.java:198)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:90)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:77)
                                                                                                    	at com.android.systemui.toast.ToastFactory.createToast(ToastFactory.java:78)
                                                                                                    	at com.android.systemui.toast.ToastUI.lambda$showToast$0(ToastUI.java:113)
                                                                                                    	at com.android.systemui.toast.ToastUI.$r8$lambda$w_gPCh3F8Xxn1jN4lkQZoUci71c(Unknown Source:0)
                                                                                                    	at com.android.systemui.toast.ToastUI$$ExternalSyntheticLambda0.run(Unknown Source:16)
                                                                                                    	at com.android.systemui.toast.ToastUI.showToast(ToastUI.java:140)
                                                                                                    	at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:1431)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:46.322   887-887   ziparchive              com.android.systemui                 W  Unable to open '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': No such file or directory
2023-08-31 13:16:46.322   887-887   ndroid.systemu          com.android.systemui                 E  Failed to open APK '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': I/O error
2023-08-31 13:16:46.324   887-887   ResourcesManager        com.android.systemui                 E  failed to add asset path '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk'
                                                                                                    java.io.IOException: Failed to load asset path /data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk
                                                                                                    	at android.content.res.ApkAssets.nativeLoad(Native Method)
                                                                                                    	at android.content.res.ApkAssets.<init>(ApkAssets.java:295)
                                                                                                    	at android.content.res.ApkAssets.loadFromPath(ApkAssets.java:144)
                                                                                                    	at android.app.ResourcesManager.loadApkAssets(ResourcesManager.java:454)
                                                                                                    	at android.app.ResourcesManager.access$000(ResourcesManager.java:72)
                                                                                                    	at android.app.ResourcesManager$ApkAssetsSupplier.load(ResourcesManager.java:168)
                                                                                                    	at android.app.ResourcesManager.createAssetManager(ResourcesManager.java:530)
                                                                                                    	at android.app.ResourcesManager.createResourcesImpl(ResourcesManager.java:612)
                                                                                                    	at android.app.ResourcesManager.findOrCreateResourcesImplForKeyLocked(ResourcesManager.java:664)
                                                                                                    	at android.app.ResourcesManager.createResources(ResourcesManager.java:1011)
                                                                                                    	at android.app.ResourcesManager.getResources(ResourcesManager.java:1114)
                                                                                                    	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:2372)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1751)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1737)
                                                                                                    	at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:1506)
                                                                                                    	at android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:3029)
                                                                                                    	at android.content.pm.PackageItemInfo.loadUnbadgedIcon(PackageItemInfo.java:290)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.getBadgedIcon(SystemUIToast.java:284)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.inflateToastView(SystemUIToast.java:198)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:90)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:77)
                                                                                                    	at com.android.systemui.toast.ToastFactory.createToast(ToastFactory.java:78)
                                                                                                    	at com.android.systemui.toast.ToastUI.lambda$showToast$0(ToastUI.java:113)
                                                                                                    	at com.android.systemui.toast.ToastUI.$r8$lambda$w_gPCh3F8Xxn1jN4lkQZoUci71c(Unknown Source:0)
                                                                                                    	at com.android.systemui.toast.ToastUI$$ExternalSyntheticLambda0.run(Unknown Source:16)
                                                                                                    	at com.android.systemui.toast.ToastUI.showToast(ToastUI.java:140)
                                                                                                    	at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:1431)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:46.324   887-887   PackageManager          com.android.systemui                 W  Failure retrieving resources for gg.interstellar.wallet.android
2023-08-31 13:16:46.331  8205-8205  interstellar            gg.interstellar.wallet.android       I  pub_key : [B@667c895
2023-08-31 13:16:46.336  8205-8205  interstellar            gg.interstellar.wallet.android       I  substrate_client::jni_wrapper: convert_jbytearray_to_vec = [48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 248, 21, 35, 105, 252, 106, 112, 215, 2, 88, 92, 245, 114, 215, 13, 199, 8, 138, 142, 41, 215, 172, 65, 70, 35, 189, 140, 39, 202, 89, 169, 217, 144, 125, 159, 197, 159, 206, 68, 129, 143, 233, 236, 104, 40, 108, 42, 165, 228, 42, 204, 142, 254, 83, 217, 177, 73, 163, 126, 129, 43, 237, 49, 1]
2023-08-31 13:16:46.339  8205-8205  interstellar            gg.interstellar.wallet.android       I  substrate_client::cli_offline: offline_demo: extrinsic_register_mobile
2023-08-31 13:16:46.343  8205-8205  interstellar            gg.interstellar.wallet.android       I  substrate_client::cli_offline: offline_demo: extrinsic_garble_and_strip_display_circuits_package_signed
2023-08-31 13:16:46.333  8205-8205  .wallet.android         gg.interstellar.wallet.android       W  type=1400 audit(0.0:334): avc: denied { getattr } for path="/dev/pmsg0" dev="tmpfs" ino=462 scontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tcontext=u:object_r:pmsg_device:s0 tclass=chr_file permissive=0 app=gg.interstellar.wallet.android
2023-08-31 13:16:46.349   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7dad000 0x3f7dea000]
2023-08-31 13:16:46.359   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7dea000 0x3f7e27000]
2023-08-31 13:16:46.372   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7e27000 0x3f7e64000]
2023-08-31 13:16:46.490  8205-8205  interstellar            gg.interstellar.wallet.android       I  circuitsPackagePtr : 130341018053760, message_nb_digts : 2
2023-08-31 13:16:46.641  8205-8205  interstellar            gg.interstellar.wallet.android       I  renderer::jni_wrapper: initSurface before new_native
2023-08-31 13:16:47.242  8205-8205  HostConnection          gg.interstellar.wallet.android       D  createUnique: call
2023-08-31 13:16:47.242  8205-8205  HostConnection          gg.interstellar.wallet.android       D  HostConnection::get() New Host Connection established 0x768b72144dd0, tid 8205
2023-08-31 13:16:47.247  8205-8205  HostConnection          gg.interstellar.wallet.android       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:47.257  8205-8205  vulkan                  gg.interstellar.wallet.android       D  searching for layers in '/data/app/~~D2PVI_M5TPwbI7xMmSQc1g==/gg.interstellar.wallet.android-nvbCi6FpDZZ2xcDKgElLZQ==/lib/arm64'
2023-08-31 13:16:47.257  8205-8205  vulkan                  gg.interstellar.wallet.android       D  searching for layers in '/data/app/~~D2PVI_M5TPwbI7xMmSQc1g==/gg.interstellar.wallet.android-nvbCi6FpDZZ2xcDKgElLZQ==/base.apk!/lib/arm64-v8a'
2023-08-31 13:16:47.273  8205-8205  ndk_translation         gg.interstellar.wallet.android       E  Unknown function is used with vkGetInstanceProcAddr: vkGetPhysicalDeviceToolProperties
2023-08-31 13:16:47.273  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::vulkan::instance: Instance version: 0x401000
2023-08-31 13:16:47.273  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::vulkan::instance: Enabling device properties2
2023-08-31 13:16:47.283  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::egl: Loading X11 library to get the current display
2023-08-31 13:16:47.285  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::egl: EGL_MESA_platform_surfaceless not available. Using default platform
2023-08-31 13:16:47.286  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::egl: Display vendor "Android", version (1, 4)
2023-08-31 13:16:47.286  8205-8205  interstellar            gg.interstellar.wallet.android       W  wgpu_hal::gles::egl: 	EGL surface: -srgb
2023-08-31 13:16:47.286  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::egl: 	Trying presentation
2023-08-31 13:16:47.287  8205-8205  interstellar            gg.interstellar.wallet.android       W  wgpu_hal::gles::egl: EGL says it can present to the window but not natively
2023-08-31 13:16:47.287  8205-8205  interstellar            gg.interstellar.wallet.android       W  wgpu_hal::gles::egl: 	EGL context: -robust access
2023-08-31 13:16:47.289  8205-8205  EGL_emulation           gg.interstellar.wallet.android       D  eglCreateContext: 0x768b72143150: maj 3 min 1 rcv 4
2023-08-31 13:16:47.304  8205-8205  goldfish_vulkan         gg.interstellar.wallet.android       D  on_vkEnumerateDeviceExtensionProperties: host has ext semaphore? win32 0 posix 1
2023-08-31 13:16:47.305  8205-8205  goldfish_vulkan         gg.interstellar.wallet.android       D  on_vkEnumerateDeviceExtensionProperties: host has ext semaphore? win32 0 posix 1
2023-08-31 13:16:47.305  8205-8205  goldfish_vulkan         gg.interstellar.wallet.android       D  on_vkEnumerateDeviceExtensionProperties: host has ext semaphore? win32 0 posix 1
2023-08-31 13:16:47.306  8205-8205  goldfish_vulkan         gg.interstellar.wallet.android       D  on_vkEnumerateDeviceExtensionProperties: host has ext semaphore? win32 0 posix 1
2023-08-31 13:16:47.312  8205-8205  EGL_emulation           gg.interstellar.wallet.android       D  eglMakeCurrent: 0x768b72143150: ver 3 1 (tinfo 0x768d91a00100) (first time)
2023-08-31 13:16:47.381  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::adapter: Vendor: Google (Intel)
2023-08-31 13:16:47.381  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::adapter: Renderer: Android Emulator OpenGL ES Translator (Mesa Intel(R) UHD Graphics 620 (KBL GT2))
2023-08-31 13:16:47.381  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::adapter: Version: OpenGL ES 3.1 (4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1)
2023-08-31 13:16:47.382  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_hal::gles::adapter: SL version: OpenGL ES GLSL ES 3.10
2023-08-31 13:16:47.387  8205-8205  interstellar            gg.interstellar.wallet.android       W  wgpu_hal::gles::adapter: Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
2023-08-31 13:16:47.391  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::instance: Adapter Gl AdapterInfo { name: "Android Emulator OpenGL ES Translator (Mesa Intel(R) UHD Graphics 620 (KBL GT2))", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
                                                                                                    
                                                                                                    [          1693480607.393  8205: 8205 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.1 AdapterInfo { name: "Android Emulator OpenGL ES Translator (Mesa Intel(R) UHD Graphics 620 (KBL GT2))", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
2023-08-31 13:16:47.496  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((0, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING | RENDER_ATTACHMENT, view_formats: [] }
2023-08-31 13:16:47.508  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((1, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 6 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING | RENDER_ATTACHMENT, view_formats: [] }
2023-08-31 13:16:47.517  8205-8205  interstellar            gg.interstellar.wallet.android       I  renderer::winit_raw_handle_plugin: Creating new window "renderer demo" (0v0)
2023-08-31 13:16:47.591  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((2, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.608  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((3, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.622  8205-8205  interstellar            gg.interstellar.wallet.android       I  renderer::jni_wrapper: init_app ok!
2023-08-31 13:16:47.669  8205-8205  gg.interst...et.android gg.interstellar.wallet.android       W  type=1400 audit(0.0:335): avc: denied { getattr } for comm=436F6D70757465205461736B20506F path="/proc/stat" dev="proc" ino=4026532033 scontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 app=gg.interstellar.wallet.android
                                                                                                    
                                                                                                    [          1693480607.680  8205: 8240 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic SystemInfo { os: "Android 12 sdk_gphone64_x86_64", kernel: "5.10.185-android12-9-00043-g383607d234da-ab10550364", cpu: "", core_count: "1", memory: "1.9 GiB" }
2023-08-31 13:16:47.673  8205-8205  gg.interst...et.android gg.interstellar.wallet.android       W  type=1400 audit(0.0:336): avc: denied { getattr } for comm=436F6D70757465205461736B20506F path="/proc/stat" dev="proc" ino=4026532033 scontext=u:r:untrusted_app:s0:c147,c256,c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 app=gg.interstellar.wallet.android
2023-08-31 13:16:47.928  8205-8239  HostConnection          gg.interstellar.wallet.android       D  createUnique: call
2023-08-31 13:16:47.928  8205-8239  HostConnection          gg.interstellar.wallet.android       D  HostConnection::get() New Host Connection established 0x768b7213ff10, tid 8239
2023-08-31 13:16:47.941  8205-8239  HostConnection          gg.interstellar.wallet.android       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:47.941  8205-8239  EGL_emulation           gg.interstellar.wallet.android       D  eglMakeCurrent: 0x768b72143150: ver 3 1 (tinfo 0x768d91a00180) (first time)
2023-08-31 13:16:47.943  8205-8240  HostConnection          gg.interstellar.wallet.android       D  createUnique: call
2023-08-31 13:16:47.943  8205-8240  HostConnection          gg.interstellar.wallet.android       D  HostConnection::get() New Host Connection established 0x768b721405d0, tid 8240
2023-08-31 13:16:47.944  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: configuring surface with SurfaceConfiguration { usage: RENDER_ATTACHMENT, format: Rgba8Unorm, width: 1080, height: 1829, present_mode: Fifo, alpha_mode: Auto, view_formats: [] }
2023-08-31 13:16:47.946  8205-8205  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Automatically choosing alpha mode by rule Auto. Chose Opaque
2023-08-31 13:16:47.946  8205-8239  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created buffer Valid((1, 1, Gl)) with BufferDescriptor { label: None, size: 2448, usage: COPY_DST | UNIFORM, mapped_at_creation: true }
2023-08-31 13:16:47.957  8205-8240  HostConnection          gg.interstellar.wallet.android       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:47.957  8205-8240  EGL_emulation           gg.interstellar.wallet.android       D  eglMakeCurrent: 0x768b72143150: ver 3 1 (tinfo 0x768d91a00200) (first time)
2023-08-31 13:16:47.958  8205-8240  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created buffer Valid((0, 1, Gl)) with BufferDescriptor { label: None, size: 432, usage: COPY_DST | UNIFORM, mapped_at_creation: true }
2023-08-31 13:16:47.961  8205-8205  BufferQueueProducer     gg.interstellar.wallet.android       E  [SurfaceView[gg.interstellar.wallet.android/gg.interstellar.wallet.android.MainActivity]#1(BLAST Consumer)1](id:200d00000001,api:1,p:8205,c:8205) connect: already connected (cur=1 req=1)
2023-08-31 13:16:47.961  8205-8205  libEGL                  gg.interstellar.wallet.android       E  eglCreateWindowSurface: native_window_api_connect (win=0x768c6213dd00) failed (0xffffffea) (already connected to another API?)
2023-08-31 13:16:47.961  8205-8205  libEGL                  gg.interstellar.wallet.android       E  eglCreateWindowSurfaceTmpl:676 error 3003 (EGL_BAD_ALLOC)
2023-08-31 13:16:47.961  8205-8205  interstellar            gg.interstellar.wallet.android       W  wgpu_hal::gles::egl: Error in create_window_surface: BadAlloc
2023-08-31 13:16:47.971  8205-8240  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((4, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 590, height: 50, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.972  8205-8239  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created buffer Valid((2, 1, Gl)) with BufferDescriptor { label: None, size: 12, usage: COPY_DST | UNIFORM, mapped_at_creation: true }
2023-08-31 13:16:47.976  8205-8240  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((5, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.978  8205-8240  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((6, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D3, format: Rgba8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.979  8205-8240  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((7, 1, Gl)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
2023-08-31 13:16:47.983  8205-8205  libc                    gg.interstellar.wallet.android       A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8205 (.wallet.android), pid 8205 (.wallet.android)
2023-08-31 13:16:48.058  8251-8251  crash_dump64            pid-8251                             I  obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2023-08-31 13:16:48.059   257-257   tombstoned              tombstoned                           I  received crash request for pid 8205
2023-08-31 13:16:48.060  8251-8251  crash_dump64            pid-8251                             I  performing dump of process 8205 (target tid = 8205)
2023-08-31 13:16:48.074  8251-8251  DEBUG                   pid-8251                             E  failed to read /proc/uptime: Permission denied
2023-08-31 13:16:48.374     0-0     logd                    kernel                               I  logdr: UID=10147 GID=10147 PID=8251 n tail=0 logMask=8 pid=8205 start=0ns deadline=0ns
2023-08-31 13:16:48.375     0-0     logd                    kernel                               I  logdr: UID=10147 GID=10147 PID=8251 n tail=0 logMask=1 pid=8205 start=0ns deadline=0ns
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  Build fingerprint: 'google/sdk_gphone64_x86_64/emulator64_x86_64_arm64:12/SE1A.220826.008/10564458:userdebug/dev-keys'
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  Revision: '0'
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  ABI: 'x86_64'
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  Timestamp: 2023-08-31 13:16:48.073876644+0200
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  Process uptime: 0s
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  Cmdline: gg.interstellar.wallet.android
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  pid: 8205, tid: 8205, name: .wallet.android  >>> gg.interstellar.wallet.android <<<
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  uid: 10147
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A      rax 0000000000000000  rbx 0000768d9fcdf050  rcx 0000768d9c730df8  rdx 0000000000000006
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A      r8  0000000000000000  r9  0000000000000000  r10 0000768a7163d190  r11 0000000000000206
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A      r12 000000000000000b  r13 0000000000ef1368  r14 0000768d9fcdf000  r15 0000000076ef1301
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A      rdi 000000000000200d  rsi 000000000000200d
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A      rbp 0000768da02107f8  rsp 00007ffcc7782458  rip 0000768d9c730df8
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A  backtrace:
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A        #00 pc 000000000005adf8  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+24) (BuildId: 5db8d317d3741b337ef046540bbdd0f7)
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A        #01 pc 0000000000210cff  /system/lib64/libndk_translation.so (ndk_translation::RunKernelSyscall(ndk_translation::ProcessState*)+79) (BuildId: 9805a5ea90f28caa52fbba663bbe87b7)
2023-08-31 13:16:48.272  8251-8251  DEBUG                   pid-8251                             A        #02 pc 00000000000b8034  <anonymous:768a4f724000>
2023-08-31 13:16:48.292   257-257   tombstoned              tombstoned                           E  Tombstone written to: tombstone_03
2023-08-31 13:16:48.293   574-8257  DropBoxManagerService   system_process                       I  add tag=data_app_native_crash isTagEnabled=true flags=0x2
2023-08-31 13:16:48.294   574-8256  ActivityTaskManager     system_process                       W    Force finishing activity gg.interstellar.wallet.android/.MainActivity
2023-08-31 13:16:48.296   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f6678000 0x3f6ca4000]
2023-08-31 13:16:48.407     0-0     init                    kernel                               I  Untracked pid 8251 exited with status 0
2023-08-31 13:16:48.301   574-702   BootReceiver            system_process                       I  Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
2023-08-31 13:16:48.301   574-702   DropBoxManagerService   system_process                       I  add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x6
2023-08-31 13:16:48.311   574-702   DropBoxManagerService   system_process                       I  add tag=SYSTEM_TOMBSTONE_PROTO isTagEnabled=true flags=0x4
2023-08-31 13:16:48.325   574-6412  HostConnection          system_process                       D  createUnique: call
2023-08-31 13:16:48.329   574-6412  HostConnection          system_process                       D  HostConnection::get() New Host Connection established 0x768b721879d0, tid 6412
2023-08-31 13:16:48.337   574-6412  HostConnection          system_process                       D  HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1 
2023-08-31 13:16:48.338   574-6412  OpenGLRenderer          system_process                       W  Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2023-08-31 13:16:48.339   574-6412  OpenGLRenderer          system_process                       W  Failed to initialize 101010-2 format, error = EGL_SUCCESS
2023-08-31 13:16:48.349   574-6412  EGL_emulation           system_process                       D  eglCreateContext: 0x768b72183590: maj 3 min 1 rcv 4
2023-08-31 13:16:48.459     0-0     init                    kernel                               I  Untracked pid 8253 exited with status 0
2023-08-31 13:16:48.365   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2023-08-31 13:16:48.366   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2023-08-31 13:16:48.366   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2023-08-31 13:16:48.366   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2023-08-31 13:16:48.366   574-6412  EGL_emulation           system_process                       D  eglMakeCurrent: 0x768b72183590: ver 3 1 (tinfo 0x768d7f873100) (first time)
2023-08-31 13:16:48.374   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2023-08-31 13:16:48.374   574-625   BroadcastQueue          system_process                       W  Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2023-08-31 13:16:48.402   574-615   Compatibil...geReporter system_process                       D  Compat change id reported: 171228096; UID 1000; state: ENABLED
2023-08-31 13:16:48.426   574-1246  ActivityManager         system_process                       I  Process gg.interstellar.wallet.android (pid 8205) has died: fg  TOP 
2023-08-31 13:16:48.532     0-0     binder                  kernel                               I  undelivered transaction 733414, process died.
2023-08-31 13:16:48.427   574-1294  WindowManager           system_process                       I  WIN DEATH: Window{fc86396 u0 gg.interstellar.wallet.android/gg.interstellar.wallet.android.MainActivity}
2023-08-31 13:16:48.427   574-1294  InputManager-JNI        system_process                       W  Input channel object 'fc86396 gg.interstellar.wallet.android/gg.interstellar.wallet.android.MainActivity (client)' was disposed without first being removed with the input manager!
2023-08-31 13:16:48.431   574-630   libprocessgroup         system_process                       I  Successfully killed process cgroup uid 10147 pid 8205 in 0ms
2023-08-31 13:16:48.440   349-349   Zygote                  pid-349                              I  Process 8205 exited due to signal 6 (Aborted)
2023-08-31 13:16:48.442   574-615   Compatibil...geReporter system_process                       D  Compat change id reported: 168419799; UID 1000; state: DISABLED
2023-08-31 13:16:48.442   396-396   BpTransact...edListener surfaceflinger                       E  Failed to transact (-32)
2023-08-31 13:16:48.453   574-1246  ActivityTaskManager     system_process                       W  Can't find TaskDisplayArea to determine support for multi window. Task id=19 attached=false
2023-08-31 13:16:48.453   574-1246  ActivityTaskManager     system_process                       W  Can't find TaskDisplayArea to determine support for multi window. Task id=19 attached=false
2023-08-31 13:16:48.455   574-615   InputManager-JNI        system_process                       W  Input channel object 'bde7351 Application Error: gg.interstellar.wallet.android (client)' was disposed without first being removed with the input manager!
2023-08-31 13:16:48.472   574-617   ActivityManager         system_process                       W  setHasOverlayUi called on unknown pid: 8205
2023-08-31 13:16:48.475   574-8256  ActivityManager         system_process                       W  Ignoring remove of inactive process: ProcessRecord{7a38aa4 0:gg.interstellar.wallet.android/u0a147}
2023-08-31 13:16:48.479   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f6ca4000 0x3f7648000]
2023-08-31 13:16:48.483   574-929   ActivityManager         system_process                       W  Unable to start service Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } U=0: not found
2023-08-31 13:16:48.483   574-929   RemoteSmartspaceService system_process                       W  could not bind to Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } using flags 67112961
2023-08-31 13:16:48.485   574-574   ActivityManager         system_process                       W  Unbind failed: could not find connection for android.app.LoadedApk$ServiceDispatcher$InnerConnection@c5d18f9
2023-08-31 13:16:48.486   574-929   ActivityManager         system_process                       W  Unable to start service Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } U=0: not found
2023-08-31 13:16:48.486   574-929   RemoteSmartspaceService system_process                       W  could not bind to Intent { act=android.service.smartspace.SmartspaceService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiSmartspaceService } using flags 67112961
2023-08-31 13:16:48.487   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f4000000 0x3f49a4000]
2023-08-31 13:16:48.487   574-574   ActivityManager         system_process                       W  Unbind failed: could not find connection for android.app.LoadedApk$ServiceDispatcher$InnerConnection@6a31e9f
2023-08-31 13:16:48.489   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f9e97000 0x3fa83b000]
2023-08-31 13:16:48.492  1533-1533  AppBase                 com...gle.android.inputmethod.latin  I  AppBase.onTrimMemory():782 onTrimMemory(): 5
2023-08-31 13:16:48.492  2038-2057  OpenGLRenderer          com....android.googlequicksearchbox  I  Davey! duration=191116ms; Flags=1, FrameTimelineVsyncId=11597, IntendedVsync=5357081484781, Vsync=5357098151447, InputEventId=1272047288, HandleInputStart=5357109481911, AnimationStart=5357109483184, PerformTraversalsStart=5357109483509, DrawStart=5357220467400, FrameDeadline=5357114818113, FrameInterval=5357109455616, FrameStartTime=16666666, SyncQueued=5357245010458, SyncStart=5357278154516, IssueDrawCommandsStart=5357278608419, SwapBuffers=5357279234441, FrameCompleted=5548231068122, DequeueBufferDuration=17839, QueueBufferDuration=1296988, GpuCompleted=5548231068122, SwapBuffersCompleted=5357395592821, DisplayPresentTime=0, 
2023-08-31 13:16:48.495  1533-1533  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onTrimMemory():4623 onTrimMemory(): 5
2023-08-31 13:16:48.497   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f89a4000 0x3f9348000]
2023-08-31 13:16:48.500  2285-2285  GsaVoiceInteractionSrv  com....android.googlequicksearchbox  I  Handling ACTION_START_HOTWORD
2023-08-31 13:16:48.500  2285-2285  GsaVoiceInteractionSrv  com....android.googlequicksearchbox  I  disregardVoiceMatch: false
2023-08-31 13:16:48.500  2285-2285  GsaVoiceInteractionSrv  com....android.googlequicksearchbox  I  Cannot start hotword, hotword has been explicitly disabled.
2023-08-31 13:16:48.510   367-428   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f9348000 0x3f9cec000]
2023-08-31 13:16:48.524   367-417   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3fdcec000 0x3fe690000]
2023-08-31 13:16:48.548  1533-1533  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onFinishInput():3420 
2023-08-31 13:16:48.548  1533-1533  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInput():2002 
2023-08-31 13:16:48.549  1533-1533  DeviceUnlockedTag       com...gle.android.inputmethod.latin  I  DeviceUnlockedTag.notifyDeviceLockStatusChanged():31 Notify device unlocked.
2023-08-31 13:16:48.561   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=263.90ms min=1.07ms max=11735.13ms count=46
2023-08-31 13:16:48.572   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=1530.34ms min=14.71ms max=12113.08ms count=8
2023-08-31 13:16:48.702   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=102.53ms min=5.25ms max=2009.48ms count=21
2023-08-31 13:16:48.795   574-617   ActivityTaskManager     system_process                       W  Activity top resumed state loss timeout for ActivityRecord{8c5e537 u0 gg.interstellar.wallet.android/.MainActivity t-1 f}}
2023-08-31 13:16:48.933   574-2222  InputManager-JNI        system_process                       W  Input channel object 'e36da82 Toast (client)' was disposed without first being removed with the input manager!
2023-08-31 13:16:48.937   574-2222  NotificationService     system_process                       W  Toast already killed. pkg=gg.interstellar.wallet.android token=android.os.BinderProxy@b16ed8f
2023-08-31 13:16:49.043     0-0     binder                  kernel                               I  887:887 transaction failed 29189/-22, size 104-0 line 3133
2023-08-31 13:16:48.949   887-887   ToastPresenter          com.android.systemui                 W  Error calling back gg.interstellar.wallet.android to notify onToastHide()
                                                                                                    android.os.DeadObjectException
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:571)
                                                                                                    	at android.app.ITransientNotificationCallback$Stub$Proxy.onToastHidden(ITransientNotificationCallback.java:145)
                                                                                                    	at android.widget.ToastPresenter.hide(ToastPresenter.java:262)
                                                                                                    	at com.android.systemui.toast.ToastUI$ToastOutAnimatorListener.onAnimationEnd(ToastUI.java:216)
                                                                                                    	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:555)
                                                                                                    	at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
                                                                                                    	at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
                                                                                                    	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
                                                                                                    	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
                                                                                                    	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:775)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:48.951   887-887   ziparchive              com.android.systemui                 W  Unable to open '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': No such file or directory
2023-08-31 13:16:48.951   887-887   ndroid.systemu          com.android.systemui                 E  Failed to open APK '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': I/O error
2023-08-31 13:16:48.952   887-887   ResourcesManager        com.android.systemui                 W  failed to preload asset path '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk'
                                                                                                    java.io.IOException: Failed to load asset path /data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk
                                                                                                    	at android.content.res.ApkAssets.nativeLoad(Native Method)
                                                                                                    	at android.content.res.ApkAssets.<init>(ApkAssets.java:295)
                                                                                                    	at android.content.res.ApkAssets.loadFromPath(ApkAssets.java:144)
                                                                                                    	at android.app.ResourcesManager.loadApkAssets(ResourcesManager.java:454)
                                                                                                    	at android.app.ResourcesManager.access$000(ResourcesManager.java:72)
                                                                                                    	at android.app.ResourcesManager$ApkAssetsSupplier.load(ResourcesManager.java:168)
                                                                                                    	at android.app.ResourcesManager.createApkAssetsSupplierNotLocked(ResourcesManager.java:980)
                                                                                                    	at android.app.ResourcesManager.getResources(ResourcesManager.java:1101)
                                                                                                    	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:2372)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1751)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1737)
                                                                                                    	at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:1506)
                                                                                                    	at android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:3029)
                                                                                                    	at android.content.pm.PackageItemInfo.loadUnbadgedIcon(PackageItemInfo.java:290)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.getBadgedIcon(SystemUIToast.java:284)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.inflateToastView(SystemUIToast.java:198)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:90)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:77)
                                                                                                    	at com.android.systemui.toast.ToastFactory.createToast(ToastFactory.java:78)
                                                                                                    	at com.android.systemui.toast.ToastUI.lambda$showToast$0(ToastUI.java:113)
                                                                                                    	at com.android.systemui.toast.ToastUI.$r8$lambda$w_gPCh3F8Xxn1jN4lkQZoUci71c(Unknown Source:0)
                                                                                                    	at com.android.systemui.toast.ToastUI$$ExternalSyntheticLambda0.run(Unknown Source:16)
                                                                                                    	at com.android.systemui.toast.ToastUI$ToastOutAnimatorListener.onAnimationEnd(ToastUI.java:218)
                                                                                                    	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:555)
                                                                                                    	at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
                                                                                                    	at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
                                                                                                    	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
                                                                                                    	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
                                                                                                    	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:775)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:48.952   887-887   ziparchive              com.android.systemui                 W  Unable to open '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': No such file or directory
2023-08-31 13:16:48.953   887-887   ndroid.systemu          com.android.systemui                 E  Failed to open APK '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk': I/O error
2023-08-31 13:16:48.954   887-887   ResourcesManager        com.android.systemui                 E  failed to add asset path '/data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk'
                                                                                                    java.io.IOException: Failed to load asset path /data/app/~~QnHA5ZSA6-DuC1QC3IbuDA==/gg.interstellar.wallet.android-jV2Ralz3I8ICySdk-pwp1w==/base.apk
                                                                                                    	at android.content.res.ApkAssets.nativeLoad(Native Method)
                                                                                                    	at android.content.res.ApkAssets.<init>(ApkAssets.java:295)
                                                                                                    	at android.content.res.ApkAssets.loadFromPath(ApkAssets.java:144)
                                                                                                    	at android.app.ResourcesManager.loadApkAssets(ResourcesManager.java:454)
                                                                                                    	at android.app.ResourcesManager.access$000(ResourcesManager.java:72)
                                                                                                    	at android.app.ResourcesManager$ApkAssetsSupplier.load(ResourcesManager.java:168)
                                                                                                    	at android.app.ResourcesManager.createAssetManager(ResourcesManager.java:530)
                                                                                                    	at android.app.ResourcesManager.createResourcesImpl(ResourcesManager.java:612)
                                                                                                    	at android.app.ResourcesManager.findOrCreateResourcesImplForKeyLocked(ResourcesManager.java:664)
                                                                                                    	at android.app.ResourcesManager.createResources(ResourcesManager.java:1011)
                                                                                                    	at android.app.ResourcesManager.getResources(ResourcesManager.java:1114)
                                                                                                    	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:2372)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1751)
                                                                                                    	at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:1737)
                                                                                                    	at android.app.ApplicationPackageManager.getDrawable(ApplicationPackageManager.java:1506)
                                                                                                    	at android.app.ApplicationPackageManager.loadUnbadgedItemIcon(ApplicationPackageManager.java:3029)
                                                                                                    	at android.content.pm.PackageItemInfo.loadUnbadgedIcon(PackageItemInfo.java:290)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.getBadgedIcon(SystemUIToast.java:284)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.inflateToastView(SystemUIToast.java:198)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:90)
                                                                                                    	at com.android.systemui.toast.SystemUIToast.<init>(SystemUIToast.java:77)
                                                                                                    	at com.android.systemui.toast.ToastFactory.createToast(ToastFactory.java:78)
                                                                                                    	at com.android.systemui.toast.ToastUI.lambda$showToast$0(ToastUI.java:113)
                                                                                                    	at com.android.systemui.toast.ToastUI.$r8$lambda$w_gPCh3F8Xxn1jN4lkQZoUci71c(Unknown Source:0)
                                                                                                    	at com.android.systemui.toast.ToastUI$$ExternalSyntheticLambda0.run(Unknown Source:16)
                                                                                                    	at com.android.systemui.toast.ToastUI$ToastOutAnimatorListener.onAnimationEnd(ToastUI.java:218)
                                                                                                    	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:555)
                                                                                                    	at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
                                                                                                    	at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
                                                                                                    	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
                                                                                                    	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
                                                                                                    	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:775)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:48.954   887-887   PackageManager          com.android.systemui                 W  Failure retrieving resources for gg.interstellar.wallet.android
2023-08-31 13:16:49.078     0-0     binder                  kernel                               I  887:887 transaction failed 29189/-22, size 104-0 line 3133
2023-08-31 13:16:48.975   887-887   ToastPresenter          com.android.systemui                 W  Error calling back gg.interstellar.wallet.android to notify onToastShow()
                                                                                                    android.os.DeadObjectException
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:571)
                                                                                                    	at android.app.ITransientNotificationCallback$Stub$Proxy.onToastShown(ITransientNotificationCallback.java:128)
                                                                                                    	at android.widget.ToastPresenter.show(ToastPresenter.java:235)
                                                                                                    	at com.android.systemui.toast.ToastUI.lambda$showToast$0(ToastUI.java:126)
                                                                                                    	at com.android.systemui.toast.ToastUI.$r8$lambda$w_gPCh3F8Xxn1jN4lkQZoUci71c(Unknown Source:0)
                                                                                                    	at com.android.systemui.toast.ToastUI$$ExternalSyntheticLambda0.run(Unknown Source:16)
                                                                                                    	at com.android.systemui.toast.ToastUI$ToastOutAnimatorListener.onAnimationEnd(ToastUI.java:218)
                                                                                                    	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:555)
                                                                                                    	at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
                                                                                                    	at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
                                                                                                    	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
                                                                                                    	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
                                                                                                    	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:775)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:48.983   367-417   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7dad000 0x3f7de4000]
2023-08-31 13:16:48.987   367-417   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7de4000 0x3f7e1b000]
2023-08-31 13:16:48.994   367-417   goldfish-address-space  [email protected]  D  claimShared: Ask to claim region [0x3f7e1b000 0x3f7e52000]
2023-08-31 13:16:51.295   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=108.97ms min=4.68ms max=1956.37ms count=21
2023-08-31 13:16:51.517   574-2222  InputManager-JNI        system_process                       W  Input channel object 'da98c25 Toast (client)' was disposed without first being removed with the input manager!
2023-08-31 13:16:51.521   574-2222  NotificationService     system_process                       W  Toast already killed. pkg=gg.interstellar.wallet.android token=android.os.BinderProxy@6161eb4
2023-08-31 13:16:51.521   887-887   ToastPresenter          com.android.systemui                 W  Error calling back gg.interstellar.wallet.android to notify onToastHide()
                                                                                                    android.os.DeadObjectException
                                                                                                    	at android.os.BinderProxy.transactNative(Native Method)
                                                                                                    	at android.os.BinderProxy.transact(BinderProxy.java:571)
                                                                                                    	at android.app.ITransientNotificationCallback$Stub$Proxy.onToastHidden(ITransientNotificationCallback.java:145)
                                                                                                    	at android.widget.ToastPresenter.hide(ToastPresenter.java:262)
                                                                                                    	at com.android.systemui.toast.ToastUI$ToastOutAnimatorListener.onAnimationEnd(ToastUI.java:216)
                                                                                                    	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:555)
                                                                                                    	at android.animation.AnimatorSet.endAnimation(AnimatorSet.java:1301)
                                                                                                    	at android.animation.AnimatorSet.doAnimationFrame(AnimatorSet.java:1086)
                                                                                                    	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
                                                                                                    	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
                                                                                                    	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:775)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7839)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2023-08-31 13:16:56.831   211-8235  keystore2               keystore2                            I  keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.
2023-08-31 13:16:59.655   574-574   WindowManager           system_process                       W  removeWindowToken: Attempted to remove non-existing token: android.os.Binder@6ff20f7
2023-08-31 13:17:00.060   887-961   EGL_emulation           com.android.systemui                 D  app_time_stats: avg=1148.61ms min=9.82ms max=11048.16ms count=10
2023-08-31 13:17:02.242   574-574   WindowManager           system_process                       W  removeWindowToken: Attempted to remove non-existing token: android.os.Binder@dbe1dc9

@n-prat
Copy link
Contributor

n-prat commented Sep 1, 2023

Maybe we should start an Element(or other app) channel for this evaluation?

Yes, we can do that. Can you send a mail with the element name(s) to [email protected]?

Will do!

what language is the device running? It must be set to english for now

It was tested in German, but after retesting in English it actually worked. 👍

However, that's a very unexpected precondition. Why would it have to be English? Does that mean the wallet not usable from non-English devices?

Amazing!
It is just a basic formatting error(IIRC) on non-english devices. We had it from the very beginning, and we are only using the wallet as a demo/testing tool for now so we never took the time to fix it. We will definitely handle it properly when we will work on the app(s) later.

The requirement is written but I will grant you that given this issue, we should have made it more prominent.

Can you provide me semuelle's logcat please?

Thanks for this! But I can't find a "standard" error I've already met...
I can see wgpu_hal::gles::adapter: Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears. which seems to relate to this. But apparently it is supposedly fixed...
The stacktrace is unfortunately a bit short.
And then it hit EGL_BAD_ALLOC.

I really don't know what I can do here. Sometimes when hitting this error I have had success by switching the "Graphics" type in the emulator's settings, and sometimes I had to delete/recreate the emulator.

It could also be a hardware issue, in which case there is nothing to be done.

@semuelle
Copy link
Member

semuelle commented Sep 1, 2023

Hey @n-prat. I just ran the app on the phone attached to LogCat, and I suspect it's related to the decimal separator. That would explain why it crashes the second the amount field is filled. In German, the decimal separator is a comma. If you are parsing the number back in, it might cause a hiccup. See related error message below.

2023-09-01 21:13:45.323 27027-27027 AndroidRuntime          gg.interstellar.wallet.android       E  FATAL EXCEPTION: main
                                                                                                    Process: gg.interstellar.wallet.android, PID: 27027
                                                                                                    java.lang.NumberFormatException: For input string: "221,13"
                                                                                                    	at jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
                                                                                                    	at jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
                                                                                                    	at java.lang.Float.parseFloat(Float.java:455)
                                                                                                    	at gg.interstellar.wallet.android.ui.components.CommonUiKt.BaseRow-rB2HKNE(CommonUi.kt:333)
                                                                                                    	at gg.interstellar.wallet.android.ui.components.CommonUiKt.access$BaseRow-rB2HKNE(CommonUi.kt:1)
                                                                                                    	at gg.interstellar.wallet.android.ui.components.CommonUiKt$BaseRow$3.invoke(Unknown Source:60)
                                                                                                    	at gg.interstellar.wallet.android.ui.components.CommonUiKt$BaseRow$3.invoke(Unknown Source:8)
                                                                                                    	at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:145)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2375)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2643)
                                                                                                    	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:3260)
                                                                                                    	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:3238)
                                                                                                    	at androidx.compose.runtime.SnapshotStateKt__DerivedStateKt.observeDerivedStateRecalculations(DerivedState.kt:341)
                                                                                                    	at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(Unknown Source:1)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3238)
                                                                                                    	at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3203)
                                                                                                    	at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:771)
                                                                                                    	at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1031)
                                                                                                    	at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:125)
                                                                                                    	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:534)
                                                                                                    	at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$2.invoke(Recomposer.kt:503)
                                                                                                    	at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:34)
                                                                                                    	at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
                                                                                                    	at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
                                                                                                    	at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1229)
                                                                                                    	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
                                                                                                    	at android.view.Choreographer.doCallbacks(Choreographer.java:899)
                                                                                                    	at android.view.Choreographer.doFrame(Choreographer.java:827)
                                                                                                    	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:942)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:201)
                                                                                                    	at android.os.Looper.loop(Looper.java:288)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7918)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
                                                                                                    	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [androidx.compose.runtime.PausableMonotonicFrameClock@10af71d, androidx.compose.ui.platform.MotionDurationScaleImpl@6643d92, StandaloneCoroutine{Cancelling}@45ce363, AndroidUiDispatcher@a672b60]

Copy link
Contributor

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@n-prat did you send the email yet? I haven't seen it yet.

Regarding the language issue, after changing @semuelle's physical device to English it worked.
However, it's 30-50fps which doesn't satisfy the spec of your deliverable:

We will rewrite the garbled circuit evaluation scheme to target at least 60 fps

Logcat:

2023-09-01 21:20:07.569 31852-31852 nativeloader            pid-31852                            D  Configuring classloader-namespace for other apk /data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/base.apk:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/split_config.arm64_v8a.apk:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/split_config.de.apk:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/split_config.en.apk:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/split_config.xxhdpi.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/lib/arm64:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/base.apk!/lib/arm64-v8a:/data/app/~~P1Kw8iSL9DQkkpwKFRYy_w==/com.google.android.play.games-ILGnd-m3OIjLHDjZhtJdFg==/split_config.arm64_v8a.apk!/lib/arm64-v8a:/data/app
                                                                                                    
                                                                                                    [          1693596007.576 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   20.270392ms (avg 23.669486ms)
                                                                                                    
                                                                                                    [          1693596007.576 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   49.964297   (avg 43.701805)
                                                                                                    
                                                                                                    [          1693596007.576 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 32.000000
2023-09-01 21:20:08.579  1662-7391  NotificationService     system_server                        W  Toast already killed. pkg=gg.interstellar.wallet.android token=android.os.BinderProxy@95049cc
                                                                                                    
                                                                                                    [          1693596008.585 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   23.022817ms (avg 23.701373ms)
                                                                                                    
                                                                                                    [          1693596008.585 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   43.671574   (avg 42.507720)
                                                                                                    
                                                                                                    [          1693596008.585 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 75.000000
2023-09-01 21:20:09.573  1662-3089  ConnectivityService     system_server                        D  NetReassign [49984 : null → 487] [c 2] [a 4] [i 2]
                                                                                                    
                                                                                                    [          1693596009.573 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   20.267147ms (avg 19.762050ms)
                                                                                                    
                                                                                                    [          1693596009.573 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   49.487411   (avg 50.732720)
                                                                                                    
                                                                                                    [          1693596009.573 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 118.000000
2023-09-01 21:20:10.598 31949-32129 MetricsConfigurationPar com.amazon.kindle                    I  MetricsConfigurationParser - Picking configuration; Domain: prod, Build: user, isDebuggable: false
                                                                                                    
                                                                                                    [          1693596010.598 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   26.537961ms (avg 24.874129ms)
                                                                                                    
                                                                                                    [          1693596010.598 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   38.672568   (avg 41.095166)
                                                                                                    
                                                                                                    [          1693596010.598 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 158.000000
2023-09-01 21:20:11.587 31949-32302 AmazonKind...ectionsDAO com.amazon.kindle                    I  [pool-83-thread-1]: Creating Uncollected collection
                                                                                                    
                                                                                                    
                                                                                                    [          1693596011.587 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   25.509577ms (avg 23.521043ms)
                                                                                                    
                                                                                                    [          1693596011.587 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   40.459099   (avg 43.258783)
                                                                                                    
                                                                                                    [          1693596011.587 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 201.000000
2023-09-01 21:20:12.571  3445-3473  SecureElementService    com.android.se                       D  getReaders() for com.android.nfc
                                                                                                    
                                                                                                    [          1693596012.572 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   22.656829ms (avg 22.742259ms)
                                                                                                    
                                                                                                    [          1693596012.572 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   44.840416   (avg 44.657271)
                                                                                                    
                                                                                                    [          1693596012.572 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 245.000000
2023-09-01 21:20:13.575 32196-32506 ...uth.device.storage.s com.imdb.mobile                      I  MAP database version: 2
                                                                                                    
                                                                                                    [          1693596013.576 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   25.168793ms (avg 23.275663ms)
                                                                                                    
                                                                                                    [          1693596013.576 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   40.669714   (avg 43.960871)
                                                                                                    
                                                                                                    [          1693596013.576 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 290.000000
2023-09-01 21:20:14.567  1662-5275  ConnectivityService     system_server                        D  Returning UNBLOCKED NetworkInfo to uid=10298
                                                                                                    
                                                                                                    [          1693596014.580 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   25.432446ms (avg 23.469794ms)
                                                                                                    
                                                                                                    [          1693596014.580 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   41.634822   (avg 43.542643)
                                                                                                    
                                                                                                    [          1693596014.580 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 332.000000
2023-09-01 21:20:15.553 30196-31699 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((4, 216, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 590, height: 50, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596015.579 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   28.095304ms (avg 24.890877ms)
                                                                                                    
                                                                                                    [          1693596015.579 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   35.796889   (avg 40.979913)
                                                                                                    
                                                                                                    [          1693596015.579 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 374.000000
2023-09-01 21:20:16.567 30196-31700 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((11, 243, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596016.590 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   39.437358ms (avg 27.353595ms)
                                                                                                    
                                                                                                    [          1693596016.590 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   27.103126   (avg 39.979632)
                                                                                                    
                                                                                                    [          1693596016.590 30196:31700 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 415.000000
2023-09-01 21:20:17.545 30196-31697 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((12, 282, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 590, height: 50, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596017.564 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   30.128427ms (avg 24.841052ms)
                                                                                                    
                                                                                                    [          1693596017.564 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   35.991516   (avg 42.180514)
                                                                                                    
                                                                                                    [          1693596017.564 30196:31701 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 453.000000
2023-09-01 21:20:18.566 21927-32573 ChimeraUtils            com.google.android.gms.persistent    W  Module com.google.android.gms.nearby_en missing resource null(0)
                                                                                                    
                                                                                                    [          1693596018.577 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   23.863455ms (avg 22.870679ms)
                                                                                                    
                                                                                                    [          1693596018.578 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   43.422526   (avg 44.676334)
                                                                                                    
                                                                                                    [          1693596018.578 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 497.000000
2023-09-01 21:20:19.553 30196-31701 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((4, 301, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596019.581 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   22.383042ms (avg 22.922772ms)
                                                                                                    
                                                                                                    [          1693596019.581 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   45.032289   (avg 44.285407)
                                                                                                    
                                                                                                    [          1693596019.581 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 540.000000
2023-09-01 21:20:20.561 30196-31700 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((12, 371, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 590, height: 50, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596020.585 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   28.946212ms (avg 27.258533ms)
                                                                                                    
                                                                                                    [          1693596020.585 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   35.998988   (avg 37.713475)
                                                                                                    
                                                                                                    [          1693596020.585 30196:31697 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 577.000000
2023-09-01 21:20:21.561 30196-31697 interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((8, 375, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: COPY_DST | TEXTURE_BINDING, view_formats: [] }
                                                                                                    
                                                                                                    [          1693596021.581 30196:31699 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_time                      :   24.556489ms (avg 26.348678ms)
                                                                                                    
                                                                                                    [          1693596021.581 30196:31699 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic fps                             :   41.299239   (avg 39.147868)
                                                                                                    
                                                                                                    [          1693596021.581 30196:31699 I/event /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic frame_count                     : 616.000000

Do you think this can be further improved? The test device was a Pixel 7a, a recent device that was released just months ago.

@n-prat
Copy link
Contributor

n-prat commented Sep 4, 2023

did you send the email yet? I haven't seen it yet.

Not yet, I don't have the permission to create a room in our Element space.

We will rewrite the garbled circuit evaluation scheme to target at least 60 fps

For reference on my POCO F3(which is not at all high end):

logcat (filter: "fps")
2023-09-04 10:23:56.707  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 255
2023-09-04 10:23:56.707  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 255
2023-09-04 10:23:56.707  1280-1970  DisplayFeatureHal       pid-1280                             I  preHandleFpsSwitch: Smtfps app set input_fps[120], current_fps[60], cookie[256], mSmartFpsEnable[1]
2023-09-04 10:23:56.707  1280-1970  DisplayFeatureHal       pid-1280                             I  preHandleFpsSwitch: pending fps(120)
2023-09-04 10:23:56.707  1280-1970  DisplayFeatureHal       pid-1280                             I  HandleFpsSwitch: pending_fps[120], current_fps[60], doze_pending_fps[0], mSmartFpsEnable[1]
                                                                                                  HandleFpsSwitch: smart[120], settings[120], thermal[0], power[0], video[0], game[0], app[120], last_module[Default]
2023-09-04 10:23:56.707  1280-1970  DisplayFeatureHal       pid-1280                             I  notifySurfaceflingerFpsSwitch: fps = 120
2023-09-04 10:23:56.708  1280-1970  DisplayFeatureHal       pid-1280                             I  notifySurfaceflingerFpsSwitch: fps 120 match mode
2023-09-04 10:23:56.708  1280-1970  DisplayFeatureHal       pid-1280                             D  notifyKernelFpsSwitch: current_fps(120) SmartFpsEnable = 1
2023-09-04 10:23:56.709  1350-1811  RefreshRateConfigs      pid-1350                             D  TouchBoost - choose Fps: 60.00 Hz
2023-09-04 10:23:56.711  1350-2334  MI-SF                   pid-1350                             D  enableSmartDfps, fps:120
2023-09-04 10:23:56.712  1350-2334  MI-SF                   pid-1350                             D  set fps setDesiredDisplayConfigSpecs:fps = 120 result = 0
2023-09-04 10:23:56.712  1265-1265  ANDR-PERF-HINTEXT       pid-1265                             E  Offload new thread from FpsUpdatePreAction
2023-09-04 10:23:56.740  2219-2264  DisplayDeviceRepository pid-2219                             I  Display device changed: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:4630946736638489729", 1080 x 2400, modeId 2, defaultModeId 1, supportedModes [{id=1, width=1080, height=2400, fps=60.000004, alternativeRefreshRates=[90.0, 120.00001]}, {id=2, width=1080, height=2400, fps=120.00001, alternativeRefreshRates=[60.000004, 90.0]}, {id=3, width=1080, height=2400, fps=90.0, alternativeRefreshRates=[60.000004, 120.00001]}], colorMode 0, supportedColorModes [0, 7, 9], hdrCapabilities HdrCapabilities{mSupportedHdrTypes=[1, 2, 3, 4], mMaxLuminance=420.0, mMaxAverageLuminance=210.1615, mMinLuminance=0.323}, allmSupported false, gameContentTypeSupported false, density 440, 394.705 x 394.307 dpi, appVsyncOff 1000000, presDeadline 13333332, cutout DisplayCutout{insets=Rect(0, 80 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(513, 0 - 567, 80), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.75} cutoutSpec={M 0,0 H -27 V 80 H 27 V 0 H 0 Z} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, touch INTERNAL, rotation 0, type INTERNAL, address {port=129, model=0x40446d856b1774}, deviceProductInfo DeviceProductInfo{name=, manufacturerPnpId=QCM, productId=1, modelYear=null, manufactureDate=ManufactureDate{week=27, year=2006}, connectionToSinkType=0}, state ON, frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 1.0, brightnessDefault 0.07484738, roundedCorners RoundedCorners{[RoundedCorner{position=TopLeft, radius=106, center=Point(106, 106)}, RoundedCorner{position=TopRight, radius=106, center=Point(974, 106)}, RoundedCorner{position=BottomRight, radius=106, center=Point(974, 2294)}, RoundedCorner{position=BottomLeft, radius=106, center=Point(106, 2294)}]}, FLAG_ALLOWED_TO_BE_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, installOrientation 0}
2023-09-04 10:23:56.761  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 255
2023-09-04 10:23:56.761  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 255
2023-09-04 10:23:56.909  1350-2334  MI-SF                   pid-1350                             D  [FpsStat] construct...
2023-09-04 10:23:56.985  1350-2334  MI-SF                   pid-1350                             D  [FpsStat] construct...
2023-09-04 10:23:58.331  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((10, 32, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815838.345  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 49.000000
                                                                                                  
                                                                                                  [          1693815838.345  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   73.294351   (avg 69.153206)
                                                                                                  
                                                                                                  [          1693815838.345  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   15.350842ms (avg 16.341073ms)
2023-09-04 10:23:59.350  1350-1811  RefreshRateConfigs      pid-1350                             D  TouchBoost - choose Fps: 120.00 Hz
                                                                                                  
                                                                                                  [          1693815839.352  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 108.000000
                                                                                                  
                                                                                                  [          1693815839.352  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   66.094784   (avg 62.636608)
                                                                                                  
                                                                                                  [          1693815839.352  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   15.549993ms (avg 16.690974ms)
2023-09-04 10:23:59.354  1350-1350  MI-SF                   pid-1350                             D  [FpsStat] distroy...
2023-09-04 10:23:59.375  1350-2334  MI-SF                   pid-1350                             D  [FpsStat] construct...
2023-09-04 10:23:59.505  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 85
2023-09-04 10:23:59.505  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 85
2023-09-04 10:24:00.335  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((13, 96, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815840.350  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 165.000000
                                                                                                  
                                                                                                  [          1693815840.350  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   61.652618   (avg 66.008481)
                                                                                                  
                                                                                                  [          1693815840.350  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   18.770108ms (avg 17.665341ms)
2023-09-04 10:24:00.519  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 71
2023-09-04 10:24:00.519  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 71
2023-09-04 10:24:01.330  7714-8136  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((10, 140, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815841.343  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 223.000000
                                                                                                  
                                                                                                  [          1693815841.343  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   66.973147   (avg 71.288675)
                                                                                                  
                                                                                                  [          1693815841.343  7714: 8138 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   15.819051ms (avg 16.597016ms)
2023-09-04 10:24:01.544  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 69
2023-09-04 10:24:01.544  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 69
2023-09-04 10:24:01.938  1350-1811  RefreshRateConfigs      pid-1350                             D  TouchBoost - choose Fps: 120.00 Hz
2023-09-04 10:24:01.949  1350-1350  MI-SF                   pid-1350                             D  [FpsStat] distroy...
2023-09-04 10:24:02.324  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((17, 166, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815842.337  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 276.000000
                                                                                                  
                                                                                                  [          1693815842.337  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   51.635665   (avg 51.957900)
                                                                                                  
                                                                                                  [          1693815842.337  7714: 8136 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   19.857607ms (avg 20.301542ms)
2023-09-04 10:24:02.569  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 73
2023-09-04 10:24:02.569  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 73
2023-09-04 10:24:03.345  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((13, 197, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815843.362  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 329.000000
                                                                                                  
                                                                                                  [          1693815843.362  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   54.295766   (avg 59.263785)
                                                                                                  
                                                                                                  [          1693815843.362  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   19.681777ms (avg 18.386005ms)
2023-09-04 10:24:03.610  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 67
2023-09-04 10:24:03.610  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 67
2023-09-04 10:24:04.321  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((13, 227, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815844.335  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 382.000000
                                                                                                  
                                                                                                  [          1693815844.335  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   62.312013   (avg 62.775804)
                                                                                                  
                                                                                                  [          1693815844.335  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   18.929750ms (avg 18.573612ms)
2023-09-04 10:24:04.618  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 68
2023-09-04 10:24:04.618  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 68
2023-09-04 10:24:05.336  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((18, 254, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815845.352  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 437.000000
                                                                                                  
                                                                                                  [          1693815845.352  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   55.305835   (avg 53.661988)
                                                                                                  
                                                                                                  [          1693815845.352  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   18.369313ms (avg 19.149625ms)
2023-09-04 10:24:06.330  7714-8137  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((14, 296, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815846.342  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 491.000000
                                                                                                  
                                                                                                  [          1693815846.342  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   52.692660   (avg 55.557600)
                                                                                                  
                                                                                                  [          1693815846.342  7714: 8137 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   19.546825ms (avg 19.946703ms)
2023-09-04 10:24:06.684  1280-1971  DisplayFeatureHal       pid-1280                             D  threadFuncBacklight: smart fps FrameStat: 67
2023-09-04 10:24:06.684  1280-1970  DisplayFeatureHal       pid-1280                             I  Read from driver -- fps_stat = 67
2023-09-04 10:24:07.332  7714-8138  interstellar            gg.interstellar.wallet.android       I  wgpu_core::device: Created texture Valid((18, 321, Vulkan)) with TextureDescriptor { label: None, size: Extent3d { width: 640, height: 360, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: R8Unorm, usage: TextureUsages(COPY_DST | TEXTURE_BINDING), view_formats: [] }
                                                                                                  
                                                                                                  [          1693815847.349  7714: 8139 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_count                     : 544.000000
                                                                                                  
                                                                                                  [          1693815847.349  7714: 8139 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- fps                             :   60.108648   (avg 56.872257)
                                                                                                  
                                                                                                  [          1693815847.349  7714: 8139 I/event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic- frame_time                      :   18.172399ms (avg 19.294154ms)

Obviously we can't guarantee a performance target on any and all devices, so we should have been clearer in the grant and specified "on our test devices".

As for the performance on a Pixel 7a, this is definitely weird.
What kind of score does it get on 3dmark Wildlife? I get 4268, and from what I can see it should be quite a lot more powerful...

  • was it running with some kind of battery saver enabled? (global and maybe app specific if applicable)
  • what kind of setting for the refresh rate was used? (eg 90hz, 60hz, etc)

The fact that the FPS are unstable(varying by a factor of almost 2x) would suggest there is something wrong.
NOTE: you should disregard the first and last entry(at least) if you want to have "good data"; or pause logcat instead of closing the app.

Do you think this can be further improved? The test device was a Pixel 7a, a recent device that was released just months ago.

Unfortutely no, not easily.

  • more parts could be multithreaded at a lower level; but it is already both multithreaded at a higher level, and partly at lower levels, so I am not sure what could be gained from it
  • quite a lot of optimizations have already been done cf these commits(more spefically the "[opt]"-named ones)
  • at low level we are missing the classic "Free XOR" optimization; but the circuits used for the M1 have (almost) no XOR gates so that would not help. It could help for the second milestone b/c it will use different circuits.

@n-prat
Copy link
Contributor

n-prat commented Sep 4, 2023

PS

  • for the FPS data: avoid using the app/touching the screen; ie start logcat, start the app, clear logcat, go to pinpad screen, wait for 10+s, pause logcat
  • for the bench score: 3dmark is probably too GPU oriented, so not really relevant; What is the geekbench score? I get SC 1087 + MC 3065.

@takahser
Copy link
Contributor

Putting this on hold after a lengthy discussion and debug session(s) on Element. The main problem is that the FPS is unstable, hence the 1. | Garble Circuit pallet update spec isn't satisfied:

We will rewrite the garbled circuit evaluation scheme to target at least 60 fps (..)

The grantee is currently investigating the issue.

Also, for the record, the grantee may release M2 before the approval of M1. The following was agreed upon:

The final approval of M2 would be dependent on the approval of M1, because M2 by itself wouldn't be useful. Apart from that, M2 could be fully evaluated, though.

@nashjl
Copy link
Contributor Author

nashjl commented Sep 27, 2023

@takahser following is the solution resulting of our investigation.

Investigation results:
The primary aim of the M1 milestone is to demonstrate our ability to achieve a minimum of 60 frames per second (fps) on an Android device. To accomplish this, we have introduced a novel garbling scheme and applied numerous low-level optimizations. We successfully reached our target of 60 fps on our Android development device, the Xiaomi Poco F3.

However, it's important to note that guaranteeing a minimum of 60 fps on every Android device is not feasible due to variations in CPU and GPU capabilities. Additionally, certain Android operating systems may have unique characteristics related to throttling and energy management which could affect performance.

We observed that some devices and Android OSs with CPU and GPU capabilities comparable to our Xiaomi test device, struggle to achieve the target framerate. For instance, the Pixel 7a, despite being slightly more potent than the Poco F3, is unable to reach 60 fps.

Nonetheless, we have evidence that even on devices where the framerate underperforms relative to the computing power, the target framerate can still be achieved. For example, on a realme X50 Pro, a run that initially averaged 33/40 fps could eventually stabilize at approximately 75 fps after displaying an arbitrary number of frames. This stable optimal performance state confirms that our optimized garbled circuit evaluator implementation can achieve the target.

This also indicates that the issue does not lie with our garbled circuit evaluator's performance, but rather with specific Android OS behaviors related to throttling and energy consumption management that are beyond our control.

IMPORTANT: there is no fps instability. fps instability occurred only when we deactivated vsync for test purpose.

Option considered:

We can easily reach 60 FPS by reducing the size of the circuit. Here are three options that comply with our current M1 specifications.

Option 1: Reduce the screen resolution. This could significantly impact the user experience.

Option 2: Keep the same resolution but reduce the circuit size by excluding the transaction message from the circuit and adding a cryptographic mask instead. This could potentially decrease the security of the solution, as it might allow an attacker with significant resources to modify the transaction message.

Option 3: Keep the same resolution but reduce the circuit size by slightly cropping the size of the window that displays the pixels resulting of the garbled circuit evaluation. It does not impact either the user experience or the security of our scheme.

We have chosen the third option with the following results:

Here is a schema to explain what we did:
325f454f-94aa-45c7-b7f5-c09700f22c69

Before: we were "drawing"(ie computing) the pixels everywhere in blue rectangle even it they were always only background
Now: we draw only the green rectangle; which is spot-on half the pixels

That gets us around x2 FPS on our test devices:

Xiaomi Poco F3.

09-27 17:32:36.163 29548 30476 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   96.875141   (avg 92.071191)
09-27 17:32:37.156 29548 30475 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :  114.898611   (avg 114.016894)
09-27 17:32:38.162 29548 30476 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :  115.386405   (avg 112.928958)
09-27 17:32:39.162 29548 30476 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :  104.291764   (avg 104.819265)
09-27 17:32:40.158 29548 30477 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :  103.315639   (avg 102.274359)
09-27 17:32:41.166 29548 30476 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   92.115020   (avg 92.749704)
09-27 17:32:42.171 29548 30477 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   88.808374   (avg 98.122488)
09-27 17:32:43.176 29548 30478 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   87.184991   (avg 90.030166)
09-27 17:32:44.158 29548 30475 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   98.291198   (avg 99.400817)
09-27 17:32:45.159 29548 30476 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   94.890122   (avg 92.960583)
09-27 17:32:46.167 29548 30475 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   87.732788   (avg 101.752655)
09-27 17:32:47.170 29548 30475 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   89.500870   (avg 92.402826)
09-27 17:32:48.157 29548 30478 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                             :   88.197381   (avg 89.303826)

Realme X50 Pro (that shows the same OS limitation issues as the Pixel 7a)

09-27 17:46:24.372 22304 24139 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   65.594943   (avg 66.588287)
09-27 17:46:25.400 22304 24140 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   65.336458   (avg 70.312633)
09-27 17:46:26.387 22304 24143 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   71.893053   (avg 74.710002)
09-27 17:46:27.369 22304 24142 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   63.121986   (avg 63.955085)
09-27 17:46:28.369 22304 24139 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   64.073210   (avg 62.606388)
09-27 17:46:29.400 22304 24139 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   82.231432   (avg 76.484293)
09-27 17:46:30.390 22304 24142 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   60.665854   (avg 62.774598)
09-27 17:46:31.387 22304 24141 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   65.897194   (avg 63.451098)
09-27 17:46:32.377 22304 24139 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   61.471275   (avg 63.028926)
09-27 17:46:33.372 22304 24140 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   61.174416   (avg 66.696880)
09-27 17:46:34.372 22304 24139 I event /home/pratn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_diagnostic-0.11.2/ fps                    
         :   87.383296   (avg 70.280165)

Hopefully you get the same improvement on your test device, and reach the coveted 60 FPS target.
You can download the updated app to test it.

@takahser
Copy link
Contributor

@nashjl ok that sounds reasonable. Let me check with my colleagues if somebody can test it for me, since it won't run on my 32bit Xiaomi phone.

@semuelle
Copy link
Member

@nashjl & @takahser: The app now crashes on my emulator before the input screen. But on the Pixel 7a it works better now (apart from crashing after input):

fps                             :   50.703512   (avg 49.793978)
fps                             :   67.979569   (avg 64.117272)
fps                             :   63.727446   (avg 64.159691)
fps                             :   58.629709   (avg 63.926934)
fps                             :   63.768887   (avg 65.668349)
fps                             :   69.673777   (avg 64.491483)
fps                             :   56.816818   (avg 57.866468)
fps                             :   58.063973   (avg 58.273861)
fps                             :   60.036427   (avg 62.703114)
fps                             :   58.142127   (avg 50.234987)

@n-prat
Copy link
Contributor

n-prat commented Sep 28, 2023

The app now crashes on my emulator before the input screen.

Which apk? You can install androidApp-arm64-release-f3abd693c9.apk but it will crash when starting the renderer. androidApp-x86_64-debug-f3abd693c9.apk should work fine(at least on Windows & Linux, Android API 31 & 33).

apart from crashing after input

Crashing? Or just closing? Right now, the app is supposed to close after entering a code. If you see the toasts "Validating transaction..." then "Transaction done!" everything is fine.

If it is indeed a crash: do you have a stacktrace?

@semuelle
Copy link
Member

semuelle commented Oct 1, 2023

Right now, the app is supposed to close after entering a code. If you see the toasts "Validating transaction..." then "Transaction done!" everything is fine.

Then everything is fine. :)

Indeed, I did not think to use the x86 build for the emulator.

Copy link
Contributor

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nashjl thanks for the update and thanks for testing @semuelle - I'm glad to see progress here!

@nashjl regarding the missing docker deliverable, I agree that it makes sense but could you amend your proposal in accordance to that?

@takahser takahser removed the on hold label Oct 2, 2023
Copy link
Contributor

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nashjl I've added my evaluation here. I think we can ignore the clippy issues (unless you have an easy way to fix it) but the failing test should be fixed. Also, the docker deliverable can be removed after you amend the contract. LMK if you have any further questions.

@n-prat
Copy link
Contributor

n-prat commented Oct 3, 2023

Thanks for the evaluation. I agree a lot of work need to be done wrt comments/docs/etc.

  • clippy: these are not really clippy warnings; cargo clippy -- -D warnings indeed return Finished dev [unoptimized + debuginfo] target(s) in 0.90s (also that runs in CI cf below so it would not pass if these were warnings); cf eg this issue
  • There is no failing test in CI? And that should be using the latest Rust version and dependencies. Maybe you need a cargo update if you had tested a previous version of lib-garble-rs(or rm Cargo.lock and re-run cargo test).

@takahser
Copy link
Contributor

takahser commented Oct 4, 2023

@n-prat even when using cargo clippy -- -D warnings the output remains the same.

Here are the versions I use:

% cargo --version            
cargo 1.70.0 (ec8a8a0ca 2023-04-25)

% rustc --version
rustc 1.70.0 (90c541806 2023-05-31)

% rustup toolchain list
stable-aarch64-apple-darwin (default)

What versions and toolchain are you using in your pipeline?

@n-prat
Copy link
Contributor

n-prat commented Oct 4, 2023

Sorry, I was not clear.

These are "log warnings" but not "clippy warnings" for lack of a better term = they have nothing to do with code quality etc.
Indeed clippy returns 0 which means "everything is fine"; it that was not case the CI would be red.
You can check with eg cargo clippy -- -D warnings && echo $?(it should write 0).

The CI is always using the latest stable, in this case info: latest update on 2023-09-19, rust version 1.72.1 (d5c2e9c34 2023-09-13).
And locally:

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.72.0 (5680fa18f 2023-08-23)

Copy link
Contributor

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@n-prat @nashjl I wasn't able to make the code work on my laptop, despite trying different toolchains. However, when testing it on a ubuntu machine on AWS it worked. Hence I decided to accept your delivery, you can find the final, accepted evaluation here.

@takahser takahser merged commit 0583965 into w3f:master Oct 5, 2023
3 checks passed
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

🪙 Please fill out the invoice form in order to initiate the payment process. Thank you!

@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Congratulations on completing the first milestone of this grant! As part of the Grants Program, we want to help grant recipients acknowledge their grants publicly. To that end, we've created a badge for projects that successfully deliver their first milestone. Please use the badge only in reference to the work that has been completed as part of this grant, so please do not display it on your team or project's homepage unless accompanied by a short description of the grant. Furthermore, you're now welcome to announce the grant publicly. Please remember to observe the foundation's guidelines in doing so. If you haven't already, reach out to [email protected] for feedback on your announcement and cross-promotion.

Thank you for your contribution, and good luck! If you have any remaining milestone, let us know if you encounter any delays by leaving a comment on the application PR or submitting an amendment.

@nashjl
Copy link
Contributor Author

nashjl commented Oct 9, 2023

Hi @takahser,
We got a bot message to fill out the invoice form. However, it has already been done.
Could you please confirm to us that you have well received the invoice for this milestone?
Thanks a lot

@semuelle
Copy link
Member

semuelle commented Oct 9, 2023

@nashjl I can confirm that we have received your invoice and that it is currently being processed. We recently switched from asking for the invoice at submission to asking after approval, hence the overlap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants