/[gentoo]/xml/htdocs/doc/en/nvidia-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/nvidia-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.49 Revision 1.50
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.49 2010/05/14 22:22:26 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.50 2010/07/13 19:55:51 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide> 5<guide>
6<title>Gentoo Linux nVidia Guide</title> 6<title>Gentoo Linux nVidia Guide</title>
7 7
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license/> 29<license/>
30 30
31<version>1.40</version> 31<version>1.41</version>
32<date>2010-05-14</date> 32<date>2010-07-13</date>
33 33
34<chapter> 34<chapter>
35<title>Introduction</title> 35<title>Introduction</title>
36<section> 36<section>
37<body> 37<body>
217link="/doc/en/handbook/">Installation Handbook</uri> for details on configuring 217link="/doc/en/handbook/">Installation Handbook</uri> for details on configuring
218your kernel. 218your kernel.
219</p> 219</p>
220 220
221<p> 221<p>
222First, you'll need to emerge <c>eselect</c> (if you don't already have it). If 222First, you'll need to choose the right kernel source using <c>eselect</c>. If
223you are using <c>gentoo-sources-2.6.18-r4</c>, your kernel listing might look 223you are using <c>gentoo-sources-2.6.34-r1</c>, your kernel listing might look
224something like this: 224something like this:
225</p> 225</p>
226 226
227<pre caption="Check your /usr/src/linux symlink"> 227<pre caption="Check your /usr/src/linux symlink">
228# <i>eselect kernel list</i> 228# <i>eselect kernel list</i>
229Available kernel symlink targets: 229Available kernel symlink targets:
230 [1] linux-2.6.18-gentoo-r4 * 230 [1] linux-2.6.34-gentoo-r1 *
231 [2] linux-2.6.20-gentoo-r7 231 [2] linux-2.6.33-gentoo-r2
232 [3] linux-2.6.20-gentoo-r8 232 [3] linux-2.6.32.9
233<comment>(Verify that the right kernel is marked with an asterisk</comment> 233<comment>(Verify that the right kernel is marked with an asterisk</comment>
234</pre> 234</pre>
235 235
236<p> 236<p>
237In the above output, you'll notice that the <c>linux-2.6.18-gentoo-r4</c> kernel 237In the above output, you'll notice that the <c>linux-2.6.34-gentoo-r1</c> kernel
238is marked with an asterisk (<b>*</b>) to show that it is the symlinked kernel. 238is marked with an asterisk (<b>*</b>) to show that it is the symlinked kernel.
239</p> 239</p>
240 240
241<p> 241<p>
242If the symlink is not pointing to the correct sources, you must update the link 242If the symlink is not pointing to the correct sources, you must update the link
254<section> 254<section>
255<title>Installing the Appropriate Drivers</title> 255<title>Installing the Appropriate Drivers</title>
256<body> 256<body>
257 257
258<p> 258<p>
259Now it's time to install the drivers. 259Now it's time to install the drivers. You can do this by first following the
260</p> 260<uri link="/doc/en/xorg-config.xml">X Server Configuration HOWTO</uri> and
261 261setting <c>VIDEO_CARDS="nvidia"</c> in <path>/etc/make.conf</path>. When you
262<pre caption="Installing the nVidia drivers"> 262install the X server, it will then install the right version of
263# <i>emerge nvidia-drivers</i> 263<c>nvidia-drivers</c> for you.
264</pre> 264</p>
265 265
266<note> 266<note>
267The drivers can be installed with the <c>gtk</c> USE flag set. This will install 267The drivers can be installed with the <c>gtk</c> USE flag set in
268<path>/etc/make.conf</path>. This will install
268<c>media-video/nvidia-settings</c>, a handy graphical tool for monitoring and 269<c>media-video/nvidia-settings</c>, a handy graphical tool for monitoring and
269configuring several aspects of your nVidia card. 270configuring several aspects of your nVidia card.
270</note> 271</note>
271 272
272<impo> 273<impo>
273Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new kernel</uri> 274Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new kernel</uri>
274or recompile the current one, you will need to run <c>emerge nvidia-drivers</c> 275or recompile the current one, you will need to reinstall the nVidia kernel
275to reinstall the nVidia modules. An easier way to keep track of modules 276modules. An easy way to keep track of modules installed by ebuilds (such as
276installed by ebuilds (such as <c>nvidia-drivers</c>) is to install 277<c>nvidia-drivers</c>) is to install <c>sys-kernel/module-rebuild</c>. Once
277<c>sys-kernel/module-rebuild</c>. Once you've installed it, simply run 278you've installed it, simply run <c>module-rebuild populate</c> to populate its
278<c>module-rebuild populate</c> to populate its database with a list of packages 279database with a list of packages to be rebuilt. Once you've finished compiling
279to be rebuilt. Once you've finished compiling or recompiling a kernel, just run 280or recompiling a kernel, just run <c>module-rebuild rebuild</c> to rebuild the
280<c>module-rebuild rebuild</c> to rebuild the drivers for your new kernel. 281drivers for your new kernel.
281</impo> 282</impo>
282 283
283<p> 284<p>
284Once the installation has finished, run <c>modprobe nvidia</c> to load the 285Once the installation has finished, run <c>modprobe nvidia</c> to load the
285kernel module into memory. If this is an upgrade, you should remove the 286kernel module into memory. If this is an upgrade, you should remove the

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.20