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

[Exynos/Mali] Hand tracking apk crashes right after launching it. #104

Closed
tmnbhat opened this issue Sep 12, 2019 · 10 comments
Closed

[Exynos/Mali] Hand tracking apk crashes right after launching it. #104

tmnbhat opened this issue Sep 12, 2019 · 10 comments
Assignees
Labels
platform:android Issues with Android as Platform type:external issue Issues in external dependencies

Comments

@tmnbhat
Copy link

tmnbhat commented Sep 12, 2019

Both the regular and 3d versions of the hand tracking apk seem to be crashing on my phone. (Galaxy S10 - exynos 9910 processor).
Haven't built the app myself yet but seems like it might be specific to my phone model.

@JimWest
Copy link

JimWest commented Sep 12, 2019

The apk is crashing for me, too (Galaxy S7).

@yurymalkov
Copy link

Same thing on Exynos S10, while the app works fine on Snapdragon S10.

@jiuqiant jiuqiant added the platform:android Issues with Android as Platform label Sep 12, 2019
@jiuqiant jiuqiant assigned jiuqiant and mcclanahoochie and unassigned jiuqiant Sep 12, 2019
@mcclanahoochie
Copy link

There are currently issues with certain exynos/mali chipsets that we are working to resolve.
See also #41 (comment)
Thank you for your patience.

@mcclanahoochie mcclanahoochie changed the title Hand tracking apk crashes right after launching it. [Exynos/Mali] Hand tracking apk crashes right after launching it. Sep 12, 2019
@JimWest
Copy link

JimWest commented Sep 13, 2019

I tried to build it myself, also crashes. This is the logcat *:E output:

09-13 08:26:27.434 10704 10736 E AndroidRuntime: FATAL EXCEPTION: ExternalTextureConverter
09-13 08:26:27.434 10704 10736 E AndroidRuntime: Process: com.google.mediapipe.apps.handtrackinggpu, PID: 10704
09-13 08:26:27.434 10704 10736 E AndroidRuntime: java.lang.RuntimeException: glViewport: GL error: 0x505
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.glutil.ShaderUtil.checkGlError(ShaderUtil.java:175)      09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.glutil.GlThread.bindFramebuffer(GlThread.java:116)       09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.updateOutputFrame(ExternalTextureConverter.java:331)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.renderNext(ExternalTextureConverter.java:246)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.lambda$onFrameAvailable$0$ExternalTextureConverter$RenderThread(ExternalTextureConverter.java:210)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.components.ExternalTextureConverter$RenderThread$$Lambda$0.run(Unknown Source:4)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:789)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:98)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:164)
09-13 08:26:27.434 10704 10736 E AndroidRuntime:        at com.google.mediapipe.glutil.GlThread.run(GlThread.java:134)
09-13 08:26:27.479  3661  3681 E memtrack: Couldn't load memtrack module
09-13 08:26:27.503  3661  3683 E PhoneWindow_APM : : isCalledPackage return true
09-13 08:26:28.016  9161  9193 E PBSessionCacheImpl: sessionId[40292072215093683] not persisted.
09-13 08:26:28.537  3661  5457 E KioskModeService: There's no matched data
09-13 08:26:28.629  3661  3683 E ViewRootImpl: sendUserActionEvent() returned.
09-13 08:26:28.722  3309 10757 E Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
09-13 08:26:28.723  3309 10757 E Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
09-13 08:26:28.723  3309 10777 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -32
09-13 08:26:28.723  3309 10777 E Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)

@mgyong mgyong added the type:external issue Issues in external dependencies label Sep 18, 2019
@mgyong
Copy link

mgyong commented Sep 18, 2019

Same as #41
Closing here as TF bug

@mgyong mgyong closed this as completed Sep 18, 2019
@chuoling
Copy link
Collaborator

We (MediaPipe) will follow up with TensorFlow team and provide an update in #41.

@mgyong
Copy link

mgyong commented Nov 22, 2019

@JimWest @tmnbhat @yurymalkov Fixed bug in v0.6.5 release Can you guys checkout the v0.6.5 release and try?

@JimWest
Copy link

JimWest commented Nov 22, 2019

@JimWest @tmnbhat @yurymalkov Fixed bug in v0.6.5 release Can you guys checkout the v0.6.5 release and try?

@mgyong Yes, I can confirm that it's working now withouth crashing for me.

@tmnbhat
Copy link
Author

tmnbhat commented Nov 26, 2019

@JimWest @tmnbhat @yurymalkov Fixed bug in v0.6.5 release Can you guys checkout the v0.6.5 release and try?

Works now. Thanks! Might want to update the apk in the google drive link though.

@krullgit
Copy link

For the Samsung S20+ with Mali-G77 MP11 it is not working :(

arttupii pushed a commit to arttupii/mediapipe that referenced this issue Nov 18, 2023
…fication_update_mediapipe_library_alpha8

Image classification - update mediapipe library alpha8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:android Issues with Android as Platform type:external issue Issues in external dependencies
Projects
None yet
Development

No branches or pull requests

8 participants