Linked by lopisaur on Fri 25th Jun 2010 22:21 UTC
Ubuntu, Kubuntu, Xubuntu Based upon a recent email to the X.Org developers' mailing list, Canonical is nearing the point of one of their goals for Ubuntu 10.10 of a rootless X Server, or being able to run the X.Org Server without root privileges.
Thread beginning with comment 431689
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Big deal...
by siride on Sun 27th Jun 2010 00:15 UTC in reply to "RE[2]: Big deal..."
siride
Member since:
2006-01-02

The toolkits apparently make very bad use of the protocol, but the biggest culprit is Xlib. XCB supposedly improves network performance considerably, but no toolkits use it as of yet.

Reply Parent Score: 3

RE[4]: Big deal...
by ggeldenhuys on Tue 29th Jun 2010 20:02 in reply to "RE[3]: Big deal..."
ggeldenhuys Member since:
2006-11-13

XCB supposedly improves network performance considerably, but no toolkits use it as of yet.

I believe X.org (and actually Xlib) already uses XCB, but overall X11 performance is still very bad. Doing ldd against almost any X11 applications shows a dependency on libxcb.so - how much of XCB it uses, I don't know..

$ ldd gnome-terminal
...
libuuid.so.1 => /lib/libuuid.so.1 (0xb7231000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7217000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb71d4000)
...

$ ldd xmag
...
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7c4f000)
...

$ ldd /usr/lib/libX11.so.6
linux-gate.so.1 => (0xb8085000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7f67000)
...


It's not just the remote protocol in X11 that is slow, everything related to windows are slow. I have a rather fast Nvidia and ATI video card, with proprietary drivers installed, but performance is not even close to what I get when I reboot into Windows. Simply dragging a window around shows tearing on the edges, dragging Firefox around using OSNews site shows really bad draw artifacts (never seen under Windows). The list goes on.

Reply Parent Score: 1

RE[5]: Big deal...
by siride on Tue 29th Jun 2010 20:12 in reply to "RE[4]: Big deal..."
siride Member since:
2006-01-02

Xlib only uses XCB essentially as a transport layer. It still has the same bad implementation on top of that.

I think you need to check your driver configuration or talk to some X.org devs because unless you have a really crappy gfx card (and it sounds like you don't), you shouldn't be seeing those issues. I have a T500 with a Radeon 3650 in it and it is quite snappy and I don't see artifacts or tearing. Compositing is also quite usable, which will significantly reduce flickering (just like in Windows Vista/7).

Reply Parent Score: 2

RE[5]: Big deal...
by spiderman on Wed 30th Jun 2010 05:34 in reply to "RE[4]: Big deal..."
spiderman Member since:
2008-10-23


It's not just the remote protocol in X11 that is slow, everything related to windows are slow. I have a rather fast Nvidia and ATI video card, with proprietary drivers installed, but performance is not even close to what I get when I reboot into Windows. Simply dragging a window around shows tearing on the edges, dragging Firefox around using OSNews site shows really bad draw artifacts (never seen under Windows). The list goes on.

This is not a performance problem, it is a vsync problem.

Reply Parent Score: 2