Arch Linux: Difference between revisions

From cchtml.com
m (Reverted edits by 203.122.32.204 (Talk) to last revision by 69.124.171.80)
No edit summary
Line 69: Line 69:
* [http://www.archlinux.org Arch Linux Homepage]
* [http://www.archlinux.org Arch Linux Homepage]
* [http://bbs.archlinux.org Arch Linux Forums]
* [http://bbs.archlinux.org Arch Linux Forums]
*[http://ezinearticles.com/?The-P90X-Workout---How-I-Changed-From-a-Couch-Potato-to-a-Ripped-Dude-in-90-Days-With-the-P90X&id=3569141 P90x Workout]
* http://wiki.archlinux.org/index.php/ATI
* http://wiki.archlinux.org/index.php/ATI


{{VCT}}
{{VCT}}
[[Category:Distributions]]
[[Category:Distributions]]

Revision as of 09:57, 3 November 2010

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.

Installation

Before you start

You'll need to install the necessary programs

Terminal Command

# pacman -S xf86-input-evdev
# pacman -S xf86-input-mouse
# pacman -S xf86-input-keyboard
# /etc/rc.d/hal start
# pacman -Rd libgl


Terminal Command

# yaourt -Sy catalyst catalyst-utils
# aticonfig --initial


Notes

  • These packages contain only the kernel module, and depend on the catalyst-utils package. The catalyst-utils package is kernel-independent and provides the libraries and utilities for Xorg, including ATI's own libGL.so.
  • 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 catalyst module packages. They won't conflict with one another.

Custom Kernels

To install catalyst for a custom kernel, you'll need to build your own catalyst-$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 catalyst.install files from CVS or ABS. Either:

Editing the PKGBUILD and building

Three changes need to be made here:

First, change

   pkgname=catalyst

to

   pkgname=catalyst-KERNEL_NAME

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

Second, remove kernel26 from the dependencies list.

Third, change

   _kernver=2.6.15-ARCH

to

   _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)

Notes

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

Related Resources


Distribution Neutral Steps

Verifying | Configuring | Troubleshooting