Difference between revisions of "Fedora 17 Installation Guide"

From cchtml.com
Jump to: navigation, search
(Steps to install for HD5xxx and newer cards)
Line 19: Line 19:
  
  
'''Prereqs''':
+
'''1. Update kernel
 +
'''
 +
Code:su -
 +
yum update kernel
  
1. You need kernel 3.3.7-1 or 3.3.7-3 . Get them from: (Download kernel, kernel-devel and kernel-headers)
 
    Kernel 3.3.7-3: http://koji.fedoraproject.org/koji/buildinfo?buildID=321331
 
    Kernel 3.3.7-1: http://koji.fedoraproject.org/koji/buildinfo?buildID=319972
 
  
2. Amd Catalyst 12.6 beta
 
    Amd Catlyst: http://support.amd.com/us/kbarticles/Pages/AMDCatalyst126beta.aspx
 
  
 +
'''2. Install driver'''
  
'''Procedure''':
+
install the rpmfusion driver
  
Even if your existing kernel is 3.4.0-1 or higher, this procedure will work! So dont panic! I will take kernel 3.3.7-3 as example, you can use kernel 7-1 if desired.
+
Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.
  
 +
Code:
  
1. Install the kernel: sudo yum --nogpgcheck install kernel-3.3.7-2.fc17.x86_64.rpm  
+
su
(nogpgcheck is needed sice koji packages are not signed)
+
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
  
2. Remove existing kernel-devel. First do: rpm -qa | grep kernel-devel . Then remove the kernel-devel-3.x.x package you see, by using rpm -evv kernel-devel-3.4.0-1.fc17.x86_64  (or whatever kernel version you are using)
 
  
3. Install kernel-devel (sudo yum --nogpgcheck install kernel-devel-3.3.7-2.fc17.x86_64.rpm)
+
----
  
4. Now, you need to remove kernel-headers. Use: rpm -evv --nodeps kernel-headers-3.4.0.1.fc17.x86_64  (or your kernel headers version, check with rpm -qa | grep kernel-headers). You need to use rpm, since yum will remove both it and dependencies, which include gcc and make; if they are removed, it will torpedo your amd-driver-installer scripts.
+
Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)
  
5. Install kernel headers (sudo yum --nogpgcheck install kernel-headers-3.3.7-2.fc17.x86_64.rpm). Do a final check with "rpm -qa|grep kernel" to make sure that there is only one copy of kernel-devel, and that it matches the kernel (3.3.7-2.fc17.x86_64) version.  Do not proceed to the next step until you have made this check.  If you find ANY kernel-devels other than the one being installed here, remove them.
+
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 xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686
  
6. Reboot to kernel 3.3.7-3 and install AMD-ATI Catalyst 12.6 BETA driver.
+
----
 +
'''
 +
For PAE kernels'''
  
7. Now, edit yum.conf and exclude kernel updates. do: sudo nano /etc/yum.conf and add this to the end: "exclude=kernel*"
+
su
This will prevent kernel from upgrading. When a new version of Catalyst is available, check for the kernel it supports and upgrade your kernel by uncommenting this line.
+
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
 +
 
 +
----
 +
 
 +
'''3. Make sure radeon is removed from initramfs'''
 +
 
 +
Code:
 +
 
 +
su
 +
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img
 +
dracut /boot/initramfs-$(uname -r).img $(uname -r)
 +
 
 +
 
 +
----
 +
 
 +
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) ==
 
== Installing on Older Cards (HD4xxx and below) (12.6 Legacy) ==

Revision as of 06:28, 25 July 2012

the below info was from the AMD Beta and before Fedora 17 was released and no longer works do not follow this guide untill it is updated for foedora 17 and AMD catalyst 12.6 final.



The below Instructions will Fail in Fedora F17 Final and AMD Catalyst 12.6 Final if you have a Working set of instructions please update this guide

thank you




Steps to install for HD5xxx and newer cards

1. Update kernel Code:su - yum update kernel


2. Install driver

install the rpmfusion driver

Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

Code:

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



Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)

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 xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686


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


3. Make sure radeon is removed from initramfs

Code:

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



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 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 /etc/ati/signature to

5da725748a98681ea0dd5ee8eeeff730:65891c4ca7a95a2e96ec6f89c3dec30169961537a7d93c5780ea66d8dddfc2:6b921d4dbbfb5c7dc1ea3fd1db8ec55564914017bcfe5027c3ee3a8d8ddcc7016b9e1c42bbad5b29c1ea3ad1dd8cc20765974015bcae0c26c4b93a8e8ddd

Installing on Older Cards (HD4xxx and below) (12.4)

If you have an HD4xxx series card, 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).
Note: I'm assuming x86_64
IMPORTANT: 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)

systemctl isolate runlevel3.target

Commands for downgrading X:

yum erase xorg-x11-drv-intel
yum --releasever=16 install libxcb* xcb-util startup-notification*
yum --releasever=16 downgrade *xcb* xorg*

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

UPDATE
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 uaccess_64.h. 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 amd-driver-installer-12-4-x86.x86_64.run file is and type:

./amd-driver-installer-12-4-x86.x86_64.run --extract fglrx
You will then need to edit ./fglrx/common/lib/modules/fglrx/build_mod/kcl_ioctl.c and add the line
DEFINE_PER_CPU(unsigned long, old_rsp);
on line 220 directly under the end of the multi-line comment. You also need to edit line 4157 of ./fglrx/common/lib/modules/fglrx/build_mod/firegl_public.c to be
for_each_possible_cpu(p)
. After this, execute
cd ./fglrx/common/lib/modules/fglrx/build_mod
./make.sh
as root. If you get an error about no make target for libfglrx_ip.a, then copy the one from ./fglrx/arch/x86_64/lib/modules/fglrx/build_mod to ./fglrx/common/lib/modules/fglrx/build_mod/ and try again. Finally, run
cd ../
./make_install.sh
as root then
reboot
to check your results, which I do by seeing if this command correctly outputs a temperature.
aticonfig --odgt