I've been watching this thread with interest because we have found that LCL/GTK2 seems to consume excessive amounts of CPU when performing certain bitmap operations (including resize operations) even when run on the local display.
One tends not to notice it locally because most PCs are fast enough for it not to be an issue in practice. However when executing remotely it does become a problem as it also does when running on an old PC (eg, with an old shared memory graphics card) and also when doing more bitmap intensive work (as we do here in our applications) even on a fast PC. When we compare our application performance compiled with LCL/Win32 (run in Windows of course) this problem is not evident. When compiled with Delphi6, Turbo Delphi Explorer and Kylix it is also not evident. When compiled with LCL/GTK2 is the only case we've seen the problem (we've not tested QT4 and others). We have already reported (and fixed with a patch) one related problem to do with resizing bitmaps: http://bugs.freepascal.org/view.php?id=13556 but our suspicion is that there are a few more bugs in the LCL/GTK2 interface related to bitmap handling that have not been diagnosed let alone fixed yet. Cheers, Bruce. Bogus?aw Brandys wrote: > Graeme Geldenhuys wrote: > >> On Fri, May 8, 2009 at 2:49 AM, Paul Ishenin <i...@kmiac.ru> wrote: >> >>> Have you tried NX sessions? I like them ;) >>> >> I used NX sessions to connect from South Africa to Belgium servers. :) >> I'm pretty sure internal LAN networks will be much faster, but why >> install extra remoting software when remoting is built into X11 >> protocol already? >> >> A simple "ssh -X u...@server" is all that is required to run >> applications remotely and display locally. >> >> >> Regards, >> - Graeme - >> >> >> > > Can you confirm my thought that the worst it become when trying to > resize window in Lazarus IDE run remotely ? (that would proof too much > repainting calls) > > Boguslaw > _______________________________________________ > Lazarus mailing list > Lazarus@lazarus.freepascal.org > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus