GNU/Linux Gentoo Installing AMD Open Source Drivers Guide
How to install the official AMDGPU open-source graphics drivers on Gentoo Linux – step-by-step using Portage.
These drivers use the AMDGPU kernel module and the Mesa 3D stack to support modern Radeon cards on Gentoo.
Finally, this Setup is valid for all the Gentoo Based Distros:
- Funtoo
- Sabayon

-
1. Sync the Portage Tree
Update your ebuild repository:
sudo emerge --sync
-
2. Set Appropriate USE Flags
Edit
/etc/portage/make.conf
(or /etc/portage/package.use) and ensure you have:# Enable AMDGPU support, DRI, and Vulkan VIDEO_CARDS="amdgpu radeonsi" USE="dri vulkan opencl"
-
3. Install or Rebuild the Mesa Stack
Compile and install Mesa with AMDGPU support:
sudo emerge --ask --verbose media-libs/mesa
-
4. Install Vulkan and OpenCL Runtimes
If you need Vulkan and OpenCL user-space libraries:
sudo emerge --ask --verbose media-libs/vulkan-loader sudo emerge --ask --verbose media-libs/vulkan-tools sudo emerge --ask --verbose dev-libs/opencl-headers
-
5. Verify Installation
Check the kernel module is loaded:
lsmod | grep amdgpu
Test OpenGL:
glxinfo | grep "OpenGL renderer"
Test Vulkan:
vulkaninfo | grep "apiVersion"
You’re done! Your Gentoo system now runs on the latest AMDGPU open-source drivers and Mesa stack.