Difference between revisions of "Package:Radeon Video Drivers"

Line 14: Line 14:
 
</console>
 
</console>
  
If the output produces information that contains something like "01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]," then you have an AMD graphics card and continue to the next step in the install process. If <code>lspci</code> does not provide you with something like this, and instead contains intel or nvidia, read about installing drivers for those elsewhere on the wiki.
+
If the output produces information that contains something like "01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]," then you have an AMD graphics card and continue to the next step in the install process. If <code>lspci</code> does not provide you with something like this, and instead contains Intel or NVIDIA, consult the main [[Video]] page for information.
  
 
=== Preparing the kernel ===
 
=== Preparing the kernel ===

Revision as of 05:48, November 25, 2014

x11-drivers/xf86-video-ati


Source Repository:Gentoo Portage Tree
Homepage

Summary: Open source drivers for AMD video cards.

Use Flags

glamor
Enable Glamor OpenGL 2D acceleration

Radeon Video Drivers

If you have become frustrated by the somewhat poorly maintained ati-drivers (the closed source video drivers for AMD cards) or if you would rather use open source video drivers, this is the package for you. This page outlines how to install and configure the open source xf86-video-ati drivers.

Preparation

Check to see if your card is an AMD card

If you do not know if you have an AMD graphics card or not, you can run the following command:

# lspci | grep VGA

If the output produces information that contains something like "01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]," then you have an AMD graphics card and continue to the next step in the install process. If lspci does not provide you with something like this, and instead contains Intel or NVIDIA, consult the main Video page for information.

Preparing the kernel

Now that you know you have an AMD graphics card, you can prepare the kernel for xf86-video-ati. Begin by ensuring that MTRR is enabled, then enable support for AGP graphics cards (only necessary if your card sits in an AGP slot -- not a PCIe one). After enabling AGP (if you needed it), you should enable support for the DRM and modesetting on radeon.:

Processor type and features --->
    [*] MTRR (Memory Type Range Register) support

Device Drivers --->
    Graphics support --->
        (If you have an AGP-based graphics card, enable these options)
        <*> /dev/agpgart (AGP Support) --->
            <*> AMD Opteron/Athlon64 on-CPU GART support
        Direct Rendering Manager --->
            <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ----
            <*> ATI Radeon
                [*] Enable userspace modesetting on radeon
        Frame buffer Devices --->
            < > ATI Radon display support

If you have a graphics cards with HDMI ports that you wish to use for audio, some additional configuration of the kernel is required:

Device Drivers --->
    <*> Sound card support --->
        <*> Advanced Linux Sound Architecture --->
            HD Audio --->
                <*>HD Audio PCI
                    (64) Pre-allocated buffer size for HD-audio drivers
                    <*> Build HDMI/DisplayPort HD-audio codec support
        [*] Dynamic device file minor numbers
        (32) Max number of sound cards

Getting the required firmware

Many newer AMD GPU's require that you install firmware for them to function. Install the package radeon-ucode (Radeon microcode) for this function:

# emerge radeon-ucode

It is also possible to install Radeon microcode via the linux-firmware package, which contains the Radeon microcode plus a much larger selection of firmware for other types of devices:

# emerge linux-firmware


Installing the firmware into the kernel

Important

This section is in need of updates.