Howto: Direct rendering with your ATI Radeon and FC2

Gabriel Labelle glabelle at optimized.org
Tue May 25 17:59:36 UTC 2004


I simply hope this will help somehow, it worked for me with my ATI
Radeon 9600 Pro on the Fedora Core 2 :)

You need kernel-source installed and you might also need to create a
symlink to your /usr/src/linux-2.6.5-1.358/ or whatever your kernel
version is in order to build the drivers correctly if your kernel name
is different from the kernel-source folder name (i.e. 2.6.5-1.358-myker,
2.6.5-1.358custom or 2.6.5-1.358smp).

1. Download the two following patches :

http://rambo.its.tudelft.nl/~ewald/patches/fglrx-3.7.6-fedora.patch
http://www.kaseorg.com/fglrx-3.7.6-regparm.patch

2. Download the ATI Proprietary Linux Driver from ati.com and install
the corresponding rpm package :

wget -c http://www2.ati.com/drivers/linux/fglrx-4.3.0-3.7.6.i386.rpm
sudo rpm -Uvh --force fglrx-4.3.0-3.7.6.i386.rpm

3. Change directory to /lib/modules/fglrx/build_mod and patch :

cd /lib/modules/fglrx/build_mod
sudo patch -p1 < /path/to/fglrx-3.7.6-fedora.patch
sudo patch -p1 < /path/to/fglrx-3.7.6-regparm.patch

4. Build and install the kernel module :

sudo sh make.sh
cd ..
sudo sh make_install.sh

5. Back up your current /etc/X11/xorg.conf

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

6. You now need to configure X :

sudo fglrxconfig

7. Perform these last steps :

cd /etc/X11/
sudo ln -sf XF86Config-4 xorg.conf
cd /etc/X11/xkb/rules
sudo ln -sf xorg xfree86
sudo ln -sf xorg.lst xfree86.lst
sudo ln -sf xorg.xml xfree86.xml

8: Voilà, you can restart X and enjoy direct rendering ! ;)

$ glxinfo |grep direct
direct rendering: Yes

Many thanks to FedoraForum.org and rage3d.com :

http://www.fedoraforum.org/forum/showthread/t-2028.html
http://www.rage3d.com/board/showthread.php?s=&threadid=33757007

Gabriel







More information about the fedora-list mailing list