Ask Your Question
2

How to install updated AMD Catalyst 13.1 for legacy chipsets?

asked 2013-01-22 15:19:26 -0500

Bucic gravatar image

updated 2013-04-08 15:02:31 -0500

How to install it on Fedora 18+? It has been released recently.

Note:
Legacy is anything older than and including AMD Radeon HD 4000 Series or AMD Mobility Radeon HD 4000 Series

AMD To Drop Radeon HD 2000/3000/4000 Catalyst Support - April 2012

edit retag flag offensive close merge delete

Comments

1

akmod-catalyst-legacy-13.1-1.fc18 : Akmod package for catalyst-legacy are ready in the rpmfusion-nonfree-updates repository

hhlp gravatar imagehhlp ( 2013-02-07 04:25:40 -0500 )edit

Where do we email at AMD to notify/complain about this? The squeaky wheel gets the oil, so I figure more of us letting AMD know that this is important to us will encourage them to get this issue updated sooner.

eestrada gravatar imageeestrada ( 2013-04-07 15:42:15 -0500 )edit

@eestrada I've heard from some ubuntu devs that AMD drivers are proprietary hence there's not much they, as any linux devs, can do about AMD-related issues. Back then they advised posting on devgurus.amd.com Here's an example of a bug report http://devgurus.amd.com/thread/160286 As a consumer to consumer advice: If you own AMD hardware - post there. If you don't - don't buy it until they improve their support for linux and advise your friends the same. This should probably be converted into a question and an answear...

Bucic gravatar imageBucic ( 2013-04-08 14:51:05 -0500 )edit

7 Answers

Sort by ยป oldest newest most voted
2

answered 2013-01-23 08:24:31 -0500

Pjotr gravatar image

updated 2013-02-05 05:06:08 -0500

EDIT: As the view count increases for this question, I decided to complete this answer by prepending some additional info on how X in Fedora 18 can be downgraded, which is currently required to make fglrx work.

0) downgrade X to a pre-13 version. First update your system: sudo yum update. Now, successful downgrading requires you to rebuild the X server packages against the F18 systemd-libs, thus a direct install (downgrade) from the F17 repo will not work.

To minimize the rebuilding process, uninstall all unneeded xorg-x11-drv* packages. I selected these packages by:

toremove=$(rpm -qa --queryformat '%{name}\n' | grep xorg-x11-drv | egrep -v 'keyboard|mouse|modesetting|evdev|synaptics|fbdev|ati|vesa|vmware')

Delete these packages (check before pressing 'Y')

sudo yum remove $toremove

Now, we download the sources of the remaining xorg packages and rebuild them. Note: I assume your system is x86_64.

sourcepkgs=$(rpm -qa --queryformat '%{name}\n' | egrep 'xorg-x11-drv|xorg-x11-server-Xorg')
yumdownloader --archlist=x86_64 --releasever=17 --source $sourcepkgs
rpm -Uvh xorg-x11-server-*.fc17.src.rpm
rpmbuild -bb $(rpm --eval %_topdir)/SPECS/xorg-x11-server.spec
sudo yum install $(rpm --eval %_topdir)/RPMS/x86_64/xorg-x11-server-devel-*.fc18.x86_64.rpm
for i in xorg-x11-drv-*.src.rpm; do sudo yum-builddep $i; rpm -Uvh $i; rpmbuild -bb $(rpm --eval %_topdir)/SPECS/$(rpm -qp --queryformat '%{name}\n' $i).spec;done;

During this process, the yum-builddep command will ask you to install some required dependencies for the build process. Accept these, they can be removed later on. Now its time to downgrade.

cd $(rpm --eval %_topdir)/RPMS/x86_64
sudo yum downgrade xorg-x11-server* xorg-x11-drv*

Finally, edit your '/etc/yum.conf' file to prevent the updating of the X server packages, e.g. via the line

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

Now, the easiest way to clean up the devel packages is to find the id of the last yum transaction (sudo yum history list), and then work backwards by issuing sudo yum history undo <some id> for each id that installed such package. If you're unsure, just try it, you can always cancel by pressing 'n'. Also, you can safely delete all downloaded source packages, and the BUILD, BUILDROOT and SOURCES folders inside the rpmbuild (i.e. cd $(rpm --eval %_topdir)) folder.

END EDIT

The alternative to waiting until the new driver is packaged at rpmfusion would be doing it yourself. I assume your system is x86_64, you have a working rpmbuild setup, and have the rpmfusion repo enabled in yum.

1) download current catalyst-legacy source rpm's and "install" them to your rpmbuild directory (as normal user).

yumdownloader --releasever=17 --source catalyst-legacy-kmod
yumdownloader --disableexcludes=all --releasever=17 --source xorg-x11-drv-catalyst-legacy
rpm -Uvh catalyst-legacy-kmod-*.src.rpm xorg-x11-drv-catalyst-legacy-*.src.rpm

2) download new drivers from AMD to rpmbuild SOURCE directory

cd $(rpm --eval %_topdir)/SOURCES
wget http://www2.ati.com/drivers/legacy/amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip
wget http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz

3) edit xorg-x11-drv-catalyst-legacy.spec file (found in $(rpm --eval %_topdir)/SPECS/). Change amd-driver-installer-12.6-legacy-x86.x86_64.run to amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run, and update the ... (more)

edit flag offensive delete link more

Comments

Has this become any simpler? I know we still have to downgrade xorg but what about with the rest of the dancing?

Bucic gravatar imageBucic ( 2013-09-11 18:15:07 -0500 )edit

I have been trying to install the legacy driver in Fedora 21 x86_64. First I installed the driver 13.1, and the error message said I need to install required packages. I don't know what packages I need in order for the legacy driver to be able to install in x86_64. I then forced the install with --force option, and my system wouldn't boot. I had to remove the driver and do a dracut --regenerate-all to fix the boot loader. Can anyone point me to what packages I need in order for the driver to work in Fedora 21 x86_64?

SChen gravatar imageSChen ( 2015-03-30 17:02:15 -0500 )edit
1

answered 2013-10-03 18:18:15 -0500

nehaljwani gravatar image

updated 2013-10-03 18:21:01 -0500

The above method doesn't seem to work now. It throws some dependency errors at the step: yum downgrade xorg-x11-server* xorg-x11-drv*

Short and simple method: This approach has been taken from Giuseppe Marco Randazzo's Blog Post

Note: This method will only work for kernel <=3.9.11-200

Note: This method has been tested for a fresh install of fedora 18

Note: Make sure that you have booted into the kernel version 3.6.10-4

Steps: First download kernel-3.6.10-4.fc18.x86_64.rpm, kernel-headers-3.6.10-4.fc18.x86_64, kernel-devel-3.6.10-4.fc18.x86_64 and rpmfusion-free-release-stable

$ yum install -y kernel-3.6.10-4.fc18.x86_64.rpm kernel-headers-3.6.10-4.fc18.x86_64 kernel-devel-3.6.10-4.fc18.x86_64 rpmfusion-free-release-stable 
$ yum remove audit -y
$ yum install -y qt-x11 akmods git
$ cd /var/lib; git clone git@github.com:zeld/zrepo.git
$ echo "[zrepo]
name=zrepo Repository
baseurl=file:///var/lib/zrepo/$releasever/$basearch
gpgcheck=0
enabled=1" > /etc/yum.repos.d/zrepo.repo
$ yum remove xorg-x11-drv-* -y
$ 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
$ yum --disablerepo="*" --enablerepo="zrepo" install xorg-x11-drv-evdev xorg-x11-drv-synaptics xorg-x11-drv-catalyst-legacy akmod-catalyst-legacy
$ mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-old.img
$ dracut /boot/initramfs-$(uname -r).img $(uname -r)
$ grub2-mkconfig -o /boot/grub2/grub.cfg
$ echo "exclude=xorg-x11-server-* xorg-x11-drv-* kernel-*" >> /etc/yum.conf
$ sed -i '/^GRUB_CMDLINE_LINUX=\"/s/\"$/ rd.blacklist=radeon nomodeset radeon.audio=1 radeon.audio=1\"/' /etc/default/grub
edit flag offensive delete link more

Comments

This is really bad. Before anyone tries the method you posted though I'd recommend looking here first "How to downgrade xorg from 1.13 to 1.12 " http://phoronix.com/forums/showthread.php?80521-How-to-downgrade-xorg-from-1-13-to-1-12 Oh, and please report back if the topic at phoronix helped you!

Bucic gravatar imageBucic ( 2013-10-19 13:55:06 -0500 )edit
0

answered 2013-02-16 21:03:39 -0500

DrFred gravatar image

updated 2013-02-16 21:04:37 -0500

The method works well, BUT how do we generate the package xorg-x11-drv-catalyst-legacy-libs-13.1-0.fc18.i686 (yes, the 32 bits version), which needs to be installed for Steam?

edit flag offensive delete link more

Comments

0

answered 2013-02-14 10:53:09 -0500

Amit Singh gravatar image

Thanks a lot Pjotr! I was also bothered by my laptop fan running continuously. I followed your steps and I have successfully installed the drivers. There were some errors due to Failed Dependencies as you had indicated. I had to make a list of all of them using gedit and install using yum. I did not have the confidence to delete any of the downloaded packages though. I don't want to break anything!

edit flag offensive delete link more
0

answered 2013-01-30 16:29:24 -0500

Want To be gravatar image

updated 2013-04-09 06:27:35 -0500

hhlp gravatar image

How to fix

error: Archivo no encontrado por glob: catalyst-legacy-kmod-*.src.rpm
error: Archivo no encontrado por glob: xorg-x11-drv-catalyst-legacy-*.src.rpm
[christian@Chris-PC ~]$ yumdownloader --releasever=17 --source xorg-x11-drv-catalyst-legacy
Complementos cargados:presto, refresh-packagekit
Enabling atrpms-source repository
Enabling updates-source repository
Enabling fedora-source repository
No Match for argument xorg-x11-drv-catalyst-legacy
Nothing to download
[christian@Chris-PC ~]$
edit flag offensive delete link more
0

answered 2013-03-10 04:21:55 -0500

Iyit gravatar image

Hello I have a new laptop Hp pavilion g6. I did follow this how to with Fedora18 and couldn't boot beyond the f. The laptop hang there. I think I will have to wait for an update of fglx

I fell in love with F18 and I will not give up easily

Thanks for you help

edit flag offensive delete link more
0

answered 2013-04-11 07:46:42 -0500

kallux gravatar image

Hi there!

Thank you very much for your instructions! It's exactly what I'm looking for. I have a little problem though and I'm afraid it's due to my lacking knowledge in package building. In step 6a I get the following error message:

error: Failed build dependencies: chrpath is needed by xorg-x11-drv-catalyst-legacy-13.1-0.fc17.x86_64

How can I fix that?

Once again, thank you very much for your help.

Khalid

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-01-22 15:19:26 -0500

Seen: 31,957 times

Last updated: Oct 03 '13