--- Log opened Sun Apr 20 00:00:02 2014 01:08 #navit: < Navit> The following compiles failed: http://download.navit-project.org/logs/navit/wince_arm/svn/navit-svn-5766.failed 01:08 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 04:26 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Remote host closed the connection] 04:43 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 04:43 -!- mode/#navit [+o KaZeR] by ChanServ 04:54 -!- xenos1984 [~quassel@131.237.196.88.dyn.estpak.ee] has joined #navit 05:51 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Remote host closed the connection] 05:52 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 05:52 -!- mode/#navit [+o KaZeR] by ChanServ 05:53 -!- KaZeR [~KaZeR@64.201.252.132] has quit [Remote host closed the connection] 06:11 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 06:11 -!- mode/#navit [+o KaZeR] by ChanServ 06:12 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 06:17 -!- j_f-f [~quassel@orion2589.server4you.de] has quit [Remote host closed the connection] 06:27 -!- j_f-f [~quassel@orion2589.server4you.de] has joined #navit 06:45 -!- j_f-f [~quassel@orion2589.server4you.de] has quit [Read error: Connection reset by peer] 06:49 -!- j_f-f [~quassel@orion2589.server4you.de] has joined #navit 07:06 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 07:23 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 07:23 -!- mode/#navit [+o KaZeR] by ChanServ 07:27 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 07:34 -!- j_f-f [~quassel@orion2589.server4you.de] has quit [Remote host closed the connection] 07:38 -!- j_f-f [~quassel@orion2589.server4you.de] has joined #navit 08:02 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 08:02 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 08:12 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 08:24 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 08:24 -!- mode/#navit [+o KaZeR] by ChanServ 08:28 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 08:48 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 08:59 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 09:24 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 09:24 -!- mode/#navit [+o KaZeR] by ChanServ 09:29 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 09:58 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 10:25 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 10:25 -!- mode/#navit [+o KaZeR] by ChanServ 10:31 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 10:57 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 11:12 -!- noradtux [~noradtux@2a02:8108:1940:914:c0e4:1b42:750c:1aa3] has quit [Quit: Bye] 11:13 -!- noradtux [~noradtux@2a02:8108:1940:914:801c:93db:d5d:ab43] has joined #navit 11:21 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 11:25 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 11:25 -!- mode/#navit [+o KaZeR] by ChanServ 11:30 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 11:36 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 11:47 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 11:51 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 12:15 -!- tryagain [~tryagain@178.216.76.38] has joined #navit 12:16 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 12:26 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 12:26 -!- mode/#navit [+o KaZeR] by ChanServ 12:30 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 13:27 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 13:27 -!- mode/#navit [+o KaZeR] by ChanServ 13:32 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 14:09 #navit: < Navit> mdankov * r5767 /trunk/navit/navit/android/src/org/navitproject/navit/NavitGraphics.java /trunk/navit/navit/graphics/android/graphics_android.c: Add:graphics_android:Improve map drawing performance (approx. 3x) http://sourceforge.net/p/navit/code/5767/ 14:27 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 14:27 -!- mode/#navit [+o KaZeR] by ChanServ 14:31 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 15:28 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 15:28 -!- mode/#navit [+o KaZeR] by ChanServ 15:33 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 15:47 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 15:53 #navit: < tryagain> _rd please try svn 5767 on android. I feel now i have overestimated effect of my recent commit. Is there any visible effect at all? 16:00 #navit: < _rd> Hi tryagain, thank you for the optimization. I will update and build it. 16:02 #navit: < tryagain> i've almost done a patch to pass polylines and polygones in chunks to java layer... 16:12 #navit: < _rd> Very nice, already 5767 makes it notably faster. 16:12 #navit: < tryagain> fine 16:12 #navit: < _rd> From a usability perspective, I think it would also be ok, if the map moves immediately, but gets updated later. 16:13 #navit: < tryagain> we have a [well hidden] navit.xml option for that 16:13 #navit: < _rd> wow....let me try that. 16:14 #navit: < _rd> The most annoying thing right now is that moving the map several times is really slow and it takes a long time to move the map in several steps. 16:15 #navit: < tryagain> _rd my current patch is here http://pastebin.com/HA343WAk 16:15 #navit: < _rd> (even cooler would be if the map would see very few updates, e.g. everything which is on zoom level n-3 and later everything which is on zoom level n) 16:18 #navit: < tryagain> something like multistep update? So you get at first a coarse image which is then has quality upgraded? 16:21 #navit: < _rd> Do you remember the [well hidden] navit.xml option for delayed map updates? 16:21 #navit: < tryagain> i'm reading code now to find it 16:23 #navit: < tryagain> try navit: add drag_bitmap="1" to navit config This makes dragging much m... 16:30 #navit: < _rd> ...ore responsible on weaker devices 16:31 #navit: < _rd> My week android device ;-) 16:31 #navit: < _rd> Not only for week devices. 16:33 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 16:35 #navit: < _rd> Impressive what difference drag_bitmap in combination with 5767 makes. Even though nothing really changes (i.e. nothing goes faster), it feels a lot more usable. 16:36 #navit: < _rd> What is missing on your patch? 16:40 #navit: < tryagain> i think some bit of review clean up. In features, it's ready. So please test if it gives some improvement. 16:44 #navit: < _rd> Not sure if I am a big help in reviewing, but if you want to explain what you did, I can try. 16:45 #navit: < tryagain> also you may try to experiment with line "ret->pointbuf_size=81920;" changing value in wide range. It may make a sense to find minimal value which gives performance benefit. 16:46 #navit: < _rd> Which amount of memory does a point take? 16:47 #navit: < _rd> Seems 8 byte (?) 16:48 #navit: < _rd> So 640 kB total memory. Seems to be acceptable on an average android device. 16:49 #navit: < tryagain> that value i expressed in jint's Each point has 2 jint coordinates. Additionally, that buffer is used to store additional per primitive information (9 jint's) 16:51 #navit: < tryagain> jint is 4 bytes, so yes, 8 bytes per point. But 320k of memory total currently 16:59 #navit: < _rd> ok, that is even more moderate. 17:05 #navit: < _rd> Hmmm....what do you see as speed-up. My initial guess would be that the improvement to 5767 was bigger than the improvement through the patch. 17:12 #navit: < _rd> Is it possible that the drawing is so slow and not the communication over jni? 17:29 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 17:29 -!- mode/#navit [+o KaZeR] by ChanServ 17:33 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 17:54 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 18:20 #navit: < tryagain> _rd actually, i've not done any benchmarks so it's possible that botlleneck is in drawing. BTW, 5767 also does nothing besides making most common primitives do one jni interaction per primitive instead of three ones. 18:21 #navit: < tryagain> my pastebin patch goes further, reducing amount of per-primitive jni calls to below 1 (by passing multiple primitives in one call) 18:29 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 18:29 -!- mode/#navit [+o KaZeR] by ChanServ 18:34 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 18:35 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 18:39 #navit: < _rd> tryagain, is it possible to sum up all the time needed for the drawings in Android and log that after each move of the map? 18:40 #navit: < _rd> That would kind of confirm or prove wrong the assumption that the communication over the jni interface is the bottleneck and not the drawing itself. 18:47 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 18:47 -!- mode/#navit [+o KaZeR] by ChanServ 19:05 #navit: < xenos1984> i just compiled navit on ubuntu 14.04, works like a charm - but somehow setting the locale has no effect, it always shows the messages in english... i tried setting the language in navit.xml, LANG, LC_ALL, LC_MESSAGES to et_EE.UTF8 and de_DE.UTF8 (both worked on 12.04 before, but i don't remember whether i did something else to make it work) 19:09 -!- sleske [~sleske@p4FD454D6.dip0.t-ipconnect.de] has joined #navit 19:09 #navit: < sleske> tryagain: Hi! 19:12 #navit: < sleske> tryagain: When we discussed OSM housenumber interpolation, you wrote that doing that would probably require another node table pass. 19:13 #navit: < sleske> As far as I can see, maptool does several node table passes: once to get the coordinates for ways, then once more for relations ... 19:13 #navit: < sleske> Wouldn't it be faster to do it all in a single pass, to save repeated node lookups? 19:20 #navit: < xenos1984> interesting, now navit gives me a single log message in estonian, but the gui and all other messages are still in english - wtf? 19:36 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 19:38 #navit: < sleske> xenos1984: Still having trouble switching languages in Navit? 19:39 #navit: < xenos1984> sleske: yes... and i can't really explain why, it should be easy 19:40 #navit: < sleske> For me it's always worked so far. I'll try it... 19:40 #navit: * sleske compiles current trunk 19:40 #navit: < xenos1984> which os are you using? 19:40 #navit: < sleske> Debian testing on x86. 19:43 #navit: < xenos1984> i can also turn this single log message into german... but the rest still stays english 19:43 #navit: < sleske> Ok, I just compiled current trunk. Good news: It compiles and runs :-). 19:43 #navit: < xenos1984> good :) 19:44 #navit: < sleske> If I start Navit directly from the source tree, and prepend LANG=de_DE.utf8, menus are German. So for me language switching works. 19:44 #navit: < xenos1984> let me try that... 19:45 #navit: < sleske> I'll try Estonian now. I won't understand it, but I guess it'll look different to German :-). 19:47 #navit: < xenos1984> still no success for me... 19:47 #navit: < xenos1984> yes, if it looks very different and incomprehensible, then it's certainly estonian ;) 19:48 #navit: < sleske> What OS do you run? 19:48 #navit: < xenos1984> ubuntu 14.04 19:49 #navit: < xenos1984> it worked nicely with ubuntu 12.04, but i don't remember whether i did something special to make it work 19:49 #navit: < sleske> What does "echo $LANG" print on your system? 19:50 #navit: < xenos1984> en_US.UTF-8 - i'll unset this... 19:51 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has joined #navit 19:53 #navit: < sleske> Wait.. 19:53 #navit: < sleske> OK, I started Navit with: 19:53 #navit: < sleske> LANG=et_EE.utf8 ./navit 19:54 #navit: < sleske> This is what I get: http://imagebin.org/306644 . Looks Estonian to me... 19:54 #navit: < xenos1984> jah, see on õige 19:54 #navit: < xenos1984> yes, that's correct ;) 19:55 #navit: < sleske> OK, then try what I did. Start Navit on the command line as usual, but at the start of the command line put "LANG=et_EE.utf8", as I did. 19:55 #navit: < sleske> Also, the et_EE.utf8 part may look different on your system. Run "locale -a" to see what it's called. 19:56 #navit: < xenos1984> et_EE.utf8 is listed by locale -a 19:56 #navit: < xenos1984> but also that did not help... 19:57 #navit: < xenos1984> the gui is still english, only Kasutame seadistusfaili: '/data/C/navit/navit/config/navit_local.xml' is estonian 19:57 #navit: < xenos1984> and there is no language= stuff in that file 19:57 #navit: < xenos1984> i also tried setting estonian in that file... 20:00 #navit: < sleske> Funny... the log message in Estonian means that Navit picked up your settings. 20:01 #navit: < sleske> Hm.... what's your setup? How did you install Navit? What GUI do you use? What graphics driver? 20:01 #navit: < xenos1984> yes, indeed, but then it loses them again 20:02 #navit: < xenos1984> i compiled navit via cmake, make, make install; i'm using the internal gui; gtk graphics driver 20:03 #navit: < sleske> Ah, GTK... good old GTK :-). I used it at first, too, but switched to internal GUI later. Going with the flow and so on... 20:04 #navit: < xenos1984> well, i also use internal gui ;) only the graphics driver is gtk 20:04 #navit: < xenos1984> i can also try sdl 20:04 #navit: < sleske> OK, I changed to GTK GUI in navit.xml. Stuff looks Estonian there too - so it's not the GUI. 20:05 #navit: < sleske> Maybe something went wrong during the build? I remember we have some special tricks in the build to translate the GUI strings. 20:05 #navit: < xenos1984> at least it did not give me any error messages... 20:06 #navit: < xenos1984> same result with sdl graphics 20:08 #navit: < sleske> Hm, you can check if the translation files are correct. Let me see... 20:09 #navit: < xenos1984> -rw-r--r-- 1 root root 33745 Apr 20 19:58 /usr/local/share/locale/et/LC_MESSAGES/navit.mo 20:09 #navit: < xenos1984> so at least it is present 20:10 #navit: < xenos1984> well, and one message is correctly translated... 20:13 #navit: < sleske> The size looks ok. Try opening it with an editor (like vim), and see if it contains the string "_Kuva". 20:15 #navit: < xenos1984> that's present 20:18 #navit: < sleske> Hm, really weird. 20:18 #navit: < sleske> Can you put your navit.xml on navit.pastebin.com? Maybe there's something in there. 20:22 #navit: < xenos1984> http://pastebin.com/45G7hYE8 20:23 #navit: < xenos1984> actually i put a few things into different config files, but i used the same config on ubuntu 12.04 and it worked 20:27 #navit: < sleske> Ah, you put the language setting into navit.xml. Then you don't need the LANG= stuff. 20:29 #navit: < sleske> With your settings, Navit is in Estonian for me too. 20:29 #navit: < xenos1984> i tried both, either language in the navit.xml, or the LANG= stuff, or both... but none worked 20:36 #navit: < xenos1984> oh wait, the first page of the menu is english, the "actions" menu is mixed english and estonian o.O 20:36 #navit: < xenos1984> and the estonian flag is preselected in address search 20:38 #navit: < sleske> What source code did you use? SVN checkout? Which revision? 20:39 #navit: < xenos1984> current svn checkout 20:40 #navit: < xenos1984> 5767 20:40 #navit: < sleske> Me too. 20:41 #navit: < sleske> Do you still have the build directory? Try running it from there. 20:42 #navit: < sleske> Go to build/navit, and run "LANG=et_EE.utf8 ./navit" 20:44 #navit: < xenos1984> actually that's what i did... no change 20:44 #navit: < xenos1984> i'll compile again 20:44 #navit: < sleske> Best do a make clean all. 20:47 #navit: < sleske> And paste the compile logs to pastebin, too. There should be messages about the translations. 20:49 #navit: < xenos1984> /data/C/navit/navit/build/po/et.po: 653 translated messages, 1 untranslated message. 20:51 #navit: < sleske> Again, looks fine. Can you post a screenshot of Navit with the incomplete translations? 20:52 #navit: < tryagain> _rd i'm unsure that we have timer accurate enough to measure individual primitive draw time to sum them all 20:53 #navit: < sleske> tryagain: Hi! Can I bother you some more about maptool and OSM housenumber interpolation? 20:53 #navit: < tryagain> sleske we could try to add interpolation stuff to one of relations passes (there are actually more than one relation pass). Ways pass uses different table. 20:54 #navit: < tryagain> but we should attempt to predict memory usage here. We really running off memory now 20:55 #navit: < tryagain> surprisingly, we have 1/2 of physical memory occupied by cache when the system starts to swap intensively 20:56 #navit: < tryagain> i've played a bit with /proc settings with no success 20:56 -!- _rd [~rd@p5088FA06.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 20:57 -!- drlizau [~liz@billiau.net] has joined #navit 20:58 #navit: < tryagain> have to go now... gn! 20:58 -!- tryagain [~tryagain@178.216.76.38] has quit [Remote host closed the connection] 21:00 #navit: < xenos1984> sleske: http://imagebin.org/306660 21:01 #navit: < xenos1984> they were completely translated when i used navit on ubuntu 12.04 21:01 #navit: < xenos1984> but that was also an earlier svn version 21:08 #navit: < sleske> Hm, that may be because you are using a different navit.xml. 21:09 #navit: < sleske> The texts for the internal GUI are defined in navit.xml. If they don't match the translations, they are shown in English. 21:09 #navit: < sleske> If you run navit from the source dir, as just "./navit", you should get the standard menu, which has for example the "last destinations" entry you are missing. 21:10 #navit: < sleske> If you then use the LANG=... prefix, everything should be translated... 21:13 #navit: < xenos1984> let me see... actually i have not changed the navit.xml inbetween... 21:16 #navit: < xenos1984> just the same effect also with the standard menu 21:16 #navit: < xenos1984> also there i get only the same partial translation 21:18 #navit: < xenos1984> can i check the result of a translation attempt somehow manually? 21:20 #navit: < sleske> Hm... try the default navit.xml that comes with the source code. You should use it automatically if you just run navit from the source dir, without any parameters. 21:22 #navit: < xenos1984> again, the same effect... 21:23 #navit: < xenos1984> there is definitely a translation for "Actions", "Settings", "About" etc. in the et.po.in file 21:24 #navit: < sleske> Yes, I know. I'm seeing it :-). 21:25 #navit: < xenos1984> sure, i just wanted to exclude that my svn checkout is corrupted ;) 21:28 #navit: < xenos1984> funny - "About" is english, but when i click it, it says "Programmist Navit" in estonian on top of the window 21:28 #navit: < xenos1984> and the turn directions are in estonian 21:29 #navit: < sleske> Hm... this is really really strange. 21:31 #navit: < xenos1984> i guess i will investigate this another day and go to bed for now... this requires deeper digging and debugging... and playing with translations 21:31 #navit: < xenos1984> thanks for your help! 21:32 #navit: < xenos1984> head ööd! (good night ;)) 21:32 #navit: < sleske> No problem. If the problem persists, consider filing a bug on trac. 21:32 #navit: < sleske> Good night! 21:32 -!- xenos1984 [~quassel@131.237.196.88.dyn.estpak.ee] has quit [Remote host closed the connection] 21:36 -!- sleske [~sleske@p4FD454D6.dip0.t-ipconnect.de] has quit [Quit: leaving] 22:40 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 22:46 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 23:11 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 23:11 -!- mode/#navit [+o KaZeR] by ChanServ 23:19 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] --- Log closed Mon Apr 21 00:00:02 2014