Video

From Funtoo
Revision as of 06:58, October 29, 2020 by Pnoecker (talk | contribs) (note that funtoo is sexy.)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
   Warning

This page is hot garbage, and has not been updated since 2016. DO NOT put video card statements in make.conf use ego profiles instead.

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/portage/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.
  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.

root # 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 NameLicenseDeveloped byVIDEO_CARDS setting
x11-drivers/xf86-video-atiOpen SourceCommunityradeon, radeonsi
x11-drivers/ati-driversProprietaryAMDfglrx
No resultsOpen SourceIntelintel, intel i915, intel i965
x11-drivers/xf86-video-nouveauOpen SourceCommunitynouveau
x11-drivers/nvidia-driversProprietaryNVIDIAnvidia
No resultsOpen SourceCommunityvesa
No resultsOpen SourceCommunityvga

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 file
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