<div dir="ltr"><div class="gmail_default" style="font-size:small">Sebastian and Guido,<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">thanks! I am somewhat in an odd situation with Pure Maps. While application works, its requirements are just not matching expected L5 environment. Namely, positioning is expected to be provided via geoclue2 which is supported by Qt only from version 5.12. Debian currently is on 5.11 (stable/testing/unstable branches). Flatpak platform is based on 5.12 Qt, but is lacking L5 support. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">There is a work underway to get Qt 5.12 working on Debian, but I am not sure when will that reach unstable/testing. Right now, I can see its in Debian experimental. I wonder, when a package will reach testing, will it be promoted to PureOS repos used for L5 as well. In other words, is there any hope of getting it into L5 in some reasonable amount of time?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since Flatpak support is planned anyway, its probably wise to look into it. At least that work would be useful in longer term, if I understand it correctly. In contrast, there is probably no point in getting geoclue1 supported by L5 to keep older Qt libs happy. So, please ping when the kernel interfaces are there.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 15, 2019 at 7:22 PM Guido Günther <<a href="mailto:agx@sigxcpu.org">agx@sigxcpu.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
On Thu, Aug 15, 2019 at 11:38:34AM +0000, Rinigus via Librem-5-dev wrote:<br>
> Guido,<br>
> <br>
> That's great! I know that there was a plan to incorporate this work<br>
> into flatpak platform. Is there any hope to get it before L5 release?<br>
> If nobody has looked into it, maybe I can readup on the topic and see<br>
> how such extension of flatpak platform should be made.<br>
<br>
I hope this lands in mesa 19.3 (to be released in November) so it might<br>
make sense to fix the runtime but the kernel interfaces need to land<br>
first, i'll ping once that happens.<br>
Cheers,<br>
-- Guido<br>
<br>
> <br>
> Cheers <br>
> <br>
> Rinigus<br>
> <br>
> On Wednesday, 14 August 2019, Guido Günther wrote:<br>
> > Hi,<br>
> > On Thu, Jul 25, 2019 at 01:59:47PM +0300, rinigus via Librem-5-dev wrote:<br>
> > > Guido,<br>
> > > <br>
> > > thanks a lot! Looks like performance is decent as well - which is great to<br>
> > > know<br>
> > <br>
> > And with the recent upsream work by Lucas Stach on the kernel and mesa<br>
> > side (<a href="https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1559" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1559</a>)<br>
> > scrolling around for a while does not freeze anymore so we're getting<br>
> > there too.<br>
> > <br>
> > Cheers,<br>
> > -- Guido<br>
> > <br>
> > > <br>
> > > Rinigus<br>
> > > <br>
> > > On Thu, Jul 25, 2019 at 1:17 PM Guido Günther <<a href="mailto:agx@sigxcpu.org" target="_blank">agx@sigxcpu.org</a>> wrote:<br>
> > > <br>
> > > > Hi,<br>
> > > > On Thu, Jul 25, 2019 at 09:43:20AM +0300, rinigus via Librem-5-dev wrote:<br>
> > > > > Morning,<br>
> > > > ><br>
> > > > > thanks to Angus who was debugging the applications and there is a major<br>
> > > > > progress, but we are not yet in the perfect position.<br>
> > > > ><br>
> > > > > As before, QML simple apps (hello world, raster map tiles) work.<br>
> > > > ><br>
> > > > > Mapbox GL based map viewer with QML plugin now shows the map on start.<br>
> > > > Its<br>
> > > > > possible to zoom and pan, but Angus suspects that there is a memory leak<br>
> > > > > somewhere. On each operation more memory was consumed until it gets full<br>
> > > > > and then app freezes. He observed that CPU usage of 1 CPU went to 100%<br>
> > > > and<br>
> > > > > the whole system was effectively frozen. This is in contrast to Sailfish<br>
> > > > > and desktop Linux, as far as I can tell.<br>
> > > ><br>
> > > > We're leaking BOs in our current texture code for sure so it doesn't<br>
> > > > surprise me. I have revising that part on my todo list after finishing<br>
> > > > some other things.<br>
> > > ><br>
> > > > > Guido requested "one-liner" or something simple for further testing. The<br>
> > > > > test described below is on the current version of Mapbox GL library. So,<br>
> > > > I<br>
> > > > > assume that something is wrong on devkit side and not in the version of<br>
> > > > > Mapbox GL that I am using (I can explain the differences and reasons for<br>
> > > > > using it as it is, but its probably now irrelevant).<br>
> > > > ><br>
> > > > > So, the test, all run in the same shell session:<br>
> > > > ><br>
> > > > > 1: Install dependencies (not 100% sure if all is needed, but that worked)<br>
> > > > ><br>
> > > > > sudo apt-get install qt5-default qtwayland5 curl automake libtool cmake<br>
> > > > > python-pip libsqlite3-dev libqt5opengl5-dev libqt5sql5-sqlite<br>
> > > > ><br>
> > > > > 2: clone the repo<br>
> > > > ><br>
> > > > > git clone <a href="https://github.com/mapbox/mapbox-gl-native.git" rel="noreferrer" target="_blank">https://github.com/mapbox/mapbox-gl-native.git</a><br>
> > > > ><br>
> > > > > 3: prepare for build<br>
> > > > ><br>
> > > > > cd mapbox-gl-native<br>
> > > > > mkdir build && cd build<br>
> > > > ><br>
> > > > > 4: build<br>
> > > > ><br>
> > > > > cmake -DMBGL_PLATFORM=qt -DWITH_QT_DECODERS=ON -DWITH_QT_I18N=ON<br>
> > > > > -DWITH_NODEJS=OFF ..<br>
> > > > > make mbgl-qt<br>
> > > > ><br>
> > > > > 5: run test (token will be sent separately)<br>
> > > > ><br>
> > > > > export MAPBOX_ACCESS_TOKEN=<br>
> > > > > ./mbgl-qt -platform wayland<br>
> > > > ><br>
> > > > > The test application should display map of Helsinki. You should be able<br>
> > > > to<br>
> > > > > zoom & pan the map.<br>
> > > ><br>
> > > > that worked nicely:<br>
> > > ><br>
> > > > <a href="https://honk.sigxcpu.org/tmp/mapbox-gl-native.webm" rel="noreferrer" target="_blank">https://honk.sigxcpu.org/tmp/mapbox-gl-native.webm</a><br>
> > > ><br>
> > > > now we have a rather simple test case where we can produce traces<br>
> > > > from. Thanks a lot.<br>
> > > > Cheers,<br>
> > > > -- Guido<br>
> > > ><br>
> > > ><br>
> > <br>
> > > _______________________________________________<br>
> > > Librem-5-dev mailing list<br>
> > > <a href="mailto:Librem-5-dev@lists.community.puri.sm" target="_blank">Librem-5-dev@lists.community.puri.sm</a><br>
> > > <a href="https://lists.community.puri.sm/listinfo/librem-5-dev" rel="noreferrer" target="_blank">https://lists.community.puri.sm/listinfo/librem-5-dev</a><br>
> > <br>
> ><br>
> _______________________________________________<br>
> Librem-5-dev mailing list<br>
> <a href="mailto:Librem-5-dev@lists.community.puri.sm" target="_blank">Librem-5-dev@lists.community.puri.sm</a><br>
> <a href="https://lists.community.puri.sm/listinfo/librem-5-dev" rel="noreferrer" target="_blank">https://lists.community.puri.sm/listinfo/librem-5-dev</a><br>
</blockquote></div>