AMDGPU

amdgpu is a family of open source graphics drivers for AMD/ATI Radeon graphics cards.

Hardware detection
To choose the right driver, first detect the graphics card. Use for this task:

Feature support

 * 1 Support is optional in the kernel.
 * 2 Since kernel 4.7-rc6

Firmware
Microcode is required. To get the firmware install one of two separate packages. Either the package:

Or the package (this package contains also other firmware).

When compiling amdgpu directly into the kernel (instead of as a module), make sure the firmware for each model (check available ones in or ) is included in the kernel:

Save the kernel configuration and exit without compiling. More kernel configuration options will be set below.

Below is a list of the firmware files needed for each family/chipset of cards:

Kernel
You need to set the following kernel options:

The options from the Sound card support menu need only to be set if the card supports HDMI or DisplayPort audio and you want to use it. On newer kernels, you also want to additionally set CONFIG_DRM_AMD_ACP=y.

See the Radeon article for more details about using HDMI/DisplayPort audio.

make.conf
Portage uses the VIDEO_CARDS variable for enabling support for various graphics cards in packages. Setting VIDEO_CARDS to  (see the feature matrix) will pull in the correct driver:

Kernel
Older kernels may not provide the  option. Try emerging an unstable kernel.

amdgpu/radeonsi drivers don't work
If your graphics card isn't supported by  and   alone, try adding   to your VIDEO_CARDS variable.

After the values have been set update the system so the changes take effect:

Full-screen windows perform poorly
The installed version of may be too old. Try emerging an unstable version.