Factsheet
/ 4 August 2025; 10 months ago (2025-08-04)
/ 4 August 2025; 10 months ago (2025-08-04)
I have a 7900 xtx but I have no idea how to install the deivers 🙃
Thanks 🙏🏼
Videos
im pretty new to arch and im searching for amd gpu drivers because obs doesnt want to use hardware accel which can probably only mean that gpu drivers arent installed or it doesnt want that, but when i was using windows it still did that. i just need a pacman or yay command that installs what should be installed and the steps after. please not some wiki
Hi everyone.
In this post I'm going to show you how to setup an AMD GPU to have all the "bells & whistles" In Arch Linux, while it is much more straight-forward than setting up an nvidia card , new users may still benefit from this guide.
Note : this not a guide to get the bare minimum (Most Desktop Environments do that automatically i think) , this is a guide on how to get a fat bloated AMDGPU Driver with all the bells & whistles.
After this guide you will end up with :
-
3 Performant Vulkan Drivers. (One has AMD's Ray-tracing)
-
AMD's Proprietary OpenGL Driver. (for applications that need it e.g:davinci) (doesn't takeover the system , it will only be initialized with the application that needs it)
-
An Up-to-date and performant OpenCL Driver.
-
AMD's AMF Encoder which is superior to VA-API.
So first you will need to have at-least functional minimal Arch Linux Installation With Networking.
And then we will proceed :
1 - Getting X.org Drivers.
-
Run the following Command to install X.org packages :
sudo pacman -S xorg xorg-drivers
1 - Getting X.org 2D Acceleration Drivers. (Optional)
-
Run the following Command to install the AMD's X.org 2D Acceleration package :
sudo pacman -S xf86-video-amdgpu
2 - Getting Mesa OpenGL Drivers. (Open-source)
-
Run following Command to install the mesa OpenGL package :
sudo pacman -S mesa
3 - Getting 32-bit version of Mesa OpenGL Drivers. (Open-source) (Optional)
-
Enable the Multilib Repository , By un-commenting the following lines :
[multilib] Include = /etc/pacman.d/mirrorlist
-
Run following Command to Update your Repos :
sudo pacman -Sy
-
Run following Command to install the 32-bit mesa OpenGL package :
sudo pacman -S lib32-mesa
4 - Getting AMD Proprietary OpenGL Drivers. (Proprietary) (Optional)
-
Get yourself a nice AUR Helper for instance paru.
-
Run the following Command to install AMD's proprietary OpenGL AUR package :
paru -S amdgpu-pro-libgl
-
This Driver doesn't become the default (thankfully) , so to use this driver use :
progl (Your_Application)
5 - Getting AMD Proprietary 32-bit OpenGL Drivers. (Proprietary) (Optional)
-
Run the following Command to install 32-bit AMD's proprietary openGL AUR package :
paru -S lib32-amdgpu-pro-libgl
-
This Driver doesn't become the default (thankfully) , so to use this driver use :
progl (Your_Application)
6 - Getting AMD Mesa Vulkan Drivers. (Open-source) (RADV)
-
Run following Command to install the mesa AMD Vulkan package :
sudo pacman -S vulkan-radeon
7 - Getting 32-bit AMD Mesa Vulkan Drivers. (Open-source) (RADV) (Optional)
-
Run following Command to install the 32-bit mesa AMD Vulkan package :
sudo pacman -S lib32-vulkan-radeon
8 - Getting AMD Official Vulkan Drivers. (Open-source + Proprietary) (Optional)
-
Run following Command to install the Official AMD Vulkan packages :
sudo pacman -S vulkan-amdgpu-pro amdvlk
-
Force the RADV driver to be the default so you can only use this when needed (AMF/Raytracing) , by adding this to your /etc/environment
AMD_VULKAN_ICD=RADV
-
And to use this driver use :
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json (Your_Application)
9 - Getting 32-bit AMD Official Vulkan Drivers. (Open-source + Proprietary) (Optional)
-
Run following Command to install the 32-bit Official AMD Vulkan packages :
sudo pacman -S lib32-vulkan-amdgpu-pro lib32-amdvlk
-
And to use this driver use :
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json (Your_Application)
10 - Getting AMD PAL OpenCL Drivers. (Proprietary) (Optional)
-
Run following Command to install the Legacy AMD OpenCL AUR packages :
paru -S opencl-legacy-amdgpu-pro ocl-icd clinfo
-
And to check if this driver is working run the following command :
clinfo
11 - Getting 32-bit AMD PAL OpenCL Drivers. (Proprietary) (Optional)
-
Run following Command to install the 32-bit Legacy AMD OpenCL AUR packages :
paru -S lib32-opencl-legacy-amdgpu-pro lib32-ocl-icd
12 - Getting AMD ROCm (HSA) OpenCL Drivers. (Open-source) (Optional) (Superior)
-
Run following Command to install the ROCm AMD OpenCL AUR package :
paru -S rocm-opencl-runtime
13 - Getting VAAPI Video Encoder. & VDPAU Video Decoder. (Open-source) (Optional) (Sucks)
-
Run following Command to install the VAAPI & VDPAU packages :
sudo pacman -S libva-mesa-driver mesa-vdpau
14 - Getting AMF Video Encoder. (Proprietary) (Optional) (Requires "proprietary vulkan") (Superior)
-
Run following Command to install the AMD AMF AUR package :
paru -S amf-amdgpu-pro
.
And that's it you could now install your DE like normal and expect it and any game or program to run flawlessly .
I'm building a new PC and I'm going to install Arch on it. My GPU is an AMD Radeon RX 580. What is the package name I need to install to get this working?