[Librem-5-dev] early feedback: issues encountered while running maps applications

David Boddie david.boddie at puri.sm
Tue Jun 25 13:14:16 PDT 2019


On Tue, 25 Jun 2019 10:08:35 +0200, guido.gunther wrote:

> > I am writing up results of testing Pure Maps and OSM Scout Server on QEMU
> > and Devkit (by David Boddie). This is to make sure that the issues we
> > encountered would not be lost and, hopefully, through filing them help to
> > polish L5 before launch.
> 
> Thanks. I've skipped some of your questions that were unclear to me. David
> might be able to help since he did the testing if I read this correctly.

I can try. I haven't had a chance to look at Pure Maps again for at least a
week, though I have tidied up a bit on the devkit to make it easier to resume
testing.

> > Looks like there are some rendering issues with running OpenGL-accelerated
> > maps application. Pure Maps shows the maps using Mapbox GL Native framework
> > which is tailored towards usage of hardware acceleration. Its developed for
> > Android, iOS, Qt (that's the one which is used). According to David, Pure
> > Maps did not crash, but nothing was displayed.
> 
> Are you using a patched runtime with our GC7000 mesa patches? If not there will
> be rendering issues. There's lots of stuff upstream already but some
> core parts are missing that are required for proper texture
> rendering. You should see a notable difference between pure maps
> as flatpak and pure maps built natively on the devkit / qemu image. If
> not please let me know.

Everything I tried recently was run outside a sandbox, built on the devkit.

> > # Apps missing icons in overview
> > 
> > Tested on QEMU: For Pure Maps and OSM Scout Server, the icons are missing
> > in overview. When testing Gnome Maps from Flathub, the icon is shown. So,
> > there is something that is missing on my side to show them in Phosh. Any
> > tips? Works on Gnome Shell (desktop). Icons are missing for included
> > calendar as well, for example.

Do you mean that the icon is missing in the app switcher?

> > If showing window decorations is a bug, should I file it under Phosh?
> 
> This depends on your app. You need to provide more details. Are you
> rendering via x11 or wayland? Is there a simple one line test case to
> verify this (without installing pure maps)? By default all x11 surfaces
> are decorated. You should be rendering via wayland when possible.

Qt/QML apps appear with window decorations on Wayland. This works around the
problem that GNOME on Wayland expects apps to provide their own client-side
decorations.

The situation should improve if you build against Qt 5.12 but I don't know what
the availability of that is in PureOS. In Debian Buster is still on Qt 5.11.3,
it seems.

The workaround for turning off toolkit-supplied window decorations is mentioned
in this blog post:

https://blog.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12/

Basically, for Qt 5.11, set the QT_WAYLAND_DISABLE_WINDOWDECORATION environment
variable to remove them.

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20190625/bd2d4e28/attachment.sig>


More information about the Librem-5-dev mailing list