AMD Navi 10

From ArchWiki
Revision as of 10:36, 27 September 2019 by Nshcat (talk | contribs) (→‎Troubleshooting: Fixed extra newline.)
Jump to navigation Jump to search

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Needs more detailed information and troubleshooting (Discuss in Talk:AMD Navi 10#)

Navi 10 is the GPU architecture featured in AMD's Radeon RX 5000 series. Since it's very new hardware, software support for it is not yet completely ready. This page will lay out the procedure to make Navi 10 based GPUs work under Arch Linux.

Installation

Kernel

Navi 10 GPUs require version 5.3 or newer of the Linux kernel. The Linux kernel 5.3 is already available in the core repository of Arch Linux. Make sure to use the linux and linux-headers packages to get the latest version.

You can check your current kernel version by running the following command:

uname -r

Another way to get Navi 10 support in older kernel versions is to install amdgpu-dkmsAUR. Be warned that this is not officially supported.

Firmware

Linux firmware is a package distributed alongside the Linux kernel that containes firmware binary blobs necessary for partial or full functionality of certain hardware devices. These binary blobs are usually proprietary because some hardware manufacturers do not release source code necessary to build the firmware itself.

Gentoo Wiki

All firmware blobs needed are included in the linux-firmware package.

If you have a new enough kernel, but do not have sufficient firmware files, then you may need to boot with the nomodeset kernel option in order to have a working virtual console.

Mesa

Support for Navi 10 GPUs isn't yet available in the standard repositories. You will need the development version of mesa and its related packages. To get them, you can add the mesa-git repository to your system. To do that, add the following lines to /etc/pacman.conf just above the [core] section:

/etc/pacman.conf
[mesa-git]
Server = https://pkgbuild.com/~lcarlier/$repo/$arch
SigLevel = Optional

Then update your system and install the following packages, replacing anything it prompts to:

amdvlk clang-git libclc-git libdrm-git llvm-git llvm-libs-git mesa-git opencl-mesa-git vulkan-mesa-layer-git vulkan-radeon-git xf86-video-amdgpu-git lib32-mesa-git lib32-mesa-git lib32-vulkan-radeon-git lib32-vulkan-mesa-layer-git

These packages will provide support for the latest mesa stack, as well as support for Vulkan, for both 64 bit and 32 bit applications.

LLVM

You need LLVM 9.0 or newer: [1]

This should be selected as a dependency for mesa / mesa-gitAUR above, either provided by the llvm-gitAUR family of packages, or via llvm when 9.0 is considered stable by its archlinux maintainer

AMDGPU PRO

Using AMDGPU PRO is not recommended. If you're still interested, see AMDGPU#AMDGPU PRO.

Loading and Early KMS

See AMDGPU#Loading.

Xorg configuration, Tear Free Rendering, DRI Level and Variable refresh rate

See AMDGPU#Xorg configuration

Video acceleration

See Hardware video acceleration.

GPGPU

To get OpenCL working, you will need to install opencl-amdgpu-pro-palAUR. For more info on see GPGPU.

Overclocking

See AMDGPU#Overclocking

Troubleshooting

General

See AMDGPU#Troubleshooting.

Power Consumption

Some users have reported higher than usual idle power consumption when using kernel 5.3. There is a patch set available for kernel 5.4 that appears to fix the issues.