| 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> |
| 16 | Many Gentooists have an nVidia chipset on their system. nVidia provides specific |
19 | Many Gentooists have an nVidia chipset on their system. nVidia provides specific |
| 17 | Linux drivers to boost the performance of your card. This guide informs you how |
20 | Linux drivers to boost the performance of your card. This guide informs you how |
| 18 | to install and configure these drivers. |
21 | to 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> |
| 63 | As mentioned above, the nVidia kernel driver installs and runs against your |
66 | As mentioned above, the nVidia kernel driver installs and runs against your |
| 64 | current kernel. It builds as a module, so it makes sense that your kernel must |
67 | current kernel. It builds as a module, so it makes sense that your kernel must |
| … | |
… | |
| 80 | Processor and Features ---> |
83 | Processor and Features ---> |
| 81 | [*] MTRR (Memory Type Range Register) support |
84 | [*] MTRR (Memory Type Range Register) support |
| 82 | </pre> |
85 | </pre> |
| 83 | |
86 | |
| 84 | <p> |
87 | <p> |
| 85 | nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> |
88 | nVidia's modules and libraries are combined in two packages: <c>nvidia-glx</c> |
| 86 | and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter |
89 | and <c>nvidia-kernel</c>. The former are the X11 GLX libraries while the latter |
| 87 | are the kernel modules. |
90 | are the kernel modules. |
| 88 | </p> |
91 | </p> |
| 89 | |
92 | |
| 90 | <p> |
93 | <p> |
| 91 | The nvidia-kernel ebuild auto discovers your kernel version based on the |
94 | The 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> |
|
|
140 | Unfortunately, certain legacy video cards are not supported by the newer |
|
|
141 | versions of <c>nvidia-glx</c> and <c>nvidia-kernel</c>. nVidia provides a <uri |
|
|
142 | link="http://www.nvidia.com/object/IO_18897.html">list of supported cards</uri>. |
|
|
143 | Please check the list before installing the drivers. |
|
|
144 | </note> |
|
|
145 | |
|
|
146 | <p> |
|
|
147 | The following is a list of <b>unsupported</b> legacy video cards: |
| 130 | <p> |
148 | </p> |
|
|
149 | |
|
|
150 | <pre caption="Unsupported cards"> |
|
|
151 | TNT2 |
|
|
152 | TNT2 Pro |
|
|
153 | TNT2 Ultra |
|
|
154 | TNT2 Model 64 (M64) |
|
|
155 | TNT2 Model 64 (M64) Pro |
|
|
156 | Vanta |
|
|
157 | Vanta LT |
|
|
158 | GeForce 256 |
|
|
159 | GeForce DDR |
|
|
160 | GeForce2 GTS |
|
|
161 | GeForce2 Pro |
|
|
162 | GeForce2 Ti |
|
|
163 | GeForce2 Ultra |
|
|
164 | GeForce2 MX Integrated graphics |
|
|
165 | Quadro |
|
|
166 | Quadro2 Pro |
|
|
167 | Quadro2 EX |
|
|
168 | </pre> |
|
|
169 | |
|
|
170 | <p> |
|
|
171 | If you own one of these cards, you will have to mask the newer versions of the |
|
|
172 | nVidia drivers, and install an older version: |
|
|
173 | </p> |
|
|
174 | |
|
|
175 | <pre caption="Masking newer drivers"> |
|
|
176 | # <i>echo ">media-video/nvidia-kernel-1.0.6629-r4" >> /etc/portage/package.mask</i> |
|
|
177 | # <i>echo ">media-video/nvidia-glx-1.0.6629-r7" >> /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> |
| 131 | Now it's time to install <c>nvidia-kernel</c> and <c>nvidia-glx</c>. Since |
187 | Now 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> |
| 133 | is sufficient: |
189 | is 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> |
| 141 | Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new |
197 | Every time you <uri link="/doc/en/kernel-upgrade.xml">compile a new |
| 142 | kernel</uri> or recompile the current one, you have to run <c>emerge |
198 | kernel</uri> or recompile the current one, you have to run <c>emerge |
| 143 | nvidia-kernel</c> to reinstall the nVidia modules. nvidia-glx is unaffected by |
199 | nvidia-kernel</c> to reinstall the nVidia modules. <c>nvidia-glx</c> is |
| 144 | a kernel change and doesn't even need to be rebuilt when you recompile/upgrade |
200 | unaffected by a kernel change and doesn't even need to be rebuilt when you |
| 145 | X. |
201 | recompile/upgrade X. |
| 146 | </impo> |
202 | </impo> |
| 147 | |
203 | |
| 148 | <p> |
204 | <p> |
| 149 | Once the installation has finished, run <c>modprobe nvidia</c> to load the |
205 | Once the installation has finished, run <c>modprobe nvidia</c> to load the |
| 150 | kernel module into memory. |
206 | kernel module into memory. |
| … | |
… | |
| 207 | EndSection |
263 | EndSection |
| 208 | </pre> |
264 | </pre> |
| 209 | |
265 | |
| 210 | <p> |
266 | <p> |
| 211 | Next, in section <c>Screen</c>, make sure that either the <c>DefaultDepth</c> |
267 | Next, in section <c>Screen</c>, make sure that either the <c>DefaultDepth</c> |
| 212 | directive is set to 16 or 24, or that you only have <c>Display</c> subsections |
268 | directive is set to 16 or 24, or that you only have <c>Display</c> subsections |
| 213 | with <c>Depth</c> settings of 16 or 24. Without it, the nvidia-glx extensions |
269 | with <c>Depth</c> settings of 16 or 24. Without it, the nvidia-glx extensions |
| 214 | will not start. |
270 | will not start. |
| 215 | </p> |
271 | </p> |
| 216 | |
272 | |
| 217 | <pre caption="Updating the Screen section"> |
273 | <pre caption="Updating the Screen section"> |
| 218 | Section "Screen" |
274 | Section "Screen" |
| … | |
… | |
| 266 | $ <i>glxinfo | grep direct</i> |
322 | $ <i>glxinfo | grep direct</i> |
| 267 | direct rendering: Yes |
323 | direct rendering: Yes |
| 268 | </pre> |
324 | </pre> |
| 269 | |
325 | |
| 270 | <p> |
326 | <p> |
| 271 | To monitor your FPS, run <c>glxgears</c>. |
327 | To 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> |