Difference between pages "Video" and "Mitigating Systemd"

(Difference between pages)
m (purdy it up)
 
(Basic fleshing out.)
 
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.
+
Funtoo currently has no plans to migrate or adopt systemd as it's default init system. This doe '''not''' prevent you from using systemd on your system. [https://coreos.com/ CoreOS], for example, is a systemd based system build on Gentoo.  
  
{{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.}}
+
For users not seeking to use systemd, that is, most Funtoo users, this page will serve both as the Funtoo development team's planning for the future, and information on how to avoid systemd in your system.
  
== Video Drivers ==
+
== Components of systemd ==
  
First determine which video card you have and which driver it requires.
+
=== systemd ===
  
<console>###i## lspci -k</console>
+
Provides replacements for the following daemons or utilities: sysvinit, pm-utils, inetd, acpid, syslog, watchdog, cron, atd.
  
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>.
+
=== consoled ===
  
=== Intel ===
+
Provides a user console daemon and handles Linux Virtual terminal support.
* '''NEED KERNEL CONFIGS'''
+
  
==== Cards ====
+
=== hostnamed ===
* '''NEED TABLE''': available drivers, hardware gen, VIDEO_CARDS variable
+
  
==== gen 1&2 ====
+
TODO.
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="intel"
+
}}
+
  
==== gen 3 ====
+
=== journald ===
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="intel i915"
+
}}
+
  
==== gen 4+ ====
+
Provides logging functionality.
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="intel i965"
+
}}
+
  
=== AMD/ATI ===
+
Provides replacements for the the following daemons: syslog-ng, rsyslog
Users can choose between free (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'''
+
  
==== Cards ====
+
=== localed ===
* '''NEED TABLE''': available drivers, hardware gen, required VIDEO_CARDS variable
+
  
==== {{package|x11-drivers/xf86-video-ati}} ====
+
TODO.
Open source drivers:
+
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="radeon"
+
}}
+
  
==== {{Package|x11-drivers/ati-drivers}} ====
+
=== logind ===
Closed source drivers:
+
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="fglrx"
+
}}
+
  
=== Nvidia ===
+
Manages user logins and seats. Replaces Consolekit.
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 ====
+
=== networkd ===
* '''NEED TABLE''': nouveau + nvidia-drivers versions, hardware gen, required VIDEO_CARDS variable
+
  
==== Nouveau ====
+
Provides the facilities to perform various network configurations.
Open source drivers:
+
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="nouveau"
+
}}
+
  
==== {{Package|x11-drivers/nvidia-drivers}}====
+
=== resolved ===
Closed source drivers:
+
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
+
VIDEO_CARDS="nvidia"
+
}}
+
  
=== Other ===
+
TODO.
==== 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=
+
VIDEO_CARDS="fglrx intel"
+
}}
+
  
==== Virtual Machine Guests ====
+
=== shutdownd ===
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"
+
}}
+
  
==== Raspberry Pi ====
+
TODO.
{{SectionNeedsUpdates}}
+
  
== Install ==
+
=== timedated  ===
once your video cards variable is set in [[make.conf]] merge changes into your system
+
  
<console>###i## emerge -avuND world</console>
+
Used to control various time related settings. Accessible through D-Bus.
  
{{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}}
+
=== timesyncd ===
  
 +
TOD.
  
==Configure X.org==
+
=== udevd ===
  
===Intel===
+
udev was merged into the systemd source tree.
?
+
  
===Nvidia===
+
=== libudev ===
nvidia-xconfig, etc.
+
  
===AMD/ATI===
+
The standard library for using udev.
aticonfig, etc.
+
<console># ##i##aticonfig --initial --input=/etc/X11/xorg.conf</console>
+
 
+
==Configure framebuffer==
+
What to put in boot.conf etc. Assumes that the kernel is correctly configured.
+
===Intel===
+
?
+
===Nvidia===
+
* settings for nouveau
+
* settings for nvidia-drivers
+
* How to use sys-apps/v86d
+
+
===AMD/ATI===
+
* settings for fglxr
+
* settings for radeon, 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/test process
+
 
+
==Tips and Tricks==
+
 
+
===compressed video playback===
+
 
+
* VDPAU, VA-API
+
* how to set up mplayer, etc.
+
 
+
==Troubleshooting==
+
* what to do if only a blank screen
+
* nvidia-drivers users updating media-libs/mesa
+
 
+
Category:Video Cards wrap me with braces when im snazzy
+
Category:First Steps wrap me with braces when im snazzy
+

Latest revision as of 06:18, November 25, 2014

Funtoo currently has no plans to migrate or adopt systemd as it's default init system. This doe not prevent you from using systemd on your system. CoreOS, for example, is a systemd based system build on Gentoo.

For users not seeking to use systemd, that is, most Funtoo users, this page will serve both as the Funtoo development team's planning for the future, and information on how to avoid systemd in your system.

Components of systemd

systemd

Provides replacements for the following daemons or utilities: sysvinit, pm-utils, inetd, acpid, syslog, watchdog, cron, atd.

consoled

Provides a user console daemon and handles Linux Virtual terminal support.

hostnamed

TODO.

journald

Provides logging functionality.

Provides replacements for the the following daemons: syslog-ng, rsyslog

localed

TODO.

logind

Manages user logins and seats. Replaces Consolekit.

networkd

Provides the facilities to perform various network configurations.

resolved

TODO.

shutdownd

TODO.

timedated

Used to control various time related settings. Accessible through D-Bus.

timesyncd

TOD.

udevd

udev was merged into the systemd source tree.

libudev

The standard library for using udev.