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

Map stuck after a few gestures performed #3140

Open
ManoyloK opened this issue Jan 11, 2025 · 5 comments
Open

Map stuck after a few gestures performed #3140

ManoyloK opened this issue Jan 11, 2025 · 5 comments
Labels

Comments

@ManoyloK
Copy link

MapLibre Android Version

11.8.0

Android SDK Version

7.1.2

Device

Xiaomi Redmi 4a

What happened?

Map stuck

Steps to reproduce

Just swipe the map in any direction or change zoom

Renderer

No response

Relevant log output

2025-01-11 16:11:30.544 18861-18931 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0x400c0907 (IOCTL_KGSL_DEVICE_WAITTIMESTAMP_CTXTID) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.544 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0x400c0907 (IOCTL_KGSL_DEVICE_WAITTIMESTAMP_CTXTID) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.544 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.544 18861-18931 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.544 18861-18931 Adreno-EGLSUB             <updater_thread:468>: waitFunc failed
2025-01-11 16:11:30.544 18861-18918 Adreno-ES20               <rb_timestamp_wait_on_timestamp:347>: gsl_device_waittimestamp failed in rb_timestamp_wait_on_timestamp
2025-01-11 16:11:30.551 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc0200933 (IOCTL_KGSL_TIMESTAMP_EVENT) failed: errno 22 Invalid argument
2025-01-11 16:11:30.552 18861-18918 Adreno-GSL                <ioctl_kgsl_syncobj_create:3358>: (5a, 7, 2550) fail 22 Invalid argument
2025-01-11 16:11:30.552 18861-18918 Adreno-ES20               <core_glFenceSync:162>: GL_OUT_OF_MEMORY
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.553 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <gsl_ldd_control:467>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
2025-01-11 16:11:30.554 18861-18918 Adreno-GSL                <log_gpu_snapshot:376>: panel.gpuSnapshotPath is not set.not generating user snapshot
2025-01-11 16:11:30.554 18861-18918 Adreno-EGL                <qeglDrvAPI_eglSwapBuffers:3794>: EGL_CONTEXT_LOST
2025-01-11 16:11:30.557 18861-18918 Mbgl-EGLConfigChooser     In emulator: false
2025-01-11 16:11:30.559 18861-18918 Adreno-ES20               <get_gpu_clk:229>: open failed: errno 13
2025-01-11 16:11:30.615 18861-18918 MapLibreSurfaceView       eglMakeCurrent failed: EGL_SUCCESS
2025-01-11 16:11:36.089 18861-18868 art                       Debugger is no longer active
2025-01-11 16:11:36.089 18861-18868 art                       Starting a blocking GC Instrumentation

Additional context

I use org.maplibre.gl:android-sdk
It works fine on SDK version 10.3.1, after upgrading to 11+ it crashed at the start till version 11.8.0, at the last version app runs but after a few gestures it's stuck
It's reproducible on a sample app from your documentation

@louwers
Copy link
Collaborator

louwers commented Jan 11, 2025

Thanks for the report. I can't confirm it since I don't have a Xiaomi Redmi 4a. Looks like you are running out of memory.

In theory that phone with that Android version should be supported.

@ManoyloK
Copy link
Author

@louwers Thanks for your answer) Would that mean that the new version of SDK consumes more memory and we can do nothing about it? Or can I provide more info to investigate the issue?

@ManoyloK
Copy link
Author

@louwers I found a similar issue was fixed in Mapbox lib a while ago, may that help mapbox/mapbox-gl-native#15978?

@louwers
Copy link
Collaborator

louwers commented Jan 14, 2025

@ManoyloK Looks like this issue is caused by a driver bug. There is not much we can do, because we need VAOs for rendering.

I recommend to try out the Vulkan release to see if that fixes the problem.

@ManoyloK
Copy link
Author

This device does not support vulkan, unfortunately (

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

No branches or pull requests

2 participants