Re: [Merkaartor] Draging the map in rev11894
On 11/16/2008 07:38 PM, Łukasz Jernaś wrote: > Hey! I've fixed it ;) OK hacked together, myabe you will know how to > fix it properly, but now panning speed equals zooming speed. Patch > attached. Has Łukasz' patch made it into SVN? I've applied that patch manually in my local Merkaartor repository. I just tried to run Merkaartor on a different computer (again Ubuntu 8.10) and there are the same problems still. So would it be possible to apply that patch to SVN or are there any sideffects? I've used that patch for over a month now and I didn't see any problems with that. regards, Norbert ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Hello again ;) I think this issue also exists on MS Windows (XP Pro, Qt 4.4.3) but it manifests itself in a different way. The map update is lagging behind the cursor by ca 10-30 pixels, adding the invalidate call helps a bit (but not much) and doesn't seem to cause any noticeable .slowdown on a relatively old machine... Regards, -- Łukasz ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
2008/11/18 Chris Browet <[EMAIL PROTECTED]>: > Could you try with: > - view()->invalidate(false, false); No effect,.still slow > - view()->invalidate(false, true); No effect > - view()->invalidate(true, false); Runs a lot smoother than (true, true)!! BTW regarding the first two versions and the trunk one - it looks like qt is replaying the entire movement sequence on mouseRelease (only a few frames are actually visible depending on the system load) Regards, -- Łukasz ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Could you try with: - view()->invalidate(false, false); - view()->invalidate(false, true); - view()->invalidate(true, false); and give me the results, please. - Chris - 2008/11/16 Łukasz Jernaś <[EMAIL PROTECTED]> > 2008/11/16 Chris Browet <[EMAIL PROTECTED]>: > > Have you checked the "Show downloaded area" stuff? > > Now yes (I knew I had to do something else...). It doesn't make any > difference at all, even after an application restart. > > (a few minutes pass) > > Hey! I've fixed it ;) OK hacked together, myabe you will know how to > fix it properly, but now panning speed equals zooming speed. Patch > attached. > > Regards, > -- > Łukasz [DeeJay1] Jernaś > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
> Hey! I've fixed it ;) OK hacked together, myabe you will know how to > fix it properly, but now panning speed equals zooming speed. Patch > attached. > > It's not a definitive solution, as it will make a full redraw of the view at each mouse move rather than just what's needed and that will hurt lower spec machine quite badly. But at least, you have now a response. All I have to find is the proper question ;-) - Chris - ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On 11/16/2008 07:38 PM, Łukasz Jernaś wrote: > Hey! I've fixed it ;) OK hacked together, myabe you will know how to > fix it properly, but now panning speed equals zooming speed. Patch > attached. Hmm, I guess it will redraw now very often, but it works perfectly on my laptop. From my side I have to say, I love this patch, don't know whether the actual authors of Interaction might see any problems with that. Thanks for that patch Łukasz. Norbert ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
2008/11/16 Chris Browet <[EMAIL PROTECTED]>: > Have you checked the "Show downloaded area" stuff? Now yes (I knew I had to do something else...). It doesn't make any difference at all, even after an application restart. (a few minutes pass) Hey! I've fixed it ;) OK hacked together, myabe you will know how to fix it properly, but now panning speed equals zooming speed. Patch attached. Regards, -- Łukasz [DeeJay1] Jernaś Index: Interaction/Interaction.cpp === --- Interaction/Interaction.cpp (wersja 11947) +++ Interaction/Interaction.cpp (kopia robocza) @@ -104,6 +104,7 @@ Delta -= anEvent->pos(); view()->panScreen(-Delta); LastPan = anEvent->pos(); + view()->invalidate(true, true); } else if (Dragging) { ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Have you checked the "Show downloaded area" stuff? 2008/11/16 Łukasz Jernaś <[EMAIL PROTECTED]> > On Sat, Nov 15, 2008 at 7:15 PM, Łukasz Jernaś <[EMAIL PROTECTED]> wrote: > > 2008/11/15 Chris Browet <[EMAIL PROTECTED]>: > >> Qt... ;-) Not having nvidia, I can't test that. But as I said, I'm quite > >> sure to have seen this problem, too. Just that I cannot reproduce for > the > >> time being. > > > > Brr, how could I forget about that - Qt 4.4.3. > > > > I'll try tomorrow on my Intel laptop, and on Nvidia with Qt 4.5 we'll > see... > > Hmm, I've tested with today's Qt 4.5 snap (16.11.2008) and it still > works awful when scrolling... > > Regards, > -- > Łukasz [DeeJay1] Jernaś > ___ > Merkaartor mailing list > Merkaartor@openstreetmap.org > http://lists.openstreetmap.org/listinfo/merkaartor > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On Sat, Nov 15, 2008 at 7:15 PM, Łukasz Jernaś <[EMAIL PROTECTED]> wrote: > 2008/11/15 Chris Browet <[EMAIL PROTECTED]>: >> Qt... ;-) Not having nvidia, I can't test that. But as I said, I'm quite >> sure to have seen this problem, too. Just that I cannot reproduce for the >> time being. > > Brr, how could I forget about that - Qt 4.4.3. > > I'll try tomorrow on my Intel laptop, and on Nvidia with Qt 4.5 we'll see... Hmm, I've tested with today's Qt 4.5 snap (16.11.2008) and it still works awful when scrolling... Regards, -- Łukasz [DeeJay1] Jernaś ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Could it be that you have "Show downloaded area" activated? Panning seems unusually slow with this activated on my Qt 4.4.2 (arguably VMware, so not necessarily a proper reference) - Chris - 2008/11/15 Chris Browet <[EMAIL PROTECTED]> > Qt... ;-) Not having nvidia, I can't test that. But as I said, I'm quite > sure to have seen this problem, too. Just that I cannot reproduce for the > time being. > > 2008/11/15 Łukasz Jernaś <[EMAIL PROTECTED]> > > On Sat, Nov 15, 2008 at 4:59 PM, Chris Browet <[EMAIL PROTECTED]> wrote: >> > Could I have your Qt spec, too, please. >> > >> > - Chris - >> > >> > 2008/11/12 Norbert Wenzel <[EMAIL PROTECTED]> >> >> >> >> On 11/12/2008 12:25 PM, Chris Browet wrote: >> >> > Could I have your specs, please. >> >> GeForce 8600 GT, Ubunut 8.10, driver ver 177.82, Core2Duo 2 GHz, 3GB >> RAM no compiz or similar stuff running >> >> Regards, >> -- >> Łukasz >> > > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Could I have your Qt spec, too, please. - Chris - 2008/11/12 Norbert Wenzel <[EMAIL PROTECTED]> > On 11/12/2008 12:25 PM, Chris Browet wrote: > > Could I have your specs, please. > > What exactly do you need? Ubuntu 8.10 on FJS Amilo Xi2428 with Nvidia > 8600M (i think) and the closed src Nvidia driver. > > Anyway, as far as I remember Merkaartor ran without any issue on an > Ubuntu 8.10 desktop with Nvidia 9xxx and again the closed src Nvidia > driver. > > > If it's not the nvidia stuff, I remember seeing this when testing the > last > > patch, but it disappeared by itself before I had the opportunity to > tackle > > it. > > It seems to be the nvidia bug. > > > Could you try renaming your settings dir ("~/.config/BartVanhauwaert/" on > > linux) to start a fresh Merkaartor and see if the problem persists, > please. > > This did not change anything (except Merkaartor went back to default > settings). > > Just one question: do you always use Webkit as a renderer, or do you use > it only to get the aerial photos? > > Anyway, thanks for trying to help me. > > Norbert > > > 2008/11/12 Norbert Wenzel<[EMAIL PROTECTED]> > > > >> Hi, > >> > >> I just wanted to ask if there have been any changes regarding the moving > >> on the map (rightclick and drag). At the moment (release build) this is > >> ridiculously slow, even for small movements at the highest zoom level. > >> It always takes a few seconds until the movement takes effect. > >> > >> Otherwise zooming out and all other operations are working instantly. > >> The Yahoo map layer is hidden, so that should not cause the delay. > >> > >> If you have any ideas what could be the problem or further questions, > >> please let me know. > >> > >> Norbert > >> > >> ___ > >> Merkaartor mailing list > >> Merkaartor@openstreetmap.org > >> http://lists.openstreetmap.org/listinfo/merkaartor > >> > > > > > ___ > Merkaartor mailing list > Merkaartor@openstreetmap.org > http://lists.openstreetmap.org/listinfo/merkaartor > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On Sat, Nov 15, 2008 at 10:10 AM, Norbert Wenzel <[EMAIL PROTECTED]> wrote: > On 11/12/2008 11:59 AM, Tomáš Mika wrote: >> I saw the same problem also in previous svn version. This is problem with >> NVIDIA card and Nvidia binary drivers. With free nv drivers the moving map >> work quickly. It can be issue between nvidia and webkit . > > I've sent the following mail erroneously to Chris only: > > I've just tested to set the Background Image to None in order to > deactive Webkit, restarted Merkaartor, but still, the draging of the map > was very slow (or better, it took about 3 seconds and then suddenly > showed the new position). So it's independent of the webkit usage. > > I tried to build Merkaartor with NOWEBKIT=1 but that had the same > problems. Again, all actions performed fast, except the draging of the map. Well, at least I can confirm that the same problem exists here. I'm trying to work something usefull out from callgrind but to no avail... -- Łukasz ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On 11/12/2008 11:59 AM, Tomáš Mika wrote: > I saw the same problem also in previous svn version. This is problem with > NVIDIA card and Nvidia binary drivers. With free nv drivers the moving map > work quickly. It can be issue between nvidia and webkit . I've sent the following mail erroneously to Chris only: I've just tested to set the Background Image to None in order to deactive Webkit, restarted Merkaartor, but still, the draging of the map was very slow (or better, it took about 3 seconds and then suddenly showed the new position). So it's independent of the webkit usage. I tried to build Merkaartor with NOWEBKIT=1 but that had the same problems. Again, all actions performed fast, except the draging of the map. So it may well be an Nvidia related bug, but it seems to be independent of Webkit. By the way the "current" version (0.11) from Debian testing worked without any delay on the very same laptop. Norbert > On Wed, Nov 12, 2008 at 10:29 AM, Norbert Wenzel<[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I just wanted to ask if there have been any changes regarding the moving >> on the map (rightclick and drag). At the moment (release build) this is >> ridiculously slow, even for small movements at the highest zoom level. >> It always takes a few seconds until the movement takes effect. >> >> Otherwise zooming out and all other operations are working instantly. >> The Yahoo map layer is hidden, so that should not cause the delay. >> >> If you have any ideas what could be the problem or further questions, >> please let me know. >> >> Norbert >> >> ___ >> Merkaartor mailing list >> Merkaartor@openstreetmap.org >> http://lists.openstreetmap.org/listinfo/merkaartor >> > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
> > Webkit is only used when rendering Yahoo images. >> Note however that if you only hide the yahoo layer (i.e. click on the >> "eye", >> webkit is still doing its stuff in the background, just not showing it). >> To >> completely disable it, set the background layer to "none" or some other >> TMS >> provider. >> > > So if I understand you correctly you are loading the Yahoo images (which is > relatively slow) anyway, you're just not displaying them, if the layer is > set to invisible, which it is by default I think? If so, are there any > reasons for that? > > This is a feature. You can set the layer to invisible if the background somewhat disturb proper editing, while the images are still loading in the background and are instantly show when you enable background. When the layer is set to "None", which is the default on a new install, I think, nothing happens. - Chris - ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On 11/13/2008 10:56 AM, Chris Browet wrote: >> >>> If it's not the nvidia stuff, I remember seeing this when testing the >> last >>> patch, but it disappeared by itself before I had the opportunity to >> tackle >>> it. >> It seems to be the nvidia bug. > > > Anyway, I'll try to reproduce on Linux. My box runs under vmware, so this > was definitely not nvidia specific. Let me know if I can help you, since the error is perfectly reproducible on my laptop. >> >> Just one question: do you always use Webkit as a renderer, or do you use >> it only to get the aerial photos? > > > Webkit is only used when rendering Yahoo images. > Note however that if you only hide the yahoo layer (i.e. click on the "eye", > webkit is still doing its stuff in the background, just not showing it). To > completely disable it, set the background layer to "none" or some other TMS > provider. So if I understand you correctly you are loading the Yahoo images (which is relatively slow) anyway, you're just not displaying them, if the layer is set to invisible, which it is by default I think? If so, are there any reasons for that? cheers, Norbert ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
> > > > If it's not the nvidia stuff, I remember seeing this when testing the > last > > patch, but it disappeared by itself before I had the opportunity to > tackle > > it. > > It seems to be the nvidia bug. Anyway, I'll try to reproduce on Linux. My box runs under vmware, so this was definitely not nvidia specific. > > > Just one question: do you always use Webkit as a renderer, or do you use > it only to get the aerial photos? Webkit is only used when rendering Yahoo images. Note however that if you only hide the yahoo layer (i.e. click on the "eye", webkit is still doing its stuff in the background, just not showing it). To completely disable it, set the background layer to "none" or some other TMS provider. Regards - Chris - ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
On 11/12/2008 12:25 PM, Chris Browet wrote: > Could I have your specs, please. What exactly do you need? Ubuntu 8.10 on FJS Amilo Xi2428 with Nvidia 8600M (i think) and the closed src Nvidia driver. Anyway, as far as I remember Merkaartor ran without any issue on an Ubuntu 8.10 desktop with Nvidia 9xxx and again the closed src Nvidia driver. > If it's not the nvidia stuff, I remember seeing this when testing the last > patch, but it disappeared by itself before I had the opportunity to tackle > it. It seems to be the nvidia bug. > Could you try renaming your settings dir ("~/.config/BartVanhauwaert/" on > linux) to start a fresh Merkaartor and see if the problem persists, please. This did not change anything (except Merkaartor went back to default settings). Just one question: do you always use Webkit as a renderer, or do you use it only to get the aerial photos? Anyway, thanks for trying to help me. Norbert > 2008/11/12 Norbert Wenzel<[EMAIL PROTECTED]> > >> Hi, >> >> I just wanted to ask if there have been any changes regarding the moving >> on the map (rightclick and drag). At the moment (release build) this is >> ridiculously slow, even for small movements at the highest zoom level. >> It always takes a few seconds until the movement takes effect. >> >> Otherwise zooming out and all other operations are working instantly. >> The Yahoo map layer is hidden, so that should not cause the delay. >> >> If you have any ideas what could be the problem or further questions, >> please let me know. >> >> Norbert >> >> ___ >> Merkaartor mailing list >> Merkaartor@openstreetmap.org >> http://lists.openstreetmap.org/listinfo/merkaartor >> > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
Could I have your specs, please. If it's not the nvidia stuff, I remember seeing this when testing the last patch, but it disappeared by itself before I had the opportunity to tackle it. Could you try renaming your settings dir ("~/.config/BartVanhauwaert/" on linux) to start a fresh Merkaartor and see if the problem persists, please. - Chris - 2008/11/12 Norbert Wenzel <[EMAIL PROTECTED]> > Hi, > > I just wanted to ask if there have been any changes regarding the moving > on the map (rightclick and drag). At the moment (release build) this is > ridiculously slow, even for small movements at the highest zoom level. > It always takes a few seconds until the movement takes effect. > > Otherwise zooming out and all other operations are working instantly. > The Yahoo map layer is hidden, so that should not cause the delay. > > If you have any ideas what could be the problem or further questions, > please let me know. > > Norbert > > ___ > Merkaartor mailing list > Merkaartor@openstreetmap.org > http://lists.openstreetmap.org/listinfo/merkaartor > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
Re: [Merkaartor] Draging the map in rev11894
I saw the same problem also in previous svn version. This is problem with NVIDIA card and Nvidia binary drivers. With free nv drivers the moving map work quickly. It can be issue between nvidia and webkit . Regards ToM!k On Wed, Nov 12, 2008 at 10:29 AM, Norbert Wenzel <[EMAIL PROTECTED]> wrote: > Hi, > > I just wanted to ask if there have been any changes regarding the moving > on the map (rightclick and drag). At the moment (release build) this is > ridiculously slow, even for small movements at the highest zoom level. > It always takes a few seconds until the movement takes effect. > > Otherwise zooming out and all other operations are working instantly. > The Yahoo map layer is hidden, so that should not cause the delay. > > If you have any ideas what could be the problem or further questions, > please let me know. > > Norbert > > ___ > Merkaartor mailing list > Merkaartor@openstreetmap.org > http://lists.openstreetmap.org/listinfo/merkaartor > ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor
[Merkaartor] Draging the map in rev11894
Hi, I just wanted to ask if there have been any changes regarding the moving on the map (rightclick and drag). At the moment (release build) this is ridiculously slow, even for small movements at the highest zoom level. It always takes a few seconds until the movement takes effect. Otherwise zooming out and all other operations are working instantly. The Yahoo map layer is hidden, so that should not cause the delay. If you have any ideas what could be the problem or further questions, please let me know. Norbert ___ Merkaartor mailing list Merkaartor@openstreetmap.org http://lists.openstreetmap.org/listinfo/merkaartor