/[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.12 Revision 1.13
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.12 2005/04/09 10:16:24 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.13 2005/06/04 11:01:24 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/nvidia-guide.xml"> 5<guide link="/doc/en/nvidia-guide.xml">
6<title>Gentoo Linux nVidia Guide</title> 6<title>Gentoo Linux nVidia Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 9 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
10</author>
11<author title="Editor">
12 <mail link="curtis119@yahoo.com">M Curtis Napier</mail>
10</author> 13</author>
11 14
12<abstract> 15<abstract>
13Many Gentooists have an nVidia chipset on their system. nVidia provides specific 16Many Gentooists have an nVidia chipset on their system. nVidia provides specific
14Linux drivers to boost the performance of your card. This guide informs you how 17Linux drivers to boost the performance of your card. This guide informs you how
15to install and configure these drivers. 18to install and configure these drivers.
16</abstract> 19</abstract>
17 20
18<license/> 21<license/>
19 22
20<version>1.9</version> 23<version>1.10</version>
21<date>2005-04-09</date> 24<date>2005-06-04</date>
22 25
23<chapter> 26<chapter>
24<title>Configuring your Card</title> 27<title>Configuring your Card</title>
25<section> 28<section>
26<title>Installing the Appropriate Drivers</title> 29<title>Installing the Appropriate Drivers</title>
49</pre> 52</pre>
50 53
51<p> 54<p>
52nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> 55nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c>
53and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter 56and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter
54are the kernel modules. Since <c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, 57are the kernel modules.
55installing <c>nvidia-glx</c> is sufficient: 58</p>
59
60<p>
61The nvidia-kernel ebuild auto discovers your kernel version based on the
62<path>/usr/src/linux</path> symlink. Please ensure that you have this symlink
63pointing to the correct sources and that your kernel is correctly configured.
64Please refer to the Configuring the Kernel section of the <uri
65link="/doc/en/handbook/">Installation Handbook</uri> for details on configuring
66your kernel.
67</p>
68
69<p>
70If you are using gentoo-sources-2.6.11-r6, your symlink should look like this:
71</p>
72
73<pre caption="Check your /usr/src/linux symlink">
74# <i>cd /usr/src</i>
75# <i>ls -l</i>
76<comment>(Check that linux point to the right directory)</comment>
77lrwxrwxrwx 1 root root 22 Apr 23 18:33 linux -&gt; linux-2.6.11-gentoo-r6
78drwxr-xr-x 4 root root 120 Apr 8 18:56 linux-2.4.26-gentoo-r4
79drwxr-xr-x 18 root root 664 Dec 31 16:09 linux-2.6.10
80drwxr-xr-x 18 root root 632 Mar 3 12:27 linux-2.6.11
81drwxr-xr-x 19 root root 4096 Mar 16 22:00 linux-2.6.11-gentoo-r6
82</pre>
83
84<p>
85If the symlink is not pointing to the correct sources, you may create the link
86like this:
87</p>
88
89<pre caption="Create /usr/src/linux symlink">
90# <i>cd /usr/src</i>
91# <i>ln -snf linux-2.6.11-gentoo-r6 linux</i>
92</pre>
93
94<p>
95Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since
96<c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, installing <c>nvidia-glx</c>
97is sufficient:
56</p> 98</p>
57 99
58<pre caption="Installing the nVidia modules"> 100<pre caption="Installing the nVidia modules">
59# <i>emerge nvidia-glx</i> 101# <i>emerge nvidia-glx</i>
60</pre> 102</pre>
61 103
104<impo>
105Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new
106kernel</uri> or recompile the current one, you have to run <c>emerge
107nvidia-kernel</c> to reinstall the nVidia modules. nvidia-glx is unaffected by
108a kernel change.
109</impo>
110
62<p> 111<p>
63Once the installation has finished, run <c>modprobe nvidia</c> to load the 112Once the installation has finished, run <c>modprobe nvidia</c> to load the
64kernel module into memory. 113kernel module into memory.
65</p> 114</p>
66 115
69</pre> 118</pre>
70 119
71<p> 120<p>
72You probably want to have this done each time you boot your system, so edit 121You probably want to have this done each time you boot your system, so edit
73<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>) and 122<path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>) and
74add <c>nvidia</c> to it. Don't forget to run <c>modules-update</c> afterwards! 123add <c>nvidia</c> to it. Don't forget to run <c>modules-update</c> afterwards.
75</p> 124</p>
76 125
77<pre caption="Running modules-update"> 126<pre caption="Running modules-update">
78# <i>modules-update</i> 127# <i>modules-update</i>
79</pre> 128</pre>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20