http://wiki.cchtml.com/api.php?action=feedcontributions&user=Its-techs&feedformat=atomcchtml.com - User contributions [en]2024-03-29T14:02:46ZUser contributionsMediaWiki 1.39.4http://wiki.cchtml.com/index.php?title=Fedora_17_Installation_Guide&diff=8629Fedora 17 Installation Guide2012-06-18T23:21:53Z<p>Its-techs: </p>
<hr />
<div>AMD catalyst 12.6 beta can work well with fedora 17.<br />
http://support.amd.com/us/kbarticles/Pages/AMDCatalyst126beta.aspx<br />
<br />
<br />
<br />
== '''Steps to install for HD5xxx and newer cards''' ==<br />
<br />
<br />
'''Prereqs''':<br />
<br />
1. You need kernel 3.3.7-1 or 3.3.7-3 . Get them from: (Download kernel, kernel-devel and kernel-headers)<br />
Kernel 3.3.7-3: http://koji.fedoraproject.org/koji/buildinfo?buildID=321331<br />
Kernel 3.3.7-1: http://koji.fedoraproject.org/koji/buildinfo?buildID=319972<br />
<br />
2. Amd Catalyst 12.6 beta <br />
Amd Catlyst: http://support.amd.com/us/kbarticles/Pages/AMDCatalyst126beta.aspx<br />
<br />
<br />
'''Procedure''':<br />
<br />
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.<br />
<br />
<br />
1. Install the kernel: sudo yum --nogpgcheck install kernel-3.3.7-2.fc17.x86_64.rpm <br />
(nogpgcheck is needed sice koji packages are not signed)<br />
<br />
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)<br />
<br />
3. Install kernel-devel (sudo yum --nogpgcheck install kernel-devel-3.3.7-2.fc17.x86_64.rpm)<br />
<br />
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.<br />
<br />
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.<br />
<br />
6. Reboot to kernel 3.3.7-3 and install AMD-ATI Catalyst 12.6 BETA driver. <br />
<br />
7. Now, edit yum.conf and exclude kernel updates. do: sudo nano /etc/yum.conf and add this to the end: "exclude=kernel*"<br />
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.<br />
<br />
== Installing on Older Cards (HD4xxx and below) ==<br />
<br />
If you have an HD4xxx series card, [http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx Catalyst] 12.4 is the newest 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><br />
<em>Note: I'm assuming x86_64</em><br><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)<br />
<pre>systemctl isolate runlevel3.target</pre><br />
Commands for downgrading X:<br />
<pre>yum erase xorg-x11-drv-intel</pre><br />
<pre>yum --releasever=16 install libxcb* xcb-util startup-notification*</pre><br />
<pre>yum --releasever=16 downgrade *xcb* xorg*</pre><br />
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.<br />
To solve the issues with the new kernel source, use the steps in <ul><li>[[Fedora 16 Installation Guide]]</li></ul><br />
<b>UPDATE</b><br><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. To compile go to the directory where the <code>amd-driver-installer-12-4-x86.x86_64.run</code> file is and type:<br />
<pre>./amd-driver-installer-12-4-x86.x86_64.run --extract fglrx</pre><br />
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>.<br />
After this, execute <pre>./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.<br />
Finally, run <pre>./fglrx/common/lib/modules/fglrx/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.<br />
<pre>aticonfig --adapter=0 --od-gettemperature</pre></div>Its-techshttp://wiki.cchtml.com/index.php?title=Fedora_17_Installation_Guide&diff=8628Fedora 17 Installation Guide2012-06-17T14:50:47Z<p>Its-techs: /* Steps to install for HD5xxx and newer cards */</p>
<hr />
<div>amd catalyst 12.6 beta can work well with fedora 17.<br />
http://support.amd.com/us/kbarticles/Pages/AMDCatalyst126beta.aspx<br />
<br />
<br />
<br />
== '''Steps to install for HD5xxx and newer cards''' ==<br />
<br />
<br />
'''Prereqs''':<br />
<br />
1. You need kernel 3.3.7-1 or 3.3.7-3 . Get them from: (Download kernel, kernel-devel and kernel-headers)<br />
Kernel 3.3.7-3: http://koji.fedoraproject.org/koji/buildinfo?buildID=321331<br />
Kernel 3.3.7-1: http://koji.fedoraproject.org/koji/buildinfo?buildID=319972<br />
<br />
2. Amd Catalyst 12.6 beta <br />
Amd Catlyst: http://support.amd.com/us/kbarticles/Pages/AMDCatalyst126beta.aspx<br />
<br />
<br />
'''Procedure''':<br />
<br />
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.<br />
<br />
<br />
1. Install the kernel: sudo yum --nogpgcheck install kernel-3.3.7-2.fc17.x86_64.rpm <br />
(nogpgcheck is needed sice koji packages are not signed)<br />
<br />
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 yum erase kernel-devel-3.4.0-1.fc17.x86_64 (or whatever package you are using)<br />
<br />
3. Install kernel-devel (sudo yum --nogpgcheck install kernel-devel-3.3.7-2.fc17.x86_64.rpm)<br />
<br />
4. Now, you need to remove kernel-headers. You need to use rpm, since yum won't uninstall it because of dependencies. 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)<br />
<br />
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.<br />
<br />
6. Reboot to kernel 3.3.7-3 and install AMD-ATI Catalyst 12.6 BETA driver. <br />
<br />
7. Now, edit yum.conf and exclude kernel updates. do: sudo nano /etc/yum.conf and add this to the end: "exclude=kernel*"<br />
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.<br />
<br />
== Installing on Older Cards (HD4xxx and below) ==<br />
<br />
If you have an HD4xxx series card, [http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx Catalyst] 12.4 is the newest 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><br />
<em>Note: I'm assuming x86_64</em><br><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)<br />
<pre>systemctl isolate runlevel3.target</pre><br />
Commands for downgrading X:<br />
<pre>yum erase xorg-x11-drv-intel</pre><br />
<pre>yum --releasever=16 install libxcb* xcb-util startup-notification*</pre><br />
<pre>yum --releasever=16 downgrade *xcb* xorg*</pre><br />
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.<br />
To solve the issues with the new kernel source, use the steps in <ul><li>[[Fedora 16 Installation Guide]]</li></ul><br />
<b>UPDATE</b><br><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. To compile go to the directory where the <code>amd-driver-installer-12-4-x86.x86_64.run</code> file is and type:<br />
<pre>./amd-driver-installer-12-4-x86.x86_64.run --extract fglrx</pre><br />
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>.<br />
After this, execute <pre>./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.<br />
Finally, run <pre>./fglrx/common/lib/modules/fglrx/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.<br />
<pre>aticonfig --adapter=0 --od-gettemperature</pre></div>Its-techs