Fedora 10 Installation Guide: Difference between revisions

From cchtml.com
Line 115: Line 115:


# mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
# mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
# mkinitrd /boot/initrd-`uanme -r`.img
# 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.
After rebooting yor machine, fglrx should work. This method worked on a 'HP DC5750 microtower' with integrated Radeon X200.

Revision as of 09:41, 15 January 2009

Tom Walker's method

Okay, well F10's been out for three days at the time of posting this, so I guess it's about time someone wrote something here.

I'm no one by the way. I just found this wiki linked on ati.amd.com and so thought it best not to leave it blank.

A rather clever chap going by the name of leigh123@linux has written a guide to installing the ATI driver on Fedora 10 here:

http://forums.fedoraforum.org/showthread.php?t=155503&pp=10

Have fun.

Sincerely,


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

./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:

  1. perl -i -pe "s/(\[.*\])/\1\nexclude=libdrm/" /etc/yum.repos.d/fedora.repo
  2. 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:

  1. 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: 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:

  1. rmmod radeon
  2. rmmod drm

Load flgrx module:

  1. modprobe fglrx

Back up your current initrd image and create a new one:

  1. mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
  2. 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.