Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install AMD Drivers on Arch Linux: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing AMD drivers on Arch Linux is straightforward because the open-source AMDGPU driver is included in the Linux kernel and works out of the box for most modern AMD GPUs. For gaming and hardware acceleration, you mainly need to install the Vulkan driver and firmware packages. This guide covers the essential steps for both open-source and proprietary (AMDGPU-PRO) options, plus troubleshooting for common issues.

What You'll Need

  • An Arch Linux installation with an active internet connection.
  • Basic familiarity with the terminal and using sudo.
  • Your AMD GPU model (check with lspci | grep VGA).
  • Optional: A text editor for editing configuration files.

Step-by-Step

  1. Update your system – Run sudo pacman -Syu to ensure your kernel, mesa, and firmware are up to date. This is critical because the AMDGPU driver relies on the kernel and firmware packages.
  2. Identify your GPU – Use lspci -k | grep -A 3 -E "VGA|3D" to see your GPU model and which driver is currently loaded. If you see amdgpu in the kernel driver line, you're already using the open-source driver.
  3. Install the Vulkan driver – For Vulkan support (required for many games and modern applications), install vulkan-radeon (open-source) or amdvlk (AMD's official Vulkan driver). Most users should choose vulkan-radeon for better performance and compatibility. Run: sudo pacman -S vulkan-radeon.
  4. Install firmware – Ensure you have the latest AMD microcode and GPU firmware: sudo pacman -S linux-firmware. This is especially important for newer GPUs (RDNA2 and later).
  5. Install 32-bit Vulkan libraries (optional but recommended for gaming) – If you play 32-bit games (e.g., via Steam), enable multilib in /etc/pacman.conf (uncomment the [multilib] line) and then install: sudo pacman -S lib32-vulkan-radeon.
  6. Install OpenCL (optional) – For compute workloads (e.g., Blender, GIMP, some video encoding), install opencl-amd (from AUR) or rocm-opencl-runtime for ROCm support. The simpler choice is opencl-amd from the AUR, which provides the proprietary OpenCL stack.
  7. Reboot – After installing the necessary packages, reboot to ensure the driver loads correctly. Use sudo reboot.
  8. Verify installation – After reboot, run glxinfo | grep "OpenGL renderer" (install mesa-utils if not present) to see your GPU name. For Vulkan, run vulkaninfo | grep deviceName. If you see your GPU model, the driver is working.
  9. Optional: Install AMDGPU-PRO (proprietary driver) – If you need the proprietary driver for specific professional applications (like some CAD software), you can install it from the AUR with yay -S amdgpu-pro-installer. However, this is generally not recommended for most users because open-source drivers are often faster and more stable on Arch. If you choose this, follow the AUR package instructions carefully.

Common Mistakes

  • Not updating the kernel – The AMDGPU driver is part of the kernel; if you're on an old kernel, you won't get improvements or support for newer GPUs.
  • Missing firmware – For RDNA2 and later GPUs, missing firmware can cause blank screens or poor performance. Always install linux-firmware.
  • Using the wrong Vulkan driver – Installing both vulkan-radeon and amdvlk can cause conflicts. Choose one; vulkan-radeon is the recommended open-source option.
  • Forgetting multilib – If you enable multilib after installing packages, you need to reinstall 32-bit versions of Vulkan and other libraries.
  • Editing xorg.conf unnecessarily – Modern AMD GPUs need no manual Xorg configuration. Skip it unless you have a specific reason.

Tips

  • Use mesa-utils and vulkan-tools to get diagnostic commands like glxinfo and vulkaninfo.
  • For laptops with hybrid graphics (AMD + Intel), you may need to use prime-run or similar to run applications on the AMD GPU. Install primus-vk or optimus-manager (though the latter is more for NVIDIA).
  • If you have an older GPU (pre-GCN), the open-source radeon driver is used instead. The steps are similar, but you may need to install xf86-video-radeon for Xorg.
  • Check the Arch Wiki page for AMDGPU for the most up-to-date and detailed information.

Troubleshooting

  • Blank screen after reboot – This often means the firmware or driver isn't loading. Boot into a TTY (Ctrl+Alt+F2), log in, and check dmesg | grep amdgpu for errors. Ensure linux-firmware is installed. If you have a very new GPU, you may need a newer kernel (e.g., linux-zen or linux-mainline from AUR).
  • Poor performance in games – Make sure you have the Vulkan driver installed and that your game is using it. Check with vulkaninfo to see the selected driver. Also ensure your system isn't using the integrated GPU (if you have one).
  • Flickering or artifacts – This could be a kernel or mesa bug. Try updating to the latest mesa (sudo pacman -Syu) or switching to the linux-zen kernel. You can also try setting RADV_PERFTEST=aco environment variable for the ACO compiler (though it's default now).
  • OpenCL not working – If you installed opencl-amd from AUR and it doesn't work, check that you have the correct ICD files in /etc/OpenCL/vendors. You may need to reinstall or rebuild the package.
  • Driver conflicts after installing AMDGPU-PRO – If you installed the proprietary driver and want to revert, uninstall it with sudo pacman -R amdgpu-pro-installer and then reinstall the open-source packages (mesa, vulkan-radeon).

Frequently Asked Questions

Do I need to install AMD drivers on Arch Linux?

Most modern AMD GPUs work out of the box with the open-source AMDGPU driver built into the kernel. You only need to install additional packages for Vulkan, OpenCL, or if you want the proprietary stack.

What is the difference between vulkan-radeon and amdvlk?

vulkan-radeon is the open-source Vulkan driver (RADV) developed by Mesa and Valve, while amdvlk is AMD's official closed-source Vulkan driver. RADV generally offers better performance in games and is more actively updated.

Should I use the proprietary AMDGPU-PRO driver?

Only if you need it for specific professional applications (like some CAD or scientific software) that require the proprietary OpenGL or OpenCL implementations. For gaming and general use, the open-source drivers are recommended.

How do I check if my AMD GPU is using the amdgpu driver?

Run lspci -k | grep -A 3 -E "VGA|3D" and look for Kernel driver in use: amdgpu.

Why is my GPU not detected after installing?

Ensure your GPU is properly seated (if discrete) and that you have the latest kernel and firmware. Also check dmesg for errors. If you have a very new GPU, you may need a newer kernel.

Can I use AMD drivers on a laptop with hybrid graphics?

Yes, but you may need to configure GPU switching. For Arch, you can use prime-run to launch applications on the AMD GPU, or set up a dynamic power management mode via /sys/class/drm/card0/device/power_dpm_force_performance_level.