The purpose of this page is to give you streamlined steps for setting up your video hardware for X, and desktop environments such as GNOME.
Editors: OK, I've decided to change the plans for this page. This is going to be a page similar to Subarches. The idea is to help people to identify their hardware and guide them toward the correct driver for their chipset. The focus will be primarily on defining the types of hardware that are supported, what products they appear in, and how to know if you have this hardware, and also give people good general overview of options available to them (free vs. proprietary, etc.) Other important topics that apply to all drivers, like
eselect opengl should be covered as well. This will then serve as the meta-page for Video support, with individual ebuild pages holding the details for each driver.
Video Driver Installation and Setup
Individual driver pages cover specific setup steps for each driver. The general process is as follows:
/etc/portage/make.confto refer to the name of the driver that you wish to use. Special names, rather than ebuild package names are used. For example,
fglrxis used to refer to Package:AMD Catalyst Video Drivers.
- Update your system using
emerge, if X is already installed, or
emerge xorg-x11. Your
VIDEO_CARDSsettings will result in your selected drivers being installed.
- Configure X to use these drivers. This often involves running
X -configureor using a supplied tool to produce an initial X configuration like
- If necessary (this is typically done automatically for you,) run
eselect openclto set the working OpenGL and OpenCL implementation.
Selecting a Video Driver
First determine which video card you have and which driver it requires.
# lspci -nn
Once hardware is determined use the following sections to add or edit the
VIDEO_CARDS global variable in
/etc/portage/make.conf. See the specific driver pages for more granular details including kernel configurations, frame buffer settings, and X configuration.
|Package Name||License||Developed by|
|Package:Radeon Video Drivers||Open Source||Community|
|Package:AMD Catalyst Video Drivers||Proprietary||AMD|
|x11-drivers/xf86-video-intel (package not on wiki - please add)||Open Source||Intel|
|Package:Nouveau Video Drivers (Open Source)||Open Source||Community|
|Package:NVIDIA Linux Display Drivers||Proprietary||NVIDIA|
|x11-drivers/xf86-video-vesa (package not on wiki - please add)||Open Source||Community|
|x11-drivers/xf86-video-vga (package not on wiki - please add)||Open Source||Community|
An overview of each driver follows:
Users can choose between free (Package:Radeon Video Drivers) and proprietary (Package:AMD Catalyst Video Drivers) video drivers. Package:AMD Catalyst Video Drivers supports a variety AMD products, including Radeon R9, R7, R5 and HD 5000 Series through HD 8000 Series. Also supported are AMD A-Series APUs and Mobile Radeon HD chipsets. The free Package:Radeon Video Drivers has an official hardware and feature compatibility matrix. The free drivers are recommended as the proprietary drivers are not currently maintained very well by AMD. Users of AMD Southern & Sea Islands (HD7750 and above) should enable radeonsi for better performance and functionality.
Users can choose between Package:Nouveau Video Drivers (Open Source) and proprietary Package:NVIDIA Linux Display Drivers video drivers released by NVIDIA. The proprietary drivers have a reputation for quality, although they are often not updated to work with the latest versions of X or the Linux kernel.
Managing Installed Drivers
Section "Device" Identifier "Configured Video Device" EndSection Section "Monitor" Identifier "Configured Monitor" HorizSync 30.0-62.0 VertRefresh 50.0-70.0 EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1280x720" "800x600" EndSubSection EndSection