hello world!
分类: LINUX
2013-02-27 10:34:59
This step is not necessary. You may like to stick to the kernel version you already have. In case you want the latest kernel, just use yum to get the latest kernel.
Note: Do not forget to update the kernel-devel package as well as its needed to compile the fglrx kernel module.
With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.
Download the from ATI/AMD website.
Install the drivers that you have downloaded using the following command.
Check the /usr/share/ati/fglrx-install.log file for result of installation. If there are no errors, proceed to the next step.
Note: You may see lines like this at the end of file
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
You can ignore these lines happily if they don’t contain any error message. You don’t really need to execute the command mentioned in those lines.
Add these lines to /etc/modprobe.d/blacklist.conf.
Note: This step is optional with Catalyst Driver version 9.10, but it wont harm even if you execute this.
You have to generate the initial xorg.conf file which will use fglrx as display device.
Step 7 : Modify xorg.conf
Section "Device"
Identifier "ATI radeon 6870"
Driver "fglrx"
EndSection
This step is not necessary.Open your /etc/X11/xorg.conf file and add the following line to “Device” section (the one with fglrx as driver)
Reboot your machine. And you’ll have the latest ATI Catalyst drivers working on your Fedora 11
You can test your newly installed drivers and get the performance benchmarks for your graphics card using the commands below.
[saini@fedora ~]$ glxgears [saini@fedora ~]$ fgl_glxgears |
My graphics card is ATI Radeon HD 3200 (256MB, Onboard) and I get 1500FPS withglxgears and 300FPS with fgl_glxgears.
In case you messup things somewhere, you can uninstall the fglrx drivers using the following command
[root@fedora ~]$ /usr/share/ati/fglrx-uninstall.sh |
10.1 "aticonfig: No supported adapters detected"
If when running
# aticonfig --initial
you get:
aticonfig: No supported adaptaters detected
But you do have an AMD GPU (or APU), it may still be possible to get Catalyst working by manually setting the device in your your etc/X11/xorg.conf file or by copying an older working /etc/ati/control file (preferred - this also fixes the watermark issue).
To get an older control file, download a previous version of fglrx from AMD and run it with "--extract driver" parameter. You'll find the control file in driver/common/etc/ati/control. Copy the extracted file over the system file and restart Xorg. You can try different versions of the file.
To set your model in xorg.conf,edit the device section of /etc/X11/xorg.conf to:
Section "Device" Identifier "ATI radeon ****" Driver "fglrx" EndSection
Where **** should be replaced with your device's marketing number (e.g. 6870 for the HD 6870 and 6310 for the E-350 APU).
Xorg will start and it is possible to use amdcccle instead of aticonfig. There will be an "AMD Unsupported hardware" watermark.
You can remove this watermark using the following script:
#!/bin/sh DRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.so for x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVER done
and rebooting.
10.2 Black screen with complete lockups and/or hangs after reboot or startx
Ensure you have added the nomodeset option to the kernel options line in your bootloader .
Disabling kernel mode setting is important, as the driver doesn't take advantage of KMS yet. If you do not deactivate KMS, your system might freeze when trying to switch to a tty or even when shutting down via your DE.
For GRUB Legacy, edit menu.lst by adding nomodeset to the kernel parameters. For example:
kernel /boot/vmlinuz-linux root=/dev/sda1 ro nomodeset
For GRUB 2, edit /etc/default/grub and add nomodeset to the kernel parameter options, e.g.
GRUB_CMDLINE_LINUX="nomodeset"
Then run, as root;
# grub-mkconfig -o /boot/grub/grub.cfg
For Syslinux, edit /boot/syslinux/syslinux.cfg and add nomodeset to the APPEND line, e.g.:
APPEND root=/dev/sda2 ro nomodeset