Note: This How To is valid up to Catalyst Driver version 10.1.
Note: With minor changes this How To may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.
Following the suggestions in comments on my last post about ATI Catalyst (fglrx), I tried to reinstall ATI drivers version 9.8 and finally it worked. I thought of noting down the the process in few simple steps which anyone can follow and get the drivers working on Fedora 11 with latest kernel versions.
Step 1 : Update Kernel, Install kernel-devel
Huge thanks to Richard Lloyd and
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.
DONT UPDATE THE KERNEL. Instead stick to whatever kernel version you have. If you have 2.6.30.*, you are unlucky π Get a kernel version 2.6.29.* and install the kernel-devel for the same.
With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.
[root@fedora ~]$ yum update kernel [root@fedora ~]$ yum install kernel-devel |
Step 2 : Download Drivers
Download the ATI Catalystβ’ 9.8 Proprietary Linux x86 Display Driver from ATI/AMD website.
Step 3 : Install Drivers
Install the drivers that you have downloaded using the following command.
[root@fedora ~]$ bash ./ati-driver-installer-9-8-x86.x86_64.run |
Step 4 : Check Installation Result
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.
Step 5 : Blacklist radeon and radeonhd kernel modules
Add these lines to /etc/modprobe.d/blacklist.conf.
blacklist radeon blacklist radeonhd |
Step 6 : Generate initial Xorg configuration file
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.
[root@fedora ~]$ aticonfig --initial |
Step 7 : Modify xorg.conf
Open your /etc/X11/xorg.conf file and add the following line to “Device” section (the one with fglrx as driver)
Option "SWCursor" "true" |
Step 8 : Reboot
Reboot your machine. And you’ll have the latest ATI Catalyst drivers working on your Fedora 11 π
Step 9 : Testing
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 with glxgears 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 |
Post your bug reports here:
http://ati.cchtml.com/show_bug.cgi?id=1696
And there is an AMD/ATI Linux Driver survey available here:
http://www.amdsurveys.com/se.ashx?s=5A1E27D23CFE9B36
I have followed the suggested procedures and apparently the ATI driver, fglrx, is installed and working. However, I can not get AIGLX rendering to work and thus Desktop effects and Compiz are not available to me. The output of glxgears and fgl_glxgears is essentially identical. Both AIGLX and Xinerama are turned on in “xorg.conf” and the “Xorg.log” shows them initializing correctly. Xinerama works just fine (as does Cairo-dock) but no acceleration! Any suggestions or donations of clue greatly appreciated.
The system is self assembled and consists a Gigabyte MB, an Intel 9550 CPU with 6GB of RAM and an ATI HD4770 video card. Output of standard tests shown below:
[pml@grizzly2 ~]$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4770
OpenGL version string: 2.1.9026
[pml@grizzly2 ~]$ fgl_glxgears
Using GLX_SGIX_pbuffer
278 frames in 5.0 seconds = 55.600 FPS
297 frames in 5.0 seconds = 59.400 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 60.000 FPS
299 frames in 5.0 seconds = 59.800 FPS
^C
[pml@grizzly2 ~]$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately 1/3984819 the monitor refresh rate.
299 frames in 5.0 seconds = 59.722 FPS
300 frames in 5.0 seconds = 59.948 FPS
300 frames in 5.0 seconds = 59.940 FPS
300 frames in 5.0 seconds = 59.952 FPS
300 frames in 5.0 seconds = 59.879 FPS
^C
[pml@grizzly2 ~]$ ./compiz-check
Gathering information about your system…
Distribution: Fedora release 11 (Leonidas)
Desktop environment: GNOME
Graphics chip: ATI Technologies Inc Device 94b3
Driver in use: fglrx
Rendering method: None
Checking if it’s possible to run Compiz on your system… [SKIP]
Checking for hardware/setup problems… [SKIP]
At least one check had to be skipped:
Error: No rendering method in use (AIGLX, Xgl or Nvidia)
[pml@grizzly2 ~]$ uname -a
Linux grizzly2.bears 2.6.30.10-105.fc11.x86_64 #1 SMP Thu Dec 24 16:41:51 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
I came here looking for some tweaks to see if I could improve on the rendering speed of my hd4670 but looking at the numbers posted here it seems I am doing not so bad after all:
jeroen@storm:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
12108 frames in 5.0 seconds = 2421.600 FPS
14030 frames in 5.0 seconds = 2806.000 FPS
14071 frames in 5.0 seconds = 2814.200 FPS
14035 frames in 5.0 seconds = 2807.000 FPS
^C
jeroen@storm:~$ glxgears
48979 frames in 5.0 seconds = 9795.751 FPS
48949 frames in 5.0 seconds = 9789.743 FPS
48947 frames in 5.0 seconds = 9789.309 FPS
48956 frames in 5.0 seconds = 9791.084 FPS
^C
jeroen@storm:~$ uname -a
Linux storm 2.6.30 #1 SMP Tue Dec 29 04:34:12 CET 2009 x86_64 GNU/Linux
Catalyst 9.12, used aticonfig –initial to produce xorg.conf
i have a Dell Studio Xps 1645 w the core i7 and hd 4670m card but its running the effects pretty slow (allot of jerks) id really like some more details of how you got that speed
I think I almost have this working… The only error I see in my Xorg.0.log is
”
dlopen /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: UpdateSpriteForScreen
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so
(II) UnloadModule “fglrx”
(EE) Failed to load module “fglrx” (loader failed, 7)
(EE) No drivers available
Fatal server error:
no screens found
I’m running Fedora Core 12…
Did you find a solution?
I trawled the net with the same problem, and got this far.
I’m also getting the the UpdateSpriteForScreen error on fc12 with an ATI 5850 using ati drivers in ati-driver-installer-10-1-x86.x86_64.run
I’m starting to lose hair over this!
Anyone any ideas?
I gave up on F12, installed F11 instead.
Thanks – I can’t go back to fc11 for various reasons, so I gave up too and put it in a windows machine. I’ll keep an eye open and wait until someone gets round to fixing it.
The machine will be a production webserver, and cruncher… π
Have you tried the experimental ATI drivers?
As an FYI – If the dkms package is installed, the Catalyst installation seems to use it and the install log file is cleaner.
Has anyone successfully installed 10.1 on Fedora 12 x86_64? The ATI/AMD site says “you must have 32-bit packages installed” but they’re not specific about what packages or why.
For me, with the latest package kernel, 10.1 compiles the new modules and installs them without error. Then, after rebooting (and seeing the graphical Fedora logo white thing), the screen goes black and a cursor jumps around at the top left, then stops, forcing me to reboot.
Here is the fglrx output from /var/log/messages:
Feb 6 23:27:32 laptop kernel: fglrx: module license ‘Proprietary. (C) 2002 – ATI Technologies, Starnberg, GERMANY’ taints kernel.
Feb 6 23:27:32 laptop kernel: [fglrx] Maximum main memory to use for locked dma buffers: 3551 MBytes.
Feb 6 23:27:32 laptop kernel: [fglrx] vendor: 1002 device: 9612 count: 1
Feb 6 23:27:32 laptop kernel: [fglrx] ioport: bar 1, base 0x9000, size: 0x100
Feb 6 23:27:32 laptop kernel: [fglrx] Kernel PAT support is enabled
Feb 6 23:27:32 laptop kernel: [fglrx] module loaded – fglrx 8.69.4 [Dec 11 2009] with 1 minors
Feb 6 23:27:32 laptop kernel: [fglrx] module unloaded – fglrx 8.69.4 [Dec 11 2009]
So, back to my original question. Has anyone installed ATI drivers on a 64-bit platform (specifically 10.1 on Fedora 12)? If so, how?
Hi cyrus7580,
I have installed ATI Catalyst 10.1 driver on Fedora 12 x86_64 with the very same result as you described.
BR,
Mx
Ive got F12 atm, and Im having the same problem as taf2.
Gonna keep looking but Im going to assume its an incompatability with the gcc program. i noticed a lot of warnings in my log.
This is kind of bugging me bc it seems like I (and Mx) are very close to having this working; the thing compiles and installs with almost no error. It’s only at the login screen after reboot that we’re hitting a snag and the screen goes black.
Let me ask this: When Fedora is booting and you have the blue screen with the white area that fills up with the logo… is that X running there or is that a special separate graphical rendering or some sort? When exactly does X initialize in the bootup process? I’m trying to understand whether, for us, X is starting and then dying or just not starting at all. And if it’s dying, why is it dying? Does it have something to do with the login prompt?
Can i downgrade Xorg to get FGLRX to work on Fedora 12?
Here’s the killer bit… the new 10.2 ATI proprietary drivers added “UpdateSpriteForScreen” function call for Xorg 7.4. But the drivers also contain modules for older Xorg servers that do not call UpdateSpriteForScreen.
If the drivers are supposedly designed for the new X server, what the heck version Xorg 7,4 did ATI use?
Thanks for this. Got my 4870 running on FC11 no problem at all @ 3203 fps testing with fgl_glxgears.
Same problem for me. F12 with 10-2 drivers. After install I rebooted to find the problem. Jumping into console reveals a fatal server error trying startx as root “no screens found”. Still no solution found for this?
Still waiting for a good/working ATI drivers Fedora Core 12
for my Toshiba Satellite A300
Aaaaghh,..
I wanna have a working Compiz desktop :-/
Hi
i setup this software(10.2), but my fedora12 dosen’t boot, please help me
i want to reset my graphic settings,please help me
thanks
Hi guys,
yesterday I tested the new 10.3 Catalyst Drivers (on my ATI Mobility Radeon HD 3200) on Fedora 12 64bit, I had performed a full yum update before installing the new drivers. Needless to say, I had not expected a miracle with the Catalyst drivers… Unfortunately it still sucks, there is no improvement. The Don Quijote-fight continues…
BR,
Mx
Hi there folks!
I too have a small issue when using this driver. It installs as stated, and the files that need to be modified are modified, however when I reboot (or boot), i get a black screen. I ctrl-alt F2 and log into root, and try to xstart to see what error I am getting and it is stating that there is no monitor found. I am running Fedora core 12, on a hp 6735s laptop. I am sure there is just a line that needs to be modified to start vesa, but dont know where too look. Any help would be appreciated.
Brandon K.
10.4 works with my
uname -a
Linux f-n 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
that may help
http://forums.fedoraforum.org/showthread.php?p=1355516
I installed catalyst 10.4 on my Fedora 12 (Radeon HD 3450 on a desktop PC) and it worked right “out of the box” following the instructions of the installer.
I run two monitors on this graphics card which I was able to configure using the Catalyst Control Center.
So all is fine for me, but updating to Fedora 13 next weeks may be a bad idea, because as far as I know F13 uses a new version of the X server which is not supported by the Catalyst driver up to now..
Gateway 6865m + ATI Radeon 2600 HD + Fedora 12 = WORKS PERFECT
Thanks to much!, i followed all the steps and it works from first time =D
The ati driver does not even open the install program on Fedora 13. It gives the following error:
>Error: ./default_policy.sh does not support version
>default:v2:i686:lib::none:2.6.33.4-95.fc13.i686:; make sure that the version is >being
>correctly set by –iscurrentdistro
I tried to extract the archive and ran the ati-installer.sh and I get this error:
>Unrecognized parameter ” to ati-installer.sh
I tried ./ati-installer.sh –install with the same result. If you need 3D Hardware support, don’t use Fedora 13. I might have to switch back to Ubuntu :-(.
Yep, i got a similar error message on Fedora 13
Error: ./default_policy.sh does not support version
default:v2:i686:lib::none:2.6.33.4-95.fc13.i686.PAE:; make sure that the version is being
correctly set by –iscurrentdistro
BLEH
THanks for the info though!
you need patch for the kernel module to work with kernel 2.6.33 and a patch for xserver 1.8 because of an fglrx bug
you need patch for the kernel module to work with kernel 2.6.33
can you explain this please? where can I find this patch? have the same problem on fedora 13 π
thanks
Conclusion: Fedora is not for the common user. Choose Ubuntu instead
Don’t just jump straight onto Ubuntu – Fedora is a great operating system. And since ATi have just released Catalyst 10.7 it does now work with Fedora 13. Rather fantastically actually. I have a mobility HD 3400 on my laptop and it runs like a dream. Average FPS in glxgears of 3800 without any tweaks to my xorg file at all. I’m sure once I turn on triplebuffer and a few other things it’ll be even better.
You can get the updated installer here:
https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-10-7-x86.x86_64.run
It even has a graphical step by step and creates the blacklist file in modprobe.d for you too.
I did have problems just like you, I thought ATI is shit and NVidia is the best (I already have 2 nvidia cards which works correctly with Linux)
But it turns out I was a dumbass
ATI driver does work with Fedora 13:
– install compiler tools: gcc, make, etc
– install kernel-devel (header files)
– download ATI driver, chmod +x (make it executable)
– from console, execute it
– chose automatic and just keep hitting next
– after installation check /usr/share/ati/fglrx-install.log for errors
– run /usr/bin/aticonfig –initial
*NOW HERE IS THE TRICK:
– edit /boot/grub/menu.lst and add the following to the kernel boot line:
nomodset rdblacklist=radeon
and it works !
the problem was that the “radeon” driver (the opensource one) was being loaded at boot time although it has been blacklisted in /etc/modprobe.d
this same problem happens for nvidia drivers because of nouveau
anyway, ATI ROCKS.
btw, I get average 4833.528 FPS on Fedora 13 with ATI 5470 in glxgears !
Hi,
After installing the ATI driver using ati-driver-installer-10-9-x86.x86_64.run , when i checked the file /usr/share/ati/fglrx-install.log, it shows:
Unloading radeon module…
ERROR: Module radeon is in use
Unloading drm module…
ERROR: Module drm is in use by radeon,ttm,drm_kms_helper
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : Kernel module build environment not found – please consult readme.
[Reboot] Kernel Module : dracut
Could you help me as to what should be the next step.
Try installing while X is shutdown:
– logout
– switch to tty1 or any (ALT+CTRL+F1)
– login as root
– switch to run level 3 “init 3”
– execute ATI installer from here.
– check log again.
– switch back to runlevel 5 “init 5”
let me know what happens now.
Before proceeding any further, i wanted to confirm if the steps are valid for Fedora 13 and driver version 10.9
don’t worry man, I’m using Fedora 13 64 bit and that same driver version.
and anyway, if things went wrong, u can execute the uninstall script in /usr/share/ati to get back to default.
have a nice day.
same error here (like blackcurrent7) on fedora13 64 with catalyst 10.9.
init 3 doesnt help
same error here (like blackcurrent7) on fedora13 64 with catalyst 10.9.
init 3 doesnt help.
ty
shit, I didn’t read all blackcurrent7’s error log,
u need to install *kernel-devel* or kernel-dev package, and of course gcc, make, binutils, all these stuff, then recheck the log.
if u still get the error about “can’t unload radeon”, make sure u have followed the steps, after u “init 3”, try:
gdm-stop
rmmod -f radeon
well, after updating my kernel, I now get the same messages as Boney and blackcurrent 7
so I’m sticking to 2.6.34.6-47.fc13.x86_64 for the fglrx to work
a new driver has been released, it works now with latest kernel.
check it out.
on F13 with ATI HD 5470 _ driver version 10.9
I’ve tried everything you said (“XV22”)
(and tried init 3 way)
the log in /usr/share/ati doesn’t show any errors but the X server doesn’t work
during boot process _while running X, the screen flashes and no UI at all _ and even (CTRL + ALT + F1 -> F6) don’t display any text _( only black screen)
___________________________
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686 i686 i386 GNU/Linux
___________________________
this is the xorg.conf
#########################
Section “ServerLayout”
Identifier “aticonfig Layout”
Screen 0 “aticonfig-Screen[0]-0” 0 0
EndSection
Section “Module”
EndSection
Section “Monitor”
Identifier “aticonfig-Monitor[0]-0”
Option “VendorName” “ATI Proprietary Driver”
Option “ModelName” “Generic Autodetecting Monitor”
Option “DPMS” “true”
EndSection
Section “Device”
Identifier “aticonfig-Device[0]-0”
Driver “fglrx”
BusID “PCI:1:0:0”
EndSection
Section “Screen”
Identifier “aticonfig-Screen[0]-0”
Device “aticonfig-Device[0]-0”
Monitor “aticonfig-Monitor[0]-0”
DefaultDepth 24
SubSection “Display”
Viewport 0 0
Depth 24
EndSubSection
EndSection
########################
could you help please
Fedora 14 – + ATI 4550 + catalyst = NO
NΓ£o funciona !
Brasil!!
I’m using FEL 13 on a Thinkpad T43 with an ATI Mobility chip. I used the latest Kernel and the latest drivers from ATI, and I get this error at step 4:
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Reboot required.
[Reboot] Kernel Module : dracut
Now when I reboot GLX gives errors. π
Looks like my FEL13 and Mobility Radeon X300 are not compatible, since ATI dropped the non-free drvier support for my card.
Anyone know how far back I need to go to get support for the 9.4 version Catalyst installer?
yeah, it seems so
ATI website says u should use the supplied drivers from other companies, and most likely they supplied u with Windows drivers only.
I think u have to buy a new laptop anyways
any suggestion step by step installing fendora…
i’m new in linux.
help me pls.
Hi,
I just followed the steps here to set up the driver.
I am now having an issue with the annoying “AMD Unsupported hardware”
watermark in the lower right-hand corner of my screen.
I’ve googled several solutions to no avail.
Please Help!!
This worked great, except I had to add radeon to the blacklist before I ran the atixxxx.run file otherwise the radeon mod could not be unloaded due to it being in use.
So I started with step 5, then rebooted, then did the rest.
Strangely I also had to skip step 7 otherwise I loose my cursor when I start gnome-shell.
Hope that helps! Thanks for the guide! π First distro I’ve had my ATI graphics card working on! yay!
hi
i have a problem i tried to install
ati-driver-installer-11-3-x86.x86_64.run i have kernel 2.6.35.12-88.fc14.x86_64
i get this error
[root@localhost fglrx]# glxgears
Segmentation fault (core dumped)
[root@localhost fglrx]# fgl_glxgears
Using GLX_SGIX_pbuffer
Segmentation fault (core dumped)
and this
[root@localhost fglrx]# aticonfig --initial
aticonfig: No supported adapters detected
and this might help
[root@localhost build_mod]# ./make.sh
AMD kernel module generator version 2.1
./make.sh: line 389: [: =: unary operator expected
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/2.6.35.12-88.fc14.x86_64/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.12-88.fc14.x86_64'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.35.12-88.fc14.x86_64'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
[root@localhost fglrx]# ./make_install.sh
- recreating module dependency list
- trying a sample load of the kernel modules
FATAL: Error inserting fglrx (/lib/modules/2.6.35.12-88.fc14.x86_64/kernel/drivers/char/drm/fglrx.ko): No such device
failed.
[root@localhost fglrx]#
i found the error .
this card is not suported any more.
i’ve followed above steps on fedora 16 (64bit) but after reboot , my desktop (gnome) doesn’t start. please help me!!!
For those who have a build that fails in F16 with a kernel >= 3.2.9 you can try this workaround:
http://forums.fedoraforum.org/showthread.php?t=277547