Skip to main content

How to Fedora 18 and Ati Catalyst Legacy 13.1 for Radeon HD 2xxx, 3xxx and 4xxx



Some boring things after the upgrade from fedora 17 to 18. For example the new driver released from ati support only the xorg 1.12. In fedora 18 we have only the chance to use the new and "performant" xorg 1.13. Many people says to me "ah... the open driver works very well!!"


Not for me! I was trying to work with pymol and other 3D stuff and of course everythings it's not working... i was really sad!!!! I thought also a downgrade to fedor 17 by fresh install!!!! Change the distribution with a CentOS or one that it's working without problems and in Sicily we says without "Sbadduh"!!! BAD BAD BAD THINGS.......


The official page of the driver says  "Automated installer and Display Drivers for Xorg 6.9 to Xserver 1.12 and Kernel version up to 3.4"


So... Howt to install this driver?? don't worry!! Relax!!

  1. I have prepared for you the necessary package: xorg 1.12.4 was recompiled from the fedora 17 but only for arch x86_64... If you have a i386 you can recompile by yourself from SRPM by using yumdownloader and rpmbuild. 
  2. Prepared a repository for download these packages 

First download this script zrepo
wget https://raw.github.com/zeld/zrepo/master/zrepo

and make as executable with chmod +x. zrepo is a python script which download from git and install locally a repository mantained by myself with some package including xorg 1.12.4 for fc18

Run as root:

 
zrepo init

Second:
yum update

yum remove xorg-x11-drv-*

yum --disablerepo="*" --enablerepo="zrepo" downgrade \
         xorg-x11-server-common-1.12.4-3.fc18.x86_64 \
         xorg-x11-server-Xorg-1.12.4-3.fc18.x86_64


N.B.: if you have error in the previous command like this: 

--> Finished Dependency Resolution
Error: Package: xorg-x11-server-Xephyr-1.13.3-3.fc18.x86_64 (@updates)
           Requires: xorg-x11-server-common >= 1.13.3-3.fc18
           Removing: xorg-x11-server-common-1.13.3-3.fc18.x86_64 (@updates)
               xorg-x11-server-common = 1.13.3-3.fc18
           Downgraded By: xorg-x11-server-common-1.12.4-3.fc18.x86_64 (zrepo)
               xorg-x11-server-common = 1.12.4-3.fc18
           Available: xorg-x11-server-common-1.13.0-11.fc18.x86_64 (fedora)
               xorg-x11-server-common = 1.13.0-11.fc18
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


add the package that is not resolved to downgrade like in this command:

yum  --disablerepo="*" --enablerepo="zrepo" downgrade \
          xorg-x11-server-Xephyr-1.12.4-3.fc18.x86_64 \
          xorg-x11-server-common-1.12.4-3.fc18.x86_64 \
          xorg-x11-server-Xorg-1.12.4-3.fc18.x86_64

And so... install the drivers... 

yum --disablerepo="*" --enablerepo="zrepo" install \
         xorg-x11-drv-evdev xorg-x11-drv-synaptics \
         xorg-x11-drv-catalyst-legacy akmod-catalyst-legacy

akmods --force

P.S.: if you need other drivers use this command:

yum --disablerepo="*" --enablerepo="zrepo" install xorg-x11-drv-blablabla

Edit the file /etc/yum.conf and add at the end this line:
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

exclude=xorg-x11-server-* xorg-x11-drv-*

Then to enable the driver add some options to the grub.cfg


1) disable modesetting and blacklisting radeon by editing /etc/default/grub 

   GRUB_CMDLINE_LINUX="... quiet rd.blacklist=radeon nomodeset"

 grub2-mkconfig -o /boot/grub2/grub.cfg

2) Remove/disable radeon from kernel initramfs

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-old.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)

reboot


For future to update the zrepo
zrepo update
and to remove zrepo:
zrepo remove

So... enjoy and.... we waiting for new driver in xorg 1.13 :|

Tanti cari saluti da Ginevra \o/

P.S. 1: The catalyst driver work only with kernel <=3.9.11-200



Comments

  1. let me know if it's working... but i think yes... :) for me it's working... i'm writing from this computer :) If some not working like downgrade package etc... we will try an other solution...

    ReplyDelete
  2. i updated the post and changed the line

    exclude=blablabla

    to

    exclude=xorg-x11-server-* xorg-x11-drv-*

    ReplyDelete
  3. I will try this tomorrow on my 64bit fedora 18 install and post results! Thank you!

    ReplyDelete
  4. Is there a a way I can contact you and help me remotely? I have done your tutorial but it gives a lot of dependencies errors. My email is mihaiprajescu[at]yahoo.com. Please tell me when you are available.

    ReplyDelete
  5. sorry but i found that this post it's not working... but i now ho to make working... later i will add more info!! Thanks to Mihai Prajescu for testing and installing the packages in his system! :D we are in two with fedora 18 and catalyst legacy :D

    ReplyDelete
  6. Giuseppe, could you add the info? I found your blog on google since I'm trying to run catalyst with rad 3200 on fedora 18

    ReplyDelete
  7. Is there any updates to this? I really need this to work since it makes my computer a toaster.

    ReplyDelete
    Replies
    1. sorry guys.. this weekend i will put the info and the updates... :)

      thanks

      Marco

      Delete
  8. Ok guys... try now my howto and my packages... it should work!!


    For any question ask to me...



    Baci..

    GMR

    ReplyDelete
  9. Hello Marco, nice to meet you, my name is Diego and first of all thanks for taking your time in making this brief tutorial.

    I have Fedora 18 with ATI RADEON 4650 card and 3.8.8.203 and 3.8.9.200 kernels and have followed your tutorial hoping I could FINALLY get my ATI work with fglrx and acceleration under Fedora but with no avail :( and now I'm stuck.

    Ev'rythings went fine until akmods --force where I get the following error:

    28 Apr 11:47:24 akmodsbuild: FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'debug_lockdep_rcu_enabled'

    As far as I know from what I was googling it has to do with kernel not accepting Private license but it expects GPL instead and there is a "trick" or hack involving modifying one file and changing ATI license but I wasn't able to do it.

    My mail is diegopefm@gmail.com and if you write me I could attach you my akmods log file so U have a better idea of what may be happening.

    Thank you very much in advance and I truly hope you can help me, as Id love to make my ATI card work under linux.

    D.

    ReplyDelete
    Replies
    1. Hello Diego Perez nice to meet you too... is better if you add the rpmfusion repository to your fedora... then upgrade the packages in particular the akmods package.

      http://rpmfusion.org/Configuration

      I think the problem is related to this package.

      let me know if the problem persists.

      Marco

      Delete
  10. Hello MArco, thanks for your reply. I already had rpmfusion (free and non free) packages installed but anyway I decided to give a try and remove them and reinstalled but the problem persist. When executing akmods --force the output is the next (same as before)

    [diego@localhost ati-legacy]$ sudo akmods --force
    Checking kmods exist for 3.8.9-200.fc18.x86_64.debug [ OK ]
    Building and installing catalyst-legacy-kmod [FAILED]
    Building rpms failed; see /var/cache/akmods/catalyst-legacy/13.1-2.1-for-3.8.9-200.fc18.x86_64.debug.failed.log for details

    Hint: Some kmods were ignored or failed to build or install.
    You can try to rebuild and install them by by calling
    '/usr/sbin/akmods --force' as root.


    PART OF LOG FILE

    FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'debug_lockdep_rcu_enabled'
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/kernels/3.8.9-200.fc18.x86_64.debug'
    make: *** [kmod_build] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.jK3srl (%build)

    I TRULY HOPE U CAN HELP ME TO FIND A SOLUTION.

    Thanks.

    D.

    ReplyDelete
    Replies
    1. Diego as root
      on the commandline:

      su >> then put the password

      and after akmods --force


      also the output of this command must be:

      yum list installed | grep akmods
      akmods.noarch 0.5.1-3.fc18 @rpmfusion-free





      Delete
    2. Exactly the same output Marco, I do exactly what you say, but let me know that sudo blah blah blah (what I was doing for akmods) is like executing as ROOT, anyway now I did what you say, su and then password, but nothing changes and the yum list shows this:

      akmods.noarch 0.5.1-3.fc18 @rpmfusion-free

      The problem remains in the akmod --force command with the exact error I described above, and I can send you my log file if it helps, but I'm a bit hopeless now :(

      Delete
    3. naaaaaa :-) by googling it seems that the problem is related at the kernel, and LICENSE of the driver... which kernel do you use?

      There are other people with the same error of you >> http://clapotis2.rssing.com/browser.php?indx=1595322&item=3070

      Delete
    4. Good morning Marco, I have more than one kernel installed, as usual, but using the latest, that is 3.8.9.200.fc18 (I have both version for each, normal and debug and I'm using the normal one)

      Whay it is not happening to you? Maybe you are using an older kernel? Do you know about any possible solution?

      (I have kernels 3.8.9,203 3.8.8.203 and I guess 3.8.7.xxx, not sure this last one)

      Thanks again!!!!

      D.

      Delete
    5. i'm using the kernel 3.8.9-200.fc18.x86_64 and it's working. Remove the other kernels and use this. I do not know about 3.8.9-203 :| i think you mean 3.8.9-200 ?

      Marco

      Delete
    6. Hello Marco! After hours of "breaking" my head I got it working!!!!

      I did what you suggested and removed all debug "unnecesary" kernels and now only have 3.8.8.203 and the latest 3.8.9.200 and finally akmods --force decided to work so I guess maybe the problem was in the debug kernels but I got a great framerate in glxgears! like 4500 or 6000 fps!!!

      Im really happy but one thing to remark is that is not working with the latest 3.8.9.200 kernel, it only "decided" to work with 3.8.8.203, but anyway its working!

      With 3.8.9.200 it ends in a black screen when booting, strange isn't it? But again, with the other kernel is working so I'm booting with 3.8.8.203 for now and happy.

      Thanks for your help!!!!!

      D.

      Delete
    7. OK! Got it Marco. It's ended in not being a kernel problem, it's much more curious, if I have the cover of my laptop closed when booting it will end in a black screen, whatever the booting kernel is, but if I have the cover open it will boot normally, and after that I can close it without any problems.

      So, in the end its working with the latest kernel, happy! :)

      Thank you very much for your help and your tutorial!

      D.

      Delete
    8. I'm happy for you. I had the same problems... for this pourpouse i was removing the screensaver and powersaving stuff.... i found that when the screen going in powersave mode after when it restart i get a black screen or a line with more colors screen :| so... This driver have some problem ofcourse!! :-) But it's working....

      Have good things... and thanks for your patience!! :-)

      Marco

      Delete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Hi,
    Thank for making this tutorial, it is working fine with the latest kernel. glxgears run with 4000fps. But I cant setup my dual monitor with xrandr.

    xrandr: screen cannot be larger than 1920x1920 (desired size 3360x1080)

    Any clue?

    ReplyDelete
    Replies
    1. Hi.

      Try to add these line to /etc/X11/xorg.conf.d/01-catalyst-legacy-videodriver.conf


      Section "Screen"
      Identifier "My Screen"
      Subsection "Display"
      Virtual 3360 1080
      EndSubSection
      EndSection


      Marco

      Delete
  13. Hello GMR,

    I fail at "zrepo init", --> "bash: zrepo: command not foun"

    I downloadd via wget, used "chmod +x zrepo". Am I missing something?

    Btw thanks. It's frustrating to "work around" ATI politics.

    ReplyDelete
  14. Hello.

    ./zrepo init

    zrepo init means that the script "zrepo" is located in "/usr/bin/" or "/usr/local/bin" but i think is in your home... so.... ./zrepo init from root user in the path were you have downloaded the script.

    ReplyDelete
    Replies
    1. Thank You, everything works fine!

      Delete
  15. Hi,

    I have an AMD Radeon HD 7670M 1GB on a Sony Vaio notebook.

    I followed your tutorial on my Fedora 18 with kernel 3.9.4-200.fc18.x86_64 and it broke everything: the system wasn't unable to start with the latest kernel version and with the oldest one (3.6.x.x.x.x.).

    There were a lot of critical log messages during the boot related to the graphic card so the only solution was to re-install fedora.

    Did anyone experience something like that?

    Thanks

    ReplyDelete
  16. Hi Stefano,

    Sorry for my late answer... i got the mail yesterday but i will get time to answer you now.

    Your problem is related to the driver version.
    You need the driver 13.4 or 13.6 beta wich works with xorg-x11 1.13.

    This is only for Radeon HD 2XXX, 3XXX, 4XXX so legacy card that need the driver version 13.1.

    Remove everithings, reinstall xorg 1.13, and download the official driver from the AMD website ->> http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx

    Thank to your reply... :-) but this howto is not good for your notebook :-) Sorry!

    Marco

    ReplyDelete
  17. Hi Marco,
    i followed yout tutorial and after some tricks now I run the legacy ati drivers on my fedora 18! :D

    Only one problem before saying: "agneddu e sucu e finiu u vattiu" (Sicily Rockz! ;)

    When I rebooted the system fedora sayed that was unable to load OpenGL for desktop effects, so now i'm using XRender with Native Qt graphic system...

    Hope you could help me, if you need some contacts: salbar [at] it [dot] oscene [dot] net

    Thank You!
    baciamo le mani :P

    ReplyDelete
    Replies
    1. Ciau allura, mi pari stranu ca nun ti funziona l'OpenGL.M'ha diri na cosa?? Chi ti rici se c'abbii stu comando n'ta shell??

      glxinfo| grep render

      direct rendering: Yes???

      Delete
  18. Hi, amd catalyst 13.4 waws realeased on the 29/5 , and they say it works with xorg up to 1.13 ... you can test it, it might work.
    Note: I have ati 4xxx, so I can't test it, because it is not compatible with it :( .

    ReplyDelete
    Replies
    1. Hi abdul-rahman sawalmah, thanks to your reply but this howto is for radeon HD 2XXX, HD 3XXX, HD 4XXX.

      http://support.amd.com/us/gpudownload/linux/legacy/Pages/legacy-radeon_linux.aspx

      The driver 13.4 is for NON LEGACY card... 5xxx,6xxx,7xxx, nouveau cards, etc...


      You cant use the 13.4. I do not know why you need the 13.4.... but the 13.1 driver it's working well with xorg 1.12 and you have all the package that you need.

      Regards,
      GMR

      Delete
  19. hi marco!
    thank you for this great tutorial i made everything and it went well but now when i try to boot, i can't use my keyboard and my usb ports. i tried to edit the grub to take off the "quiet rd.blacklist=radeon nomodeset" part with the grub editor and the problem is still there, any solution?

    ReplyDelete
    Replies
    1. Hi, do you have an usb keyboard?

      USB are handled by a kernel module...

      xorg only handle the keyboard when X is started.... the mouse it's working or not?

      GMR

      Delete
    2. thank you for you fast answer.
      I forgot to say i'm a beginner on GNU/linux os.

      I didn't have an usb keyboard, i'm using a laptop (toshiba satellite P300 )for the mouse i can only use the touchpad and when i plug a mouse it doesn't work(i can't move the cursor).

      sincerely.

      Delete
    3. hello again, so as i haven't any answer i just reformat my partition and re install my fedora 18. I haven't tried it again and i won't but i still want to thank you for this tutorial for all other people who can use it!

      Delete
    4. Sorry mathias... i had a lot of work to do :-) maybe the problem was that you have not installed the driver evdev and synaptics...

      It's really strange that it's not working :-)

      Have nice things with fedora!

      Thanks to your reply and Ciao :-)

      Delete
  20. Grazie!

    Just what I was looking for and it worked like a charm!

    ReplyDelete
    Replies
    1. Ma prego! :-)

      I'm happy that it's working.

      GMR

      Delete
  21. Will the same work for fedora 19?

    ReplyDelete
  22. no. with fedora 19 there are a lot of problem.

    ReplyDelete
    Replies
    1. Alright. thanks.. I guess I'll to install fedora 18 then.

      Delete
  23. I have done all by that instructions, but I have only black screen on kernel 3.6 and 3.9. This is my logs
    Xorg.0.log http://pastebin.ru/rnG4KArM
    messages http://pastebin.ru/S92jPS2Q

    ReplyDelete
  24. what video card do you have? xorg it seems to be ok. No Errors (EE). I think that your video card is not supported from the legacy video driver and this means that you need to install the current ati video driver. In order to know this do:

    lspci | grep VGA

    If the radeon is:
    RADEON HD 2xxx
    or
    RADEON HD 3xxx
    or
    RADEON HD 4xxx

    this driver must work. I'm writing from a laptop with this driver.....

    Else install the normal catalyst video driver with xorg 1.13

    ReplyDelete
  25. Hello!! I did a big mistake, I have installed Fedora 19, and of course this doesn't work, and I am not being able to switch to the original driver so no X :(((((

    What can I do? Any proved way to make ati work under fedora 19??

    Anu help will be much appreciated!

    D.

    ReplyDelete
  26. hello diego!! So, i tried to rebuild packages for fedora 19 but i found some problems with the kernel module... however i found that the open driver is good... but i'm not 100% sure... You could be a tester! :-) To install and use the opendriver use the following commands:

    yum install xorg-x11-drv-ati.x86_64

    Marco

    ReplyDelete

Post a Comment

Popular posts from this blog

How to VTK Point Picking with Sphere Source and get the selected point name

VTK, a very usefull software for 3D computer graphics, but some times not well documented or missing in some other examples.

So, my problem was "i want to select a point from a 3D Scatter Plot made with vtkGlyph3D and vtkSphereSource".

By googling i found these example:

Point Picker
WorldPointPicker

and in the second example was explained:

"This example demonstrates how to get the position of the point in 3D that is exactly behind the mouse click. This point is not likely a point that exists in the data set - i.e. it can be a point on the interior of a cell."

So... how to select a point and says "exists in the data set! Yeah!"



Thinking a bit....


i found a solution!!

1) The surface of sphere consist of many points

2) Each point is "r" times far from the origin of the sphere (x0, y0, z0)

3) The first example "demonstrates how to get the closest point in the data set to the mouse click".

4) (x0 -  x)^2 + (y0 - y)^2 + (z0 - z)^2 = r^2

5)…

Howto install scipy, scikit-learn and matplotlib on OSX 10.9.x to avoid error such "scipy RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility"

Hello!!! Hellllloooooooooooooooo!!!

 Everythings good??? No??
 Your scipy, scikit-learn it's not working on OSX? Wow!!

This is a tutorial to install the scientific tools such as scipy, scikit-learn and matplotlib on OSX.

Normaly you can install on a system through pip install scipy etc... but after using this common way somethings going wrong and your scripts does not working well. For example i collected these errors importing libraries:


scipy RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
So... what is wrong? the problem is that this package is not compatible with the default OSX environment because it's compiled targeting a specific version of numpy or a specific platform with specific compiler. This is really a BORING stuff!!!! -_-

This problem normally is fixed in the 0.15.1 version from this bug report https://github.com/scikit-learn/scikit-learn/issues/3548

But if you want to use a recent version of numpy in a local python version so feel …

Howto install RDKit and Emscripten on OSX

Hello!

After linux ubuntu, in this tutorial i will show to you how to install Emscripten and RDKIT on OSX yosemite.

What do you need?
OSX >= Yosemite homebrewBoost >= 1.5x

1) Install homebrew following the instruction here >>> http://brew.sh 2) Install emscripten: brew install emscripten and now run the following command: emscripten /usr/local/bin/emcc 3) Edit the ~/.emscripten and change the following line LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '/usr/bin/') # directory to LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '/usr/local/Cellar/emscripten/1.32.0/libexec/llvm/bin/') # directory 4) Install boost1.55: brew tap homebrew/versions brew install boost155 5) Create a Toolchain directory and compile RDKIT mkdir Toolchain cd Toolchain wget http://downloads.sourceforge.net/project/rdkit/rdkit/Q1_2015/RDKit_2015_03_1.tgz tar -xf RDKit_2015_03_1.tgz cd rdkit-Release_2015_03_1 mkdir build cd build 5.1) Edit the CM…