From Fedora Project Wiki

m (gives the reader a use scenario for fglrx)
Line 41: Line 41:


Blacklist old radeon modules
Blacklist old radeon modules
:<pre># echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf</pre>
<pre># echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf</pre>
:<pre># echo "blacklist radeonhd" >> /etc/modprobe.d/blacklist.conf</pre>
<pre># echo "blacklist radeonhd" >> /etc/modprobe.d/blacklist.conf</pre>
 
 
Remove the old radeon driver from initramfs
Remove the old radeon driver from initramfs
:<pre># mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img</pre>
<pre># mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img</pre>
:<pre># dracut /boot/initramfs-$(uname -r).img $(uname -r)</pre>
<pre># dracut /boot/initramfs-$(uname -r).img $(uname -r)</pre>
 
 
Reboot
Reboot
:<pre># shutdown -r now</pre>
<pre># shutdown -r now</pre>
 
 
Configure xorg.conf
<pre># amdconfig -f --initial</pre>
 
 
Reboot (again)
<pre># shutdown -r now</pre>
 
 
Once you have rebooted, run <code>fglrxinfo</code> (this does not require root privileges), which should display an output similar to the following:
<pre>$ fglrxinfo</pre>
<pre>
fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6300M Series
OpenGL version string: 4.2.11733 Compatibility Profile Context
</pre>

Revision as of 11:43, 7 February 2013

AMD Catalyst is non-free/proprietary software

AMD Catalyst driver cannot be included in Fedora because it is not free/libre and open source software. Fedora includes a free and open source driver for AMD graphics cards. It is highly recommended that you use the default driver that is part of Fedora and help improve it by providing your feedback. The following documentation describes the steps to use the non-free/proprietary driver. Fedora cannot help resolve bugs in the proprietary driver and all feedback should be directed to the vendor instead.

If you experience problems with the default free driver, or find it slow, you may install it with the following instructions.

Getting AMD Catalyst

Root is needed
All of the following commands will require superuser priveleges. Become root using:
$ su -
It is possible to use sudo instead
$ sudo -i

Preperations

Upgrade your system

# yum upgrade
# shutdown -r now

Download and install the RPM Fusion repositories (according to your Fedora version):

Fedora 18
RPM Fusion free
RPM Fusion nonfree
Fedora 17
RPM Fusion free
RPM Fusion nonfree
Fedora 16
RPM Fusion free
RPM Fusion nonfree
If your browser has downloaded these packages, as opposed to requesting to open the Fedora package installer, you may install them using the following command:
# yum install /path/to/package(s).rpm

Installing AMD Catalyst

Install the Catalyst driver and libraries

# yum install xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs

Install akmod for Catalyst

# yum install akmod-catalyst
Akmod vs. kmod
Many will be confused and mistakenly install kmod instead of akmod. Akmod is the preferred option, similar to dkms, in that is dynamically rebuilds the kernel module whenever a new kernel is installed, instead of the user having to rebuild each kernel module whenever there is a new kernel release.
A disadvantage to akmod is that it required more space than kmod-compiled modules.

Finishing touches

Blacklist old radeon modules

# echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist radeonhd" >> /etc/modprobe.d/blacklist.conf


Remove the old radeon driver from initramfs

# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img
# dracut /boot/initramfs-$(uname -r).img $(uname -r)


Reboot

# shutdown -r now


Configure xorg.conf

# amdconfig -f --initial


Reboot (again)

# shutdown -r now


Once you have rebooted, run fglrxinfo (this does not require root privileges), which should display an output similar to the following:

$ fglrxinfo
fglrxinfo 
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6300M Series
OpenGL version string: 4.2.11733 Compatibility Profile Context