Difference between pages "Package:NetworkManager" and "Video"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
(initial commit)
 
(a suggested framwork for the Video page - need tables to indicate driver/VIDEO_CARDS for relevant GPU)
 
Line 1: Line 1:
{{Ebuild
(Intro: describe the purpose of this page page)
|Summary=Universal network configuration daemon for laptops, desktops, servers and virtualization hosts
 
|CatPkg=net-misc/networkmanager
Video is set up by setting global variables in [[make.conf]] & portage takes care of the rest.
|Maintainer=
 
|Homepage=https://wiki.gnome.org/Projects/NetworkManager
== Determine Hardware ==
first determine which video card you have and which driver it requires.
 
<console>###i## lspci -k</console>
 
=== Intel ===
Add or Edit the VIDEO_CARDS global variable in /etc/portage/make.conf to the value in the following table appropriate for the Intel graphics hardware.
* '''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"
}}
}}
{{PageNeedsUpdates}}
gen 3
== installation ==
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
<console>###i## emerge networkmanager
VIDEO_CARDS="intel i915"
rc-update add NetworkManager
}}
rc
gen 4+
</console>
{{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 Open (radeon) and Closed-Source (fglrx) 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 AMD/ATI graphics hardware.
* '''NEED TABLE''': available drivers, hardware gen, required VIDEO_CARDS variable
Open source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="radeon"
}}
 
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 TABLE''': nouveau + nvidia-drivers versions, hardware gen, required VIDEO_CARDS variable
Open source drivers:
{{file|name=/etc/portage/make.conf|lang=|desc=set video global variable|body=
VIDEO_CARDS="nouveau"
}}
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=
VIDEO_CARDS="fglrx intel"
}}
 
==== 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=
VIDEO_CARDS="vesa vga"
}}
 
==== Raspberry Pi ====
(details?)
 
== Install ==
once your video cards variable is set in make.conf merge changes into your system
 
<console>###i## emerge -avuND world</console>
 
eselect profile?
 
==Configure X.org==
===Intel===
?
===Nvidia===
nvidia-xconfig, etc.
 
===AMD/ATI===
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.


{{note|disable wicd, wpa_supplicant, net.ethX, & net.wlanX}}
==Finalise 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==


== configuration ==
===compressed video playback===
=== console ===
<console>###i## nmtui</console>


=== gui ===
* VDPAU, VA-API
==== gtk ====
* how to set up mplayer, etc.
<console>###i## emerge nm-applet</console>


==== kde ====
==Troubleshooting==
<console>###i## emerge networkmanagement</console>
* what to do if only a blank screen
{{EbuildFooter}}
* nvidia-drivers users updating media-libs/mesa

Revision as of 02:09, November 25, 2014

(Intro: describe the purpose of this page page)

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

Add or Edit the VIDEO_CARDS global variable in /etc/portage/make.conf to the value in the following table appropriate for the Intel graphics hardware.

  • NEED TABLE: available drivers, hardware gen, VIDEO_CARDS variable

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"
  • custom kernel menuconfig settings

AMD/ATI

Users can choose between Open (radeon) and Closed-Source (fglrx) 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 AMD/ATI graphics hardware.

  • NEED TABLE: available drivers, hardware gen, required VIDEO_CARDS variable

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"
  • 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 TABLE: nouveau + nvidia-drivers versions, hardware gen, required VIDEO_CARDS variable

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"
  • custom kernel menuconfig settings

different settings for nouveau and nvidia

Other

Multiple Cards (Hybrid Graphics)

recommended make.conf VIDEO_CARDS Hybrid intel/ati:

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

Virtual Machine Guests

(details?) These settings are used by Parallels VM's and presumably others

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

Raspberry Pi

(details?)

Install

once your video cards variable is set in make.conf merge changes into your system

root # emerge -avuND world

eselect profile?

Configure X.org

Intel

?

Nvidia

nvidia-xconfig, etc.

AMD/ATI

aticonfig, etc.

root # aticonfig --initial --input=/etc/X11/xorg.conf

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.

Finalise and test

  • eselect opengl
   Note

change the number of card eselected to match the card of your system

root # eselect opengl list
root # eselect opengl set 1
  • eselect opencl
   Note

some setups can make use of opencl

root #eselect opencl list
root #eselect opencl set 1
  • 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