The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2017-10-17
, 21:24
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#12
|
As you can see at the end of https://github.com/mapbox/mapbox-gl-native/issues/10029 , Mapbox GL developer suggested that MapboxGL hits memory bottleneck on Jolla 1.
|
2017-10-18
, 05:45
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#13
|
Alright. At least we tried ! Thanks for the time you spent on this.
Just to understand, what do you call a "standard" in this context ? A version of the mapbox GL renderer ? Of the Qt API for Mapbox GL ? Something else ?
|
2017-10-18
, 21:59
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#14
|
I looked a bit into it and this is a what I found regarding opnGL debugging https://blog.nobel-joergensen.com/20...ng-glgeterror/
To debug properly, we need OpenGL ES API Version 3.2 and use https://www.khronos.org/registry/Ope...Callback.xhtml (blog post continuation)
Alternatively, you could use glGetError, as explained in the blog post.
As for API versions, OpenGL ES 3.0 corresponds to Android 4.3 (https://en.wikipedia.org/wiki/OpenGL_ES)
So, out of luck here as well on older devices like J1
|
2017-11-27
, 07:39
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#15
|
The Following 14 Users Say Thank You to rinigus For This Useful Post: | ||
|
2017-11-28
, 21:11
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#16
|
The Following 4 Users Say Thank You to m4r0v3r For This Useful Post: | ||
|
2017-11-29
, 04:37
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#17
|
Would following https://github.com/rinigus/mapbox-demo-sfos as an example be okay for a project? trying to make a uber port atm
The Following 3 Users Say Thank You to rinigus For This Useful Post: | ||
|
2017-11-29
, 21:18
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#18
|
The Following 2 Users Say Thank You to m4r0v3r For This Useful Post: | ||
|
2017-11-29
, 22:45
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#19
|
22:41:31: Running steps for project harbour-uber...
22:41:31: Start Build Engine: The "Sailfish OS Build Engine" virtual machine is already running. Nothing to do.
22:41:31: Starting: "/home/mgh01/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-2.1.3.7-i486/qmake" /home/mgh01/Projects/harbour-uber/harbour-uber.pro -spec linux-g++-32 CONFIG+=debug CONFIG+=qml_debug
No provider of 'opt-gcc6' found.
No provider of 'qmapboxgl' found.
Building target platforms: i486-meego-linux-gnu
Building for target i486-meego-linux-gnu
error: Failed build dependencies:
opt-gcc6 is needed by harbour-uber-0.1-1.i486
qmapboxgl is needed by harbour-uber-0.1-1.i486
22:41:32: The process "/home/mgh01/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-2.1.3.7-i486/qmake" exited with code 1.
Error while building/deploying project harbour-uber (kit: SailfishOS-2.1.3.7-i486 (in Sailfish OS Build Engine))
When executing step "qmake"
22:41:32: Elapsed time: 00:01.
sb2 -t SailfishOS-2.1.3.7-i486 -m sdk-install -R zypper in
The Following User Says Thank You to m4r0v3r For This Useful Post: | ||
|
2017-11-29
, 23:29
|
Posts: 1,746 |
Thanked: 1,832 times |
Joined on Dec 2010
|
#20
|
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OzqhiF
/opt/gcc6/bin/g++ -c -m32 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -msse -msse2 -march=i686 -mfpmath=sse -mtune=generic -fno-omit-frame-pointer -fasynchronous-unwind-tables -std=gnu++0x -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_LOCATION_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../harbour-uber -I. -I../harbour-uber/o2/src -I../harbour-uber/mapbox-gl-qml/include -I../harbour-uber/mapbox-gl-qml/src -isystem /usr/include/sailfishapp -isystem /usr/include/mdeclarativecache5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtLocation -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtPositioning -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/share/qt5/mkspecs/linux-g++-32 -o qquickitemmapboxgl.o ../harbour-uber/mapbox-gl-qml/src/qquickitemmapboxgl.cpp
In file included from /usr/include/qt5/mbgl/util/constants.hpp:3:0,
from ../harbour-uber/mapbox-gl-qml/src/qquickitemmapboxgl.cpp:47:
/usr/include/qt5/mbgl/util/chrono.hpp:36:49: error: 'enable_if_t' in namespace 'std' does not name a template type
template <class Rep, class Period, class = std::enable_if_t<
^~~~~~~~~~~
/usr/include/qt5/mbgl/util/chrono.hpp:36:60: error: expected '>' before '<' token
template <class Rep, class Period, class = std::enable_if_t<
^
/usr/include/qt5/mbgl/util/chrono.hpp:39:1: error: expected unqualified-id before '{' token
{
^
RPM build errors:
make: *** [qquickitemmapboxgl.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.OzqhiF (%build)
Bad exit status from /var/tmp/rpm-tmp.OzqhiF (%build)
23:28:57: The process "/home/mgh01/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build Engine/SailfishOS-2.1.3.7-i486/make" exited with code 1.
Error while building/deploying project harbour-uber (kit: SailfishOS-2.1.3.7-i486 (in Sailfish OS Build Engine))
When executing step "Make"
23:28:57: Elapsed time: 00:05.
The Following User Says Thank You to m4r0v3r For This Useful Post: | ||
Unfortunately, the callbacks designed to help with the debugging of openGL errors were introduced only in the latest standard, not available for J1 either.
So, if you needed an excuse to go out and get a newer device for SFOS - here it is.