/[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.20 Revision 1.21
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.20 2005/10/25 17:27:09 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.21 2006/01/13 16:06:46 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
9 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 9 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
10</author> 10</author>
11<author title="Editor"> 11<author title="Editor">
12 <mail link="curtis119@gentoo.org">M Curtis Napier</mail> 12 <mail link="curtis119@gentoo.org">M Curtis Napier</mail>
13</author> 13</author>
14<author title="Editor">
15 <mail link="jackdark@gmail.com">Joshua Saddler</mail>
16</author>
14 17
15<abstract> 18<abstract>
16Many Gentooists have an nVidia chipset on their system. nVidia provides specific 19Many Gentooists have an nVidia chipset on their system. nVidia provides specific
17Linux drivers to boost the performance of your card. This guide informs you how 20Linux drivers to boost the performance of your card. This guide informs you how
18to install and configure these drivers. 21to install and configure these drivers.
20 23
21<!-- The content of this document is licensed under the CC-BY-SA license --> 24<!-- The content of this document is licensed under the CC-BY-SA license -->
22<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 25<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
23<license/> 26<license/>
24 27
25<version>1.16</version> 28<version>1.17</version>
26<date>2005-10-25</date> 29<date>2006-01-13</date>
27 30
28<chapter> 31<chapter>
29<title>Introduction</title> 32<title>Introduction</title>
30<section> 33<section>
31<body> 34<body>
54</chapter> 57</chapter>
55 58
56<chapter> 59<chapter>
57<title>Configuring your Card</title> 60<title>Configuring your Card</title>
58<section> 61<section>
59<title>Installing the Appropriate Drivers</title> 62<title>Kernel Configuration</title>
60<body> 63<body>
61 64
62<p> 65<p>
63As mentioned above, the nVidia kernel driver installs and runs against your 66As mentioned above, the nVidia kernel driver installs and runs against your
64current kernel. It builds as a module, so it makes sense that your kernel must 67current kernel. It builds as a module, so it makes sense that your kernel must
80Processor and Features ---&gt; 83Processor and Features ---&gt;
81 [*] MTRR (Memory Type Range Register) support 84 [*] MTRR (Memory Type Range Register) support
82</pre> 85</pre>
83 86
84<p> 87<p>
85nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> 88nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c>
86and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter 89and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter
87are the kernel modules. 90are the kernel modules.
88</p> 91</p>
89 92
90<p> 93<p>
91The nvidia-kernel ebuild auto discovers your kernel version based on the 94The nvidia-kernel ebuild auto discovers your kernel version based on the
125<pre caption="Create/Update /usr/src/linux symlink"> 128<pre caption="Create/Update /usr/src/linux symlink">
126# <i>cd /usr/src</i> 129# <i>cd /usr/src</i>
127# <i>ln -snf linux-2.6.11-gentoo-r6 linux</i> 130# <i>ln -snf linux-2.6.11-gentoo-r6 linux</i>
128</pre> 131</pre>
129 132
133</body>
134</section>
135<section>
136<title>Optional: Check for Legacy Card Support</title>
137<body>
138
139<note>
140Unfortunately, certain legacy video cards are not supported by the newer
141versions of <c>nvidia-glx</c> and <c>nvidia-kernel</c>. nVidia provides a <uri
142link="http://www.nvidia.com/object/IO_18897.html">list of supported cards</uri>.
143Please check the list before installing the drivers.
144</note>
145
146<p>
147The following is a list of <b>unsupported</b> legacy video cards:
130<p> 148</p>
149
150<pre caption="Unsupported cards">
151TNT2
152TNT2 Pro
153TNT2 Ultra
154TNT2 Model 64 (M64)
155TNT2 Model 64 (M64) Pro
156Vanta
157Vanta LT
158GeForce 256
159GeForce DDR
160GeForce2 GTS
161GeForce2 Pro
162GeForce2 Ti
163GeForce2 Ultra
164GeForce2 MX Integrated graphics
165Quadro
166Quadro2 Pro
167Quadro2 EX
168</pre>
169
170<p>
171If you own one of these cards, you will have to mask the newer versions of the
172nVidia drivers, and install an older version:
173</p>
174
175<pre caption="Masking newer drivers">
176# <i>echo "&gt;media-video/nvidia-kernel-1.0.6629-r4" &gt;&gt; /etc/portage/package.mask</i>
177# <i>echo "&gt;media-video/nvidia-glx-1.0.6629-r7" &gt;&gt; /etc/portage/package.mask</i>
178</pre>
179
180</body>
181</section>
182<section>
183<title>Installing the Appropriate Drivers</title>
184<body>
185
186<p>
131Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since 187Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since
132<c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, installing <c>nvidia-glx</c> 188<c>nvidia-glx</c> depends on <c>nvidia-kernel</c>, installing <c>nvidia-glx</c>
133is sufficient: 189is sufficient.
134</p> 190</p>
135 191
136<pre caption="Installing the nVidia modules"> 192<pre caption="Installing the nVidia modules">
137# <i>emerge nvidia-glx</i> 193# <i>emerge nvidia-glx</i>
138</pre> 194</pre>
139 195
140<impo> 196<impo>
141Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new 197Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new
142kernel</uri> or recompile the current one, you have to run <c>emerge 198kernel</uri> or recompile the current one, you have to run <c>emerge
143nvidia-kernel</c> to reinstall the nVidia modules. nvidia-glx is unaffected by 199nvidia-kernel</c> to reinstall the nVidia modules. <c>nvidia-glx</c> is
144a kernel change and doesn't even need to be rebuilt when you recompile/upgrade 200unaffected by a kernel change and doesn't even need to be rebuilt when you
145X. 201recompile/upgrade X.
146</impo> 202</impo>
147 203
148<p> 204<p>
149Once the installation has finished, run <c>modprobe nvidia</c> to load the 205Once the installation has finished, run <c>modprobe nvidia</c> to load the
150kernel module into memory. 206kernel module into memory.
207EndSection 263EndSection
208</pre> 264</pre>
209 265
210<p> 266<p>
211Next, in section <c>Screen</c>, make sure that either the <c>DefaultDepth</c> 267Next, in section <c>Screen</c>, make sure that either the <c>DefaultDepth</c>
212directive is set to 16 or 24, or that you only have <c>Display</c> subsections 268directive is set to 16 or 24, or that you only have <c>Display</c> subsections
213with <c>Depth</c> settings of 16 or 24. Without it, the nvidia-glx extensions 269with <c>Depth</c> settings of 16 or 24. Without it, the nvidia-glx extensions
214will not start. 270will not start.
215</p> 271</p>
216 272
217<pre caption="Updating the Screen section"> 273<pre caption="Updating the Screen section">
218Section "Screen" 274Section "Screen"
266$ <i>glxinfo | grep direct</i> 322$ <i>glxinfo | grep direct</i>
267direct rendering: Yes 323direct rendering: Yes
268</pre> 324</pre>
269 325
270<p> 326<p>
271To monitor your FPS, run <c>glxgears</c>. 327To monitor your FPS, run <c>glxgears</c>.
272</p> 328</p>
273 329
274</body> 330</body>
275</section> 331</section>
276<section> 332<section>

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20