Difference between revisions of "Fedora 10 Installation Guide"

From cchtml.com
Jump to: navigation, search
m (Protected "Fedora 10 Installation Guide": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
==Tom Walker's method==
+
There are two methods to install the fglrx driver. [http://rpmfusion.org RPMFusion.org] provides an RPM repository that fits in with yum for simple installation and updating. AMD provides a script installer that can generate Fedora RPMs or install the driver directly.
  
HelloI provided the original entry on the page - essentially a link to this thread...
+
==RPMFusion Repository==
 +
*This method will give you automatic updates when they become available from AMD.
 +
===Step 1 Install RPMFusion repository information===
 +
*Visit [http://rpmfusion.org RPMFusion.org] and install the RPM.
 +
===Step 2 Install the driver===
 +
====yum method====
 +
1. Open a terminal and become root.
 +
  $ su -
 +
2. In the terminal, perform the following command:
 +
# yum install akmod-fglrx
 +
3. Enable the driver for use.
 +
# fglrx-config-display enable
 +
====GUI method====
 +
# Open Add/Remove Software.
 +
# Search for "akmod-fglrx"
 +
# Check the package and click Apply.
 +
===Step 3 Restart===
 +
*Restart your computer for changes to take effect.
  
http://forums.fedoraforum.org/showthread.php?t=155503&pp=10
 
  
... that contains useful info on how to install your ATI driver on Fedora 10.  It is this thread to which the 'important information' below pertains.   
+
==AMD Repository==
 +
*Visit the Catalyst {{Catalystversion}} page and download the installer.
 +
===Step 1 Install Development Tools===
 +
The fglrx driver has a small kernel module that is required for hardware 3D and OpenGL acceleration.
 +
  $ su -c `yum install gcc kernel-devel rpm-build`
  
The contents of that thread are not at all my work, by the way, but pleasingly the UALDW admins decided to give the name "Tom Walker's method" to the process of clicking on the link and reading the info that 'leigh123@linux' had spent hours working out.
+
===Step 2 Install fglrx Driver===
 +
====Step 2a Generate RPMs Method====
 +
* Open a terminal, and run the package.
 +
$ sh {{Catalystfilename}} --buildpkg Fedora/F10
 +
* Become root and install the RPM files that were generated.
 +
$ su -
 +
# rpm -ihv filename.rpm
  
However, <b>since then a far easier and more reliable method has been developed</b> by the clever types at RPMFusionYou can read about it here:
+
====Step 2b Script Install Method====
 +
*Open a terminal, become root, and run the package.
 +
  $ su -
 +
# sh {{Catalystfilename}}
 +
===Step 3 Reboot===
 +
*Restart your computer for changes to take effect.
  
http://www.fedorafaq.org/#radeon
+
[[Category:Installation Documentation]]
 
+
It takes five minutes.
+
 
+
Regards,
+
 
+
 
+
Tom Walker,
+
 
+
IT Technician at a school you've never heard of.
+
 
+
 
+
 
+
 
+
'''''Additional important information:''''' (author Robert Schumann)
+
 
+
The procedure above worked for me for the original release kernel 2.6.27-5 and according drivers. After updating to 2.6.27-7, 2.6.27-9 and
+
an update of akmod-fglrx in the fc9 repo compiz didn't start anymore and e.g. awn quit although fglrxinfo showed normal ATI, even glxinfo reported
+
direct rendering and glxgears worked.
+
 
+
 
+
If you experience the same problem, first check your Xorg.0.log:
+
$ grep EE /var/log/Xorg.0.log
+
 
+
 
+
If the output is like
+
(EE) AIGLX error: fglrx exports no extensions (/usr/lib64/dri/fglrx_dri.so: undefined symbol: __driDriverExtensions)
+
then you have to relink libglx.so and libdri.so to the ATI versions (not the original ones from xorg). Thanks to the gentoo hackers
+
for this hint ;-)
+
 
+
$ sudo -i
+
 
+
$ mv /usr/lib64/xorg/modules/extensions/libglx.so /usr/lib64/xorg/modules/extensions/libglx.so.xorg
+
 
+
$ mv /usr/lib64/xorg/modules/extensions/libdri.so /usr/lib64/xorg/modules/extensions/libdri.so.xorg
+
 
+
 
+
And link the ATI ones:
+
 
+
$ ln -s /usr/lib64/xorg/modules/extensions/fglrx/libglx.so /usr/lib64/xorg/modules/extensions/libglx.so
+
 
+
$ ln -s /usr/lib64/xorg/modules/extensions/fglrx/libdri.so /usr/lib64/xorg/modules/extensions/libdri.so
+
 
+
==Another Way for X86_64 (maluyao#gmail.com)==
+
 
+
* 1. Download 2.6.27.8 kernel from www.kernel.org and compile it.
+
 
+
* 2.downgrade libdrm form Fedora9
+
 
+
rpm -Uvh --nodeps --oldpackage  ftp://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/9/Fedora/x86_64/os/Packages/libdrm-2.4.0-0.11.fc9.x86_64.rpm
+
 
+
* 3. run ati driver  8.12 or 9.1
+
 
+
./ati-driver-installer-8-12-x86.x86_64.run
+
 
+
* 4. ln -fs /usr/lib64/dri/fglrx_dri.so  /usr/lib/dri/fglrx_dri.so
+
 
+
* 5. aticonfig --initial -f
+
 
+
* 6. reboot
+
 
+
== One more way for i386 ==
+
 
+
Download and install libdrm package from Fedora 9, as described above. You have to prevent yum from updating these packages:
+
 
+
# perl -i -pe "s/(\[.*\])/\1\nexclude=libdrm/"  /etc/yum.repos.d/fedora.repo
+
# perl -i -pe "s/(\[.*\])/\1\nexclude=libdrm/" /etc/yum.repos.d/fedora-updates.repo
+
 
+
Install ati driver from amd's binary package.
+
 
+
Install system-config-display package:
+
 
+
# yum install system-config-display
+
 
+
After the successful install start system-config-display to create an xorg.conf template in /etc/X11.
+
Install ati driver from downloaded binary, edit /etc/X11/xorg.conf. Add these lines:
+
 
+
Section "Extensions"
+
Option "Composite" "Enable"
+
EndSection
+
 
+
 
+
Section "ServerFlags"
+
Option "AIGLX" "on"
+
EndSection
+
 
+
Section "DRI"
+
Mode 0666
+
EndSection
+
 
+
and add to 'Device section':
+
 
+
Option     "OpenGLOverlay" "off"
+
Option     "VideoOverlay" "on"
+
 
+
(From leigh123@linux's howto: [http://forums.fedoraforum.org/showthread.php?t=155503&pp=10 Howto for fglrx-Ati driver) and Compiz-fusion])
+
 
+
Edit /etc/grub.conf and add 'nopat' to the kernel line, and change the timeout to 10 seconds (timeout=10).
+
 
+
Reboot into single user mode, by pressing 'e' at grub's selection screen, select kernel line, press 'e', add 's' to the end of the line, press enter to finish editing and press 'b' to boot.
+
 
+
Log in as root. Add 'alias radeon off' to /etc/modprobe.conf, and add 'blacklist radeon' to /etc/modprobe.d/blacklist. If loaded, remove drm and radeon modules:
+
 
+
# rmmod radeon
+
# rmmod drm
+
 
+
Load flgrx module:
+
 
+
# modprobe fglrx
+
 
+
Back up your current initrd image and create a new one:
+
 
+
# mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
+
# mkinitrd /boot/initrd-`uname -r`.img `uname -r`
+
 
+
After rebooting yor machine, fglrx should work. This method worked on a 'HP DC5750 microtower' with integrated Radeon X200.
+

Latest revision as of 21:21, 10 December 2012

There are two methods to install the fglrx driver. RPMFusion.org provides an RPM repository that fits in with yum for simple installation and updating. AMD provides a script installer that can generate Fedora RPMs or install the driver directly.

RPMFusion Repository

  • This method will give you automatic updates when they become available from AMD.

Step 1 Install RPMFusion repository information

Step 2 Install the driver

yum method

1. Open a terminal and become root.

$ su -

2. In the terminal, perform the following command:

# yum install akmod-fglrx

3. Enable the driver for use.

# fglrx-config-display enable

GUI method

  1. Open Add/Remove Software.
  2. Search for "akmod-fglrx"
  3. Check the package and click Apply.

Step 3 Restart

  • Restart your computer for changes to take effect.


AMD Repository

  • Visit the Catalyst 14.4 page and download the installer.

Step 1 Install Development Tools

The fglrx driver has a small kernel module that is required for hardware 3D and OpenGL acceleration.

$ su -c `yum install gcc kernel-devel rpm-build`

Step 2 Install fglrx Driver

Step 2a Generate RPMs Method

  • Open a terminal, and run the package.
$ sh amd-catalyst-14-4-linux-x86.x86_64.run --buildpkg Fedora/F10
  • Become root and install the RPM files that were generated.
$ su -
# rpm -ihv filename.rpm

Step 2b Script Install Method

  • Open a terminal, become root, and run the package.
$ su -
# sh amd-catalyst-14-4-linux-x86.x86_64.run

Step 3 Reboot

  • Restart your computer for changes to take effect.