Changes

Jump to: navigation, search

Video

400 bytes added, 5 years ago
m
purdy it up
== Video Drivers ==
first First determine which video card you have and which driver it requires.
<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>.
=== Intel ===
Add or Edit the <code>VIDEO_CARDS</code> global variable in <code>/etc/make.conf</code> to the value in the following table appropriate for the Intel graphics hardware.* '''NEED KERNEL CONFIGS''' ==== Cards ====
* '''NEED TABLE''': available drivers, hardware gen, VIDEO_CARDS variable
 ==== gen 1&2:====
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="intel"
}}
 ==== gen 3====
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="intel i915"
}}
 ==== gen 4+====
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="intel i965"
}}
* custom kernel menuconfig settings
=== AMD/ATI ===
Users can choose between free ({{Package|x11-drivers/xf86-video-ati}}radeon) 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.* '''NEED KERNEL CONFIGS'''
Add or Edit the VIDEO_CARDS global variable in <code>/etc/make.conf</code> to the value in the following table appropriate for the AMD/ATI graphics hardware.==== 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=
}}
==== {{Package|x11-drivers/ati-drivers}} ====
Closed source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="fglrx"
}}
 
* custom kernel menuconfig settings
=== Nvidia ===
Users can choose between Open (nouveau) and Closed-Source (nvidia) video drivers. Add or Edit the VIDEO_CARDS global variable in /etc/portage/make.conf to the value in the following table appropriate for the Nvidia graphics hardware.
* '''NEED KERNEL CONFIGS'''
 
==== Cards ====
* '''NEED TABLE''': nouveau + nvidia-drivers versions, hardware gen, required VIDEO_CARDS variable
 
==== 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 [[Package:NVIDIA_Linux_Display_Drivers | drivers]]:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="nvidia"
}}
* custom kernel menuconfig settings
different settings for nouveau and nvidia
=== 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=
==== Virtual Machine Guests ====
(details?)
These settings are used by Parallels VM's and presumably others
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
==== Raspberry Pi ====
(details?){{SectionNeedsUpdates}}
== Install ==
once your video cards variable is set in [[make.conf ]] merge changes into your system
<console>###i## emerge -avuND world</console>
eselect profile?{{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==
 
===Intel===
?
 
===Nvidia===
nvidia-xconfig, etc.
==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/testprocess ==Tips and Tricks== ===compressed video playback=== * VDPAU, VA-API* how to set up mplayer, etc.
==Troubleshooting==
* e.g. what to do if only a blank screen* nvidia-drivers users updating media-libs/mesa Category:Video Cards wrap me with braces when im snazzyCategory:First Steps wrap me with braces when im snazzy
wiki-moderators
749
edits

Navigation menu