Status of xserver/debrix/modular tree?

Bernardo Innocenti bernie at develer.com
Fri Feb 11 17:57:32 PST 2005


Jeremy Kolb wrote:
> Bernardo Innocenti wrote:
>>
>>What's left to do?  libX11 already works on top of XCB.
> 
> If you want check out the todo list on the wiki.  It's a little bit old 
> but a lot of that stuff does need doing.  So far the core X protocol and 
> a lot of extensions already work.  I just finished writing the randr and 
> glx support for it which should be in cvs over the next few days.

I've just updated my sandbox and rebuilt xcb-proto, xcb and xlibs/X11.

I still have a nasty binary compatibility problem that I'm trying
to nail down: applications built against the xlibs/ libraries
(e.g.: fdclock) work fine with the XCB enabled libX11, while others
built against the xorg libraries (e.g.: xclock) immediately die
with an assertion failure:

 $ /usr/local/xorg/bin/xclock
 xclock: xcb_in.c:296: _xcb_in_read_packet: Assertion `rep->data == 0' failed.
 Aborted

 $ ldd /usr/local/xorg/bin/xclock
        libXft.so.2 => /usr/local/fdo/lib/libXft.so.2 (0xb7fec000)
        libfontconfig.so.1 => /usr/local/xorg/lib/libfontconfig.so.1 (0x0079c000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00712000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x0077b000)
        libXrender.so.1 => /usr/local/fdo/lib/libXrender.so.1 (0xb7fba000)
        libm.so.6 => /lib/tls/libm.so.6 (0x005bd000)
        libXaw.so.8 => /usr/local/xorg/lib/libXaw.so.8 (0x007f3000)
        libXmu.so.6 => /usr/local/xorg/lib/libXmu.so.6 (0x008e6000)
        libXt.so.6 => /usr/local/xorg/lib/libXt.so.6 (0x003f8000)
        libSM.so.6 => /usr/local/xorg/lib/libSM.so.6 (0x006ed000)
        libICE.so.6 => /usr/local/xorg/lib/libICE.so.6 (0x006f8000)
        libXpm.so.4 => /usr/local/xorg/lib/libXpm.so.4 (0x0044d000)
        libXp.so.6 => /usr/local/xorg/lib/libXp.so.6 (0x007e9000)
        libXext.so.6 => /usr/local/fdo/lib/libXext.so.6 (0xb7fa7000)
        libX11.so.6 => /usr/local/fdo/lib/libX11.so.6 (0xb7eac000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00492000)
        libz.so.1 => /usr/lib/libz.so.1 (0x006b5000)
        libdl.so.2 => /lib/libdl.so.2 (0x005e2000)
        /lib/ld-linux.so.2 (0x00479000)
        libXCB.so.0 => /usr/local/fdo/lib/libXCB.so.0 (0xb7e91000)
        libXau.so.0 => /usr/local/fdo/lib/libXau.so.0 (0xb7e8d000)

 $ gdb /usr/local/xorg/bin/xclock
 (gdb) run
 xclock: xcb_in.c:296: _xcb_in_read_packet: Assertion `rep->data == 0' failed.

 Program received signal SIGABRT, Aborted.
 0x004797a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
 (gdb) bt
 #0  0x004797a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
 #1  0x004b9955 in raise () from /lib/tls/libc.so.6
 #2  0x004bb319 in abort () from /lib/tls/libc.so.6
 #3  0x004b2f41 in __assert_fail () from /lib/tls/libc.so.6
 #4  0xb7e9d299 in _xcb_in_read_packet (c=0x80552d0) at xcb_in.c:296
 #5  0xb7e9d357 in _xcb_in_read (c=0x80552d0) at xcb_in.c:315
 #6  0xb7e9c05f in _xcb_conn_wait (c=0x80552d0, should_write=0, cond=0x8065340) at xcb_conn.c:243
 #7  0xb7e9cc12 in XCBWaitForReply (c=0x80552d0, request=38, e=0xbfffd958) at xcb_in.c:99
 #8  0xb7eefe64 in _XReply () from /usr/local/fdo/lib/libX11.so.6
 #9  0x08065088 in ?? ()
 #10 0x00000036 in ?? ()
 #11 0x00000000 in ?? ()


strace & ltrace output is mostly uninteresting.  I'm rebuilding
libICE and libSM from xlibs to see if it fixes the problem.


> If you're interested in helping out then subscribe to 
> xcb at lists.freedesktop.org.

Done.  May I suggest merging xcb@ with xorg@ as was done with
other lists?  Traffic is quite low, and most threads are of
general interst anyway.


> A nice and quick thing to do which you could help with would be to port 
> the wiki over from freedesktop to xcb.freedesktop.org.  I moved over 
> some stuff but not all of it, and it needs cleaning up.  Subscribe to 
> the list if you are interested.

I'd be glad to help, but I see no broken wiki links on
xcb.freedesktop.org. What's missing exactly?

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/




More information about the xorg mailing list