Saturday, March 24, 2012

Installing ATI proprietary driver on Centos 6.2

ATI proprietary driver provides many features like 3D accelaration and surpasses the open source driver.Below is the steps of installing it.

* All commands issued as root

2.Install the fglrx-x11-drv and kmod-fglrx packages : yum install kmod-fglrx fglrx-x11-drv

3.Generate and initialize the new driver : aticonfig --initial

4.Now you have to reboot the system.

5.If you got a black blank screen you need to append "nomodeset" on the kernel in the grub boot loader entry for Centos.To make this permanent you have to edit the grub configuration files to make a new entry with this new option 
  5.1 Create a new file in /etc/grub.d/XX_anyname where XX is a number which is greater than the greater number of scripts in this directory, for example if you have scripts like 11_kdjk 30_linux 40_custom, create a file 50_mynewEntry

6.Edit the file adding your centos with nomodeset boot option.I copied the existing centos entry generated by the system and pasted it adding the option :

#!/bin/sh -e
echo "Adding My Centos 6.2 with
nomodeset option for fglrx to work ..."
cat << EOF
set root=(hd0,4)
menuentry "Centos 6.2 with nomodeset for proprietart ATI driver" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos4)'
        search --no-floppy --fs-uuid --set=root f1c65fc9-acfc-4a39-974b-6c6c38cb29f7
        linux /boot/vmlinuz-2.6.32-220.7.1.el6.i686 root=/dev/sda4
nomodeset
        initrd /boot/initramfs-2.6.32-220.7.1.el6.i686.img

}

7.Run update-grub2 or grub-mkconfig then grub-install /dev/sda
(replace /dev/sda) with your hard drive if necessary)

8.Reboot and select your new entry. That is it !



  

No comments:

Post a Comment