Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: nvidia-guide.xml
Date: Sun, 22 Jul 2007 07:32:25
Message-Id: E1ICVvG-0001iu-Uz@stork.gentoo.org
1 nightmorph 07/07/22 07:32:10
2
3 Modified: nvidia-guide.xml
4 Log:
5 update nvidia references as nvidia-legacy-drivers is deprecated and will be removed. nvidia-drivers now contains every available version. see Cardoe's message to gentoo-dev for more information.
6
7 Revision Changes Path
8 1.41 xml/htdocs/doc/en/nvidia-guide.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nvidia-guide.xml?rev=1.41&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nvidia-guide.xml?rev=1.41&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nvidia-guide.xml?r1=1.40&r2=1.41
13
14 Index: nvidia-guide.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v
17 retrieving revision 1.40
18 retrieving revision 1.41
19 diff -u -r1.40 -r1.41
20 --- nvidia-guide.xml 16 Apr 2007 05:39:54 -0000 1.40
21 +++ nvidia-guide.xml 22 Jul 2007 07:32:10 -0000 1.41
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.40 2007/04/16 05:39:54 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.41 2007/07/22 07:32:10 nightmorph Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide link="/doc/en/nvidia-guide.xml">
29 @@ -8,11 +8,11 @@
30 <author title="Author">
31 <mail link="swift@g.o">Sven Vermeulen</mail>
32 </author>
33 -<author title="Editor">
34 - <mail link="curtis119@g.o">M Curtis Napier</mail>
35 +<author title="Author">
36 + <mail link="nightmorph@g.o">Joshua Saddler</mail>
37 </author>
38 <author title="Editor">
39 - <mail link="nightmorph@g.o">Joshua Saddler</mail>
40 + <mail link="curtis119@g.o">M Curtis Napier</mail>
41 </author>
42 <author title="Editor">
43 <mail link="wolf31o2@g.o">Chris Gianelloni</mail>
44 @@ -28,8 +28,8 @@
45 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
46 <license/>
47
48 -<version>1.31</version>
49 -<date>2007-04-15</date>
50 +<version>1.32</version>
51 +<date>2007-07-22</date>
52
53 <chapter>
54 <title>Introduction</title>
55 @@ -42,22 +42,29 @@
56 to the card. The drivers consist of two parts, a kernel module, and an X11
57 driver. Both parts are included in a single package. Due to the way nVidia has
58 been packaging their drivers, you will need to make some choices before you
59 -install the drivers. Currently, there are two driver packages in the tree. The
60 -first, <c>nvidia-drivers</c>, is the latest drivers from nVidia and includes
61 -support for the latest cards. The second, <c>nvidia-legacy-drivers</c>, supports
62 -older cards, from the original TNT through the GeForce 6800. However, this
63 -driver does not support the latest features of the newer cards. You should only
64 -use <c>nvidia-legacy-drivers</c> if your cards is not supported in the
65 -<c>nvidia-drivers</c> package.
66 +install the drivers.
67 +</p>
68 +
69 +<p>
70 +Currently, there are two driver packages in the tree, though this will be
71 +reduced to just one package in the near future. The first,
72 +<c>nvidia-drivers</c>, contains the latest drivers from nVidia with support for
73 +<e>all</e> cards, with several versions available depending on how old your
74 +card is. It uses an eclass to detect what kind of card you're running so that it
75 +installs the proper version. The second package, <c>nvidia-legacy-drivers</c>,
76 +supports older cards. It is deprecated in favor of the all-inclusive
77 +<c>nvidia-drivers</c> package, which contains the same driver version(s). <b>Do
78 +not install <c>nvidia-legacy-drivers</c></b>; it's only kept in the tree to give
79 +its current users time to switch over to the new package. You should only use
80 +<c>nvidia-drivers</c>, as explained in the next chapter.
81 </p>
82
83 <note>
84 Previously, Gentoo provided separate ebuilds for the nVidia kernel module
85 (<c>nvidia-kernel</c>) and the X11 GLX libraries (<c>nvidia-glx</c>). These
86 ebuilds have since been removed from the Portage tree in favor of
87 -<c>nvidia-drivers</c> and <c>nvidia-legacy-drivers</c>. If you use
88 -<c>nvidia-kernel</c> and <c>nvidia-glx</c>, then you should migrate to the
89 -newer packages.
90 +<c>nvidia-drivers</c>. If you use <c>nvidia-kernel</c> and <c>nvidia-glx</c>,
91 +then you should migrate to the newer packages.
92 </note>
93
94 </body>
95 @@ -67,37 +74,47 @@
96 <chapter>
97 <title>Driver compatibility</title>
98 <section>
99 -<title>nvidia-legacy-drivers</title>
100 +<title>Which version?</title>
101 <body>
102
103 <p>
104 -The <c>nvidia-legacy-drivers</c> branch supports older nVidia cards which are no
105 -longer supported in the latest driver releases. This branch is based on an older
106 -code base of the nVidia drivers, and supports the latest kernels and X.Org
107 -versions. You should use this driver if you have a TNT, TNT2, GeForce, or
108 -GeForce 2 series card. The driver compatibility information can be found in
109 -Appendix A of
110 -<uri>http://download.nvidia.com/XFree86/Linux-x86/1.0-7184/README/readme.txt</uri>.
111 +The <c>nvidia-drivers</c> package supports the full range of available nVidia
112 +cards. Multiple versions are available for installation, depending on the
113 +card(s) you have.
114 </p>
115
116 -</body>
117 -</section>
118 -<section>
119 -<title>nvidia-drivers</title>
120 -<body>
121 +<p>
122 +Newer cards such as the GeForce 8, 7, 6, and FX 5 series should use the newer
123 +drivers from the 100.x series.
124 +</p>
125
126 <p>
127 -The <c>nvidia-drivers</c> branch supports the features in newer nVidia cards.
128 -The latest version of these drivers has dropped support for the NV2x based
129 -cards. If you have a GeForce 3 or GeForce 4 series card, you should mask
130 +Older cards such as the GeForce 3 or GeForce 4
131 +series require the 96xx drivers. For these cards, you should mask
132 <c>>=x11-drivers/nvidia-drivers-1.0.9700</c> in your
133 <path>/etc/portage/package.mask</path> file. This will prevent newer versions of
134 -the driver which are incompatible with your card from being installed. You can
135 -check for driver compatibility for your card at to determine if it is supported
136 -on the newer drivers at
137 -<uri>http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9746/README/appendix-a.html</uri>.
138 +the driver which are incompatible with your card from being installed.
139 +</p>
140 +
141 +<p>
142 +Old NV2x-based cards (such as TNT, TNT2, GeForce, and GeForce 2) require the
143 +older 71xx drivers (such as <c>nvidia-drivers-1.0.7185</c>). For these cards,
144 +you should mask <c>>=nvidia-drivers-1.0.8700</c> in
145 +<path>/etc/portage/package.mask</path>.
146 </p>
147
148 +<p>
149 +You can check for driver compatibility for your card at to determine which
150 +driver supports it at
151 +<uri>http://us.download.nvidia.com/XFree86/Linux-x86_64/100.14.11/README/appendix-a.html</uri>.
152 +</p>
153 +
154 +<impo>
155 +The <c>nvidia-legacy-drivers</c> package is deprecated and should not be
156 +installed on a fresh system. Although it is a 71xx driver, the corresponding
157 +71xx driver version found in <c>nvidia-drivers</c> should be used instead.
158 +</impo>
159 +
160 </body>
161 </section>
162 </chapter>
163 @@ -203,91 +220,48 @@
164 <body>
165
166 <p>
167 -The <c>nvidia-drivers</c> and <c>nvidia-legacy-drivers</c> ebuilds automatically
168 -discover your kernel version based on the <path>/usr/src/linux</path> symlink.
169 -Please ensure that you have this symlink pointing to the correct sources and
170 -that your kernel is correctly configured. Please refer to the "Configuring the
171 -Kernel" section of the <uri link="/doc/en/handbook/">Installation Handbook</uri>
172 -for details on configuring your kernel.
173 +The <c>nvidia-drivers</c> ebuild automatically discovers your kernel version
174 +based on the <path>/usr/src/linux</path> symlink. Please ensure that you have
175 +this symlink pointing to the correct sources and that your kernel is correctly
176 +configured. Please refer to the "Configuring the Kernel" section of the <uri
177 +link="/doc/en/handbook/">Installation Handbook</uri> for details on configuring
178 +your kernel.
179 </p>
180
181 <p>
182 -If you are using gentoo-sources-2.6.11-r6, your <path>/usr/src</path> directory
183 -might look something like this:
184 +First, you'll need to emerge <c>eselect</c> (if you don't already have it). If
185 +you are using <c>gentoo-sources-2.6.18-r4</c>, your kernel listing might look
186 +something like this:
187 </p>
188
189 <pre caption="Check your /usr/src/linux symlink">
190 -# <i>cd /usr/src</i>
191 -# <i>ls -l</i>
192 -<comment>(Check that linux points to the right directory)</comment>
193 -lrwxrwxrwx 1 root root 22 Apr 23 18:33 linux -&gt; linux-2.6.11-gentoo-r6
194 -drwxr-xr-x 4 root root 120 Apr 8 18:56 linux-2.4.26-gentoo-r4
195 -drwxr-xr-x 18 root root 664 Dec 31 16:09 linux-2.6.10
196 -drwxr-xr-x 18 root root 632 Mar 3 12:27 linux-2.6.11
197 -drwxr-xr-x 19 root root 4096 Mar 16 22:00 linux-2.6.11-gentoo-r6
198 +# <i>eselect kernel list</i>
199 +Available kernel symlink targets:
200 + [1] linux-2.6.18-gentoo-r4 *
201 + [2] linux-2.6.20-gentoo-r7
202 + [3] linux-2.6.20-gentoo-r8
203 +<comment>(Verify that the right kernel is marked with an asterisk</comment>
204 </pre>
205
206 <p>
207 -In the above output, you'll notice that the <c>linux</c> symlink is pointing
208 -to the <c>linux-2.6.11-gentoo-r6</c> kernel.
209 +In the above output, you'll notice that the <c>linux-2.6.18-gentoo-r4</c> kernel
210 +is marked with an asterisk (<b>*</b>) to show that it is the symlinked kernel.
211 </p>
212
213 <p>
214 If the symlink is not pointing to the correct sources, you must update the link
215 -like this:
216 +by selecting the number of your desired kernel sources, as in the example
217 +above.
218 </p>
219
220 <pre caption="Create/Update /usr/src/linux symlink">
221 -# <i>cd /usr/src</i>
222 -# <i>ln -snf linux-2.6.11-gentoo-r6 linux</i>
223 +<comment>(Select the correct kernel)</comment>
224 +# <i>eselect kernel set 1</i>
225 </pre>
226
227 </body>
228 </section>
229 <section>
230 -<title>Optional: Check for Legacy Card Support</title>
231 -<body>
232 -
233 -<note>
234 -Unfortunately, certain legacy video cards are not supported by the newer
235 -versions of <c>nvidia-drivers</c>.
236 -nVidia provides a <uri link="http://www.nvidia.com/object/IO_18897.html">list
237 -of supported cards</uri>. Please check the list before installing the drivers.
238 -</note>
239 -
240 -<p>
241 -The following is a list of <b>unsupported</b> legacy video cards:
242 -</p>
243 -
244 -<pre caption="Unsupported cards">
245 -TNT
246 -TNT2
247 -TNT2 Pro
248 -TNT2 Ultra
249 -TNT2 Model 64 (M64)
250 -TNT2 Model 64 (M64) Pro
251 -Vanta
252 -Vanta LT
253 -GeForce 256
254 -GeForce DDR
255 -GeForce2 GTS
256 -GeForce2 Pro
257 -GeForce2 Ti
258 -GeForce2 Ultra
259 -GeForce2 MX Integrated graphics
260 -Quadro
261 -Quadro2 Pro
262 -Quadro2 EX
263 -</pre>
264 -
265 -<p>
266 -If your card is listed in the legacy list, then you will be required to install
267 -the <c>nvidia-legacy-drivers</c> package to get 3D support.
268 -</p>
269 -
270 -</body>
271 -</section>
272 -<section>
273 <title>Installing the Appropriate Drivers</title>
274 <body>
275
276 @@ -296,17 +270,24 @@
277 </p>
278
279 <pre caption="Installing the nVidia drivers">
280 -<comment>(If you have a card not listed in the legacy list above)</comment>
281 # <i>emerge nvidia-drivers</i>
282 -<comment>(If your card is listed in the legacy list)</comment>
283 -# <i>emerge nvidia-legacy-drivers</i>
284 </pre>
285
286 +<note>
287 +The newer 100.x drivers can be installed with the <c>gtk</c> USE flag set. This
288 +will install <c>media-video/nvidia-settings</c>, a handy graphical tool for
289 +monitoring and configuring several aspects of your nVidia card.
290 +</note>
291 +
292 <impo>
293 -Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new
294 -kernel</uri> or recompile the current one, you will need to run <c>emerge
295 -nvidia-drivers</c> or <c>emerge nvidia-legacy-drivers</c> to reinstall the
296 -nVidia modules.
297 +Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new kernel</uri>
298 +or recompile the current one, you will need to run <c>emerge nvidia-drivers</c>
299 +to reinstall the nVidia modules. An easier way to keep track of modules
300 +installed by ebuilds (such as <c>nvidia-drivers</c>) is to install
301 +<c>sys-kernel/module-rebuild</c>. Once you've installed it, simply run
302 +<c>module-rebuild populate</c> to populate its database with a list of packages
303 +to be rebuilt. Once you've finished compiling or recompiling a kernel, just run
304 +<c>module-rebuild rebuild</c> to rebuild the drivers for your new kernel.
305 </impo>
306
307 <p>
308 @@ -323,15 +304,13 @@
309 <p>
310 To prevent you having to manually load the module on every bootup, you probably
311 want to have this done automatically each time you boot your system, so edit
312 -<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>,
313 -depending on which kernel version you use) and add <c>nvidia</c> to it. Don't
314 -forget to run <c>update-modules</c> afterwards.
315 +<path>/etc/modules.autoload.d/kernel-2.6</path> and add <c>nvidia</c> to it.
316 +Don't forget to run <c>update-modules</c> afterwards.
317 </p>
318
319 <impo>
320 If you compiled <c>agpgart</c> as a module, you will need to add it to
321 -<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>
322 -depending on your kernel version).
323 +<path>/etc/modules.autoload.d/kernel-2.6</path>.
324 </impo>
325
326 <pre caption="Running update-modules">
327 @@ -409,7 +388,7 @@
328
329 <p>
330 You have to add your user to the <c>video</c> group so he has access to the
331 -nvidia device files:
332 +nVidia device files:
333 </p>
334
335 <pre caption="Adding your user to the video group">
336 @@ -449,13 +428,18 @@
337
338 <p>
339 Some tools, such as <c>mplayer</c> and <c>xine-lib</c>, use a local USE flag
340 -called "nvidia" which enables XvMCNVIDIA support, useful when watching high
341 -resolution movies. Add in "nvidia" in your USE variable in
342 +called <c>xvmc</c> which enables XvMCNVIDIA support, useful when watching high
343 +resolution movies. Add in <c>xvmc</c> in your USE variable in
344 <path>/etc/make.conf</path> or add it as USE flag to <c>media-video/mplayer</c>
345 and/or <c>media-libs/xine-lib</c> in <path>/etc/portage/package.use</path>.
346 </p>
347
348 <p>
349 +There are also some applications that use the <c>nvidia</c> USE flag, so you
350 +may want to add it to <path>/etc/make.conf</path>.
351 +</p>
352 +
353 +<p>
354 Then, run <c>emerge -uD --newuse world</c> to rebuild the applications that
355 benefit from the USE flag change.
356 </p>
357 @@ -467,10 +451,12 @@
358 <body>
359
360 <p>
361 -Since nVidia released version 1.0.6106 it also provides you with a settings
362 -tool. This tool allows you to change graphical settings without restarting the
363 -X server and is available through Portage as
364 -<c>media-video/nvidia-settings</c>.
365 +nVidia also provides you with a settings tool. This tool allows you to monitor
366 +and change graphical settings without restarting the X server and is available
367 +through Portage as <c>media-video/nvidia-settings</c>. As mentioned earlier, it
368 +will be pulled in automatically if you install
369 +<c>>=media-video/nvidia-drivers-100.14.09</c> with the <c>gtk</c> USE flag set
370 +in <path>/etc/make.conf</path> or in <path>/etc/portage/package.use</path>.
371 </p>
372
373 </body>
374 @@ -541,10 +527,7 @@
375 </p>
376
377 <pre caption="Viewing the NVIDIA documentation">
378 -<comment>(for nvidia-drivers)</comment>
379 $ <i>less /usr/share/doc/nvidia-drivers-*/README.gz</i>
380 -<comment>(for nvidia-legacy-drivers)</comment>
381 -$ <i>less /usr/share/doc/nvidia-legacy-drivers-*/README.gz</i>
382 </pre>
383
384 </body>
385 @@ -603,5 +586,4 @@
386 </body>
387 </section>
388 </chapter>
389 -
390 </guide>
391
392
393
394 --
395 gentoo-doc-cvs@g.o mailing list