-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Mapbox library causes crash on Replicant #496
Comments
Thanks for reporting!
Can you please provide a stacktrace of the crash via logcat? Thanks!
|
08-05 17:28:13.399 D/libEGL (19619): Emulator without GPU support detected. Fallback to software renderer. Never done that before. But i think i got the right part of the log. Please tell me if you need more. |
Thanks that looks like the right part and unfortunately is an issue with the map library. Seems that it thinks that the Replicant is an Emulator without GPU (OpenGL) support. You could check if this is known upstream. |
I think that's because Replicant relies on the android software renderer for graphics rendering. "By default, Replicant devices use the Android software renderer which uses the CPU for graphics rendering. The dedicated graphics processor (GPU) cannot be used with Replicant because for none of the currently supported devices, a fully free software implementation does exist that can make use of it (see GraphicsResearch). The software rendering is the reason why Replicant devices appear slow at times and it is responsible for a lot of crashes that can happen during usage." https://redmine.replicant.us/projects/replicant/wiki/Graphics It would require non-free software to use the dedicated gpu. I hope it's possible to make it work with the software renderer (like version 1.1.9). I love this app and really appreciate the work that goes in to it! |
Yes, that sounds like the reason! You could help by looking into the upstream library whether there's something we can do about it in Transportr. |
I think this is the same issue: Referencing this issue, which says it's fixed in upstream: Is transportr using the latest version of mapbox-gl-native? If so it may not be fixed and the issue will need to be reopened. |
It is not clear in which version this should have been fixed. The comment was from Jan 4. Jan 10 they released v5.3.1. Transportr currently uses 5.5.0 which was released Mar 1, so it is unlikely to be fixed. There's a demo app that uses 6.3.0. Maybe you can check if that crashes. |
Unfortunately it still crashes with 6.3.0. So i guess they haven't fixed it yet.
|
I have submitted the issue to mapbox-gl-native: |
This issue might get resolved with the switch to maplibre: #880 |
I'll close this issue for now, feel free to reopen if the issue is still there on the latest version. |
Since version 2.0 (including the latest 2.0.2) the app crashes when a transportation network is selected. Version 1.1.9 works perfectly. Reinstalling/removing data doesn't help.
OS: Replicant 6.0003
The text was updated successfully, but these errors were encountered: