Difference between revisions of "Slackware Installation Guide"

From cchtml.com
Jump to: navigation, search
(Slackware Installation Guide: - Modified notes about building fglrx with GCC 3.4 in /testing and notes on kernel headers matching glibc)
m (Protected "Slackware Installation Guide": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(20 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
First, note that I don't like kernel 2.4, and don't use it. Therefore this FAQ will for the most part assume you've updated your kernels along with the rest of us. (By default, Slackware 10.2 ships with 2.4.30). This shouldn't cause any descrepencies, as fglrx will work with a 2.4 or 2.6 kernel; however, if you can't get acceleration on the older kernel series, my suggestion is to update! My own reasons for doing so are mainly stability related; having relatively modern hardware, the previous-gen kernel just doesn't like my computer very much. But now I digress...let's get to it.
 
First, note that I don't like kernel 2.4, and don't use it. Therefore this FAQ will for the most part assume you've updated your kernels along with the rest of us. (By default, Slackware 10.2 ships with 2.4.30). This shouldn't cause any descrepencies, as fglrx will work with a 2.4 or 2.6 kernel; however, if you can't get acceleration on the older kernel series, my suggestion is to update! My own reasons for doing so are mainly stability related; having relatively modern hardware, the previous-gen kernel just doesn't like my computer very much. But now I digress...let's get to it.
  
First and foremost; check [http://www.linuxpackages.net www.linuxpackages.net]. In theory, they have a man there who beta-tests and packages flgrx for Slackware. In practice, fglrx hasn't been updated on that site, as of this writing (2005-11-12), since Slackware 10.1 and fglrx 8.16. Still, there's always the off-chance that the slacker (pun not intended...okay, maybe it was intended just a little bit) has updated them; so check there first, and use them if they are up-to-date. They can be installed quite simply.
+
First and foremost; check [http://www.linuxpackages.net www.linuxpackages.net]. In theory, they have a man there who beta-tests and packages flgrx for Slackware. In practice, fglrx hasn't been updated on that site, as of this writing (2005-11-12), since Slackware 10.1 and fglrx 8.16. Still, there's always the off-chance that the slacker (pun not intended...okay, maybe it was ;) has updated them; so check there first, and use them if they are up-to-date. They can be installed quite simply.
  
 
  installpkg ati-fglrx*.tgz
 
  installpkg ati-fglrx*.tgz
Line 7: Line 7:
 
Now follow the below procedure.
 
Now follow the below procedure.
  
Please keep in mind, you'll need your kernel source and kernel headers installed. So if you're like me and update your kernel to a custom 2.6 monster, then you're fine. If you get a pre-built one (anything from the Slackware site, or anything that comes with a default slackware install), then you're going to have to download the corresponding source code. Version numbers must match exactly; also, you must have GCC 3.3 libraries installed (if you've upgraded to GCC 3.4, make sure cxxlibs is installed). You will also need the kernel-headers package installed. It does not matter what version they are, but as glibc on Slackware is built against 2.4, you should not upgrade to 2.6 headers unless you have a good reason to do so.
+
Please keep in mind that you'll need your kernel source and kernel headers installed. So if you're like me custom compile the kernel, then you're fine. If you get a pre-built one (anything from the Slackware site, or anything that comes with a default slackware install), then you're going to have to download the corresponding source code. Version numbers must match exactly; also, you must have GCC 3.3 libraries installed (if you've upgraded to GCC 3.4, make sure cxxlibs is installed).  
  
 
So, assuming you've got the relevant file from the ATI site, let's install this sucker.
 
So, assuming you've got the relevant file from the ATI site, let's install this sucker.
  
  rpm2targz fglrx*.rpm
+
  rpm2targz fglrx*.rpm ( or rpm2tgz fglrx*.rpm to get a .tgz file that pkgtools can install )
 
  tar -xvzf fglrx*.tar.gz -C /
 
  tar -xvzf fglrx*.tar.gz -C /
 
  cd /lib/modules/fglrx/build_mod
 
  cd /lib/modules/fglrx/build_mod
 
  sh make.sh
 
  sh make.sh
 
  sh ../make_install.sh
 
  sh ../make_install.sh
  fglrxconfig
+
  aticonfig --initial
  
 
Now, add this line to /etc/fstab
 
Now, add this line to /etc/fstab
Line 30: Line 30:
 
  fglrxinfo
 
  fglrxinfo
  
If it says yes, and the OpenGL version string is ATI and NOT Mesa, then you're good. If not, well, follow the above procedure again and pay attention this time. :p Ok, you probably did follow the procedure verbatim, so something else is the matter. I'll cover troubleshooting at a later date; for now, google it. The instructions for installing the ATI driver across various distrobutions are surprisingly uniform, with most of the variations going on in the way certain distros package their files, what they include in a default installation, and where they put things. So, good luck with your wanderings, Slacker!
+
If it says yes,then use the [http://www.ukulc.com/ language translation] and the OpenGL version string is ATI and NOT Mesa, then you're good. If not, well, follow the above procedure again and pay attention this time. :p Ok, you probably did follow the procedure verbatim, so something else is the matter. I'll cover troubleshooting at a later date; for now, google it. The instructions for installing the ATI driver across various distrobutions are surprisingly uniform, with most of the variations going on in the way certain distros package their files, what they include in a default installation, and where they put things. So, good luck with your wanderings, Slacker!
 +
 
 +
[[Category:Installation Documentation]]

Latest revision as of 21:44, 15 May 2012

First, note that I don't like kernel 2.4, and don't use it. Therefore this FAQ will for the most part assume you've updated your kernels along with the rest of us. (By default, Slackware 10.2 ships with 2.4.30). This shouldn't cause any descrepencies, as fglrx will work with a 2.4 or 2.6 kernel; however, if you can't get acceleration on the older kernel series, my suggestion is to update! My own reasons for doing so are mainly stability related; having relatively modern hardware, the previous-gen kernel just doesn't like my computer very much. But now I digress...let's get to it.

First and foremost; check www.linuxpackages.net. In theory, they have a man there who beta-tests and packages flgrx for Slackware. In practice, fglrx hasn't been updated on that site, as of this writing (2005-11-12), since Slackware 10.1 and fglrx 8.16. Still, there's always the off-chance that the slacker (pun not intended...okay, maybe it was ;) has updated them; so check there first, and use them if they are up-to-date. They can be installed quite simply.

installpkg ati-fglrx*.tgz

Now follow the below procedure.

Please keep in mind that you'll need your kernel source and kernel headers installed. So if you're like me custom compile the kernel, then you're fine. If you get a pre-built one (anything from the Slackware site, or anything that comes with a default slackware install), then you're going to have to download the corresponding source code. Version numbers must match exactly; also, you must have GCC 3.3 libraries installed (if you've upgraded to GCC 3.4, make sure cxxlibs is installed).

So, assuming you've got the relevant file from the ATI site, let's install this sucker.

rpm2targz fglrx*.rpm ( or rpm2tgz fglrx*.rpm to get a .tgz file that pkgtools can install )
tar -xvzf fglrx*.tar.gz -C /
cd /lib/modules/fglrx/build_mod
sh make.sh
sh ../make_install.sh
aticonfig --initial

Now, add this line to /etc/fstab

tmpfs     /dev/shm           tmpfs        defaults            0 0

And just reboot:

reboot

After that, you're golden. Or should be, at least. Verify you've got hardware rendering by typing in:

fglrxinfo

If it says yes,then use the language translation and the OpenGL version string is ATI and NOT Mesa, then you're good. If not, well, follow the above procedure again and pay attention this time. :p Ok, you probably did follow the procedure verbatim, so something else is the matter. I'll cover troubleshooting at a later date; for now, google it. The instructions for installing the ATI driver across various distrobutions are surprisingly uniform, with most of the variations going on in the way certain distros package their files, what they include in a default installation, and where they put things. So, good luck with your wanderings, Slacker!