| 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.39 2007/03/24 01:04:16 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nvidia-guide.xml,v 1.40 2007/04/16 05:39:54 nightmorph 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 | |
| … | |
… | |
| 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.30</version> |
31 | <version>1.31</version> |
| 32 | <date>2007-03-23</date> |
32 | <date>2007-04-15</date> |
| 33 | |
33 | |
| 34 | <chapter> |
34 | <chapter> |
| 35 | <title>Introduction</title> |
35 | <title>Introduction</title> |
| 36 | <section> |
36 | <section> |
| 37 | <body> |
37 | <body> |
| … | |
… | |
| 323 | <p> |
323 | <p> |
| 324 | To prevent you having to manually load the module on every bootup, you probably |
324 | To prevent you having to manually load the module on every bootup, you probably |
| 325 | want to have this done automatically each time you boot your system, so edit |
325 | want to have this done automatically each time you boot your system, so edit |
| 326 | <path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>, |
326 | <path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path>, |
| 327 | depending on which kernel version you use) and add <c>nvidia</c> to it. Don't |
327 | depending on which kernel version you use) and add <c>nvidia</c> to it. Don't |
| 328 | forget to run <c>modules-update</c> afterwards. |
328 | forget to run <c>update-modules</c> afterwards. |
| 329 | </p> |
329 | </p> |
| 330 | |
330 | |
| 331 | <impo> |
331 | <impo> |
| 332 | If you compiled <c>agpgart</c> as a module, you will need to add it to |
332 | If you compiled <c>agpgart</c> as a module, you will need to add it to |
| 333 | <path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path> |
333 | <path>/etc/modules.autoload.d/kernel-2.6</path> (or <path>kernel-2.4</path> |
| 334 | depending on your kernel version). |
334 | depending on your kernel version). |
| 335 | </impo> |
335 | </impo> |
| 336 | |
336 | |
| 337 | <pre caption="Running modules-update"> |
337 | <pre caption="Running update-modules"> |
| 338 | # <i>modules-update</i> |
338 | # <i>update-modules</i> |
| 339 | </pre> |
339 | </pre> |
| 340 | |
340 | |
| 341 | </body> |
341 | </body> |
| 342 | </section> |
342 | </section> |
| 343 | <section> |
343 | <section> |
| … | |
… | |
| 555 | |
555 | |
| 556 | <p> |
556 | <p> |
| 557 | The <c>nvidia</c> kernel module accepts a number of parameters (options) which |
557 | The <c>nvidia</c> kernel module accepts a number of parameters (options) which |
| 558 | you can use to tweak the behaviour of the driver. Most of these are mentioned in |
558 | you can use to tweak the behaviour of the driver. Most of these are mentioned in |
| 559 | the documentation. To add or change the values of these parameters, edit the |
559 | the documentation. To add or change the values of these parameters, edit the |
| 560 | file <c>/etc/modules.d/nvidia</c>. Remember to run <c>modules-update</c> after |
560 | file <c>/etc/modules.d/nvidia</c>. Remember to run <c>update-modules</c> after |
| 561 | modifying this file, and bear in mind that you will need to reload the |
561 | modifying this file, and bear in mind that you will need to reload the |
| 562 | <c>nvidia</c> module before the new settings take effect. |
562 | <c>nvidia</c> module before the new settings take effect. |
| 563 | </p> |
563 | </p> |
| 564 | |
564 | |
| 565 | <pre caption="Adjusting nvidia options"> |
565 | <pre caption="Adjusting nvidia options"> |
| 566 | <comment>(Edit /etc/modules.d/nvidia in your favourite editor)</comment> |
566 | <comment>(Edit /etc/modules.d/nvidia in your favourite editor)</comment> |
| 567 | # <i>nano -w /etc/modules.d/nvidia</i> |
567 | # <i>nano -w /etc/modules.d/nvidia</i> |
| 568 | <comment>(Update module information)</comment> |
568 | <comment>(Update module information)</comment> |
| 569 | # <i>modules-update</i> |
569 | # <i>update-modules</i> |
| 570 | <comment>(Unload the nvidia module...)</comment> |
570 | <comment>(Unload the nvidia module...)</comment> |
| 571 | # <i>modprobe -r nvidia</i> |
571 | # <i>modprobe -r nvidia</i> |
| 572 | <comment>(...and load it once again)</comment> |
572 | <comment>(...and load it once again)</comment> |
| 573 | # <i>modprobe nvidia</i> |
573 | # <i>modprobe nvidia</i> |
| 574 | </pre> |
574 | </pre> |