Map rotation on = lags on LM3

Started by Forsberg, August 02, 2024, 16:32:14

0 Members and 1 Guest are viewing this topic.

Forsberg

Hello,

not sure if this is a bug or perhaps just LM Classic limitation without hope of fixing but on my Note 10+ phone (which was a high end league) LM can lag if a map rotation is enabled (map rotates according to the compass). I bet the frame rates drop at half, surely below 15 frames.
With disabled rotation it is much smoother.
Is it because a vector maps rotates and LM Classic engine is slow?
  •  

Menion

Hi,
engine of the Locus Classic and Locus Map 4 are almost identical, so it won't be only a Classic limitation.

Check please these suggestions, maybe they should help to you as well.

Anyway yes, map rotation slows down the map engine.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Forsberg

Quote from: Menion on August 06, 2024, 17:11:13Hi,
engine of the Locus Classic and Locus Map 4 are almost identical, so it won't be only a Classic limitation.

Check please these suggestions, maybe they should help to you as well.

Anyway yes, map rotation slows down the map engine.

Can u say what is more important for the render speed? I tweaked my kernel, cpu and gpu. When I rotate a map without rotation enabled it is more or less 50 FPS, and CPU cores used 20-50%. With rotation enabled FPS drop to 15-20 and CPU usage is also 20-50% - averagely a few percent higher per each core.

It is not 100% cpu so what is the bottleneck here?
  •  

Menion

Not sure, never tested this.

How do you rotate a map? By the two fingers (there should be no limit on frames/sec) or automatically by rotating of the phone? In the second case, it depends more on the frequency of how often the rotation sensor sends new data and this is limited not to do it too often.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •