Gentoo Archives: gentoo-doc-cvs

From: Lukasz Damentko <rane@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: xorg-config.xml
Date: Thu, 13 Jul 2006 04:29:36
Message-Id: 20060713042917.0F42D64515@smtp.gentoo.org
1 rane 06/07/13 04:29:16
2
3 Modified: xorg-config.xml
4 Log:
5 #139583, update for modular xorg (VIDEO_CARDS, INPUT_DEVICES)
6
7 Revision Changes Path
8 1.18 xml/htdocs/doc/en/xorg-config.xml
9
10 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xorg-config.xml?rev=1.18&content-type=text/x-cvsweb-markup&cvsroot=gentoo
11 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xorg-config.xml?rev=1.18&content-type=text/plain&cvsroot=gentoo
12 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xorg-config.xml.diff?r1=1.17&r2=1.18&cvsroot=gentoo
13
14 Index: xorg-config.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v
17 retrieving revision 1.17
18 retrieving revision 1.18
19 diff -u -r1.17 -r1.18
20 --- xorg-config.xml 9 Sep 2005 06:01:15 -0000 1.17
21 +++ xorg-config.xml 13 Jul 2006 04:29:16 -0000 1.18
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v 1.17 2005/09/09 06:01:15 fox2mike Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xorg-config.xml,v 1.18 2006/07/13 04:29:16 rane Exp $ -->
27
28 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
29
30 @@ -22,8 +22,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.13</version>
35 -<date>2005-09-09</date>
36 +<version>1.14</version>
37 +<date>2006-07-13</date>
38
39 <chapter>
40 <title>What is the X Window Server?</title>
41 @@ -97,18 +97,91 @@
42 though, so you might want to grab a snack while you are waiting.
43 </p>
44
45 +<p>
46 +Before installing Xorg you have to configure two important variables in the
47 +<path>/etc/make.conf</path> file.
48 +</p>
49 +
50 +<p>
51 +The first one is <c>VIDEO_CARDS</c>. This is used to set the video drivers that
52 +you intend to use and is usually based on the kind and brand of card you have.
53 +The most common settings are <c>nvidia</c> for Nvidia cards or <c>fglrx</c> for
54 +ATI Radeon cards. Those are the proprietary drivers from Nvidia and ATI
55 +respectively. If you would like to use the open source versions, use <c>nv</c>
56 +rather than <c>nvidia</c> in the variable, but bear in mind that using this
57 +driver means no 3d acceleration at all. Use <c>radeon</c> in case you have an
58 +ATI card for the same. <c>VIDEO_CARDS</c> may contain more than one driver, in
59 +this case list of them should be separated with spaces.
60 +</p>
61 +
62 +<p>
63 +The second variable is <c>INPUT_DEVICES</c> and is used to determine which
64 +drivers are to be built for input devices. In most cases setting it to
65 +<c>keyboard mouse</c> should work just fine.
66 +</p>
67 +
68 +<p>
69 +Now you should decide which drivers you will use and add necessary settings to
70 +the <path>/etc/make.conf</path> file:
71 +</p>
72 +
73 +<pre caption="Sample make.conf entries">
74 +<comment>(For mouse and keyboard support)</comment>
75 +INPUT_DEVICES="keyboard mouse"
76 +<comment>(For Nvidia cards)</comment>
77 +VIDEO_CARDS="nvidia"
78 +<comment>(OR, for ATI Radeon cards)</comment>
79 +VIDEO_CARDS="fglrx"
80 +</pre>
81 +
82 +<p>
83 +More instructions on how to configure Nvidia and ATI cards can be found in
84 +<uri link="/doc/en/nvidia-guide.xml">Gentoo Linux nVidia Guide</uri> and in
85 +<uri link="/doc/en/ati-faq.xml">Gentoo Linux ATI FAQ</uri>. If you don't know
86 +which drivers you should choose, refer to these guides for more information.
87 +</p>
88 +
89 +<note>
90 +If the suggested settings don't work for you, you should run <c>emerge -pv
91 +xorg-x11</c>, check all the options available and choose those which
92 +apply to your system. In different versions of Xorg and on different
93 +architectures displaying these variables can be done with <c>emerge -pv
94 +xorg-server</c> command rather than the one above. The example is for x86
95 +architecture and xorg-x11-7.0.
96 +</note>
97 +
98 +<pre caption="Displaying all the driver options available">
99 +# <i>emerge -pv xorg-x11</i>
100 +
101 +These are the packages that would be merged, in order:
102 +
103 +Calculating dependencies... done!
104 +[ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="keyboard
105 +mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300
106 +-elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch
107 +-microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957
108 +-ur98 -vmmouse -void -wacom" VIDEO_CARDS="nvidia -apm -ark -chips -cirrus
109 +-cyrix -dummy -fbdev -fglrx -glint -i128 -i740 -i810 -imstt -mach64 -mga
110 +-neomagic -nsc -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion
111 +-sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0
112 +kB
113 +</pre>
114 +
115 +<p>
116 +After setting all the necessary variables you can install the Xorg package.
117 +</p>
118 +
119 <pre caption="Installing Xorg">
120 # <i>emerge xorg-x11</i>
121 </pre>
122
123 <p>
124 -When the installation is finished, you might need to reinitialise some
125 +When the installation is finished, you might need to re-initialise some
126 environment variables before you continue. Just run <c>env-update</c> followed
127 -by <c>source /etc/profile</c> and you're all set. This doesn't harm your system
128 -in any way.
129 +by <c>source /etc/profile</c> and you're all set.
130 </p>
131
132 -<pre caption="Reinitialising the environment variables">
133 +<pre caption="Re-initialising the environment variables">
134 # <i>env-update</i>
135 # <i>source /etc/profile</i>
136 </pre>
137 @@ -443,5 +516,24 @@
138
139 </body>
140 </section>
141 +<section>
142 +<title>Other resources</title>
143 +<body>
144 +
145 +<p>
146 +If you want to update your system from the old monolithic Xorg to the newer,
147 +modular Xorg 7, you should refer to the <uri
148 +link="/proj/en/desktop/x/x11/modular-x-howto.xml">Migrating to Modular X
149 +HOWTO</uri>.
150 +</p>
151 +
152 +<p>
153 +More information about configuring different packages to work in X environment
154 +can be found in the <uri link="/doc/en/?catid=desktop">Gentoo Desktop
155 +Documentation Resources</uri> section of our documentation.
156 +</p>
157 +
158 +</body>
159 +</section>
160 </chapter>
161 </guide>
162
163
164
165 --
166 gentoo-doc-cvs@g.o mailing list