Jump to: navigation, search


42 bytes added, 4 years ago
more details
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 <code>{{c|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 Driver Installation and Setup ==
Individual driver pages cover specific setup steps for each driver. The general process is as follows:
# Define <code>{{c|VIDEO_CARDS</code> }} variable in <code>{{c|/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>{{c|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>{{c|X -configure</code> }} or using a supplied tool to produce an initial X configuration like <code>{{c|aticonfig --initial</code>}}.# If necessary (this is typically done automatically for you,) run <code>{{c|eselect opengl</code> }} and <code>{{c|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.
<{{console>|body=###i## lspci -nn | grep -i vga</console>}}
Once hardware is determined use the following sections to add or edit the <code>{{c|VIDEO_CARDS</code> }} global variable in <code>{{c|/etc/[[make.conf]]</code>}}. See the specific driver pages for more granular details including kernel configurations, frame buffer settings, and X configuration.
== Managing Installed Drivers ==
=== Xorg Resolution ===
{{file|name=/etc/X11/xorg.conf.d/45-lowres.conf|lang=|desc=To lower resolution and set dpi edit this file|body=
Section "Device"
Identifier "Configured Video Device"
Modes "1280x720" "800x600"
=== OpenGL/OpenCL ===

Navigation menu