osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Slow rendering in both version 1 and 2 (Samsung S10E) #19008

Open julienw opened 9 months ago

julienw commented 9 months ago

Description

I think this happens since the move to the WebGL renderer. But the V1 renderer is very slow too.

I think that what happens is that too many objects are drawn compared to before, which makes the app very slow. It is very visible with the "general" profile, because it's quite zoomed out, on big cities such as Paris. When I switch to the "pedestrian" profile, this is better because the view is more zoomed in, and less objects are drawn.

Steps to reproduce

Just open the app on a big city such as Paris.

Actual result

It takes a long time to draw everything. We also visibly see that the same objects are drawn, then disappear, then are drawn again...

This happens for some time now, I believe since the move to the new renderer.

Expected result

It should be fast like it was before.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.6.13
Android version: 12
Device model: Samsung S10e
Crash-Logs: N/A

Please tell me if you need anything more from me.

sonora commented 9 months ago

Just a wild giess, but it sounds like you may have accidentally , changed the map zoom factor in one of your profiles. Go to the profile which seems comparatively slow, long-tap the zoom(+) or zoom(-) buttons, and verify that the setting shows 100%, or at least near that.

DmitryAlexei commented 8 months ago

@julienw could you please provide a short video of your issue?

As a quick workaround, before we cannot identify the issue, you can try to

julienw commented 8 months ago

Just a wild giess, but it sounds like you may have accidentally , changed the map zoom factor in one of your profiles. Go to the profile which seems comparatively slow, long-tap the zoom(+) or zoom(-) buttons, and verify that the setting shows 100%, or at least near that.

That one is at 25% , but it might be normal for the general one ?

@julienw could you please provide a short video of your issue?

As a quick workaround, before we cannot identify the issue, you can try to

* disable high map details (see Menu → Configure map → Map rendering → Details). Also see https://osmand.net/docs/user/map/vector-maps#details

* set the map magnifier to 100% (long-tap the zoom(+) or zoom(-) buttons, and verify that the setting shows 100%)

* disable map tilt (if you use 3d relief)

Only the map magnifier was at 25% by default for this profile, I didn't use high map details nor map tilt. (I really like the high details rendering though :D).

Update: Now it looks like I don't have this "too many objects drawn" anymore, the number of drawn object looks correct now. But it's still slow. I wonder if this might be the dreaded slow access to the disk... My maps are in /storage/emulated/0/Android/data/net.osmand/files.. but this looks to be the internal data storage, not the sd card.

yuriiurshuliak commented 8 months ago

Please attach a short video of the screen as it is reproduced from your side so that we can better understand the problem and try to reproduce it as well.