Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Video"

From Funtoo
Jump to navigation Jump to search
(removed reference to make.conf and changed Warning into Tip)
 
(32 intermediate revisions by 6 users not shown)
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.
{{tip|see [[Funtoo_Profiles]] for more info.}}


{{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 Driver Selection ==


== Video Drivers ==
Individual driver pages cover specific setup steps for each driver. The general process is as follows:
 
Run {{c|ego profile mix-ins}} get see what profiles are currently selected, and {{c|ego profile mix-ins +NEW-DRIVER -OLD-DRIVER}} to add and remove your VIDEO-CARDS as you like.  You'll need to {{c|emerge}} @world and --depclean for your changes to reflect
 
 
== 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.


<console>###i## lspci -nn | grep -i vga</console>
{{console|body=###i## lspci -nn | grep -i vga}}


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/portage/[[make.conf]]</code>.  For more granular details including kernel configurations, frame buffer settings, and xorg configurations: see specific package page links.


=== AMD/ATI ===
{{TableStart}}
Users can choose between free ({{Package|x11-drivers/xf86-video-ati}}) and proprietary ({{Package|x11-drivers/ati-drivers}}) video drivers. The free drivers are recommended as the proprietary drivers are not currently maintained very well by AMD.
<tr class="warn"><th>Package Name</th><th>License</th><th>Developed by</th><th><code>mix-ins</code> setting</th></tr>
<tr><td>{{Package|x11-drivers/xf86-video-ati}}</td><td>'''Open Source'''</td><td>Community</td><td><code>radeon, radeonsi</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, intel i915, intel i965</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}}


==== Cards ====
An overview of each driver follows:
* '''NEED TABLE''': available drivers, hardware gen, required VIDEO_CARDS variable


==== {{package|x11-drivers/xf86-video-ati}} ====
=== AMD/ATI ===
Open source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="radeon"
}}


==== {{Package|x11-drivers/ati-drivers}} ====
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.
Closed source drivers:
Users of AMD Southern & Sea Islands (HD7750 and above) should enable radeonsi for better performance and functionality.
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="fglrx"
}}


=== Intel ===
=== Intel ===
Line 36: Line 38:
The Intel video driver ({{package|x11-drivers/xf86-video-intel}} supports [[Wikipedia:Intel_GMA|Intel GMA]] and [[Wikipedia:Intel_HD_and_Iris_Graphics|Intel HD]] graphics processors, which are found in laptops and desktop systems.
The Intel video driver ({{package|x11-drivers/xf86-video-intel}} supports [[Wikipedia:Intel_GMA|Intel GMA]] and [[Wikipedia:Intel_HD_and_Iris_Graphics|Intel HD]] graphics processors, which are found in laptops and desktop systems.


=== Nvidia ===
=== NVIDIA ===
Users can choose between Open (nouveau) and Closed-Source {{package|x11-drivers/nvidia-drivers}} video drivers.  Open nouveau drivers are preferred as many kernels conflict with closed-source drivers.
 
==== Cards ====
* '''NEED TABLE''': nouveau + nvidia-drivers versions, hardware gen, required VIDEO_CARDS variable
 
==== {{Package|x11-drivers/xf86-video-nouveau}} ====
Open source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="nouveau"
}}
 
==== {{Package|x11-drivers/nvidia-drivers}}====
Closed source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="nvidia"
}}
 
see [[Uvesafb]] for framebuffering.
 
=== Other ===
==== Multiple Cards (Hybrid Graphics) ====
recommended [[make.conf]] VIDEO_CARDS
Hybrid intel/ati:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="fglrx intel"
}}
 
==== Virtual Machine Guests ====
These settings are used by Parallels VM's and presumably others
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="vesa vga"
}}
 
==== Framebuffer Specific ====
=====[[Uvesafb]]=====
 
====={{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==
* what to do if only a blank screen


Category:Video Cards wrap me with braces when im snazzy
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.
Category:First Steps wrap me with braces when im snazzy

Latest revision as of 11:26, May 12, 2022

   Tip

see Funtoo_Profiles for more info.

Video Driver Selection

Individual driver pages cover specific setup steps for each driver. The general process is as follows:

Run ego profile mix-ins get see what profiles are currently selected, and ego profile mix-ins +NEW-DRIVER -OLD-DRIVER to add and remove your VIDEO-CARDS as you like. You'll need to emerge @world and --depclean for your changes to reflect


Selecting a Video Driver

First determine which video card you have and which driver it requires.

root # lspci -nn


Package NameLicenseDeveloped bymix-ins 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.