LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2009, 07:28 PM   #1
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
Recommended Xorg Upgrade Procedure?


Or is this not considered a wise move?

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.

Thanks.
 
Old 06-03-2009, 05:10 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Better upgrade with a package manager. Using the binary xorg files is not good. You may have library incompatibilities as you perhaps have.
 
Old 06-03-2009, 07:44 AM   #3
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Rep: Reputation: 30
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.
 
Old 06-03-2009, 04:10 PM   #4
botnet
Member
 
Registered: May 2009
Posts: 158

Original Poster
Rep: Reputation: 40
Thanks, I think I will just go ahead and try it. I should be able to restore everything off the Slackware DVD if it doesn't go well, right?
 
Old 06-03-2009, 04:14 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
[Deleted]

Last edited by dugan; 06-03-2009 at 08:00 PM.
 
Old 06-03-2009, 05:01 PM   #6
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Quote:
Originally Posted by dugan View Post
Slackware 13 will include the new drivers. And Slackware 13 will be out soon.

If you can wait for Slackware 13, it's probably easier than rebuilding X.
How do you know this? Just wondering...
 
Old 06-03-2009, 07:05 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
[Deleted]

Last edited by dugan; 06-03-2009 at 08:00 PM.
 
Old 06-03-2009, 07:57 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Please don't share contents of private mails in public fora.
 
Old 06-03-2009, 08:01 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
You're right. That was a lapse in my judgement.
 
Old 06-04-2009, 01:51 PM   #10
botnet
Member
 
Registered: May 2009
Posts: 158

Original Poster
Rep: Reputation: 40
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

Last edited by botnet; 06-05-2009 at 05:48 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat to Fedora upgrade non-standard procedure zdinu Red Hat 1 02-21-2007 06:48 AM
Procedure to update / upgrade Debian tommurdock Debian 3 10-23-2006 11:18 AM
What is the recommended procedure to compile 2.6.18 in Suse 10.0? gau_veldt SUSE / openSUSE 1 09-23-2006 02:01 PM
kernel upgrade procedure Ibrahimbazar Linux - Kernel 2 05-29-2006 08:16 AM
RedHat AS 3.2 to 3.4 upgrade procedure dollster31 Linux - Software 1 02-16-2005 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration