[udig-devel] Re: _slow_ ui performance in Linux with cairo
Sven Tessmann
st-udig at gmx.de
Tue Oct 10 03:40:07 PDT 2006
Gabriel Roldán <groldan at ...> writes:
>
> Hi all,
>
> since the move to eclipse 3.2 (and now 3.2.1), I am experiencing an incredible
> bad performance on anything that interacts with MapPane, to the point that
> the app becomes unusable.
>
> Looking for the reasons of this change, I noticed that we're now relying on
> the same ViewportPane implementation (SWT) for the three target platforms.
> On Linux that means the new cairo based SWT graphics, so I started to inspect
> my set up, and updated to the latest version available for my distribution:
>
> - Cairo 1.0.4 with glitz 0.4.4 (using nVidia OpenGL drivers)
>
> So I tried using ViewportPaneJava instead of ViewportPaneSWT, which restores
> the tooling graphics to its normal performance, but surprisingly does not
> refreshes the viewport more or less randomly, like after a zoom or whatever.
>
> Is anyone else experimenting this behavior on linux? if not, does somebody
> know what else I can try?
>
> If this is actually a problem with swt+cairo I would suggest to switch back to
> the awt pane implementation for linux until a solution is found.
>
> regards,
>
> Gabriel
>
Hi everyone,
I was struggeling with the same performance problems
described in the first post using the RC4-SDK as a
target platform and the following system specs:
- AMD64 3200+ Windows XP
- GPU: SIS 761GX onboard
- JDK 1.5.0_07-b03 (tried udig-jre as well)
- udig 1.1-RC4
- Eclipse 3.2.x and 3.3.x
Basically all operations within the MapPane have been
very slow and cpu load went up to 100%...
Going all the way back to udig-1.0.5-sdk solved the problem, so
I used udig-trunk and also switched from ViewportPaneSWT to
ViewportPaneJava, rebuilt the product and switched the target
platform. I'm not sure if this breaks other things (e.g. I'm
getting exceptions when resizing the MapPane now), but seems
to work so far.
Regards,
Sven
More information about the udig-devel
mailing list