AMDGPU

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

If the card in question is not found in the Feature support section below check the radeon article; it contains instructions for older open source AMD/ATI Radeon graphic card drivers.

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

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

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

Built-in kernel
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
Set the following kernel options for the graphic chipsets mentioned above:

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.

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

Note: Some recent cards, such as those based on the POLARIS10/11 chipset, require AMD's DAL for HDMI/DisplayPort audio to function. It is not yet merged upstream.

Emerge
Portage uses the VIDEO_CARDS variable for enabling support for various graphics cards in packages. Setting VIDEO_CARDS to  (see the feature matrix section above) and asking Portage to update changed USE flags in the @world set 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.