Re: App for vector renderer maps, using OpenGL ES 2.0
Demo works on Xiaomi Redmi Note 4, on 2.1.2.3.
|
Re: App for vector renderer maps, using OpenGL ES 2.0
@Zeta, I wonder if you could try to run the demo from
http://repo.merproject.org/obs/home:...mv7hl/armv7hl/ I tried to recompile qmapboxgl with the debug flag and remove ndebug option. Maybe your backtrace will have a bit more info then and we could submit it into the issue at github? |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
So, first removing all previous *mapbox* programs, changing the repo to maps-debug, and installing the new version (pkcon install.... like previous tries), I still get a crash but with a simple null pointer as the source: Code:
(gdb) bt full If the version I have localy match the one you use, that would mean something like this causes the crash (from "mapbox-gl-native/src/mbgl/gl/gl.cpp") : Code:
void checkError(const char* cmd, const char* file, int line) { What could help is to find a way to resolve the "No symbol table info available." messages, to be able to see local variables at each step. I have installed as much a I can (-debuginfo, -debugsource), but something is still missing. |
Re: App for vector renderer maps, using OpenGL ES 2.0
Zeta, thank you!
Throwing exceptions works quite nicely - the app dumps core on them with the corresponding exception message on the terminal. However, it maybe disturbed with static stdc++ builds. So, I made a new demo build with shared stdc++ linking under https://build.merproject.org/package...pbox-demo-sfos - maybe we'll get exception string that way. As for how to get rid of these missing symbols - don't know. Somehow I cannot master that :) Meanwhile, I am preparing the plugin for release. Its API is documented now in the repository and I have just to test gesture area separation before releasing the plugin. |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
So it works on the Jolla 1 with this style. So the crash we had before could be related to GPU memory exhaustion when using the full style, or that there are some gl calls not done in this simplified style ? |
Re: App for vector renderer maps, using OpenGL ES 2.0
Quote:
Maybe we should try to make the same test using just QML component. I'll make a simple QML app that would display the same map. I wonder if static linking would again be a problem... I have opened a new thread with the announcement of Mapbox GL QML plugin at http://talk.maemo.org/showthread.php?p=1536584 since I think its ready now for the development. Should we move our debugging discussion over there? Edit: QML-only demo is at https://github.com/rinigus/mapbox-de...aster/qml-only . You would need the both QML files in this directory and just to run qmlscene mapbox-gl-qml.qml when they are on device |
All times are GMT. The time now is 03:35. |
vBulletin® Version 3.8.8