Fedora 10 Installation Guide: Difference between revisions

From cchtml.com
No edit summary
(Do not sign your name or add your e-mail address to wiki pages.)
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.
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.
#Open a terminal, become root, and run the package.
 
$ su -
However, <b>since then a far easier and more reliable method has been developed</b> by the clever types at RPMFusion.  You can read about it here:
# sh {{Catalystfilename}}
 
http://www.fedorafaq.org/#radeon
 
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.

Revision as of 20:45, 12 February 2009

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

  1. Visit the Catalyst 15.12 page and download the installer.
  2. Open a terminal, become root, and run the package.
$ su -
# sh radeon-crimson-15.12-15.302-151217a-297685e.zip