Difference between pages "Video" and "Test"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
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.
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='amd64-bulldozer']/@builds}}
;Builds: {{#external_value:builds}}


{{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.}}
{{FuntooFriendly|Brownrice Internet}}
[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-responsive|link=Organization:Brownrice Internet]]
{{fullurl:News:The Many Builds of Funtoo Linux}}
{{#widget:AddThis}}


== Video Drivers ==
I like the {{f|/etc/make.conf}} file, which can also be referred to as {{f|/etc/portage/make.conf}}. It is a groovy file. Another cool file is {{f|/etc/fstab}}.


First determine which video card you have and which driver it requires.
=== make.conf mentions ===


<console>###i## lspci -nn | grep -i vga</console>
{{#ask: [[Mentions file::make.conf]]
| format=category
}}


to see what your system is using:
{{console|body=
<console>###i## lspci -k</console>
# ##i##bluetoothctl
 
[##g##NEW##!g##] Controller 00:02:72:C9:62:65 antec [default]
Once hardware is determined use the following sections to add or edit the <code>VIDEO_CARDS</code> global variable in <code>/etc/[[make.conf]]</code>.  For more granular details including kernel configurations, frame buffer settings, and xorg configurations: see specific package page links.
##bl##[bluetooth]##!bl###power on
 
Changing power on succeeded
=== AMD/ATI ===
##bl##[bluetooth]##!bl### ##i##agent on
 
Agent registered
Users can choose between free ({{Package|x11-drivers/xf86-video-ati}}) and proprietary ({{Package|x11-drivers/ati-drivers}}) video drivers.
##bl##[bluetooth]##!bl### ##i##scan on
 
Discovery started
{{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.
##bl##[bluetooth]##!bl### ##i##devices
 
Device 00:1F:20:3D:1E:75 Logitech K760
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.
##bl##[bluetooth]##!bl### ##i##pair 00:1F:20:3D:1E:75
 
Attempting to pair with 00:1F:20:3D:1E:75
=== Intel ===
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
 
##r##[agent]##!r## Passkey: 454358
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.
##r##[agent]##!r## Passkey: ##i##4##!i##54358
 
##r##[agent]##!r## Passkey: ##i##45##!i##4358
=== NVIDIA ===
##r##[agent]##!r## Passkey: ##i##454##!i##358
 
##r##[agent]##!r## Passkey: ##i##4543##!i##58
Users can choose between {{Package|x11-drivers/xf86-video-nouveau}} and proprietary {{package|x11-drivers/nvidia-drivers}} video drivers released by NVIDIA.
##r##[agent]##!r## Passkey: ##i##45435##!i##8
 
##r##[agent]##!r## Passkey: ##i##454358##!i##
 
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Paired: yes
=== Hybrid Graphics ===
Pairing successful
 
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: no
==== VESA/VGA ====
##bl##[bluetooth]##!bl### ##i##connect 00:1F:20:3D:1E:75
 
Attempting to connect to 00:1F:20:3D:1E:75
{{package|x11-drivers/xf86-video-vesa}}
[##y##CHG##!y##] Device 00:1F:20:3D:1E:75 Connected: yes
 
Connection successful
==== Raspberry Pi ====
##bl##[bluetooth]##!bl### ##i##quit
{{SectionNeedsUpdates}}
[##r##DEL##!r##] Controller 00:02:72:C9:62:65 antec [default]
 
#
== 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
Category:First Steps wrap me with braces when im snazzy

Revision as of 15:17, January 12, 2015

Exception parsing XML: String could not be parsed as XML.

Builds

[[{{#show: Organization:Brownrice Internet| ?Logo|link=none}}|350px|class=img-responsive|link=Organization:Brownrice Internet]] https://www.funtoo.org/News:The_Many_Builds_of_Funtoo_Linux

I like the /etc/make.conf file, which can also be referred to as /etc/portage/make.conf. It is a groovy file. Another cool file is /etc/fstab.

make.conf mentions

{{#ask: Mentions file::make.conf | format=category }}

root # bluetoothctl 
[NEW] Controller 00:02:72:C9:62:65 antec [default]
root ##bl##[bluetooth]##!bl###power on
Changing power on succeeded
root ##bl##[bluetooth]##!bl### agent on
Agent registered
root ##bl##[bluetooth]##!bl### scan on
Discovery started
root ##bl##[bluetooth]##!bl### devices
Device 00:1F:20:3D:1E:75 Logitech K760
root ##bl##[bluetooth]##!bl### pair 00:1F:20:3D:1E:75
Attempting to pair with 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
root ##r##[agent]##!r## Passkey: 454358
[CHG] Device 00:1F:20:3D:1E:75 Paired: yes
Pairing successful
[CHG] Device 00:1F:20:3D:1E:75 Connected: no
root ##bl##[bluetooth]##!bl### connect 00:1F:20:3D:1E:75
Attempting to connect to 00:1F:20:3D:1E:75
[CHG] Device 00:1F:20:3D:1E:75 Connected: yes
Connection successful
root ##bl##[bluetooth]##!bl### quit
[DEL] Controller 00:02:72:C9:62:65 antec [default]
root #