tagline: From openSUSE
|Tested on openSUSE||Recommended articles||Related articles|
They can't be integrated into the openSUSE distribution because they are not licensed as Free and Open Source Software. Check HCL:AMD video cards to select the driver that suits your graphical hardware best, before you proceed in this article.
- 1 Procedure for one-click-install
- 2 Procedure GUI - YaST2
- 3 zypper command line
- 4 Building the rpm yourself
- 5 See Also
Procedure for one-click-install
One-click-install is an easy way to have the repository added by YaST and have the recommended package automagically installed.
Identify your architecture
- To determine your system architecture you check the terminal output of uname -a like in the example below.
Linux geeko 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux
If you see x86_64 on the line you are using a 64bits system. If you see i386/i586/i686 then your system is 32bits.
- This method should be safe, if you choose the right architecture. Reports and comments are welcome - ping tigerfoot on irc (#suse on Freenode).
1-click fglrx install for 32 bits
1-click install 64 bits
Note: 1-click can't be used directly with openSUSE Tumbleweed, due to the lack of a clear way to identity this derivative. See GUI/Yast2 installation way.
Procedure GUI - YaST2
Reference repositories urls list
Note: This list is also useful for the zypper client install below.
Adding the repository
- Start YaST2, with the help of menu
- Click Software Repositories in the YaST Control Center
- Click Add, select Specify URL and click Next
- Enter the repository url and choose a name (FGLRX for example) for the repository
- Click OK
- Accept the repository gpg key
- Ensure its status is "enabled" and "refresh automatically" is also on
Installing the fglrx package
- In the YaST Control Center, click Software Management.
- Search for "fglrx" and check the package that matches your architecture.
Note: For example on a 12.1 openSUSE fglrx64_xpic_SUSE121 is for 64bits and fglrx_xpic_SUSE121 is for 32bits
- Click Accept to confirm your changes
The simplest way to apply these changes is to reboot.
zypper command line
Be safe and blacklist the free radeon driver
Before trying to install the fglrx package it's better to disable free radeon driver.
- Start your computer
- On the boot line add : radeon.modeset=0 blacklist=radeon 3
- Press enter
- Let boot your system in console mode, once you see a prompt login, use the root account
- Recreate the initrd without the free radeon loaded
- Reboot in console mode (same flags as before)
zypper adding repository
Once you've logged back in as root on the console issue the following command, replacing $URL$ with one of the URLs specified above for your opensuse version.
Note: For Tumbleweed use openSUSE_Tumbleweed as version
zypper installing the rpm
To Install fglrx (do one or the other, not both; replace "121" with your openSUSE version)
- for 64bits system
- # zypper in fglrx64_xpic_SUSE121
- for 32bits system
- # zypper in fglrx_xpic_SUSE121
Reboot to activate the driver.
Building the rpm yourself
Due to a frequent lack of features, it's recommended to use Sebastian Siebert's script makerpm-amd-$VERS$.sh available on his [blog].
- Start a terminal or console of your choice and become root: # su
- Download the script, on the time of writing:
Check on this page if this is still the most recent script and use the most recent one.
- Download the checksum file:
Check on this page if there is an updated script and find the according checksum file if there is one.
- Let's validate against the script: # sha1sum -c makerpm-amd-13.12.sh.sha1The output should be:
# makerpm-amd-13.12.sh: OK
- Change the permission of the script: # chown root:root makerpm-amd-13.12.sh && chmod 744 makerpm-amd-13.12.sh
- Run the script with the parameter -i. The script generate the RPM package and install/update automatically it. # ./makerpm-amd-13.12.sh -i
Important: Reboot the computer after the installation.
- If something goes wrong, remove the driver with the parameter -u.
- Go into the console and log in as super user root
- Execute the script: # ./makerpm-amd-13.12.sh -u