mapbox / mapbox/mapbox-maps-flutter

🐛 Android is exploding - GL error 0x501 - Flutter 3.22.0

Open
#556 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Android emulator produce several annoying behaviors :
- app stuck in white screen
- dark blue background instead of the map
- freeze/ heavy lags/fps drops

- flutter 3.22.0
- Android emulator api 34,

logs :
`E/emuglGLESv2_enc( 2463): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glGetStringi:4973 GL error 0x501`

My guess is that it has something to do with flutter latest version where they touched/optimized their rendering stuff

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the white screen, dark blue map, freezes, and frame drops on an Android emulator with API 34 and Flutter 3.22.0. Start by checking the reported GLESv2_enc GL error 0x501 alongside the rendering behavior; done means the map renders normally without the reported lag or emulator errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
computer-graphics, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.