PureMaps has slight graphical glitches

I’m using Pure Maps on my Librem 5 for navigation. I use the Pure Maps flatpak.

Recently the flatpak was updated to use a new runtime. Since then I see some minor graphical glitches when using Pure Maps. Note that it takes a while of using Pure Maps for the glitches to appear. Do you see this issue as well?

Could this be related tor recent work on GLES 3.0 for Librem 5?

2 Likes

Imagine if i want to testing, and helping about, so to install Puremaps Flatpak it will like to install a new whole os, so in this way i like so much Firejail.

I noticed some glitches even while on the previous version. Even began to use GNOME Maps for a while. Haven’t noticed now but I expect to use it more extensively during the weekend.

1 Like

The Pure Maps app on FlatHub have recently had an update, which included dependency change of org.kde.Platform dependency from version 5.15-24.08 to 5.15-25.08. There was no such problems before the update, so the problem is with the app build, not with the PureOS. not with an update of something from PureOS.

There are similar glitches in other apps from FlatHub, and there is a theory why:

I suppose we now have a similar problem with QT.

The good news is that in this particular case we still can downgrade from FlatHub’s version 3.5.1 of PureMaps to one of its previous versions from FlatHub, or even to version 3.1.1 from the PureOS flatpak repo.

If anything, I hope their work on GPU drivers may fix bugs in existing API implementation as a collateral.

2 Likes

Are there only minor glitches? In my case, any text in the app’s UI is totally unreadable.

Yes, only minor. Mainly in the top of the screen with navigation instructions when navigating, and sometimes some kind of little dots of different colors in the top of the screen. I still can use Pure Maps, because they are so minor. I will try to make a screenshot when it happens, but last time it seemed that the glitches disappeared when taking the screenshot, and they were not in the screenshot. Also, the glitches do not appear all the time, actually it is difficult to get them, I do not know how to reproduce getting them.

I see in the log multiple messages like:

etnaviv-gpu 38000000.gpu: recover hung GPU!
etnaviv-gpu 38000000.gpu: offending task: QSGRenderThread (/app/bin/io.gihub/ringus/PureMaps)

in the end the Librem 5 fully hang with a black screen. Not sure if that is related though.

1 Like

Have you had any luck using the downgraded package? If so, which one?

io.github.rinigus.OSMScoutServer 3.1.1 from the PureOS flatpak repo works properly together with io.github.rinigus.OSMScoutServer 3.1.0 from FlatHub.

1 Like

Yes, it is definitely something wrong with the GPU drivers. I suppose it was left unnoticed because most of the software packaged for the PureOS do not use the affected API. But, for example, LibreOffice without libreoffice-gtk3 package also has problems which may (or may not) be caused by the same bug.

1 Like

I tested PureMaps flatpak extensively during that weekend, and while still usable, I did notice some issues after using it for a while.

During in-car turn-by-turn navigation, PureMaps worked fine, but if I tried to swipe up to go to the overview or switch apps, it felt really sluggish. Switching apps still worked but took 3-5 times longer.

The minor glitches/artifacts I think I noticed those before the latest update, not since…

1 Like

Last I checked their offline maps were quite outdated over a year old at least

I downgraded and so far so good. Definitely less glitchy.

I wonder if @rinigus still has a notify on for this forum…

1 Like

Hi! Only when pinged :slight_smile:

Re glitches: I was told to update runtime in Flathub as the old one is deprecated. Not much I can do about it. I suspect that the bug is in device drivers and Pure Maps again is the first to hit this. I am working on adding qt6 support. that could change GL again - whether for better or worse. On my side, Pure Maps is not using any device-specific GL codes, all is running via regular Qt/QML and MapLibre GL lib.

Re old maps: Offline maps were updated recently. I worked on import scripts to make them easier to use, but in the end it all still requires rather powerful hardware for import :). If someone sits on idle 128-256GB RAM server with 2TB NVMe to spare, you are welcome to test imports. May take few days in such setup, but all is configured via podman containers.

PS: hopefully replied to all concerns above; ping if missed something

5 Likes

Thanks for your clear answers. And also many thanks for providing Pure Maps. It is my main navigation app, and is very usable for me, also with the minor graphical glitches.

2 Likes

I apologize but I only downgraded the Puremaps flatpak. The glitches were back today. Are you suggesting that OSMscout server also needs to be downgraded or BOTH Puremaps and OSMscoutserver should be downgraded?

PureMaps connects to OSMScoutserver through a socket, so GUI of PureMaps should not be affected by OSMScoutServer.

Make sure you installed the version from PureOS flatpak repo, not from FlatHub. I do not see any glitches in the PureOS-packaged version.

2 Likes

Can we somehow import into OSMScoutServer the (regularly updated) offline maps bundled for the OSMAnd Android app? It could help you avoid the burden of regularly repackaging maps for all of us.

1 Like

So, I am on PostmarketOS. I tried adding a Flatpak remote using this command:

flatpak remote-add PureOS https://store.puri.sm/repo/stable/pureos.flatpakrepo --user

However, when searching the PureOS remote identified above, the remote shows that OSMScoutServer is not present in the remote. GnomeMaps is, but not OSM for some reason. Therefore, I wonder, can I add: io.github.rinigus.OSMScoutServer 3.1.1 manually? If so, how do I find it? I looked on Github and it was not readily-present there.