![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Since the last update I find modRana feels slower, sometimes doesn't respond to taps or takes several seconds to do so. Already rebooted, no help. Rest of the device / progranms still feel ok
Anybody else experienced this or is this specific to my setup :/ |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
(also added an idea to autozooming ticket) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Also, the grammar used by Google seems looks quite simple after all: this is what a transcontinental route looks like Quote:
The flexible UI layout that modRana has complicates this quite a bit :) I think I'll implement per-mode position for the routing info box + place the "widget" wit the arrow somewhere where it does not collide with an UI element. Quote:
Quote:
I could have broken something input related while adding support for long-clicks or when adding the new map dragging method. I have also noticed some exceptions while downloading a tile fails. I also have not yet done the sqlite related optimizations mentioned earlier. If you can find some easily reproducible slowdown/UI unresponsiveness or send me logs of this happening, it would probably help me debugging this issue a lot :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
However, these seem particularly slow to respond: - Toggling fullscreen on/off - After buttons disappear toggling them back again - Map drawing seems a bit 'jerky' if zoomed in and with some speed (~80kmh); like draw, draw, draw, pause, draw. Didn't notice that before, but it definitely could be just me. No lag is present when on menu screen. I can log console output to file and press buttons if that helps you, but if you need more specific debug information I'd need some direction :) Happy to help where I can (edit: just to try, I disabled sqlite db and the lag went from bad to worse, about threefold ) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Basically, I have been reporting the issues of modrana slowing down since enabling the sqlite db, and I have wrongly attributed it to the sqlite. However, it's been getting progressively worse and worse, and currently modrana is almost unuseable for navigation while driving. I will explain shortly. The issue is not connected with the sqlite db, as even regular file tile saving option behaves the same. Basically, I have confirmed today that when zoomed in and driving fast, meaning new tiles are constantly drawn from the top, in only a couple seconds the CPU load grows immensely - top shows modrana is hogging the CPU and mem, no other app running, and the phone fails to cope, no new tiles are drawn, and you're left with just a green field of "Loading" tiles. It seems tiles are loaded for display sequentially, i.e. FIFO, even when the tile is no longer to be displayed, it seems the system is processing it and only then getting to further ones. Furthermore it seems to me, they are not released from memory. You can easily replicate this behavior on an N900 by first zooming in to say 100m, then scroll rapidly left a couple of screens, after one or two moves, the phone doesn't manage, it's all green, even though the tiles are there. If you then leave it for a minute or so, the system catches up and displays tiles. So the only way to drive now after a while is zoomed all the way out, so that the tiles move VERY slow, even then when an edge of a new one appears on top, it takes like a minute for it to be displayed. My thinking is, maybe the tile is reloaded for display even every miniscule move, so then if it moves more again, it moves a little again... Don't know, but obviously the system is not coping... Plus the phone got super hot, as it was working overdrive and it was not coping. This behavior has been getting progressively worse, since around the time I reported it the first time, around when the sqlite option was introduced. I'm thinking, you must've changed the graphic loading and display of the tiles, Marting... Or introduced some working over of the tiles when loaded or something. But like this it's just very bad... Please don't take this the negative way, modrana is great. However this issue has been getting worse and worse and it's now almost unuseable for navigating while driving at high speeds. The only solution is always to close it. Then restart and it will load the tiles "fast" meaning like in two or three seconds for a while, which is however still not good, because when zoomed in and driving they move off the screen in two seconds, so it doesn't manage again. I haven't looked at the code at all, but remember you mentioned changing the drawing code or something, I think its connected with that. But on the N900 it's easy to reproduce, like I said just keep dragging then zoom in or out then drag, after a little while it gets stuck. However when you zoom back in or out to what was displayed it displays the tiles fast, meaning that they are probably in memory, then zoom out and it's just green for a minute... |
Re: [Announce] modRana: a flexible GPS navigation system
I also have experienced a slowdown lately. Pressing buttons take about a second to respond. I wonder whether this is a processor or RAM issue? No overclocking here.
|
Re: [Announce] modRana: a flexible GPS navigation system
I'm already working on solving this issue - I have changed the tile loading mechanism to first load the most recently requested added tiles (tiles currently on screen), I am also now discarding old request that were not handled on time - no need to load a tile you scrolled past while dragging the map half a minute ago that is no longer on screen.
Technically - I am now using a circular stack for handling tile loading requests :) Results look good so far - definitely feels more responsive while doing fast scrolling and I'm planing some field testing soon (= inter-city bus ride :D). I've got further responsiveness improvements while a lot of tiles are being downloaded (eq. visiting a new area, zooming up in new area, etc.) from the network by setting a lower limit on the number of concurrent automatic tile download threads. You can try this too - it is already possible to tweak in the current version. Just go to options->network->Network-usage and play with the Max. nr. of threads for tile auto-download option :) |
Re: [Announce] modRana: a flexible GPS navigation system
I loaded a gpx file I recorded (3 hours, 1.3MB) which went well, then in tools I pressed the tools -> get elevation button (to see what that does) and modRana locked up - had to kill it.
The gpx file was not recorded using modRana, but other tools have no issue displaying it. |
Re: [Announce] modRana: a flexible GPS navigation system
i think that one of the memory/massive i/o usage settings has uffed up my modrana .... NOOO.
ok /dram but still python sits down in memory taking up about 65 megs, while the application is running, sometimes its good to me, sometimes i have to pull the battery. but this was a recent trend, any word on python2.5 hogging memory? |
Re: [Announce] modRana: a flexible GPS navigation system
After some filed testing, I have identified some issues:
New version can be expected soon, once the needless redrawing bug is fixed and sequential file storage is implemented & tested. :) Quote:
I'll make this asynchronous once the other current issues are solved :) |
All times are GMT. The time now is 09:04. |
vBulletin® Version 3.8.8