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 (purdy it up) |
Threesixes (talk | contribs) m (clean up a bit to drobbins's specifications, alphabetize a bit, left some xorg config stuff as its not in other pages, add framebuffer specific to other.) |
||
Line 7: | Line 7: | ||
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> | |||
to see what your system is using: | |||
<console>###i## lspci -k</console> | <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>. | 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 === | |||
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. | |||
==== Cards ==== | |||
* '''NEED TABLE''': available drivers, hardware gen, required VIDEO_CARDS variable | |||
==== {{package|x11-drivers/xf86-video-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}} ==== | |||
Closed source drivers: | |||
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body= | |||
VIDEO_CARDS="fglrx" | |||
}} | |||
=== Intel === | === Intel === | ||
==== Cards ==== | ==== Cards ==== | ||
* '''NEED TABLE''': available drivers, hardware gen, VIDEO_CARDS variable | * '''NEED TABLE''': available drivers, hardware gen, VIDEO_CARDS variable | ||
Line 32: | Line 51: | ||
}} | }} | ||
=== Nvidia === | === Nvidia === | ||
Users can choose between Open (nouveau) and Closed-Source | 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 ==== | ==== Cards ==== | ||
Line 69: | Line 69: | ||
VIDEO_CARDS="nvidia" | VIDEO_CARDS="nvidia" | ||
}} | }} | ||
see [[Uvesafb]] for framebuffering. | |||
=== Other === | === Other === | ||
Line 83: | Line 85: | ||
VIDEO_CARDS="vesa vga" | VIDEO_CARDS="vesa vga" | ||
}} | }} | ||
==== Framebuffer Specific ==== | |||
=====[[Uvesafb]]===== | |||
====={{package|x11-drivers/xf86-video-vesa}}===== | |||
==== Raspberry Pi ==== | ==== Raspberry Pi ==== | ||
Line 88: | Line 95: | ||
== Install == | == 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> | <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}} | {{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== | ==Configure X.org== | ||
===Nvidia=== | ===Nvidia=== | ||
nvidia-xconfig, etc. | nvidia-xconfig, etc. | ||
Line 106: | Line 108: | ||
aticonfig, etc. | aticonfig, etc. | ||
<console># ##i##aticonfig --initial --input=/etc/X11/xorg.conf</console> | <console># ##i##aticonfig --initial --input=/etc/X11/xorg.conf</console> | ||
==Finalize and test== | ==Finalize and test== | ||
==== eselect opengl ==== | ==== eselect opengl ==== | ||
{{note|change the number of card eselected to match the card of your system}} | {{note|change the number of card eselected to match the card of your system}} | ||
Line 132: | Line 120: | ||
###i##eselect opencl set 1</console> | ###i##eselect opencl set 1</console> | ||
* reboot/test process | * reboot/test process | ||
==Troubleshooting== | ==Troubleshooting== | ||
* what to do if only a blank screen | * what to do if only a blank screen | ||
Category:Video Cards wrap me with braces when im snazzy | Category:Video Cards wrap me with braces when im snazzy | ||
Category:First Steps wrap me with braces when im snazzy | Category:First Steps wrap me with braces when im snazzy |
Revision as of 08:44, November 25, 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.
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 Drivers
First determine which video card you have and which driver it requires.
root # lspci -nn | grep -i vga
to see what your system is using:
root # lspci -k
Once hardware is determined use the following sections to add or edit the VIDEO_CARDS
global variable in /etc/portage/make.conf
. For more granular details including kernel configurations, frame buffer settings, and xorg configurations: see specific package page links.
AMD/ATI
Users can choose between free (x11-drivers/xf86-video-ati) and proprietary (x11-drivers/ati-drivers) video drivers. The free drivers are recommended as the proprietary drivers are not currently maintained very well by AMD.
Cards
- NEED TABLE: available drivers, hardware gen, required VIDEO_CARDS variable
x11-drivers/xf86-video-ati
Open source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="radeon"
x11-drivers/ati-drivers
Closed source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="fglrx"
Intel
Cards
- NEED TABLE: available drivers, hardware gen, VIDEO_CARDS variable
gen 1&2
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="intel"
gen 3
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="intel i915"
gen 4+
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="intel i965"
Nvidia
Users can choose between Open (nouveau) and Closed-Source 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
Nouveau
Open source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="nouveau"
x11-drivers/nvidia-drivers
Closed source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="nvidia"
see Uvesafb for framebuffering.
Other
Multiple Cards (Hybrid Graphics)
recommended make.conf VIDEO_CARDS Hybrid intel/ati:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="fglrx intel"
Virtual Machine Guests
These settings are used by Parallels VM's and presumably others
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="vesa vga"
Framebuffer Specific
Uvesafb
No results
Raspberry Pi
This section is in need of updates.
Install
Once your video cards variables are set in make.conf, and kernel configurations are arranged merge changes into your system:
root # emerge -avuND world
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.
root # aticonfig --initial --input=/etc/X11/xorg.conf
Finalize and test
eselect opengl
change the number of card eselected to match the card of your system
root # eselect opengl list root # eselect opengl set 1
eselect opencl
some setups can make use of opencl
root #eselect opencl list root #eselect opencl set 1
- reboot/test process
Troubleshooting
- what to do if only a blank screen
Category:Video Cards wrap me with braces when im snazzy Category:First Steps wrap me with braces when im snazzy