The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Video"
Threesixes (talk | contribs) m (not editing this from laptop it'll be fixed in about 10 minutes) |
Threesixes (talk | contribs) m (more details) |
||
Line 1: | Line 1: | ||
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. | 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 | {{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 {{c|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 == | == Video Driver Installation and Setup == | ||
Line 7: | Line 7: | ||
Individual driver pages cover specific setup steps for each driver. The general process is as follows: | Individual driver pages cover specific setup steps for each driver. The general process is as follows: | ||
# Define | # Define {{c|VIDEO_CARDS}} variable in {{c|/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, {{c|fglrx}} 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. | # 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 | # Configure X to use these drivers. This often involves running {{c|X -configure}} or using a supplied tool to produce an initial X configuration like {{c|aticonfig --initial}}. | ||
# If necessary (this is typically done automatically for you,) run | # If necessary (this is typically done automatically for you,) run {{c|eselect opengl}} and {{c|eselect opencl}} to set the working OpenGL and OpenCL implementation. | ||
== Selecting a Video Driver == | == Selecting a Video Driver == | ||
Line 16: | Line 16: | ||
First determine which video card you have and which driver it requires. | First determine which video card you have and which driver it requires. | ||
{{console|body=###i## lspci -nn | grep -i vga}} | |||
Once hardware is determined use the following sections to add or edit the | Once hardware is determined use the following sections to add or edit the {{c|VIDEO_CARDS}} global variable in {{c|/etc/[[make.conf]]}}. See the specific driver pages for more granular details including kernel configurations, frame buffer settings, and X configuration. | ||
{{TableStart}} | {{TableStart}} | ||
Line 49: | Line 49: | ||
== Managing Installed Drivers == | == Managing Installed Drivers == | ||
=== Xorg Resolution === | === 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" | Section "Device" | ||
Identifier "Configured Video Device" | Identifier "Configured Video Device" | ||
Line 68: | Line 69: | ||
Modes "1280x720" "800x600" | Modes "1280x720" "800x600" | ||
EndSubSection | EndSubSection | ||
EndSection | EndSection}} | ||
=== OpenGL/OpenCL === | === OpenGL/OpenCL === |
Revision as of 01:02, June 1, 2015
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:
- 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 x11-drivers/ati-drivers. - Update your system using
emerge
, if X is already installed, oremerge xorg-x11
. YourVIDEO_CARDS
settings will result in your selected drivers being installed. - Configure X to use these drivers. This often involves running
X -configure
or using a supplied tool to produce an initial X configuration likeaticonfig --initial
. - If necessary (this is typically done automatically for you,) run
eselect opengl
andeselect 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.
root # lspci -nn
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 Name | License | Developed by | VIDEO_CARDS setting |
---|---|---|---|
x11-drivers/xf86-video-ati | Open Source | Community | radeon, radeonsi |
x11-drivers/ati-drivers | Proprietary | AMD | fglrx |
No results | Open Source | Intel | intel |
x11-drivers/xf86-video-nouveau | Open Source | Community | nouveau |
x11-drivers/nvidia-drivers | Proprietary | NVIDIA | nvidia |
No results | Open Source | Community | vesa |
No results | Open Source | Community | vga |
An overview of each driver follows:
AMD/ATI
Users can choose between free (x11-drivers/xf86-video-ati) and proprietary (x11-drivers/ati-drivers) video drivers. 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 x11-drivers/xf86-video-ati 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.
Intel
The Intel video driver (No results supports Intel GMA and Intel HD graphics processors, which are found in laptops and desktop systems.
NVIDIA
Users can choose between x11-drivers/xf86-video-nouveau and proprietary 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.
Managing Installed Drivers
Xorg Resolution
/etc/X11/xorg.conf.d/45-lowres.conf
- To lower resolution and set dpi edit this fileSection "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