Linked by Thom Holwerda on Sun 4th Jun 2006 13:01 UTC
Gnome I enjoy using many different desktop environments and operating systems. On a day-to-day basis, I use Finder, Explorer, GNOME, and KDE. They all have their good sides, but obviously, they have their fair share of bad sides as well. The next couple of columns will be about the latter. This week, I take a look at whatever bothers me about Ubuntu's GNOME/Linux combination (Dapper, obviously).
Thread beginning with comment 130519
To read all comments associated with this story, please click here.
good points
by olicat on Sun 4th Jun 2006 13:42 UTC
olicat
Member since:
2005-10-18

ubuntu does boot quite quickly though, but still not as fast as os x.

as for gnome's redraw speed - it's truely a disgrace. try with a xinerama set up and drag one window from one desktop to another, and you'll see how bad things can be. i don't think this will ever be fixed, they'll just implement an open gl x server to get around it, rather than fix the gtk slowness.

RE: good points
by rayiner on Sun 4th Jun 2006 14:24 in reply to "good points"
rayiner Member since:
2005-07-06

GTK+'s redraw is actually fairly well-optimized. It's just optimized for the wrong thing. GTK+ has a habit of trying to batch and coalesce EXPOSE events. This cuts down on overall CPU usage, but increases latency, leading to visible redraw.

Of course, ultimately, a composited desktop is the only correct solution to the redraw problem. It also has the advantage of allowing the toolkit to optimize for minimal CPU usage, since the compositor ensures that redraw latency (with reasonable bounds), doesn't result in visible artifacts.

Reply Parent Bookmark Score: 5

RE[2]: good points
by ma_d on Mon 5th Jun 2006 02:33 in reply to "RE: good points"
ma_d Member since:
2005-06-29

I like efficiency over low latency ;) .

Reply Parent Bookmark Score: 2

RE[2]: good points
by aquila_deus on Mon 5th Jun 2006 04:09 in reply to "RE: good points"
aquila_deus Member since:
2005-10-02

Compositing doesn't help when you switch desktop...

Reply Parent Bookmark Score: 1

RE: good points
by segedunum on Sun 4th Jun 2006 17:20 in reply to "good points"
segedunum Member since:
2005-07-06

i don't think this will ever be fixed, they'll just implement an open gl x server to get around it, rather than fix the gtk slowness.

It's sad, but that's what I think they'll do as well. It's also sad in that you're going to need hardware acceleration to really take advantage of a fully OpenGL powered X server. This isn't what desktop Linux was supposed to be about.

What will probably happen is they'll get around the problem in one way, but the problems will probably manifest themselves in another area.

Reply Parent Bookmark Score: 4

RE: good points
by JMcCarthy on Sun 4th Jun 2006 19:03 in reply to "good points"
JMcCarthy Member since:
2005-08-12

"as for gnome's redraw speed - it's truely a disgrace. try with a xinerama set up and drag one window from one desktop to another, and you'll see how bad things can be. i don't think this will ever be fixed, they'll just implement an open gl x server to get around it, rather than fix the gtk slowness."

Haha, you mean like what OS X did with 10.2 !
----

As far Ubuntu's slow boot time -- go smoke a cigar.
It has less to do with Linux itself but rather Ubuntu.

If you want a fair comparison go waste a couple of hours installing Gentoo and then boot from that.

Since you're compiling everything you have vs everything you could have you'll get an Apple effect. The same goes for services.

Ubuntu is marginally slower than Windows XP to boot, but it's nothing painful. For me at least. Maybe a minute.

Edited 2006-06-04 19:08

Reply Parent Bookmark Score: 1

RE: good points
by blixel on Sun 4th Jun 2006 19:35 in reply to "good points"
blixel Member since:
2005-07-06

I definitely agree with the GTK redraw problem. For me personally, that has been my number one complaint for the last 2 or 3 years about using Linux on the Desktop.

Here is an old video I made to demonstrate the problem. I don't think the problem is really any better than it use to be, but it's not as much of a problem for me these days because I don't use Gnome at all any more. I just use Openbox and rox-filer. I still notice sluggish redrawing, but it's not nearly as bad with general GTK apps as it is with Gnome+GTK apps.

http://www.davidcourtney.org/Files/Win-vs-Lin-video.asf

(Sorry that I only have an asf file. Video encoding isn't my thing.)

Here is another interesting video. I didn't make it ... I don't know who did. But this is the kind of ultra fast response time I dream about.

http://www.davidcourtney.org/Files/AmigaOS4-Fast.avi

I have Zeta installed on a spare machine ... one thing I really like about Zeta is how fast everything is. Navigating the file system, resizing windows, etc... It's all very responsive. The only slow thing about Zeta is when you draw your mouse cursor accross the desktop background as if you wanted to highlight multiple icons. For some reason, that single thing is *extremely* slow. I suspect it has to do with the fact that Zeta draws some kind of tranlucent window over the icons. They should get rid of the "special effect" and just use an ordinary line border.

Reply Parent Bookmark Score: 2

RE[2]: good points
by tristan on Sun 4th Jun 2006 20:14 in reply to "RE: good points"
tristan Member since:
2006-02-01

http://www.davidcourtney.org/Files/Win-vs-Lin-video.asf

(Sorry that I only have an asf file. Video encoding isn't my thing.)


I'm not saying that GTK's redraw speed couldn't be better -- it definitely could -- but that video is pretty unfair.

In the Windows case, the window is on top of a blank desktop with a few icons on it -- it doesn't even have to redraw any wallpaper. On the other hand, in the Linux case you've got a Nautilus window on top of Firefox. For whatever reason, Firefox's drawing speed under Linux is extremely poor (open a page with some Flash images -- the Flash parts of the page are always displayed first). This is certainly something that needs fixing, but it's not the responsibility of the Gnome project, or even GTK, but instead the Mozilla/Gecko people.

A fairer comparison would be to move/resize a Nautilus window on top of a plain Gnome desktop, without wallpaper, exactly as you had in Windows.

Reply Parent Bookmark Score: 3

RE[2]: good points
by anevilyak on Sun 4th Jun 2006 21:48 in reply to "RE: good points"
anevilyak Member since:
2005-09-14


I have Zeta installed on a spare machine ... one thing I really like about Zeta is how fast everything is. Navigating the file system, resizing windows, etc... It's all very responsive. The only slow thing about Zeta is when you draw your mouse cursor accross the desktop background as if you wanted to highlight multiple icons. For some reason, that single thing is *extremely* slow. I suspect it has to do with the fact that Zeta draws some kind of tranlucent window over the icons. They should get rid of the "special effect" and just use an ordinary line border.


That's an option in Preferences, Tracker.

Reply Parent Bookmark Score: 2

RE: good points
by siki_miki on Mon 5th Jun 2006 11:35 in reply to "good points"
siki_miki Member since:
2006-01-17

Boot problem is not related to kernel - as the author of review states. Kernel boots in few seconds.

It's related to various services, often waiting for timeouts to happen or interfaces to respond (especially network ones!), or which are generally slow and unoptimized. They are the bottleneck.

Possible solutions:

Some services could be executed after the GUI is up.
(printing, mail check, ,even network in cases user is locally authenticating, etc.)


Other way is to use something as init-ng which will parallelize execution of init scripts. Some people argued that this isn't a proper to improve boot time, so instead services should be improved to be faster, but I don't agree.

For example, if you have IO intensive service and CPU intensive service running at the same time, system is more efficiently utilized than if they run in non-parallel way. Also if you wait for a network response, you could in the meantime run other processes. So generally it is faster with parallelization (probably even more on SMP machines).

Reply Parent Bookmark Score: 1

RE[2]: good points
by Finalzone on Mon 5th Jun 2006 19:02 in reply to "RE: good points"
Finalzone Member since:
2005-07-06

Some services could be executed after the GUI is up.
(printing, mail check, ,even network in cases user is locally authenticating, etc.)


Hence the concept of early-login (currently on hold due to networking issue).
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151952

That method allows to directly go to the login screen while booting services. When the bugs will be ironed out, expect it to be available on Fedora Core first due to its cuttier technologies.

Reply Parent Bookmark Score: 1

RE: good points
by cg0def on Mon 5th Jun 2006 13:51 in reply to "good points"
cg0def Member since:
2006-02-12

well you are more than welcome to fix any bug/problem that you see and if it really exists I am sure that your help would be greatly appreciated. As for the redrawal speed there are a lot of things that can cause problems and it's not necessarily a gtk specific issue.

Reply Parent Bookmark Score: 1