SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am asking because I have an intel card, and some new drivers have been being released that require a more recent xorg version and with my current drivers i am unable to play Portal. I really do not like to have to use another operating system just to play a game. (The problem by the way is after the intro screen loads, right before the menu selection appears, the window goes black and locks up)
I tried once before to upgrade Xorg by manually untarring, configuring, and make && make installing each package myself, but something went awry somewhere with libxcb giving me invalid libtool errors all over the place and i was unable to determine the exact cause.
I've done something like this to have compositing with my laptop, which uses an ATI integrated chip not well supported by current slack.
I finally ended compiling the following packages by myself to get the latest version:
dri2proto-2.0
inputproto-1.5.0
libX11-1.2.1
libXrandr-1.3.0
libdrm-2.4.9
libpciaccess-0.10.6
mesa-7.6svn20090501
pixman-0.15.2
randrproto-1.3.0
xextproto-7.0.5
xf86-input-evdev-2.2.1
xf86-input-keyboard-1.3.2
xf86-input-mouse-1.4.0
xf86-video-ati-6.12.2 (replace this with xf86-video-intel)
xorg-server-1.6.1
xtrans-1.2.3
Most sources can be found in ftp.freedesktop.org/pub/individual.
I don't recall exactly the order of compiling, but usually xorg-server comes after the libs and proto, then drivers like input or videos.
I also had to recompile Qt and KDE, as they seem to have issues with the newer mesa.
Hope it helps.
I ended up using src2pkg (great utility gnashley, thanks) to build and install the necessary packages to upgrade to xorg-1.6.0
Here is what I had to install and in the order:
First, in order to get the rest compiled I needed to install these three:
inputproto-1.5.0-i486-1.tgz
libdrm-2.4.5-i486-1.tgz
dri2proto-2.0-i486-1.tgz
After this I could build everything save for xorg-server itself which entailed:
libpciaccess-0.10.3-i486-1.tgz
libxaw-1.0.5-i486-1.tgz
libxfont-1.4.0-i486-1.tgz
libxi-1.2.1-i486-1.tgz
randrproto-1.3.0-i486-1.tgz
xextproto-7.0.4-i486-1.tgz
xproto-7.0.14-i486-1.tgz
xtrans-1.2.3-i486-1.tgz
rgb-1.0.3-i486-1.tgz
pixman-0.14.0-i486-1.tgz
mesalib-7.3-i486-1.tgz
After these were installed I was able to build xorg-server-1.6.0 and install it, then of course the x11 drivers that I needed (mouse keyboard evdev synaptics vesa fbdev and intel)
It all works more or less. No instability or anything weird as of yet.
The only issue is I can only startx as root now, which means I have to use GDM which I do not like (qingy user here). Could that be fixed with a chmod a+x? The error I get is "Fatal Server Error: xf86OpenConsole: cannot open /dev/tty0 no such file or directory" Of course /dev/tty0 does exist.
Portal still doesn't want to work correctly though, and I still don't have GEM or UXA capabilities (both work in Gentoo on this laptop though) so I must be missing something, but I will look around to fixing that before I make another thread about that issue.
Thanks again gnashley, src2pkg made this endeavor much much easier than a manual installation.
Edit: Apparently KMS is needed in the kernel for GEM/UXA and from what I can gather this conflicts with PAE. Last time I used KMS it was a mess, but that was on the .29 kernel tree and I like having access to all my RAM with PAE...Maybe I can wait until Slackware 13 and go 64bit...
Additional edit: KMS enabled, PAE disabled GEM and UXA both work, still no problems, chmod u+s /usr/bin/Xorg lets me startx as normal user now.
STILL CANT PLAY PORTAL!!
but...oh well
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.