AMDGPU PRO

From Rosalab Wiki
Revision as of 16:38, 14 June 2017 by Euspectre (Talk | contribs) (Created page with "== Installing and setting up AMDGPU PRO drivers for AMD graphics == AMDGPU PRO drivers are available for 64-bit versions of ROSA R8.1 and newer. === Does AMDGPU PRO support ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a page snapshot, showing old (but not deleted) versions of images and templates.
Jump to: navigation, search

Installing and setting up AMDGPU PRO drivers for AMD graphics

AMDGPU PRO drivers are available for 64-bit versions of ROSA R8.1 and newer.

Does AMDGPU PRO support your GPU?

The list of supported models is here: http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx, see "AMD Product Compatibility" section.

How to install

The driver is still experimental and the graphics configuration tool (XFdrake) does not recognize it at the moment. AMDGPU PRO can be installed as follows.

1. If you use ROSA R9 or newer, you do not need to add x11_backports repositories, just skip to step 2.

If you use ROSA R8.1, add x11-backports repository as well as its 32-bit counterpart.

urpmi.addmedia x11-backports http://abf-downloads.rosalinux.ru/x11_backports_personal/repository/rosa2014.1/x86_64/main/release/
urpmi.addmedia x11-backports-32 http://abf-downloads.rosalinux.ru/x11_backports_personal/repository/rosa2014.1/i586/main/release/

2. Install the packages:

urpmi amdgpu-pro dkms-amdgpu-pro

Note that dkms-amdgpu-pro may not work with the kernel 4.10 or newer at the moment.

If you plan to use Steam or any other 32-bit graphical applications, you also need to installamdgpu-pro-lib32:

urpmi amdgpu-pro-lib32

3. If your system has two GPUs, an integrated Intel GPU and a discrete AMD GPU, and both are used ("hybrid graphics"), run the following command after you have installed the packages with AMDGPU PRO but before reboot:

/opt/amdgpu-pro/bin/amdgpu-pro-px --mode performance

Please check if /etc/X11/xorg.conf.d/01-amdgpu-pro-px.conf is now present and contains the following or something similar:

Section "Device"
        Identifier "Amd"
        Driver "amdgpu"
        Option "ShareFD" "on"
EndSection

Section "Device"
        Identifier "Intel"
        Driver "modesetting"
        Option "RenderPath" "amdgpu"
        Option "RenderDriver" "amdgpu"
EndSection

4. Reboot the system

How to remove AMDGPU PRO

urpme `rpm -qa | grep amdgpu-pro`
rm -f /etc/X11/xorg.conf.d/01-amdgpu-pro-px.conf

Which kernel version to use?

Kernel versions 4.9.x are recommended. AMDGPU PRO may not work with older or newer ones.