Arch Linux: Difference between revisions

No edit summary
m (Reverted edits by (Talk); changed back to last version by Cerebral)
Line 68: Line 68:
* [ Arch Linux Homepage]
* [ Arch Linux Homepage]
* [ Arch Linux Forums]
* [ Arch Linux Forums]
* [
* [ Arch Radeon Wiki Page]

Revision as of 15:06, 11 April 2007

Installing and using fglrx drivers on Arch Linux should be a piece of cake, as the distro provides pre-built packages in its official repos, accessible through the pacman package manager.

The installation instructions I've taken straight from Arch's own wiki page, linked below in the External Resources section.


Stock Kernels


To install ATI's fglrx drivers for the kernel26 package, you need to install the ati-fglrx package.

   # pacman -Sy ati-fglrx


To install ATI's fglrx drivers for the kernel26beyond package, you need to install the ati-fglrx-beyond package.

   # pacman -Sy ati-fglrx-beyond


  • These packages contain only the kernel module, and depend on the ati-fglrx-utils package. The ati-fglrx-utils package is kernel-independent and provides the libraries and utilities for Xorg, including ATI's own
  • After installing the package, you'll need to either source /etc/profile or log out, then back in to set up the environment properly.
  • If you run both kernel26 and kernel26beyond then install both ati-fglrx module packages. They won't conflict with one another.

Custom Kernels

To install fglrx for a custom kernel, you'll need to build your own ati-fglrx-$kernel package, containing the kernel module compiled specifically for your kernel.

If you are at all uncomfortable or inexperienced making packages, read up Arch's ABS wiki page first so things go smoothly.

Obtaining PKGBUILD

Obtain the PKGBUILD and ati-fglrx.install files from CVS or ABS. Either:

Editing the PKGBUILD and building

Three changes need to be made here:

First, change




where KERNEL_NAME is whatever you want (custom, mm, themostawesomekernelever)

Second, remove kernel26 from the dependencies list.

Third, change



   _kernver=`uname -r`

(or directly insert the output of uname -r when running your custom kernel there)

Finally, build and install the package. (makepkg -i or makepkg followed by pacman -A pkgname.pkg.tar.gz)


  • No changes need to be made to the ati-fglrx-utils package, which is completely kernel-independent. All you need to do is compile a kernel module.
  • To build and run the fglrx kernel module with 2.6.16 kernels, patches are needed! Check out the cvs entries for ati-fglrx in testing for the required patch.

Related Resources

Distribution Neutral Steps

Verifying | Configuring | Troubleshooting

External Resources