Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Video"
Jump to navigation
Jump to search
Threesixes (talk | contribs) m (→Nvidia: merica) |
Threesixes (talk | contribs) m (integrate gpohle's x 11 changes to video page, credit stolen on accident, thanks for the commit gpohle) |
||
Line 30: | Line 30: | ||
VIDEO_CARDS="fglrx" | VIDEO_CARDS="fglrx" | ||
}} | }} | ||
==== Hybrid ==== | |||
Hybrid intel/ati: | |||
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body= | |||
VIDEO_CARDS="fglrx intel" | |||
}} | |||
<console># ##i##aticonfig --initial --input=/etc/X11/xorg.conf</console> | |||
=== Nvidia === | === Nvidia === | ||
Line 45: | Line 53: | ||
<console>###i## emerge -avuND world</console> | <console>###i## emerge -avuND world</console> | ||
=== Select Driver === | |||
{{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> | |||
{{note|some setups can make use of opencl}} | |||
<console>###i##eselect opencl list | |||
###i##eselect opencl set 1</console> |
Revision as of 22:29, October 14, 2014
Video is set up by setting global variables in make.conf & portage takes care of the rest.
Determine Hardware
first determine which video card you have and which driver it requires.
root # lspci -k
Intel
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"
Ati
Open source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="radeon"
Closed source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="fglrx"
Hybrid
Hybrid intel/ati:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="fglrx intel"
root # aticonfig --initial --input=/etc/X11/xorg.conf
Nvidia
Open source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="nouveau"
Closed source drivers:
/etc/portage/make.conf
- set video global variableVIDEO_CARDS="nvidia"
Install
once your video cards variable is set in make.conf merge changes into your system
root # emerge -avuND world
Select Driver
Note
change the number of card eselected to match the card of your system
root # eselect opengl list root # eselect opengl set 1
Note
some setups can make use of opencl
root #eselect opencl list root #eselect opencl set 1