Help on build libX11 + xcb
Hi there,
Any directions on building libX11 with xcb support? I 'trashed' my system for two times getting rid of fglrx. It's one xpress1100 [RS482 [Radeon Xpress 200M]]. Right now is kernel 2.6.29.1, xserver 1.5.2, mesa 7.4 and all the latest or gits protos/libs/drivers/..., but with libxcb, xcb and libX11 from slackware 12.2. 2D is very good and got dri, but have some image corruption and errors. Desired is xserver 1.6. Thanks. |
What exactly are you having problems with? libX11 will build against XCB if XCB is installed on your system. No additional configure switches should be necessary. Otherwise installing libX11 is as simple as executing the configure script, make, and make install.
Installing XCB is similar (configure, make, make install). Install xcb-proto, then libxcb, then (recommended) xcb-utils. You'll need Python to build xcb-proto. You'll need libXSLT, libXau, and libpthread-stubs to build libxcb. You'll need gperf to build xcb-utils. In the end, you'll have libX11-xcb in addition to libX11. |
Tried again and failed. libxcb-xlib.so is not created and some programs/libs, specially xauth and kdeinit, seems to be linked against (?). As my acpi only works with kernel 2.6.28 and up, I was forced to keep an eye on every update. Before that was all pain with dsdt corretions.
Yesterday I was able to build mesa, xcb and xserver, with libX11, all from git. Copied libxcb-xlib to /usr/lib, made the symlinks and got warnings about some missing _lock_ calls. Also had errors on some kde applications, like the battery meter not showing. DRI was ok and, even if my fps was very slow, got compiz to work. I'm impressed it even worked. Right now I'm 'unbuilding' all the mess... Thanks for your reply. |
Quote:
This is the reason that I couldn't either upgrade to lastest X. |
Is there any way to build the new server without xcb support and have video acceleration ?
|
You could try to build latest X keeping the just the xcb provided by Slackware. This way you will have the libxcb-xlib library needed by kde and gtk apps. Compile libX11 with the "--with-xcb" option to use xcb.
|
Sorry for bothering, as my initial desire was really build with xcb and improving kernel compatibility with my broken BIOS. The R300, R400 and R500 will be dropped from the next fglrx, and the 9.3 won't compile on the 2.6.29 and future kernels. The RS480 is supposed to work well with the radeon driver.
No luck again, but learned to fix a lot of things ;) Downgraded to last .28 series and made the proprietary module again. Will try at least upgrading some protos. On the desktop I have one old 8500. No luck also. The desktop was messed very hard this time. As the result the rig is now almost a fresh 12.2. Not bad at all 8] Thanks for taking your time. |
Just FYI.
I've managed to build xorg-server-1.6, along with xcb-1.2 and Mesa-7.4 for testing it. Since I also use gtk compiled from source, I had to rebuild gtk and its dependencies and had no problem with gtk apps Thank god I use fluxbox and not kde, because kde is heavily dependent on libxcb-xlib, as it seems from: Code:
grep libxcb-xlib /usr/lib/*.la |
Hi,
I've also compiled X11 from source to experiment with latest xorg-server and intel drivers, and while I successfully built the entire X from source without the libxcb-xlib, it turned out that I had one or more goofs in my system to fix the libtool references to this library. As a result, while X11 runs like a charm, all other X applications also needed recompile... Any chance you can share with us how you fixed the libtool files without having to recompile every single X-dependent application? For those interested, here's the order in which I built X11 from scratch on a clean system (ie a system with absolutely no X or XAP packages installed (all latest version from contrib catalog on xorg except where noted, and mesa 7.4) Code:
1. ./x11.SlackBuild lib libpthread-stubs |
Quote:
The apps in /usr/X11/bin are OK (I've tried more than 20 of them). Also fluxbox, firefox, thunderbird, gimp, openoffice etc work also without a hitch. The only thing that has problems is kde, its libs and related apps. As I've already mentioned above I dont's use kde, so I didn't have to recompile anything, apart from gtk and its dependencies. If you are interested you can try the solution posted in comments #15 and #20 in this bug report. |
Quote:
Good to see I'm not alone, just a couple of years late. |
Quote:
I tried the solution from the gentoo bug report, but ended up borking my system. Have unfortunately not had sufficient time to dive deeper into this, as recompiling X from scratch already took more time than allowed :-) |
Quote:
Quote:
|
Quote:
Quote:
|
All times are GMT -5. The time now is 08:49 AM. |