[Published]Howto: ATI Radeon Driver

There are many guides on getting ATI Drivers working on OpenSUSE on the Internet, however most of them are out of date and this one will cover the latest release.

Click Here to download the ATI Linux Driver, please save it as installer.sh, this will make the process easier later.

You will need some packages to be installed before you can proceed, these are requirements for the ATI Installer. To install the packages simply log in as root and paste the following command.

zypper in  kernel-source gcc make

Once you have done this you can view the driver builds which are compatible with OpenSUSE to do this go to the directory where you downloaded installer.sh. Then input this command.

sh installer.sh --listpkg

You will then be presented with a list of all supported distributions, you will want to focus on the SUSE packages as this is what you will be using. You will also need to make a note of the version of your distribution, this guide is focusing on the latest 11.0 release.

You will see your distribution from the list shown after running the above command.

Now enter init 3:

init 3

Assuming you are using version 11.0 you would enter the following command

32 Bit:

sh installer.sh --buildpkg SuSE/SUSE110-IA32

64 Bit:

sh installer.sh --buildpkg SuSE/SUSE110-AMD64

This will generate an .rpm package based on the distribution which you decided to use. To install the .rpm run:

rpm -ivh fg(press tab to autocomplete)

This will install the .rpm package which contains the drivers. Next you will have to run aticonfig which will set up xorg.conf to use the ATI Driver.


aticonfig -initial -f



Now you will need to reconfigure Sax2


sax2 -r -m 0=fglrx



Now reboot


reboot



When you have rebooted you should be presented with a log in screen as normal, launch a command line and enter the command:


fglrxinfo



Insure that Mesa is not shown here. If ATI Technologies is shown in the OpenGL Provider everything will be fine.

An excellent how-to! Thank you! It has been reviewed and posted in the Reviewed section of the HowTo/FAQ forum.

Hi,

I tried it too. But when I started to build the package I got the error message “Package build failed!”. Is there a logfile somewhere to check what went wrong?

Sounds like you are missing some dependencies.

The ATI proprietary driver has some dependent programs that have to be installed first, for the installer to properly build a driver for your system. Here is how I do it.

Go to Yast / Software Management / Filter / Patterns and scroll to the bottom of the list and check “Linux Kernel Development”. When you do this, C++ Development and several other packages will also be selected automatically. Install all of the selected packages (500-600 Mb’s IIRC).

Using this method, there is probably some extra stuff that gets installed that you don’t need just to run the installer (in fact I’m certain there is) but this is the easiest way to get the dependencies taken care of (for me at least) and most of us have the extra hard drive space so no biggie.

That’s it. Run the installer as described above and it should work without a hitch.

Oh, I forgot to mention, all these programs should be on your install disc, so no need to waste bandwidth downloading them from the internet.

(I wish we could edit posts, what a pain). :frowning:

Hi,

thank’s a lot for the help. It helped a little bit.

I thought that the command ‘zypper in kernel-source gcc make’ would check the dependencies and install all necessary modules. But that was not the case.

I could proceed till the installation of the driver via rpm command. It started and then came the next error message:

make: Entering directory ‘usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make: *** No targets specified and no make file found. Stop.

When I checked that directory I found only two files Module.symvers and makedumpfile.config.

What is missing now?

I’ve found that there are some more packages which need to be installed with newer versions:

Patch
libdrm
Compat
libstdc++

I will update over the next few days.

I have the same problem, could you give further tips please.

Some newbie questions, my first time ever using openSuse so I am lost here.

save it as “installer.sh” and thats it? or leave the .run at the end of it aswell? Also save it where? Where is the easiest place to get back to it? Desktop?

To install the packages simply log in as root and paste the following command.

zypper in  kernel-source gcc make

Ok, specifically log in to what as root? Log out and log in as root or open terminal and type “su”? And type that command into what? Into the terminal?

Once you have done this you can view the driver builds which are compatible with OpenSUSE to do this go to the directory where you downloaded installer.sh. Then input this command.

sh installer.sh --listpkg

This is where I got completely lost. I tried to follow by using the terminal but because nothing is specified and it is assumed there is a level of expirience this tut loses me.

I am not trying to be a dick and I appreciate help but I need a tutorial that assumes I am a complete noob , which I am and buy the looks of some of the threads so are others. Would just be nice to have a complete noob tutorials because it seems alot of people are having issues with ATi and *nix and I don’t really want to give up so early but if I can’t even install graphic drivers then,:\

bobbytomorow adjusted his/her AFDB on Thursday 09 Jul 2009 16:56 to write:

> I am not trying to be a dick and I appreciate help but I need a
> tutorial that assumes I am a complete noob , which I am and buy the
> looks of some of the threads so are others. Would just be nice to have a
> complete noob tutorials because it seems alot of people are having
> issues with ATi and *nix and I don’t really want to give up so early but
> if I can’t even install graphic drivers then,:
>
>

HI Bobby,

Here is how “I” do it, generally called the “Hard Way” ™

Make sure you have the needed kernel packages and the compiler and make as
noted in the readme.

D/load the drivers from the ATI site that are the right ones for your card
chipset, you go through the filter process on the download drivers page
choosing the linux version of choice whether 32bit or 64bit, then choose the
card, radeon etc, then the version number HD4800 series etc…

Now where you d/load it to is up to you, normally somewhere in your /home
dir hopefully :slight_smile:

I use FF and have a separate folder designated for all d/loads so I know
where they are all put.

Next you need to drop to runlevel 3 by logging out of KDE/Gnome/GUI and when
you get the to the login screen you can select a “Console” login from the
session drop down menu.

When you get to a console screen login as root and give the password.

then you need to get to runlevel 3 so that no Xserver is running, you do
this by typing:

init 3

you will see some blurb go up the screen and then it should say runlevel 3
reached

If you do not have a prompt then just press enter and one should appear.

Next get to where ever you have put the driver package, for me it is
something like:

cd /home/my-user-name/firefox-downloads/

Then run the installer which goes something like:

sh ./ati-driver-installer(version-number).run

Where (version-number) is the one that you have for your card, note not all
cards use the latest and greatest so I do not know which will be your.

Then just follow the prompts through but do not make a distribution specific
rpm the first time round you can do this later when you are sure that all is
OK.

just follow it all and if on 64bit make sure you tell it to install the
32bit compat libs as well as long as all goes fine and dandy and there are
no errors then you should be dropped back to a prompt on the console.

Naxt run the command:

aticonfig --initial

DO NOT RUN THE SAX command, it is stated in the readmes and is recommended
that you not use sax, every time I have experimented with using sax to
configure it all goes down the tubes.

After you have run the aticonfig then try:

depmod -a
modprobe fglrx

and then :

init 5

if you get a GUI and can enable 3d then all is good to go, some times it
might need a reboot ( I have seen where it actually takes 2 reboots but that
is very rare )

Now hopefully you are in a GUI with 3D to configure different aspects of the
driver you use the ATI gui app which you have to get to by running amdcccle,
just open a terminal from the menu and :

amdcccle

this give you the catalyst front end to play with

There should be no need to mess with any xorg.conf files at all unless you
want to tweak but this is not recommended.

Now the only draw back with doing it this way is that if there is a kernel
patch then you will find that after a reboot you will get bumped to a
console login as the graphics will not start so you have to reinstall the
drivers again by following the above commands, here they are in sequence,
the whole lot on my machine from logging out of KDE to back into KDE take
approximately 3 mins:

root
(root password)
init 3
sh ./ati-whatever-version-it-is.run
(follow the installer)
init 5

Note that as I have already installed the drivers before and they worked I
do not need to run the aticonfig again.

Now if you find everything works you can try and follow the rpm route of the
installer to create an rpm but that is up to you, I find that the time saved
is actually a false economy AMD/ATI try to release a new version every month
or so and kernel updates are few and far between so you are more than likely
to install new drivers than kernels and having old rpms around can cause the
loading of the older ones by mistake.

A quick thought on the sax2 question though the oneclick install on the SuSE
site pulls in specially compiled drivers which I presume will work with
sax2, I must admit because they tend to lag behind the ones on ATI site I
have never tried them but once again running the aticonfig command and then
using the amdcccle is a lot quicker IMHO.

However YMMV

HTH

Mark
Caveat emptor
Nullus in verba
Nil illegitimi carborundum

:good:

baskitcaise
got my 4870x2 working with your guide. I had trouble in the past getting the drivers to work at all.

dawp63 adjusted his/her AFDB on Tuesday 14 Jul 2009 18:56 to write:

>
> :good:
>
> baskitcaise
> got my 4870x2 working with your guide. I had trouble in the past
> getting the drivers to work at all.
>
>

Great stuff, horses for courses, some people get it working via 1-click,
some through the repos, and some the hard way.

Just remember if there is a kernel patch in updates then after a reboot you
will get an error or just a black screen so you need to need to log-on to
runlevel 3 and then just run the install again, no need to reconfigure or
anything else.

Have fun and most of all enjoy.


Mark
Caveat emptor
Nullus in verba
Nil illegitimi carborundum

cat 9.7 are out

ATI Catalyst™ Proprietary Display Driver