Popular Guides
Laptop Guides at
LinLap.com
Bill Giannikos (Home Page)
This guide will help you configure the proprietary ATI module under CentOS and Red Hat Enterprise Linux 5. For those that don't know, CentOS 5 and Red Hat Enterprise Linux 5 are basically the same thing just with a different name so this guide applies to both. I will not be covering the open source radeon module included with Xorg because its configuration is normally handled automatically by most Linux distributions. We also wont be covering the newly released readeonhd driver as these are still in an early stage.
ATI/AMD provide their own license for their driver. You will need to read and accept this license before proceeding.
We will be using 'nano' as our text editor of choice but you can use whatever you wish.
While this guide is mainly focused to laptop users there isn't any difference for desktop users.
You should run a full update for your installation to ensure you have all the latest packages installed.
The fglrx module is not included with CentOS/RHEL so we will need to use a 3rd party repository. Here we will be using the yjl-livna repository.
1. Load up a terminal window if you are in the graphic interface.
2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password
3. Edit the file /etc/yum.conf. Using nano we type the command “nano -w /etc/yum.conf”
4. If you have already configured yum to use the yjl-livna repository then append “*fglrx* *livna*” to the end of the “includepkgs” line and skip the next setup. Otherwise continue on.
5. Add the following to the bottom of this file:
[[[[yjl-livna]] name=EL $releasever - $basearch - YJL-Livna baseurl=http://yellowjacketlinux.fileburst.com/yum/yjl/el$releasever/$basearch/yjl-livna gpgkey=http://www.pennywasted.info/centos/YJL_GPG-KEY gpgcheck=1 enabled=1 exclude=*kmod*i586* includepkgs=*fglrx* *livna*
6. Save the file. In nano you press Ctrl-X, answer yes to the “Save modified buffer” question and then press enter on the file name to write.
7. If you have not previously setup Livna execute the following command:
rpm --import http://www.pennywasted.info/centos/YJL_GPG-KEY
8. Now execute the following command:
yum install kmod-fglrx xorg-x11-drv-fglrx
9. Reboot your system and you will be using the fglrx module.
Normally after installing the fglrx module with the steps above your xorg.conf file should have automatically been updates to use the newer driver. If this did not happen or for some reason it has reverted then, as root, enter the following command:
livna-config-display
This will switch you back to the fglrx module.
Discussion
One issue with the driver is you'll have to rebuild the kernel modules after each kernel update.
Here's a script I use:
cat fglrx_build_kernel_module.sh
#!/bin/sh
# Builds updated kernel module (based on currently loaded kernel)
#
# This driver was installed via RPM, built using:
# sh ati-driver-installer-9-3-x86.x86_64.run –buildpkg RedHat/RHEL5_64a
cd /lib/modules/fglrx/build_mod
./make.sh
cd /lib/modules/fglrx
./make_install.sh
echo “To complete the process you must 'init 3' and 'init 5'”
echo “lsmod | grep fglrx”
Hello all - Ignore the repo approach.
building and installing fglrx directly from amd is easy and takes 5 minutes.
The installer builds the rpm for you.
1) Download the driver from AMD.
2) Install the necessary kernel headers & devel
3) Install the necessary compat libraries
yum install 'compat-libstdc++*' 'compat-glibc.*' NB x86_64 users will need the i386 versions installed as well there may be other requirements that I already had installed - sorry4) as root
5) Assuming this was successful - configure it (as root)
or to see the eye-watering array of options
6) Troubleshooting and tweaking (e.g. X freezing on logout )
- an excellent guide is here.
http://en.gentoo-wiki.com/wiki/Fglrx#TroubleshootingOK the problem is the repo has been shut down. This is from the site's document root.
—
This is the FileBurst default page.
If you see this page it means:
1) The account is not configured yet (does not exist)
or
2) Our Billing Dept. has suspended this account because of billing issue
I have the same problem. If anyone knows the answer I would love to be enlightened.
trouble with step 8
I got this error:
root@localhost etc# yum install kmod-fglrx xorg-x11-drv-fglrx
Loading “kernel-module” plugin
epel 100% |======================| 1.1 kB 00:00
sl-base 100% |===================| 1.1 kB 00:00
sl-security 100% |======================| 951 B 00:00
http://yellowjacketlinux.fileburst.com/yum/yjl/el5.2/i386/yjl-livna/repodata/repomd.xml: Errno 14 HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: yjl-livna. Please verify its path and try again
My kernel is 2.6.18-92.1.6.el5, and I am running Scientific Linux 5.2, a RHEL5.2 clone, on a Dell 1501.
I am having the same issue. Is the repository not working anymore? Alternatives?