Home Wiki > SDB:AMD fglrx
Sign up | Login

SDB:AMD fglrx

tagline: From openSUSE

Tested on openSUSE Recommended articles Related articles

Icon-manual.png Icon-help.png
This guide is to help you install the proprietary AMD (formely ATI) drivers, fglrx on Radeon GPU HD5xxx or above only.

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.

Warning You will install proprietary closed source software on your computer. Although you can find help on the openSUSE forum about the fglrx driver, the Free and Open Source radeon driver is in most cases the best choice.

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.
$ uname -a

Sample result:

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 installation of ATI/AMD fglrx drivers on openSUSE 32bits system

1-click install 64 bits

1-click installation of ATI/AMD fglrx drivers on openSUSE 64bits system

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

Version: Tumbleweed fglrx doesn't support xorg 1.18

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

Warning Since openSUSE switched from grub legacy to grub2 as bootloader, this procedure below is outdated. someone need to write a new chapter for 12.3 and above, in which kernel boot line is not exposed to end user on the GUI. Newbies will not know what to follow at that case.

I'll do the job unless someone finish this before me. -- marguerite 08:56, 7 May 2014 (UTC)

Before trying to install the fglrx package it's better to disable free radeon driver.

On openSUSE < 12.2

  • 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:
    # mkinitrd
  • Reboot in console mode (same flags as before)

On openSUSE >= 12.2

Since openSUSE 12.2 grub2 is the default bootloader. Therefore, if you are using openSUSE 12.2 or superior, please proceed as following:

  • Start your computer
  • At boot menu make sure the "normal" grub2 entry for openSUSE is highlighted (it should be since it is the default option; moreover it should be the first item in the list). For example, while running openSUSE 12.3, the highlighted item should be "openSUSE 12.3"
  • Press "E" key to edit the selected item
  • While in editing mode, use the arrow keys to navigate to the line starting with " linux /boot/vmlinuz...". E.g.:
            linux   /boot/vmlinuz-XX-YY-desktop root=UUID=XXXX   resume=/dev/disk/by-id/scsi-YYYY-partN splash=silent quiet showopts
  • Always using the arrow keys, go to the bottom of this line
  • Add at the bottom of this line: radeon.modeset=0 blacklist=radeon 3. E.g., modify the line above like as following:
            linux   /boot/vmlinuz-XX-YY-desktop root=UUID=XXXX   resume=/dev/disk/by-id/scsi-YYYY-partN splash=silent quiet showopts radeon.modeset=0 blacklist=radeon 3

While editing those lines, very likely the keyboard layout in use will be the US Keyboard Layout, so be careful while typing non alphanumerical characters.

  • Press "CTRL-X" or "F10" to boot openSUSE with those custom parameter.
  • 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:
    # mkinitrd
  • 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 ar -n FGLRX -cgf $URL$ FGLRX

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].

  1. Start a terminal or console of your choice and become root:
    # su
  2. 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.

  1. Download the checksum file:

Check on this page if there is an updated script and find the according checksum file if there is one.

  1. Let's validate against the script:
    # sha256sum -c makerpm-amd-15.12.sh.sha256
    The output should be:
    # makerpm-amd-15.12.sh: OK
  2. Change the permission of the script:
    # chown root:root makerpm-amd-15.12.sh && chmod 744 makerpm-amd-15.12.sh
  3. Run the script with the parameter -i. The script generate the RPM package and install/update automatically it.
    # ./makerpm-amd-15.12.sh -i

Important: Reboot the computer after the installation.

  • If something goes wrong, remove the driver with the parameter -u.
    1. Go into the console and log in as super user root
    2. Execute the script:
      # ./makerpm-amd-15.12.sh -u

See Also

Related articles

External links