If installing openSUSE 12.2 fresh, what do I do with ATIUpgrade to get proper drivers?

I have a computer with “AMD A4-3400 APU with Radeon™ HD Graphics” so I believe that puts me in the “legacy” driver area. I want 1080P to work (and I had to install and run atiupgrade in the past to get it to work) and given the annoying changes by ATI with their drivers, I’m afraid to install openSUSE 12.2 and screw up the screen. What’s the best way to safely do this?

It worked pretty smooth for me. I installed openSUSE 12.2, then followed these instructions http://forums.opensuse.org/content/115-ati-driver-atiupgrade-new-version.html
The only problem was that the script couldn’t download the driver file. I did it manually and copied it at /usr/share, and it was all done.

My GPU is an HD 5850

Thanks, but I’m wondering if I have to run it with a special paremeter for my “older” gpu?

It could not? But version 5.0.4 (in repo since yesterday) is supposed to (?). The problem is that the ati install script is zipped since Catalyst 12.6. Previous versions of atiupgrade would indeed fail to download it.

No. If it doesn’t detect your model, it will ask you. It should download and install the legacy driver in your case. Actually I wasn’t 100% sure that this new version woud work with HD Radeon >= 5000 - because I still haven’t tested it myself. But I have a HD 3200, and atiupgrade works fine with this model.

Hi please_try_again,

I was running Opensuse 12.1 and had used your script to install 12.4 version of catalyst.

Now I installed opensuse 12.2 as a clean install and tried to install the ati drivers using your script. It detected my card, downloaded the correct kernel files, and the catalyst 12.6 version.

But while installing I am getting thee following error:


=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: SuSE/SUSE121-AMD64
Build the RPM package now ...  
basename: missing operand
Try 'basename --help' for more information.
cp: missing destination file operand after '/usr/share/atiupgrade'
Try 'cp --help' for more information.

Package /usr/share/atiupgrade/ has been successfully generated

Install or update the RPM package as follows:

   zypper install 

Removing temporary directory: fglrx-install.mfPmkV
     * package  not found. Script aborted.

Can you kindly let me know wht could be the issue and how do I fix it?

Thanks,
Prad

It looks like a bug. It woud be more useful to me if you would post atiupgrade’s output (the stuff you posted is from the ati installer).
I started installing 12.2 on an ATI machine … That way I can see what you guys are talking about.

have to go for now.

the code snippet was just the last part of the atiupgrade script output. Anyway here is the full output.


linux-3n4y:~ # atiupgrade
 (1) - Analyzing system...
     * Found ATI graphics card: HD 3670
 (2) - Getting latest (or specified) Catalyst version: 12.6
 (3) - Installing required packages...
     * Kernel source matches installed kernel (3.4.6-2.10)
     * kernel-source is already installed
     * kernel-desktop-devel is already installed
     * kernel-syms is already installed
     * gcc is already installed
     * make is already installed
 (4) - /usr/share/atiupgrade directory exists...
 (5) - ATI installer amd-driver-installer-12.6-legacy-x86.x86_64.zip found...
 (6) - Looking for rpm package of fglrx 8.97.100.3-1... not found.
 (7) - creating fglrx rpm...
Created directory fglrx-install.zdWEHs
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.3....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: SuSE/SUSE121-AMD64
Build the RPM package now ...  
basename: missing operand
Try 'basename --help' for more information.
cp: missing destination file operand after '/usr/share/atiupgrade'
Try 'cp --help' for more information.

Package /usr/share/atiupgrade/ has been successfully generated

Install or update the RPM package as follows:

   zypper install 

Removing temporary directory: fglrx-install.zdWEHs
     * package  not found. Script aborted.


I can already see something wrong. So if you could open /usr/bin/atiupgrade as root with a text editor and replace this line

LastSupportedSUSE=**121**

with this

LastSupportedSUSE=**122**

it wouldn’t certainly hurt.
I’m afraid I will have to sleep at some point. I spent all the time fixing other problems. But I have installed 12.2 on an ATI Machine now with both a PCI ATI card > HD 5000 and a GPU < HD 5000. I hope I will have the script fixed by tomorrow.

Yes I know, but it was the part of atiupgrade output running and thus printing the ati installer output. The info in step 1 to 7 told us that you have a HD 3670 and that you’re tryiing to install the Legacy driver.

Hi, I tried replacing 121 with 122 but it did not work.


linux-3n4y:~ # atiupgrade
 (1) - Analyzing system...
     * Found ATI graphics card: HD 3670
     * Found fglrx: 8.97.100.3
 (2) - Getting latest (or specified) Catalyst version: 12.6
 (3) - Installing required packages...
     * Kernel source matches installed kernel (3.4.6-2.10)
     * kernel-source is already installed
     * kernel-desktop-devel is already installed
     * kernel-syms is already installed
     * gcc is already installed
     * make is already installed
 (4) - /usr/share/atiupgrade directory exists...
 (5) - ATI installer amd-driver-installer-12.6-legacy-x86.x86_64.zip found...
 (6) - Looking for rpm package of fglrx 8.97.100.3-1... not found.
 (7) - creating fglrx rpm...
Created directory fglrx-install.WJW0uf
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.3....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: SuSE/SUSE122-AMD64
Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions
Removing temporary directory: fglrx-install.WJW0uf
     * package  not found. Script aborted.

-Prad

This is not a bug in atiupgrade. This is a bug in the ati installer. If you run amd-driver-install manually, you’ll get the same error:

Either this (which is what atiupgrade does):

# **sh /usr/share/atiupgrade/amd-driver-installer-8.982-x86.x86_64.run --buildpkg SuSE/SUSE122-AMD64**
Created directory fglrx-install.EtGAJx
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.982.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: SuSE/SUSE122-AMD64
Build the RPM package now ...  
basename: missing operand
Try 'basename --help' for more information.
cp: missing destination file operand after '/tmp'
Try 'cp --help' for more information.

Package /tmp/ has been successfully generated

Install or update the RPM package as follows:

   zypper install 

Removing temporary directory: fglrx-install.EtGAJx

Or this:


# **sh /usr/share/atiupgrade/amd-driver-installer-8.982-x86.x86_64.run --buildpkg SuSE/SUSE-autodetection**
Created directory fglrx-install.UG9U76
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.982.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating package: SuSE/SUSE-autodetection
Auto detection mode:
   Distribution: openSUSE
   Version:      12.2
   Architecture: x86_64
   Package name: SUSE122-AMD64
Build the RPM package now ...  
basename: missing operand
Try 'basename --help' for more information.
cp: missing destination file operand after '/tmp'
Try 'cp --help' for more information.

Package /tmp/ has been successfully generated

Install or update the RPM package as follows:

   zypper install 

Removing temporary directory: fglrx-install.UG9U76

Does it look familiar?

Creating a package in interactive mode doesn’t work either.

The only thing that ‘works’ is running the amd-driver-installer without argument:

# sh /usr/share/atiupgrade/amd-driver-installer-8.982-x86.x86_64.run

and then selecting
**
Installing driver …**

instead of

Generate distribution Specific Driver Package

If you don’t care about the mess, go one! I’ll go to bed. I can not help on this.
I did it with the current driver on this machine, but I could imagine that it would work with the legacy driver too.

Maybe this bug was intentional and somebody take us for idiots. :
But even if it was not intentional … it is not excusable.

Notice - to answer the original question - that atiupgrade does get the right driver. It’s just the amd installer which is either unable or unwilling to package it.

Have some workaround in atiupgrade 5.1, jut building in OBS now … See this post: http://forums.opensuse.org/english/other-forums/development/programming-scripting/449058-upgrading-ati-driver-atiupgrade-21.html#post2485048

OK, so it atiupgrade can’t install it then?

It can install it but not package it. Please read this post: http://forums.opensuse.org/english/other-forums/development/programming-scripting/449058-upgrading-ati-driver-atiupgrade-21.html#post2485856.