Difference between pages "X Window System" and "Corei7"

(Difference between pages)
(correct echo)
 
 
Line 1: Line 1:
=== X.Org ===
+
{{Subarch
 +
|CPU Family=64-bit Intel Processors
 +
|subarch=corei7
 +
|CHOST=x86_64-pc-linux-gnu
 +
|CFLAGS=-march=corei7 -O2 -pipe
 +
|USE=mmx sse sse2 sse3 ssse3 sse4
 +
|Description=The '''corei7''' subarch supports the Nehalem, Westmere, Sandy_Bridge,  Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.
 +
}}
 +
Beginning in November 2008, Intel launched the first Core i7 processor, codenamed [[Wikipedia:Bloomfield_(microprocessor)|Bloomfield]], based on the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]] microarchitecture. With this launch, they also added to and modified the conventions used in their [[Wikipedia:Intel_Core|Intel Core]] branding scheme. '''(Not to be confused with the [[Wikipedia:Intel Core (microarchitecture)|Intel Core microarchitecture]]. See [[core2_64]].)'''. This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the '''corei7''' subarch supports the [[Wikipedia:Nehalem_(microarchitecture)|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Sandy_Bridge_(microarchitecture)|Sandy Bridge]],  [[Wikipedia:Ivy_Bridge_(microarchitecture)|Ivy Bridge]], and [[Wikipedia:Haswell_(microarchitecture)|Haswell]] microarchitectures under the following brand names:
  
In order to use a graphical environment it's necessary to install X.Org, which is an implementation of the X Window system.
+
* Intel Pentium/Celeron (low-level consumer)
 +
* Intel Core i3 (entry-level consumer)
 +
* Intel Core i5 (mainstream consumer)
 +
* Intel Core i7 (high-end consumer/business)
 +
* Intel Xeon (business server/workstation)
  
Before we start it's a good idea to make sure that your system is configured correctly. If you've installed your kernel using the <code>binary</code> USE flag, chances are that your video card is already supported.
+
See the following links for a list of supported [[Wikipedia:Celeron|Celeron]], [[Wikipedia:Pentium|Pentium]], [[Wikipedia:Intel_Core#Nehalem_microarchitecture_based|Nehalem]], [[Wikipedia:Westmere_(microarchitecture)|Westmere]], [[Wikipedia:Intel_Core#Sandy_Bridge_microarchitecture_based|Sandy Bridge]], [[Wikipedia:Intel_Core#Ivy_Bridge_microarchitecture_based|Ivy Bridge]], and [[Wikipedia:Intel_Core#Haswell_microarchitecture_based|Haswell]] processors.
 
+
You should also find your IP address, because if X freezes and you need to get out of it, the safest way is to SSH in from another computer/smartphone/tablet and issue
+
<console>
+
# ##i##killall X
+
</console>
+
 
+
In order for Portage to know which [[Video | video]] card(s) you want to support, you'll need to add a line to your <code>[[make.conf | make.conf]]</code>.
+
<console>
+
# ##i##nano -w /etc/portage/make.conf
+
...
+
VIDEO_CARDS="intel"
+
</console>
+
 
+
In the example above we're using Intel integrated graphics drivers. Examples of valid entries include <code>radeon</code> for AMD Radeon cards, and <code>nouveau</code> or <code>nvidia</code> for NVIDIA cards. If you haven't yet switched to the <code>desktop</code> profile it's a good idea to do it now.
+
 
+
Next comes the actual installation:
+
<console>
+
# ##i##emerge xorg-x11
+
</console>
+
 
+
Now we need to test to make sure X.Org is working properly. To test it we will install twm, a simple window manager which has traditionally served as the standard window manager for X.Org. In Funtoo Linux it is included in the core X.Org meta-package <code>x11-apps/xinit</code>, but is not installed by default.
+
 
+
It is possible to install twm directly by merging <code>x11-wm/twm</code> but for the sake of this tutorial we will install the meta-package, which includes a few extra utilities which may come in handy. There are two ways to do this depending on whether you want it to be installed temporarily or permanently. If you just want it to test X.Org use the following command:
+
<console>
+
# ##i##USE="-minimal" emerge -1 xinit
+
</console>
+
 
+
The <code>minimal</code> USE flag is used in some ebuilds to install the bare minimum needed to get a working system. By passing <code>USE="-minimal"</code> to the command line before <code>emerge</code>, we are telling Portage to disable the flag and install the complete package. The <code>-1</code> (<code>--oneshot</code>) following <code>emerge</code> tells Portage not to add the package to [[#Updating your system|<code>world</code>]]. This is useful when installing packages which are automatically pulled in as dependencies by other packages.
+
 
+
If you want the package installed permanently you will need to add a line to <code>package.use</code>:
+
<console>
+
# ##i##echo 'x11-apps/xinit -minimal' >> /etc/portage/package.use
+
</console>
+
 
+
Next we reinstall <code>x11-apps/xinit</code>:
+
<console>
+
# ##i##emerge -1N xinit
+
</console>
+
 
+
Once that's done, we're able to finally test X.Org:
+
 
+
<console>
+
# ##i##startx
+
</console>
+
 
+
If everything is well, a simple GUI along with an analog clock and a terminal will appear.
+
 
+
====Keyboard/Mouse====
+
 
+
If you have no keyboard/mouse input in x11, check if your kernel supports dev
+
<console>
+
# ##i##zcat /proc/config.gz | grep EVDEV
+
</console>
+
if your output is:
+
<console>
+
CONFIG_INPUT_EVDEV=y
+
</console>
+
Install xf86-input-evdev
+
<console>
+
# ##i##emerge -avxf86-input-evdev
+
</console>
+
 
+
[[Category:First Steps]]
+

Latest revision as of 10:02, December 20, 2014

corei7 (Sub-architecture)

Note

This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.

CPU Family64-bit Intel Processors
CHOSTx86_64-pc-linux-gnu
CFLAGS-march=corei7 -O2 -pipe
USEmmx sse sse2 sse3 ssse3 sse4
SummaryThe corei7 subarch supports the Nehalem, Westmere, Sandy_Bridge, Ivy Bridge, and Haswel microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.


Beginning in November 2008, Intel launched the first Core i7 processor, codenamed Bloomfield, based on the Nehalem microarchitecture. With this launch, they also added to and modified the conventions used in their Intel Core branding scheme. (Not to be confused with the Intel Core microarchitecture. See core2_64.). This new naming scheme distinguishes between grades of processors rather than microarchitectures or design. Therefore, the corei7 subarch supports the Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell microarchitectures under the following brand names:

  • Intel Pentium/Celeron (low-level consumer)
  • Intel Core i3 (entry-level consumer)
  • Intel Core i5 (mainstream consumer)
  • Intel Core i7 (high-end consumer/business)
  • Intel Xeon (business server/workstation)

See the following links for a list of supported Celeron, Pentium, Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell processors.