|
|
(26 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
| '''the below info is from Fedoraforum.org and should help you get AMD catalyst 12.6 for fedora 17
| | Note: 12.9 BETA minimum !!!For kernel 3.4.* and up |
| '''
| |
|
| |
|
| | This section applies directly to users using the Official amd-driver-installer package downloaded from amd.com |
|
| |
|
| ---- | | === Installation Prep for Amd-Driver-Installer === |
|
| |
|
| '''The below Instructions are from http://forums.fedoraforum.org/showthread.php?t=155503
| | The script from AMD builds the kernel module and a set of modules for XOrg. The Official AMD installer requires some development packages to be installed: |
| thank you
| |
| '''
| |
|
| |
|
| | <pre> |
| | su - |
| | yum install kernel-devel kernel-headers gcc gcc-c++ |
| | </pre> |
|
| |
|
| ----
| |
|
| |
|
| | === Download driver === |
|
| |
|
| | Download the driver for your particular card from http://support.amd.com/ |
|
| |
|
| == '''Steps to install for HD5xxx and newer cards''' ==
| |
|
| |
|
| | wget http://www2.ati.com/drivers/linux/amd-{{catalystdashversion}}-linux-x86.x86_64.zip |
| | unzip amd-{{catalystdashversion}}-linux-x86.x86_64.zip |
|
| |
|
| '''1. Update kernel
| | === Install driver === |
| '''
| |
| Code:su -
| |
| yum update kernel
| |
|
| |
|
| | Run the file as root in the ''sh'' shell. |
|
| |
|
| | su |
| | sh amd-driver-installer-{{catalystdashversion}}-linux-x86.x86_64.run |
|
| |
|
| '''2. Install driver'''
| |
|
| |
|
| install the rpmfusion driver | | Select the default install, do not generate distribution packages. |
|
| |
|
| Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.
| | Click "check log" when install finish |
|
| |
|
| Code:
| | === GENERATE DEFAULT CONFIG === |
|
| |
|
| su
| |
| yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
| |
| yum install akmod-catalyst xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686
| |
|
| |
|
| | su |
| | sh aticonfig --initial |
|
| |
|
| ----
| |
|
| |
|
| Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)
| | REBOOT |
|
| |
|
| su
| | ===To Uninstall=== |
| yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
| | Open terminal,SU to get root,type: |
| yum install kmod-catalyst xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686
| |
|
| |
|
| ---- | | sh /usr/share/ati/amd-uninstall.sh |
| '''
| |
| For PAE kernels'''
| |
|
| |
|
| su
| |
| yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
| |
| yum install kmod-catalyst-PAE xorg-x11-drv-catalyst-libs.i686 xorg-x11-drv-catalyst
| |
|
| |
|
| ----
| | Video playback |
|
| |
|
| '''3. Make sure radeon is removed from initramfs'''
| | Add rpm-fusion repositories (free and non-free) via firefox |
|
| |
|
| Code:
| | http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm |
| | http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm |
| | open with Archive manager and install,this will provide extra video-codec like H-264,ac3,xvid,mp4.... |
|
| |
|
| su
| | Good luck, |
| mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img
| |
| dracut /boot/initramfs-$(uname -r).img $(uname -r)
| |
|
| |
|
| | winglman |
|
| |
|
| ----
| | knowledge is free, so share it! |
| | |
| All Done Just reboot
| |
| this guide is from
| |
| http://forums.fedoraforum.org/showthread.php?t=155503
| |
| | |
| | |
| ----
| |
| | |
| ----
| |
| | |
| | |
| == Installing on Older Cards (HD4xxx and below) (12.6 Legacy) ==
| |
| | |
| AMD has released 12.6 for legacy cards, so you no longer have to downgrade X. This driver is at [http://support.amd.com/us/kbarticles/Pages/catalyst126legacyproducts.aspx amd.com]. Just use the instructions above, but with this file instead. Also, you'll have a goofy watermark in the bottom right of your screen that says "Testing". You can get rid of this by changing <code>/etc/ati/signature</code> to
| |
| <pre>5da725748a98681ea0dd5ee8eeeff730:65891c4ca7a95a2e96ec6f89c3dec30169961537a7d93c5780ea66d8dddfc2:6b921d4dbbfb5c7dc1ea3fd1db8ec55564914017bcfe5027c3ee3a8d8ddcc7016b9e1c42bbad5b29c1ea3ad1dd8cc20765974015bcae0c26c4b93a8e8ddd</pre>
| |
| | |
| == Installing on Older Cards (HD4xxx and below) (12.4) ==
| |
| | |
| If you have an HD4xxx series card, [http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx Catalyst] 12.4 is the newest stable driver to support it (as of June 4, 2012). This won't work with X version 1.12 (the one packaged with Fedora 17). To downgrade to X version 1.11, use the following commands (as root). <br>
| |
| <em>Note: I'm assuming x86_64</em><br>
| |
| <b>IMPORTANT:</b> I'd highly recommend going down to runlevel 3 first. You can do this using the following command in one of the text consoles (<CTRL> + <ALT> + <Fx> where x is 1-9, just try them until you get to a console)
| |
| <pre>systemctl isolate runlevel3.target</pre>
| |
| Commands for downgrading X:
| |
| <pre>yum erase xorg-x11-drv-intel</pre>
| |
| <pre>yum --releasever=16 install libxcb* xcb-util startup-notification*</pre>
| |
| <pre>yum --releasever=16 downgrade *xcb* xorg*</pre>
| |
| You may also need libxcb.i686 from the Fedora 16 release. The intel driver has additional dependencies, and those with AMD/ATi cards don't need it anyway.
| |
| To solve the issues with the new kernel source, use the steps in <ul><li>[[Fedora 16 Installation Guide]]</li></ul>
| |
| <b>UPDATE</b><br>
| |
| 3.4.0 has been pushed as the most recent kernel update. This will require recompiling the drivers in addition to commenting the two lines out of <code>uaccess_64.h</code>. Make sure you've rebooted into the new kernel before compiling the driver. You'll need to run the installer first. It will fail, but it copies everything but the kernel modules. To compile those, go to the directory where the <code>amd-driver-installer-12-4-x86.x86_64.run</code> file is and type:
| |
| <pre>./amd-driver-installer-12-4-x86.x86_64.run --extract fglrx</pre>
| |
| You will then need to edit <code>./fglrx/common/lib/modules/fglrx/build_mod/kcl_ioctl.c</code> and add the line <pre>DEFINE_PER_CPU(unsigned long, old_rsp);</pre> on line <code>220</code> directly under the end of the multi-line comment. You also need to edit line <code>4157</code> of <code>./fglrx/common/lib/modules/fglrx/build_mod/firegl_public.c</code> to be <pre>for_each_possible_cpu(p)</pre>.
| |
| After this, execute <pre>cd ./fglrx/common/lib/modules/fglrx/build_mod
| |
| ./make.sh</pre> as root. If you get an error about no make target for <code>libfglrx_ip.a</code>, then copy the one from <code>./fglrx/arch/x86_64/lib/modules/fglrx/build_mod</code> to <code>./fglrx/common/lib/modules/fglrx/build_mod/</code> and try again.
| |
| Finally, run <pre>cd ../
| |
| ./make_install.sh</pre> as root then <pre>reboot</pre> to check your results, which I do by seeing if this command correctly outputs a temperature.
| |
| <pre>aticonfig --odgt</pre>
| |
Note: 12.9 BETA minimum !!!For kernel 3.4.* and up
This section applies directly to users using the Official amd-driver-installer package downloaded from amd.com
Installation Prep for Amd-Driver-Installer
The script from AMD builds the kernel module and a set of modules for XOrg. The Official AMD installer requires some development packages to be installed:
su -
yum install kernel-devel kernel-headers gcc gcc-c++
Download driver
Download the driver for your particular card from http://support.amd.com/
wget http://www2.ati.com/drivers/linux/amd-15-12-linux-x86.x86_64.zip
unzip amd-15-12-linux-x86.x86_64.zip
Install driver
Run the file as root in the sh shell.
su
sh amd-driver-installer-15-12-linux-x86.x86_64.run
Select the default install, do not generate distribution packages.
Click "check log" when install finish
GENERATE DEFAULT CONFIG
su
sh aticonfig --initial
REBOOT
To Uninstall
Open terminal,SU to get root,type:
sh /usr/share/ati/amd-uninstall.sh
Video playback
Add rpm-fusion repositories (free and non-free) via firefox
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
open with Archive manager and install,this will provide extra video-codec like H-264,ac3,xvid,mp4....
Good luck,
winglman
knowledge is free, so share it!