Installing ATI fglrx for compiz Fedora 10

8 12 2008

These instructions are for installing fglrx on ATI cards it also removes the flickering that radeon might be giving.
You could also follow the guide at fedora forums but this is more simple.(Using 8.12 Driver)

(if you have followed other methods, please roll-back to previous system state,remove related packages)

1)Get Fedora 9s libdrm

32 Bit

rpm -ivh --nodeps --oldpackage http://mirror.yandex.ru/fedora/linux/releases/9/Everything/i386/os/Packages/libdrm-2.4.0-0.11.fc9.i386.rpm

64 Bit

rpm -ivh --nodeps --oldpackage http://mirror.yandex.ru/fedora/linux/releases/9/Everything/x86_64/os/Packages/libdrm-2.4.0-0.11.fc9.x86_64.rpm

2)Go to AMD official Site Download the driver:

http://ati.amd.com/support/drivers/linux/linux-radeon.html

3)Install driver

./ati-driver-installer-8-12-x86.x86_64.run

4)Create a blank xorg.conf in /etc/X11 (if u have a xorg.conf ,delete and make empty file)

5)

aticonfig --initial -f

6) Edit xorg.conf

Add following to “Device”

   Option      "OpenGLOverlay" "off"
   Option      "VideoOverlay" "on"

7)In the end add

Section "DRI"
Mode 0666
EndSection

Save

8)Backup Old initrd

mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.0

9)Remake initrd for the kernel (So the radeon module is not force loaded)

mkinitrd  /boot/initrd-`uname -r`.img `uname -r`

10) Prevent libdrm from being upgraded

perl -i -pe "s/([.*])/1nexclude=libdrm/"  /etc/yum.repos.d/fedora.repo
perl -i -pe "s/([.*])/1nexclude=libdrm/" /etc/yum.repos.d/fedora-updates.repo

11)Open

/boot/grub/grub.conf in root mode

Go to

kernel

line and add

vga=0xmode

mode for me was

323

which was 1024×768 32 bit

12)Edit /etc/modprobe.d/blacklist

Add radeon

13)Reboot and Voila !!


Actions

Information

11 responses

21 12 2008
djays

Oh i also noticed that in catalyst control center if i keep everything to lowest settings,disable catalyst A.I i get a high fps

21 12 2008
lumo

thanks

22 12 2008
Ajamison

Do you have the issue of DRI not being enabled with this? WHen i followed Leighs from fedora forums i got everthing working except that DRI apparently did not work

22 12 2008
djays

Nope i didn’t face any such issues , for my sys (x1250)everything works from compiz ,dri to sleep and hibernation.

24 12 2008
chronos

Thanks, works for me. But I had difficulties with some quota characters. It looks same but it is different character.

perl -i -pe “s/([.*])/1nexclude=libdrm/” /etc/yum.repos.d/fedora.repo
should be with ” and no ”

Same applies for xorg configuration where
Option “VideoOverlay” “on”
need to be Option “VideoOverlay” “on”

25 12 2008
sm

Is there a reason why you are using libdrm from fedora 9?

25 12 2008
Darktemplar

mkinitrd -v -f –with=fglrx /boot/initrd-`uname -r`.img `uname -r` worked for me

25 12 2008
djays

We use libdrm of fedora 9 because we are using fglrx of fedora 9

25 12 2008
djays

There was a quotes problem due to use of <code> so changed to <pre>

14 01 2009
Ragavendra

mkinitrd -v -f –with=fglrx /boot/initrd-`uname -r`.img `uname -r` worked for me too. Thanks djays & Darktemplar

30 01 2009
max

your original mkinitrd worked great for me. I could NOT figure out why I couldn’t get the blacklist in modprobe.conf to work to remove the radeon kernel module!

thanks!

Leave a comment