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
m (integrate gpohle's x 11 changes to video page, credit stolen on accident, thanks for the commit gpohle)
Line 47: Line 47:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="nvidia"
VIDEO_CARDS="nvidia"
}}
===Other===
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"
}}
}}



Revision as of 19:58, November 3, 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 variable
VIDEO_CARDS="intel"

gen 3

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="intel i915"

gen 4+

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="intel i965"

Ati

Open source drivers:

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="radeon"

Closed source drivers:

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="fglrx"

Hybrid

Hybrid intel/ati:

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="fglrx intel"
root # aticonfig --initial --input=/etc/X11/xorg.conf

Nvidia

Open source drivers:

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="nouveau"

Closed source drivers:

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="nvidia"


Other

These settings are used by Parallels VM's and presumably others

   /etc/portage/make.conf - set video global variable
VIDEO_CARDS="vesa vga"

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