Difference between revisions of "Video"

(Other)
(Selecting a Video Driver)
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{Important|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 <code>eselect opengl</code> 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.}}
 
{{Important|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 <code>eselect opengl</code> 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 Drivers ==
+
== Video Driver Installation and Setup ==
 +
 
 +
Individual driver pages cover specific setup steps for each driver. The general process is as follows:
 +
 
 +
# Define <code>VIDEO_CARDS</code> variable in <code>/etc/make.conf</code> to refer to the name of the driver that you wish to use. Special names, rather than ebuild package names are used. For example, <code>fglrx</code> is used to refer to {{package|x11-drivers/ati-drivers}}.
 +
# Update your system using <code>emerge</code>, if X is already installed, or <code>emerge xorg-x11</code>. Your <code>VIDEO_CARDS</code> settings will result in your selected drivers being installed.
 +
# Configure X to use these drivers. This often involves running <code>X -configure</code> or using a supplied tool to produce an initial X configuration like <code>aticonfig --initial</code>.
 +
# If necessary (this is typically done automatically for you,) run <code>eselect opengl</code> and <code>eselect opencl</code> to set the working OpenGL and OpenCL implementation.
 +
 
 +
== Selecting a Video Driver ==
  
 
First determine which video card you have and which driver it requires.
 
First determine which video card you have and which driver it requires.
Line 9: Line 18:
 
<console>###i## lspci -nn | grep -i vga</console>
 
<console>###i## lspci -nn | grep -i vga</console>
  
to see what your system is using:
 
<console>###i## lspci -k</console>
 
  
Once hardware is determined use the following sections to add or edit the <code>VIDEO_CARDS</code> global variable in <code>/etc/[[make.conf]]</code>.  For more granular details including kernel configurations, frame buffer settings, and xorg configurations: see specific package page links.
+
Once hardware is determined use the following sections to add or edit the <code>VIDEO_CARDS</code> global variable in <code>/etc/[[make.conf]]</code>.  See the specific driver pages for more granular details including kernel configurations, frame buffer settings, and X configuration.
  
=== AMD/ATI ===
+
{{TableStart}}
 +
<tr class="warn"><th>Package Name</th><th>License</th><th>Developed by</th><th><code>VIDEO_CARDS</code> setting</th></tr>
 +
<tr><td>{{Package|x11-drivers/xf86-video-ati}}</td><td>'''Open Source'''</td><td>Community</td><td><code>radeon</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/ati-drivers}}</td><td>Proprietary</td><td>AMD</td><td><code>fglrx</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/xf86-video-intel}}</td><td>'''Open Source'''</td><td>[http://www.intel.com Intel]</td><td><code>intel</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/xf86-video-nouveau}}</td><td>'''Open Source'''</td><td>Community</td><td><code>nouveau</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/nvidia-drivers}}</td><td>Proprietary</td><td>[http://www.nvidia.com NVIDIA]</td><td><code>nvidia</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/xf86-video-vesa}}</td><td>'''Open Source'''</td><td>Community</td><td><code>vesa</code></td></tr>
 +
<tr><td>{{Package|x11-drivers/xf86-video-vga}}</td><td>'''Open Source'''</td><td>Community</td><td><code>vga</code></td></tr>
 +
{{TableEnd}}
  
Users can choose between free ({{Package|x11-drivers/xf86-video-ati}}) and proprietary ({{Package|x11-drivers/ati-drivers}}) video drivers.
+
An overview of each driver follows:
  
{{Package|x11-drivers/ati-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.
+
=== AMD/ATI ===
  
The free {{Package|x11-drivers/xf86-video-ati}} has an official [http://xorg.freedesktop.org/wiki/RadeonFeature/ hardware and feature compatibility matrix]. The free drivers are recommended as the proprietary drivers are not currently maintained very well by AMD.
+
Users can choose between free ({{Package|x11-drivers/xf86-video-ati}}) and proprietary ({{Package|x11-drivers/ati-drivers}}) video drivers.  {{Package|x11-drivers/ati-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|x11-drivers/xf86-video-ati}} has an official [http://xorg.freedesktop.org/wiki/RadeonFeature/ hardware and feature compatibility matrix]. The free drivers are recommended as the proprietary drivers are not currently maintained very well by AMD.
  
 
=== Intel ===
 
=== Intel ===
Line 28: Line 44:
 
=== NVIDIA ===
 
=== NVIDIA ===
  
Users can choose between {{Package|x11-drivers/xf86-video-nouveau}} and proprietary {{package|x11-drivers/nvidia-drivers}} video drivers released by NVIDIA.
+
Users can choose between {{Package|x11-drivers/xf86-video-nouveau}} and proprietary {{package|x11-drivers/nvidia-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.
 
+
 
+
=== Hybrid Graphics ===
+
 
+
==== VESA/VGA ====
+
 
+
{{package|x11-drivers/xf86-video-vesa}}
+
 
+
==== Raspberry Pi ====
+
{{SectionNeedsUpdates}}
+
 
+
== Install ==
+
Once your video cards variables are set in [[make.conf]], and kernel configurations are arranged merge changes into your system:
+
 
+
<console>###i## emerge -avuND world</console>
+
 
+
{{note|we should change world to the specific package that pulls in all the other video stuff so if this page is ran on an old stale system it doesn't pull in 50 bazillion packages}}
+
 
+
==Configure X.org==
+
===Nvidia===
+
nvidia-xconfig, etc.
+
 
+
===AMD/ATI===
+
aticonfig, etc.
+
<console># ##i##aticonfig --initial --input=/etc/X11/xorg.conf</console>
+
 
+
==Finalize and test==
+
==== eselect opengl ====
+
{{note|change the number of card eselected to match the card of your system}}
+
<console>###i## eselect opengl list
+
###i## eselect opengl set 1</console>
+
 
+
==== eselect opencl ====
+
{{note|some setups can make use of opencl}}
+
<console>###i##eselect opencl list
+
###i##eselect opencl set 1</console>
+
* reboot/test process
+
  
==Troubleshooting==
+
== Managing Installed Drivers ==
* what to do if only a blank screen
+
  
Category:Video Cards wrap me with braces when im snazzy
+
=== OpenGL/OpenCL ===
Category:First Steps wrap me with braces when im snazzy
+

Latest revision as of 22:53, November 27, 2014

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.

Important

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:

  1. Define VIDEO_CARDS variable in /etc/make.conf to refer to the name of the driver that you wish to use. Special names, rather than ebuild package names are used. For example, fglrx is used to refer to AMD Catalyst Video Drivers.
  2. Update your system using emerge, if X is already installed, or emerge xorg-x11. Your VIDEO_CARDS settings will result in your selected drivers being installed.
  3. Configure X to use these drivers. This often involves running X -configure or using a supplied tool to produce an initial X configuration like aticonfig --initial.
  4. If necessary (this is typically done automatically for you,) run eselect opengl and eselect opencl to 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 | grep -i vga


Once hardware is determined use the following sections to add or edit the VIDEO_CARDS global variable in /etc/make.conf. See the specific driver pages for more granular details including kernel configurations, frame buffer settings, and X configuration.

Package NameLicenseDeveloped byVIDEO_CARDS setting
Radeon Video DriversOpen SourceCommunityradeon
AMD Catalyst Video DriversProprietaryAMDfglrx
x11-drivers/xf86-video-intel (package not on wiki - please add)Open SourceIntelintel
Nouveau Video Drivers (Open Source)Open SourceCommunitynouveau
NVIDIA Linux Display DriversProprietaryNVIDIAnvidia
x11-drivers/xf86-video-vesa (package not on wiki - please add)Open SourceCommunityvesa
x11-drivers/xf86-video-vga (package not on wiki - please add)Open SourceCommunityvga

An overview of each driver follows:

AMD/ATI

Users can choose between free (Radeon Video Drivers) and proprietary (AMD Catalyst Video Drivers) video drivers. 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 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.

Intel

The Intel video driver (x11-drivers/xf86-video-intel (package not on wiki - please add) supports Intel GMA and Intel HD graphics processors, which are found in laptops and desktop systems.

NVIDIA

Users can choose between Nouveau Video Drivers (Open Source) and proprietary 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

OpenGL/OpenCL