home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / CMCD1204.ISO / Linux / nvidiainstall_README.txt < prev    next >
Text File  |  2004-10-15  |  145KB  |  3,294 lines

  1. NVIDIA Accelerated Linux Driver Set README & Installation Guide
  2.  
  3. Last Updated: $Date: 2004/07/24 $
  4. Most Recent Driver: 1.0-6111
  5.  
  6.  
  7. The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D
  8. functionality and high performance OpenGL support to Linux x86 with the
  9. use of NVIDIA graphics processing units (GPUs).
  10.  
  11. These drivers provide optimized hardware acceleration of OpenGL
  12. applications via a direct-rendering X Server and support nearly all
  13. NVIDIA graphics chips (please see APPENDIX A for a complete list of
  14. supported chips).  TwinView, TV-Out and flat panel displays are also
  15. supported.
  16.  
  17. This README describes how to install, configure, and use the NVIDIA
  18. Accelerated Linux Driver Set.  This file is posted on NVIDIA's web site
  19. (www.nvidia.com), and is installed in /usr/share/doc/NVIDIA_GLX-1.0/.
  20.  
  21.  
  22. __________________________________________________________________________
  23.  
  24. CONTENTS:
  25.  
  26.         (sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE FOR YOUR SYSTEM
  27.         (sec-02) INSTALLING THE NVIDIA DRIVER
  28.         (sec-03) EDITING YOUR X CONFIG FILE
  29.         (sec-04) FREQUENTLY ASKED QUESTIONS
  30.         (sec-05) CONTACTING US
  31.         (sec-06) FURTHER RESOURCES
  32.  
  33.         (app-a)  APPENDIX A: SUPPORTED NVIDIA GRAPHICS CHIPS
  34.         (app-b)  APPENDIX B: MINIMUM SOFTWARE REQUIREMENTS
  35.         (app-c)  APPENDIX C: INSTALLED COMPONENTS
  36.         (app-d)  APPENDIX D: X CONFIG OPTIONS
  37.         (app-e)  APPENDIX E: OPENGL ENVIRONMENT VARIABLE SETTINGS
  38.         (app-f)  APPENDIX F: CONFIGURING AGP
  39.         (app-g)  APPENDIX G: ALI SPECIFIC ISSUES
  40.         (app-h)  APPENDIX H: TNT SPECIFIC ISSUES
  41.         (app-i)  APPENDIX I: CONFIGURING TWINVIEW
  42.         (app-j)  APPENDIX J: CONFIGURING TV-OUT
  43.         (app-k)  APPENDIX K: CONFIGURING A LAPTOP
  44.         (app-l)  APPENDIX L: PROGRAMMING MODES
  45.         (app-m)  APPENDIX M: FLIPPING AND UBB
  46.         (app-n)  APPENDIX N: KNOWN ISSUES
  47.         (app-o)  APPENDIX O: PROC INTERFACE
  48.         (app-p)  APPENDIX P: XVMC SUPPORT
  49.         (app-q)  APPENDIX Q: GLX SUPPORT
  50.         (app-r)  APPENDIX R: CONFIGURING MULTIPLE X SCREENS ON ONE CARD
  51.         (app-s)  APPENDIX S: POWER MANAGEMENT SUPPORT
  52.         (app-t)  APPENDIX T: DISPLAY DEVICE NAMES
  53.  
  54. Please note that, in order to keep the instructions more concise, most
  55. caveats and frequently encountered problems are not detailed in the
  56. installation instructions, but rather in the FREQUENTLY ASKED QUESTIONS
  57. section.  Therefore, it is recommended that you read this entire README
  58. before proceeding to perform any of the steps described.
  59.  
  60.  
  61. __________________________________________________________________________
  62.  
  63. (sec-01) CHOOSING THE NVIDIA PACKAGES APPROPRIATE FOR YOUR SYSTEM
  64. __________________________________________________________________________
  65.  
  66. NVIDIA has a unified driver architecture model; this means that one driver
  67. set can be used with all supported NVIDIA graphics chips.  Please see
  68. Appendix A for a list of the NVIDIA graphics chips supported by the
  69. current drivers.
  70.  
  71. Driver release 1.0-4349 introduced a new packaging
  72. and installation mechanism, which greatly simplifies the
  73. installation process.  There is only a single file to download:
  74. NVIDIA-Linux-x86-1.0-6111-pkg1.run.  This contains
  75. everything previously contained by the old NVIDIA_kernel and NVIDIA_GLX
  76. packages.
  77.  
  78. Driver release 1.0-6111 introduces a package suffix ("-pkg#") to
  79. the .run file.  This is used to distinguish between packages containing
  80. the same driver, but with different precompiled kernel interfaces.
  81. If there is any confusion, just download the .run file with the largest
  82. pkg number.
  83.  
  84. __________________________________________________________________________
  85.  
  86. (sec-02) INSTALLING THE NVIDIA DRIVER
  87. __________________________________________________________________________
  88.  
  89. BEFORE YOU BEGIN DRIVER INSTALLATION
  90.  
  91. Before beginning the driver installation, you should exit the X server.
  92. In addition you should set your default run level so you will boot to a
  93. vga console and not boot directly into X (please consult the documentation
  94. that came with your Linux distribution if you are unsure how to do this;
  95. this is normally done by modifying your /etc/inittab file).  This will
  96. make it easier to recover if there is a problem during the installation.
  97. After installing the driver you must edit your X config file before
  98. the newly installed driver will be used.  See the section below entitled
  99. EDITING YOUR X CONFIG FILE.
  100.  
  101.  
  102. INTRODUCTION TO THE NEW NVIDIA DRIVER INSTALLER
  103.  
  104. After you have downloaded NVIDIA-Linux-x86-1.0-6111-pkg1.run,
  105. begin installation by exiting X, cd'ing into the directory containing
  106. the downloaded file, and run:
  107.  
  108.     sh NVIDIA-Linux-x86-1.0-6111-pkg1.run
  109.  
  110. The .run file is a self-extracting archive.  When the .run file is
  111. executed, it extracts the contents of the archive, and runs the contained
  112. `nvidia-installer` utility, which will walk you through installation of
  113. the NVIDIA driver.
  114.  
  115. The .run file accepts many commandline options.  Here are a few of the
  116. more common options:
  117.  
  118.     --info
  119.         Print embedded info about the .run file and exit.
  120.  
  121.     --check
  122.         Check integrity of the archive and exit.
  123.  
  124.     --extract-only
  125.         Extract the contents of ./NVIDIA-Linux-x86-1.0-6111.run,
  126.         but do not run 'nvidia-installer'.
  127.  
  128.     --help
  129.         Print usage information for the common commandline options
  130.         and exit.
  131.  
  132.     --advanced-options
  133.         Print usage information for the common commandline options as
  134.         well as the advanced options, and then exit.
  135.  
  136. Installation will also install the utility `nvidia-installer`, which may
  137. be later used to uninstall drivers, auto-download updated drivers, etc.
  138.  
  139.  
  140. KERNEL INTERFACES
  141.  
  142. The NVIDIA kernel module has a kernel interface layer which must be
  143. compiled specifically for the configuration and version of the kernel
  144. you are running.  NVIDIA distributes the source code to this kernel
  145. interface layer, as well as a precompiled version for many of the kernels
  146. distributed by some popular distributions.
  147.   
  148. When the installer is run, it will determine if it has a precompiled
  149. kernel interface for the kernel you are running.  If it does not have
  150. one, it will check if there is one on the NVIDIA ftp site (assuming you
  151. have an internet connection), and download it.
  152.  
  153. If a precompiled kernel interface is found that matches your kernel,
  154. then that will be linked[1] against the binary portion of the NVIDIA
  155. kernel module.  The result of this operation will be a kernel module
  156. appropriate for your kernel.
  157.  
  158. If no matching precompiled kernel interface is found, then the installer
  159. will compile the kernel interface for you.  However, first it will
  160. check that you have the correct kernel headers intalled on your system.
  161. If the installer must compile the kernel interface, then you must install
  162. the kernel-sources package for your kernel.
  163.  
  164. [1] NOTE: installation requires that you have a linker installed.
  165. The linker, usually '/usr/bin/ld', is part of the binutils package;
  166. please be sure you have this package installed prior to installing the
  167. NVIDIA driver.
  168.  
  169.  
  170. FEATURES OF NVIDIA-INSTALLER
  171.  
  172. o Uninstall: Driver installation will backup any conflicting files
  173.   and record what new files are installed on the system.  You may run:
  174.  
  175.     nvidia-installer --uninstall
  176.   
  177.   to uninstall the current driver; this will remove any files that
  178.   were installed on the system, and restore any backed up files.
  179.   Installing new drivers implicitly uninstalls any previous drivers.
  180.  
  181. o Auto-Updating: If you run:
  182.  
  183.     nvidia-installer --latest
  184.   
  185.   the utility will connect to NVIDIA's FTP site, and report the latest
  186.   driver version and the url to the latest driver file.
  187.   
  188.   If you run:
  189.  
  190.     nvidia-installer --update
  191.   
  192.   the utility will connect to NVIDIA's FTP site, download the most recent
  193.   driver file, and install it.
  194.  
  195. o Multiple user interfaces: The installer will use an ncurses-based
  196.   user interface if it can find the correct ncurses library, otherwise,
  197.   it will fall back to a simple commandline user interface.  To disable
  198.   use of the ncurses user interface, use the option '--ui=none'.
  199.  
  200. o Updated Kernel Interfaces: The installer has the ability to
  201.   download updated precompiled kernel interfaces from the NVIDIA
  202.   FTP site (for kernels that were released after the NVIDIA driver
  203.   release).
  204.  
  205.  
  206. NVIDIA-INSTALLER FAQ
  207.  
  208. Q: How do I extract the contents of the .run file without actually
  209.    installing the driver?
  210.  
  211. A: Run:
  212.  
  213.     sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --extract-only
  214.  
  215.    This will create the directory NVIDIA-Linux-x86-1.0-6111-pkg1
  216.    which contains the uncompressed contents of the .run file.
  217.  
  218.  
  219. Q: How can I see the source code to the kernel interface layer?
  220.  
  221. A: The source files to the kernel interface layer are in the usr/src/nv
  222.    directory of the extracted .run file.  To get to these sources, run:
  223.  
  224.     sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --extract-only
  225.     cd NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
  226.  
  227.  
  228. Q: I just upgraded my kernel, and now the NVIDIA kernel module will not
  229.    load.  What is wrong?
  230.  
  231. A: The kernel interface layer of the NVIDIA kernel module must be
  232.    compiled specifically for the configuration and version of your kernel.
  233.    If you upgrade your kernel, then the simplest solution is to reinstall
  234.    the driver.
  235.  
  236.    ADVANCED: You can install the NVIDIA kernel module for a non 
  237.    running kernel (for example: in the situation where you just built
  238.    and installed a new kernel, but have not rebooted yet) with a command
  239.    line such as this:
  240.  
  241.     sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-name='KERNEL_NAME'
  242.  
  243.    Where 'KERNEL_NAME' is what `uname -r` would report if the target
  244.    kernel were running.
  245.  
  246.  
  247. Q: Why does NVIDIA not provide rpms anymore?
  248.  
  249. A: Not every Linux distribution uses rpm, and NVIDIA wanted a single
  250.    solution that would work across all Linux distributions.  As indicated
  251.    in the NVIDIA Software License, Linux distributions are welcome to
  252.    repackage and redistribute the NVIDIA Linux driver in whatever package
  253.    format they wish.
  254.  
  255.  
  256. Q: nvidia-installer does not work on my computer.  How can I install the
  257.    driver contained within the .run file?
  258.  
  259. A: To install the NVIDIA driver contained within the .run file without
  260.    using nvidia-installer, you can use the included Makefile:
  261.  
  262.        sh ./NVIDIA-Linux-x86-1.0-6111-pkg1.run --extract-only
  263.        cd NVIDIA-Linux-x86-1.0-6111-pkg1
  264.        make install
  265.  
  266.    This method of installation is not recommended, and is only provided
  267.    as a last resort, should nvidia-installer not work correctly on
  268.    your system.
  269.  
  270.  
  271. Q: Can the nvidia-installer use a proxy server?
  272.  
  273. A: Yes, because the ftp support in nvidia-installer is based on snarf,
  274.    it will honor the FTP_PROXY, SNARF_PROXY, and PROXY environment
  275.    variables.
  276.  
  277.  
  278. Q: What is the significance of the "pkg#" suffix on the .run file?
  279.  
  280. A: The "pkg#" suffix is used to distinguish between .run files containing
  281.    the same driver, but different sets of precompiled kernel interfaces.
  282.    If a distribution releases a new kernel after an NVIDIA driver is
  283.    released, the current NVIDIA driver can be repackaged to include
  284.    a precompiled kernel interface for that newer kernel (in addition
  285.    to all the precompiled kernel interfaces that were included in the
  286.    previous package of the driver).
  287.  
  288.    .run files with the same version number, but different pkg numbers,
  289.    only differ in what precompiled kernel interfaces are included.
  290.    Additionally, .run files with higher pkg numbers will contain
  291.    everything the .run files with lower .pkg numbers contain.
  292.  
  293.  
  294. Q: I have already installed NVIDIA-Linux-x86-1.0-6111-pkg1.run,
  295.    but I see that NVIDIA-Linux-x86-1.0-6111-pkg2.run was just
  296.    posted on the NVIDIA Linux driver download page.  Should I download
  297.    and install NVIDIA-Linux-x86-1.0-6111-pkg2.run?
  298.  
  299. A: This is not necessary.  The driver contained within all
  300.    1.0-6111 .run files will be identical.  There is no need
  301.    to reinstall.
  302.  
  303.  
  304. Q: Can I add my own precompiled kernel interfaces to a .run file?
  305.  
  306. A: Yes, the "--add-this-kernel" .run file option will unpack the .run
  307.    file, build a precompiled kernel interface for the currently running
  308.    kernel, and repackage the .run file, appending "-custom" to the file
  309.    name.  This may be useful, for example. if you administer multiple
  310.    Linux machines, each running the same kernel.
  311.  
  312.  
  313. Q: Where can I find the source code for the nvidia-installer utility?
  314.  
  315. A: The nvidia-installer utility is released under the
  316.    GPL.  The latest source code for it is available at:
  317.    ftp://download.nvidia.com/XFree86/nvidia-installer/
  318.  
  319.  
  320. NVIDIA-INSTALLER ACKNOWLEDGEMENTS
  321.  
  322. nvidia-installer was inspired by the loki_update tool:
  323. (http://www.lokigames.com/development/loki_update.php3.)
  324.  
  325. The ftp and http support in nvidia-installer is based upon snarf 7.0:
  326. (http://www.xach.com/snarf/).
  327.  
  328. The self-extracting archive (aka ".run file") is generated using
  329. makeself.sh: (http://www.megastep.org/makeself/)
  330.  
  331.  
  332. __________________________________________________________________________
  333.  
  334. (sec-03) EDITING YOUR X CONFIG FILE
  335. __________________________________________________________________________
  336.  
  337. In April of 2004, the X.org Foundation released an X server based on
  338. the XFree86 X server.  Many Linux distributions will use the X.org
  339. X server in the future, rather than XFree86.  The differences between
  340. the two X servers should have no impact on NVIDIA Linux users with
  341. two exceptions:
  342.  
  343.     1) The X.org configuration file name, though it uses the same syntax
  344.        as XFree86's XF86Config file, is called /etc/X11/xorg.conf;
  345.        this README refers generically to these configuration files as
  346.        "the X config file".
  347.  
  348.     2) The X.org log file, though its output is nearly identical
  349.        to the XFree86.0.log file, is called /var/log/Xorg.0.log; this
  350.        README refers generically to these files as "the X log file".
  351.  
  352.  
  353. When XFree86 4.0 was released, it used a slightly different XF86Config
  354. file syntax than the 3.x series did, and so to allow both 3.x and 4.x
  355. versions of XFree86 to co-exist on the same system, it was decided that
  356. XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4"
  357. if it existed, and only if that file did not exist would the file
  358. "/etc/X11/XF86Config" be used (actually, that is an over-simplification
  359. of the search criteria; please see the XF86Config man page for a
  360. complete description of the search path).  Please make sure you know
  361. what configuration file your X server is using.  If you are in doubt,
  362. look for a line beginning with "(==) Using config file:" in your X log
  363. file ("/var/log/XFree86.0.log" or "/var/log/Xorg.0.log").
  364.  
  365. If you do not have a working X config file, there are several ways
  366. to start: there is a sample config file that comes with XFree86,
  367. and there is a sample config file included with the NVIDIA driver
  368. package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/).
  369. You could also use a program like 'xf86config'; some distributions
  370. provide their own tool for generating an X config file.  For more
  371. on X config file syntax, please refer to the man page (`man XF86Config`,
  372. or `man xorg.conf`).
  373.  
  374. If you already have an X config file working with a different driver
  375. (such as the 'nv' or 'vesa' driver), then all you need to do is find
  376. the relevant Device section and replace the line:
  377.  
  378.         Driver "nv"
  379.     (or Driver "vesa")
  380.  
  381. with 
  382.  
  383.         Driver "nvidia"  
  384.  
  385. In the Module section, make sure you have:
  386.  
  387.         Load   "glx"
  388.  
  389. You should also remove the following lines:
  390.       
  391.         Load  "dri"
  392.         Load  "GLcore"
  393.  
  394. if they exist.  There are also numerous options that can be added to the
  395. X config file to fine-tune the NVIDIA X driver.  Please see Appendix D
  396. for a complete list of these options.
  397.  
  398. Once you have configured your X config file, you are ready to restart X
  399. and begin using the accelerated OpenGL libraries.  After you restart X,
  400. you should be able to run any OpenGL application and it will automatically
  401. use the new NVIDIA libraries.  If you encounter any problems, please
  402. see the FREQUENTLY ASKED QUESTIONS section below.
  403.  
  404.  
  405. __________________________________________________________________________
  406.  
  407. (sec-04) FREQUENTLY ASKED QUESTIONS
  408. __________________________________________________________________________
  409.  
  410.  
  411. Q: Where should I start when diagnosing display problems?
  412.  
  413. A: One of the most useful tools for diagnosing problems is the X
  414.    log file in /var/log (the file is named: "/var/log/XFree86.<#>.log" or
  415.    "/var/log/Xorg.<#>.log" where "<#>" is the server number -- usually 0).
  416.    Lines that begin with "(II)" are information, "(WW)" are warnings, and
  417.    "(EE)" are errors.  You should make sure that the correct config file
  418.    (ie the config file you are editing) is being used; look for the line
  419.    that begins with: "(==) Using config file:".  Also check that the
  420.    NVIDIA driver is being used, rather than the 'nv' or 'vesa' driver;
  421.    you can look for: "(II) LoadModule: "nvidia"", and lines from the
  422.    driver should begin with: "(II) NVIDIA(0)".
  423.  
  424.  
  425. Q: How can I increase the amount of data printed in the X log file?
  426.  
  427. A: By default, the NVIDIA X driver prints relatively few messages to
  428.    stderr and the X log file.  If you need to troubleshoot, then it may
  429.    be helpful to enable more verbose output by using the X command line
  430.    options "-verbose" and "-logverbose" which can be used to set the
  431.    verbosity level for the stderr and log file messages, respectively.
  432.    The NVIDIA X driver will output more messages when the verbosity
  433.    level is at or above 5 (X defaults to verbosity level 1 for stderr
  434.    and level 3 for the log file).  So, to enable verbose messaging from
  435.    the NVIDIA X driver to both the log file and stderr, you could start
  436.    X by doing the following: 'startx -- -verbose 5 -logverbose 5'.
  437.  
  438.  
  439. Q: My X server fails to start, and my X log file contains the error:
  440.  
  441.    "(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"
  442.  
  443. A: Nothing will work if the NVIDIA kernel module does not function
  444.    properly.  If you see anything in the X log file like "(EE)
  445.    NVIDIA(0): Failed to initialize the NVIDIA kernel module!" then
  446.    there is most likely a problem with the NVIDIA kernel module.
  447.    First, you should verify that if you installed from rpm that
  448.    the rpm was built specifically for the kernel you are using.
  449.    You should also check that the module is loaded ('/sbin/lsmod');
  450.    if it is not loaded try loading it explicitly with 'insmod' or
  451.    'modprobe' (be sure to exit the X server before installing a new
  452.    kernel module).  If you receive errors about unresolved symbols,
  453.    then the kernel module has most likely been built using header files
  454.    for a different kernel revision than what you are running.  You can
  455.    explicitly control what kernel header files are used when building
  456.    the NVIDIA kernel module with the --kernel-include-dir option (see
  457.    `sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --advanced-options`
  458.    for details).
  459.  
  460.    Please note that the convention for the location of kernel header
  461.    files changed approximately at the time of the 2.4.0 kernel release,
  462.    as did the location of kernel modules.  If the kernel module fails to
  463.    load properly, modprobe/insmod may be trying to load an older kernel
  464.    module (assuming you have upgraded).  cd'ing into the directory with
  465.    the new kernel module and doing 'insmod ./nvidia.o' may help.
  466.  
  467.    Another cause may be that the /dev/nvidia* device files may be missing.
  468.  
  469.    Finally, the NVIDIA kernel module may print error messages indicating
  470.    a problem -- to view these messages please check /var/log/messages, or
  471.    wherever syslog is directed to place kernel messages.  These messages
  472.    are prepended with "NVRM".
  473.  
  474.  
  475. Q: X starts for me, but OpenGL applications terminate immediately.
  476.  
  477. A: If X starts, but OpenGL causes problems, you most likely have a
  478.    problem with other libraries in the way, or there are stale symlinks.
  479.    See Appendix C for details.  Sometimes, all it takes is to rerun
  480.    'ldconfig'.
  481.  
  482.    You should also check that the correct extensions are present;
  483.    'xdpyinfo' should show the "GLX", "NV-GLX" and "NVIDIA-GLX" extensions
  484.    present.  If these three extensions are not present, then there
  485.    is most likely a problem with the glx module getting loaded or it
  486.    is unable to implicitly load GLcore.  Check your X config file and
  487.    make sure that you are loading glx (see "Editing Your X config File"
  488.    above). If your X config file is correct, then check the X log file
  489.    for warnings/errors pertaining to GLX.  Also check that all of the
  490.    necessary symlinks are in place (refer to Appendix C).
  491.  
  492.  
  493. Q: Installing the NVIDIA kernel module gives an error message like:
  494.         #error Modules should never use kernel-headers system headers
  495.         #error but headers from an appropriate kernel-source
  496.  
  497. A: You need to install the source for the Linux kernel.  In most
  498.    situations you can fix this problem by installing the kernel-source
  499.    package for your distribution
  500.  
  501.  
  502. Q: OpenGL applications exit with the following error message:
  503.  
  504.         Error: Could not open /dev/nvidiactl because the permissions
  505.         are too restrictive.  Please see the FREQUENTLY ASKED QUESTIONS
  506.         section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
  507.         to correct.
  508.  
  509. A: It is likely that a security module for the PAM system may be
  510.    changing the permissions on the NVIDIA device files.  In most cases
  511.    this security system works, but it can get confused.  To correct this
  512.    problem it is recommended that you disable this security feature.
  513.    Different Linux distributions have different files to control this;
  514.    please consult with your distributor for the correct method of
  515.    disabling this security feature.  As an example, if your system has
  516.    the file
  517.         /etc/security/console.perms
  518.    then you should edit the file and remove the line that starts with
  519.    "<dri>" (we have also received reports that additional references to
  520.    <dri> in console.perms must be removed, but this has not been verified
  521.    by NVIDIA).  If instead your system has the file
  522.         /etc/logindevperms
  523.    then you should edit the file and remove the line that lists
  524.    /dev/nvidiactl.  The above steps will prevent the PAM security system
  525.    from modifying the permissions on the NVIDIA device files.  Next,
  526.    you will need to reset the permissions on the device files back
  527.    to their original permissions and owner.  You can do that with the
  528.    following commands:
  529.         chmod 0666 /dev/nvidia* chown root /dev/nvidia*
  530.  
  531.  
  532. Q: OpenGL applications crash and print out the following warning:
  533.     
  534.         WARNING: Your system is running with a buggy dynamic loader.
  535.         This may cause crashes in certain applications.  If you
  536.         experience crashes you can try setting the environment
  537.         variable __GL_SINGLE_THREADED to 1.  For more information
  538.         please consult the FREQUENTLY ASKED QUESTIONS section in
  539.         the file /usr/share/doc/NVIDIA_GLX-1.0/README.
  540.  
  541. A: The dynamic loader on your system has a bug which will cause
  542.    applications linked with pthreads, and that dlopen() libGL multiple 
  543.    times, to crash.  This bug is present in older versions of the dynamic 
  544.    loader.  Distributions that shipped with this loader include but
  545.    are not limited to Red Hat Linux 6.2 and Mandrake Linux 7.1.  Version
  546.    2.2 and later of the dynamic loader are known to work properly.  If
  547.    the crashing application is single threaded then setting the environment 
  548.    variable __GL_SINGLE_THREADED to 1 will prevent the crash.
  549.    In the bash shell you would enter:
  550.         export __GL_SINGLE_THREADED=1
  551.    and in csh and derivatives use:
  552.         setenv __GL_SINGLE_THREADED 1
  553.    Previous releases of the NVIDIA Accelerated Linux Driver Set attempted
  554.    to work around this problem, however the workaround caused problems with
  555.    other applications and was removed after version 1.0-1541.
  556.  
  557.  
  558. Q: When I run Quake3, it crashes when changing video modes; what is wrong?
  559.  
  560. A: You are probably experiencing the problem described above.  Please
  561.    check the text output for the "WARNING" message describe in the
  562.    previous hint.  Setting __GL_SINGLE_THREADED to 1 as described
  563.    above, before running Quake3  will fix the problem.
  564.  
  565.  
  566. Q: My system runs, but seems unstable.  What is wrong?
  567.  
  568. A: Your stability problems may be AGP-related.  See Appendix F for
  569.    details.
  570.  
  571.  
  572. Q: The kernel module does not get loaded dynamically when X starts;
  573.    I always have to do 'modprobe nvidia' first.  What is wrong?
  574.  
  575. A: Make sure the line "alias char-major-195 nvidia" appears in
  576.    your module configuration file, generally one of "/etc/conf.modules",
  577.    "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation
  578.    that came with your distribution for details.
  579.  
  580.  
  581. Q: I cannot build the NVIDIA kernel module, or I can build the NVIDIA
  582.    kernel module, but modprobe/insmod fails to load the module into
  583.    my kernel.  What is wrong?
  584.  
  585. A: These problems are generally caused by the build using the wrong kernel
  586.    header files (ie header files for a different kernel version than
  587.    the one you are running).  The convention used to be that kernel
  588.    header files should be stored in "/usr/include/linux/", but that
  589.    is deprecated in favor of "/lib/modules/`uname -r`/build/include".
  590.    The nvidia-installer should be able to determine the location on your
  591.    system; however, if you encounter a problem you can force the build
  592.    to use certain header files by using the --kernel-include-dir option.
  593.    Obviously, for this to work, you need the appropriate kernel header
  594.    files installed on your system.  Consult the documentation that came
  595.    with your distribution; some distributions do not install the kernel
  596.    header files by default, or they install headers that do not coincide
  597.    properly with the kernel you are running.
  598.  
  599.  
  600. Q: Why do OpenGL applications run so slow?
  601.  
  602. A: The application is probably using a different library still on your
  603.    system, rather than the NVIDIA supplied OpenGL library.  Please see
  604.    APPENDIX C for details.
  605.  
  606.  
  607. Q: There are problems running Quake2.
  608.  
  609. A: Quake2 requires some minor setup to get it going.  First, in the Quake2
  610.    directory, the install creates a symlink called libGL.so that points
  611.    at libMesaGL.so.  This symlink should be removed or renamed.  Then,
  612.    to run Quake2 in OpenGL mode, you would type: 'quake2 +set vid_ref glx
  613.    +set gl_driver libGL.so'.  Quake2 does not seem to support any kind of
  614.    full-screen mode, but you can run your X server at whatever resolution
  615.    Quake2 runs at to emulate full-screen mode.
  616.  
  617.  
  618. Q: There are problems running Heretic II.
  619.  
  620. A: Heretic II also installs, by default, a symlink called libGL.so in
  621.    the application directory.  You can remove or rename this symlink, since
  622.    the system will then find the default libGL.so (which our
  623.    drivers install in /usr/lib).  From within Heretic II you
  624.    can then set your render mode to OpenGL in the video menu.
  625.    There is also a patch available to Heretic II from lokigames at:
  626.    http://www.lokigames.com/products/heretic2/updates.php3
  627.  
  628.  
  629. Q: Where can I get gl.h or glx.h so I can compile OpenGL programs?
  630.  
  631. A: Most systems come with these header files preinstalled.  However,
  632.    NVIDIA provides its own gl.h and glx.h files which get installed
  633.    in /usr/share/doc/NVIDIA_GLX-1.0/include/GL/.  To use these
  634.    files, either manually copy them into /usr/include/GL/,
  635.    or instruct the installer to install these files in
  636.    /usr/include/GL/ by passing the '--opengl-headers' option to the
  637.    NVIDIA-Linux-x86-1.0-6111-pkg1.run file during installation.
  638.  
  639.  
  640. Q: Can I receive email notification of new NVIDIA Accelerated Linux
  641.    Driver Set releases?
  642.  
  643. A: Yes.  Fill out the form at:
  644.    http://www.nvidia.com/view.asp?FO=driver_update
  645.  
  646.  
  647. Q: My system hangs when vt-switching if I have rivafb enabled.
  648.  
  649. A: Using both rivafb and the NVIDIA kernel module at the same time is
  650.    currently broken.  In general, using two independent software drivers
  651.    to drive the same piece of hardware is a bad idea.
  652.  
  653.  
  654. Q: Compiling the NVIDIA kernel module gives this error:
  655.  
  656.         You appear to be compiling the NVIDIA kernel module with
  657.         a compiler different from the one that was used to compile
  658.         the running kernel. This may be perfectly fine, but there
  659.         are cases where this can lead to unexpected behaviour and
  660.         system crashes.
  661.  
  662.         If you know what you are doing and want to override this
  663.         check, you can do so by setting IGNORE_CC_MISMATCH.
  664.  
  665.         In any other case, set the CC environment variable to the
  666.         name of the compiler that was used to compile the kernel.
  667.  
  668. A: You should compile the NVIDIA kernel module with the same compiler
  669.    version that was used to compile your kernel.  Some Linux kernel data
  670.    structures are dependent on the version of gcc used to compile it;
  671.    for example, in include/linux/spinlock.h:
  672.  
  673.         ...
  674.         * Most gcc versions have a nasty bug with empty initializers.
  675.         */
  676.         #if (__GNUC__ > 2)
  677.           typedef struct { } rwlock_t;
  678.           #define RW_LOCK_UNLOCKED (rwlock_t) { }
  679.         #else
  680.           typedef struct { int gcc_is_buggy; } rwlock_t;
  681.           #define RW_LOCK_UNLOCKED (rwlock_t) { 0 }
  682.         #endif
  683.  
  684.    If the kernel is compiled with gcc 2.x, but gcc 3.x is used when the
  685.    kernel interface is compiled (or vice versa), the size of rwlock_t
  686.    will vary, and things like ioremap will fail.
  687.  
  688.    To check what version of gcc was used to compile your kernel, you
  689.    can examine the output of:
  690.  
  691.         cat /proc/version
  692.  
  693.    To check what version of gcc is currently in your $PATH, you can
  694.    examine the output of:
  695.  
  696.         gcc -v
  697.  
  698.  
  699. Q: X fails with error "Failed to allocate LUT context DMA"
  700.  
  701. A: This is one of the possible consequences of compiling the NVIDIA
  702.    kernel interface with a different gcc version than used to compile
  703.    the Linux kernel (see above).
  704.  
  705.  
  706. Q: What is NVIDIA's policy towards development series Linux kernels?
  707.  
  708. A: NVIDIA does not officially support development series kernels.
  709.    However, all the kernel module source code that interfaces with the
  710.    Linux kernel is available in the usr/src/nv/ directory of the .run file.
  711.    NVIDIA encourages members of the Linux community to develop patches
  712.    to these source files to support development series kernels.  A google
  713.    search will most likely yield several community supported patches.
  714.  
  715.  
  716. Q: I recently updated various libraries on my system using my Linux
  717.    distributor's update utility, and the NVIDIA graphics driver no
  718.    longer works.  What is wrong?
  719.  
  720. A: Conflicting libraries may have been installed by your
  721.    distribution's update utility; please see APPENDIX C: INSTALLED
  722.    COMPONENTS for details on how to diagnose this.
  723.  
  724.  
  725. Q: `rpm --rebuild` gives an error "unknown option".
  726.  
  727. A: Recent versions of rpm no longer support the "--rebuild" option;
  728.    if you have such a version of rpm, you should instead use the command
  729.    `rpmbuild --rebuild`.  The `rpmbuild` executable is provided by the
  730.    rpm-build package.
  731.  
  732.  
  733. Q: I am using either nForce of nForce2 internal graphics, and I see
  734.    warnings like this in my X log file:
  735.  
  736.     Not using mode "1600x1200" (exceeds valid memory bandwidth usage)
  737.  
  738. A: Integrated graphics have stricter memory bandwidth limitations
  739.    that restrict the resolution and refresh rate of the modes you
  740.    request.  To work around this, you can reduce the maximum refresh
  741.    rate by lowering the upper value of the "VertRefresh" range in the
  742.    Monitor section of your X config file.  Though not recommended,
  743.    you can disable the memory bandwidth test with the "NoBandWidthTest"
  744.    X config file option.
  745.  
  746.  
  747. Q: I have rebuilt the NVIDIA kernel module, but when I try to insert
  748.    it, I get a message telling me I have unresolved symbols.
  749.  
  750. A. Unresolved symbols are most often caused by a mismatch between your
  751.    kernel sources and your running kernel.  They must match for the
  752.    NVIDIA kernel module to build correctly.  Please make sure your kernel
  753.    sources are installed and configured to match your running kernel.
  754.  
  755.  
  756. Q: How do I tell if I have my kernel sources installed?
  757.  
  758. A: If you are running on a distro that uses RPM (Red Hat, Mandrake, SuSE,
  759.    etc), then you can use RPM to tell you.  At a shell prompt, type:
  760.  
  761.     `rpm -qa | grep kernel`
  762.  
  763.    and look at the output.  You should see a package that corresponds
  764.    to your kernel (often named something like kernel-2.4.18-3)
  765.    and a kernel source package with the same version (often named
  766.    something like kernel-source-2.4.18-3).  If none of the lines seem
  767.    to correspond to a source package, then you will probably need to
  768.    install it.  If the versions listed mismatch (ex: kernel-2.4.18-10 vs.
  769.    kernel-source-2.4.18-3), then you will need to update the kernel-source
  770.    package to match the installed kernel.  If you have multiple kernels
  771.    installed, you need to install the kernel-source package that
  772.    corresponds to your *running* kernel (or make sure your installed
  773.    source package matches the running kernel).  You can do this by
  774.    looking at the output of 'uname -r' and matching versions.
  775.  
  776.  
  777. Q: Why am I unable to load the NVIDIA kernel module that I compiled
  778.    for the Red Hat Linux 7.3 2.4.18-3bigmem kernel?
  779.  
  780. A: The kernel header files Red Hat Linux distributes for Red Hat Linux 7.3
  781.    2.4.18-3bigmem kernel are misconfigured.  NVIDIA's precompiled kernel
  782.    module for this kernel can be loaded, but if you wish to compile the
  783.    NVIDIA kernel interface files yourself for this kernel, then you will
  784.    need to perform the following:
  785.  
  786.     cd /lib/modules/`uname -r`/build/
  787.     make mrproper
  788.     cp configs/kernel-2.4.18-i686-bigmem.config .config
  789.     make oldconfig dep
  790.  
  791.    Note: Red Hat Linux ships kernel header files that are simultaneously
  792.    configured for ALL of their kernels for a particular distribution
  793.    version.  A header file generated at boot time sets up a few parameters
  794.    that select the correct configuration.  Rebuilding the kernel headers
  795.    with the above commands will create header files suitable for the
  796.    Red Hat Linux 7.3 2.4.18-3bigmem kernel configuration only, thus trashing
  797.    the header files for the other configurations.
  798.  
  799.  
  800. Q: X takes a long time to start (possibly several minutes).  What can
  801.    I do?
  802.  
  803. A: Most of the startx delay problems we have found are caused by incorrect
  804.    data in video BIOSes about what display devices are possibly connected
  805.    or what i2c port should be used for detection.  You can work around
  806.    these problems with the X config option "IgnoreDisplayDevices"
  807.    (please see the description in (app-d) APPENDIX D: X CONFIG OPTIONS).
  808.  
  809.  
  810. Q: Why does X use so much memory?
  811.  
  812. A: When measuring any application's memory usage, you must be
  813.    careful to distinguish between physical system RAM used and virtual
  814.    mappings of shared resources.  For example, most shared libraries exist
  815.    only once in physical memory but are mapped into multiple processes.
  816.    This memory should only be counted once when computing total memory
  817.    usage.  In the same way, the video memory on a graphics card or
  818.    register memory on any device can be mapped into multiple processes.
  819.    These mappings do not consume normal system RAM.
  820.  
  821.    This has been a frequently discussed topic on XFree86 mailing
  822.    lists; see, for example:
  823.  
  824.     http://marc.theaimsgroup.com/?l=xfree-xpert&m=96835767116567&w=2
  825.  
  826.    The `pmap` utility described in the above thread and available here:
  827.  
  828.     http://web.hexapodia.org/~adi/pmap.c
  829.  
  830.    is a useful tool in distinguishing between types of memory mappings.
  831.    For example, while `top` may indicate that X is using several hundred
  832.    MB of memory, the last line of output from pmap:
  833.  
  834.     mapped:   287020 KB writable/private: 9932 KB shared: 264656 KB
  835.  
  836.    reveals that X is really only using roughly 10MB of system RAM
  837.    (the "writable/private" value).
  838.  
  839.    Note, also, that X must allocate resources on behalf of X clients (the
  840.    window manager, your web browser, etc); X's memory usage will increase
  841.    as more clients request resources such as pixmaps, and decrease as
  842.    you close X applications.
  843.  
  844.  
  845. Q: OpenGL applications leak significant amounts of memory on my system!
  846.  
  847. A: If your kernel is making use of the -rmap VM, the system may be leaking
  848.    memory due to a memory management optimization introduced in -rmap14a.
  849.    The -rmap VM has been adopted by several popular distributions, the
  850.    memory leak is known to be present in some of the distribution kernels;
  851.    it has been fixed in -rmap15e.
  852.  
  853.    If you suspect that your system is affected, please try upgrading your
  854.    kernel or contact the distribution's vendor for assistance.
  855.  
  856.  
  857. Q: Some OpenGL applications (like Quake3 Arena) crash when I start them
  858.    on Red Hat Linux 9.0.
  859.  
  860. A: Some versions of the glibc package shipped by Red Hat that support
  861.    TLS do not properly handle using dlopen() to access shared libraries
  862.    which utilize some TLS models.  This problem is exhibited, for example,
  863.    when Quake3 Area dlopen()'s NVIDIA's libGL library.  Please obtain
  864.    at least glibc-2.3.2-11.9 which is available as an update from Red Hat.
  865.  
  866.  
  867. Q: I have installed the driver, but my Enable 3D Acceleration checkbox
  868.    is still greyed out!  What did I do wrong?
  869.  
  870. A: Most distribution-provided configuration applets are not aware of
  871.    the NVIDIA accelerated driver, and consequently will not update
  872.    themselves when you install the driver.  Your driver, if it has been
  873.    installed properly, should function fine.
  874.  
  875.  
  876. Q: Where can I find the tarballs?
  877.  
  878. A: Plain tarballs are no longer available.  The .run file is a
  879.    tarball with a shell script prepended.  You can execute the .run
  880.    file with the '--extract-only' option to unpack the tarball.
  881.  
  882.  
  883. Q: Where can I find older driver versions?
  884.  
  885. A: Please visit ftp://download.nvidia.com/XFree86_40/.
  886.  
  887.  
  888. Q: X does not restore the vga console when run on a TV.  I get this
  889.    error message in my X log file:
  890.  
  891.     Unable to initialize the X int10 module; the console may not be
  892.     restored correctly on your TV.
  893.  
  894. A: The NVIDIA X driver uses the X Int10 module to save
  895.    and restore console state on TV out, and will not be able to restore
  896.    the console correctly if it cannot use the Int10 module.  If you
  897.    have built the X server yourself, please be sure you have built the
  898.    Int10 module.  If you are using a build of the X server provided by a
  899.    Linux distribution, and are missing the Int10 module, please contact
  900.    your distributor,
  901.  
  902.  
  903. Q: When changing settings in games like Quake 3 Arena, or Wolfstein
  904.    Enemy Territry, the game crashes and I see this error:
  905.  
  906.         ...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: 
  907.         /usr/lib/tls/libGL.so.1: shared object cannot be dlopen()ed:
  908.         static TLS memory too small
  909.  
  910. A: These games close and reopen the NVIDIA OpenGL driver (via
  911.    dlopen()/dlclose()) when settings are changed.  On some versions of
  912.    glibc (such as the one shipped with Red Hat Linux 9), there is a bug
  913.    that leaks static TLS entries.  This glibc bug causes subsequent
  914.    re-loadings of the OpenGL driver to fail.  This is fixed in more
  915.    recent versions of glibc; see Red Hat bug #89692:
  916.  
  917.         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89692
  918.  
  919.  
  920. Q: X crashes during `startx`, and my X log file contains this
  921.    error message:
  922.  
  923.     (EE) NVIDIA(0): Failed to obtain a shared memory identifier.
  924.  
  925. A: The NVIDIA OpenGL driver and the NVIDIA X driver require shared memory
  926.    to communicate; you must have CONFIG_SYSVIPC enabled in your kernel.
  927.  
  928.  
  929. Q: When I try to install the driver, the installer claims that X is
  930.    running, even though I have exited X.  What is wrong?
  931.  
  932. A: The installer detects the presence of an X server by checking for
  933.    X's lock files: /tmp/.X[n]-lock, where [n] is the number of the X
  934.    Display (the installer checks for X Displays 0-7).  If you have exited
  935.    X, but one of these files have been left behind, then you will need
  936.    to manually delete the lock file.  DO NOT remove this file is X is
  937.    still running.
  938.  
  939.  
  940. Q: Fonts are incorrectly sized after installing the NVIDIA driver.
  941.  
  942. A: Incorrectly sized fonts are generally caused by a monitor
  943.    reporting an incorrect physical size, which causes various X
  944.    applications to render fonts at the wrong size.  You can check what
  945.    X thinks the physical size of your monitor is, by running:
  946.  
  947.     xdpyinfo | grep dimensions
  948.  
  949.    This will report the size in pixels, and in millimeters.  If the
  950.    sizes in millimeters are drastically incorrect, then you can correct
  951.    this by adding the DisplaySize field to the monitor section of your
  952.    X config file (see the XF86Config or xorg.conf manpages for details).
  953.  
  954.    You can check what your monitor reports its physical size is by
  955.    running X with verbose logging: `startx -- -logverbose`.  Then,
  956.    search your X log file for a line that looks like:
  957.  
  958.     (II) NVIDIA(0): Max H-Image Size [cm]: horiz.: 36  vert.: 27
  959.  
  960.    (the numbers will be different)  The NVIDIA driver uses these
  961.    values to compute the DPI.
  962.  
  963.  
  964. Q: I want to use Valgrind with OpenGL applications, but my
  965.    distribution uses ELF TLS, and Valgrind cannot yet deal with NVIDIA's
  966.    ELF TLS OpenGL.
  967.  
  968. A: You can set the environment variable LD_ASSUME_KERNEL to something
  969.    below "2.3.99" (for example: `export LD_ASSUME_KERNEL 2.3.98`).
  970.  
  971.    NVIDIA's OpenGL libraries contain an OS ABI ELF note that indicates
  972.    the minimum kernel version that is required to use the library.
  973.    The ELF TLS OpenGL libraries have an OS ABI of 2.3.99 (the first
  974.    Linux kernel that contained the necessary LDT support for ELF TLS),
  975.    while the non ELF TLS OpenGL libraries contain an OS ABI of 2.2.5.
  976.  
  977.    The run-time loader will not load libraries with an OS ABI greater
  978.    than the current kernel version.  The LD_ASSUME_KERNEL environment
  979.    variable can be used to override the kernel version that the run-time 
  980.    loader uses in this test.
  981.  
  982.    By setting LD_ASSUME_KERNEL to any kernel version below 2.3.99,
  983.    you can force the loader to not use the ELF TLS OpenGL libraries,
  984.    and fall back to the regular OpenGL libraries.
  985.  
  986.    If, for some reason, you need to remove this OS ABI note from the
  987.    NVIDIA OpenGL libraries, you can do so by passing the .run file the
  988.    "--no-abi-note" option during installation.
  989.  
  990.  
  991. __________________________________________________________________________
  992.  
  993. (sec-05) CONTACTING US
  994. __________________________________________________________________________
  995.  
  996.  
  997. There is an NVIDIA Linux Driver web forum.  You can access it by going
  998. to www.nvnews.net and following the "Forum" and "Linux Discussion Area"
  999. links.  This is the preferable tool for seeking help; users can post
  1000. questions, answer other users' questions, and search the archives of
  1001. previous postings.
  1002.  
  1003. If all else fails, you can contact NVIDIA for support at:
  1004. linux-bugs@nvidia.com.  But please, only send email to this address
  1005. after you have followed the FREQUENTLY ASKED QUESTIONS section in this
  1006. README and asked for help on the nvnews.net web forum.  When emailing
  1007. linux-bugs@nvidia.com, please include the nvidia-bug-report.log file
  1008. generated by the nvidia-bug-report.sh script (which is installed as part
  1009. of driver installation).
  1010.  
  1011.  
  1012. __________________________________________________________________________
  1013.  
  1014. (sec-06) FURTHER RESOURCES
  1015. __________________________________________________________________________
  1016.  
  1017. Linux OpenGL ABI
  1018. http://oss.sgi.com/projects/ogl-sample/ABI/
  1019.  
  1020. NVIDIA Linux HowTo
  1021. http://www.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/index.html
  1022.  
  1023. OpenGL
  1024. www.opengl.org
  1025.  
  1026. The XFree86 Project
  1027. www.xfree86.org
  1028.  
  1029. #nvidia (irc.freenode.net)
  1030.  
  1031.  
  1032. __________________________________________________________________________
  1033.  
  1034. (app-a) APPENDIX A: SUPPORTED NVIDIA GRAPHICS CHIPS
  1035. __________________________________________________________________________
  1036.  
  1037.   NVIDIA CHIP NAME                     DEVICE PCI ID
  1038.  
  1039.   RIVA TNT                             0x0020
  1040.   RIVA TNT2/TNT2 Pro                   0x0028
  1041.   RIVA TNT2 Ultra                      0x0029
  1042.   Vanta/Vanta LT                       0x002C
  1043.   RIVA TNT2 Model 64/Model 64 Pro      0x002D
  1044.   Aladdin TNT2                         0x00A0
  1045.   GeForce 256                          0x0100
  1046.   GeForce DDR                          0x0101
  1047.   Quadro                               0x0103
  1048.   GeForce2 MX/MX 400                   0x0110
  1049.   GeForce2 MX 100/200                  0x0111
  1050.   GeForce2 Go                          0x0112
  1051.   Quadro2 MXR/EX/Go                    0x0113
  1052.   GeForce2 GTS/GeForce2 Pro            0x0150
  1053.   GeForce2 Ti                          0x0151
  1054.   GeForce2 Ultra                       0x0152
  1055.   Quadro2 Pro                          0x0153
  1056.   GeForce4 MX 460                      0x0170
  1057.   GeForce4 MX 440                      0x0171
  1058.   GeForce4 MX 420                      0x0172
  1059.   GeForce4 MX 440-SE                   0x0173
  1060.   GeForce4 440 Go                      0x0174
  1061.   GeForce4 420 Go                      0x0175
  1062.   GeForce4 420 Go 32M                  0x0176
  1063.   GeForce4 460 Go                      0x0177
  1064.   Quadro4 550 XGL                      0x0178
  1065.   GeForce4 440 Go 64M                  0x0179
  1066.   Quadro NVS                           0x017A
  1067.   Quadro4 500 GoGL                     0x017C
  1068.   GeForce4 410 Go 16M                  0x017D
  1069.   GeForce4 MX 440 with AGP8X           0x0181
  1070.   GeForce4 MX 440SE with AGP8X         0x0182
  1071.   GeForce4 MX 420 with AGP8X           0x0183
  1072.   GeForce4 MX 4000                     0x0185
  1073.   Quadro4 580 XGL                      0x0188
  1074.   Quadro NVS with AGP8X                0x018A
  1075.   Quadro4 380 XGL                      0x018B
  1076.   GeForce2 Integrated GPU              0x01A0
  1077.   GeForce4 MX Integrated GPU           0x01F0
  1078.   GeForce3                             0x0200
  1079.   GeForce3 Ti 200                      0x0201
  1080.   GeForce3 Ti 500                      0x0202
  1081.   Quadro DCC                           0x0203
  1082.   GeForce4 Ti 4600                     0x0250
  1083.   GeForce4 Ti 4400                     0x0251
  1084.   GeForce4 Ti 4200                     0x0253
  1085.   Quadro4 900 XGL                      0x0258
  1086.   Quadro4 750 XGL                      0x0259
  1087.   Quadro4 700 XGL                      0x025B
  1088.   GeForce4 Ti 4800                     0x0280
  1089.   GeForce4 Ti 4200 with AGP8X          0x0281
  1090.   GeForce4 Ti 4800 SE                  0x0282
  1091.   GeForce4 4200 Go                     0x0286
  1092.   Quadro4 980 XGL                      0x0288
  1093.   Quadro4 780 XGL                      0x0289
  1094.   Quadro4 700 GoGL                     0x028C
  1095.   GeForce FX 5800 Ultra                0x0301
  1096.   GeForce FX 5800                      0x0302
  1097.   Quadro FX 2000                       0x0308
  1098.   Quadro FX 1000                       0x0309
  1099.   GeForce FX 5600 Ultra                0x0311
  1100.   GeForce FX 5600                      0x0312
  1101.   GeForce FX 5600XT                    0x0314
  1102.   GeForce FX Go5600                    0x031A
  1103.   GeForce FX Go5650                    0x031B
  1104.   Quadro FX Go700                      0x031C
  1105.   GeForce FX 5200                      0x0320
  1106.   GeForce FX 5200 Ultra                0x0321
  1107.   GeForce FX 5200                      0x0322
  1108.   GeForce FX 5200LE                    0x0323
  1109.   GeForce FX Go5200                    0x0324
  1110.   GeForce FX Go5250                    0x0325
  1111.   GeForce FX 5500                      0x0326
  1112.   GeForce FX 5100                      0x0327
  1113.   GeForce FX Go5200 32M/64M            0x0328
  1114.   Quadro NVS 280 PCI                   0x032A
  1115.   Quadro FX 500/600 PCI                0x032B
  1116.   GeForce FX Go53xx                    0x032C
  1117.   GeForce FX Go5100                    0x032D
  1118.   GeForce FX 5900 Ultra                0x0330
  1119.   GeForce FX 5900                      0x0331
  1120.   GeForce FX 5900XT                    0x0332
  1121.   GeForce FX 5950 Ultra                0x0333
  1122.   GeForce FX 5900ZT                    0x0334
  1123.   Quadro FX 3000                       0x0338
  1124.   Quadro FX 700                        0x033F
  1125.   GeForce FX 5700 Ultra                0x0341
  1126.   GeForce FX 5700                      0x0342
  1127.   GeForce FX 5700LE                    0x0343
  1128.   GeForce FX 5700VE                    0x0344
  1129.   GeForce FX Go5700                    0x0347
  1130.   GeForce FX Go5700                    0x0348
  1131.   Quadro FX Go1000                     0x034C
  1132.   Quadro FX 1100                       0x034E
  1133.   GeForce 6800 Ultra                   0x0040
  1134.   GeForce 6800                         0x0041
  1135.   GeForce 6800 GT                      0x0045
  1136.   Quadro FX 4000                       0x004E
  1137.   GeForce 6800/GeForce 6800 Ultra      0x00F0
  1138.   Quadro FX 3400                       0x00F8
  1139.   GeForce 6800 Ultra                   0x00F9
  1140.   GeForce PCX 5750                     0x00FA
  1141.   GeForce PCX 5900                     0x00FB
  1142.   Quadro FX 330/GeForce PCX 5300       0x00FC
  1143.   Quadro NVS 280 PCI-E/Quadro FX 330   0x00FD
  1144.   Quadro FX 1300                       0x00FE
  1145.   GeForce PCX 4300                     0x00FF
  1146.  
  1147.  
  1148. __________________________________________________________________________
  1149.  
  1150. (app-b) APPENDIX B: MINIMUM SOFTWARE REQUIREMENTS
  1151. __________________________________________________________________________
  1152.  
  1153.   o linux kernel     2.2.12   # cat /proc/version
  1154.   o XFree86          4.0.1    # XFree86 -version, or
  1155.     Xorg             6.7      # Xorg -version
  1156.   o Kernel modutils  2.1.121  # insmod -V
  1157.  
  1158.     If you need to build the NVIDIA kernel module:
  1159.  
  1160.   o binutils         2.9.5    # size --version
  1161.   o GNU make         3.77     # make --version
  1162.   o gcc              2.91.66  # gcc --version
  1163.   o glibc            2.0      # /lib/libc.so.6
  1164.  
  1165.     If you build from source rpms:
  1166.  
  1167.   o spec-helper rpm           # rpm -qi spec-helper
  1168.  
  1169. All official stable kernel releases from 2.2.12 and up are supported;
  1170. "prerelease" versions such as "2.4.3-pre2" are not supported, nor are
  1171. development series kernels such as 2.3.x or 2.5.x.  The linux kernel
  1172. can be downloaded from www.kernel.org or one of its mirrors.
  1173.  
  1174. binutils and gcc can be retrieved from www.gnu.org or one of its mirrors.
  1175.  
  1176. If you are using XFree86, but do not have a file /var/log/XFree86.0.log,
  1177. then you probably have a 3.x version of XFree86 and must upgrade.
  1178.  
  1179. If you are setting up XFree86 4.x for the first time, it is often easier
  1180. to begin with one of the open source drivers that ships with XFree86
  1181. (either 'nv', 'vga' or 'vesa').  Once XFree86 is operating properly with
  1182. the open source driver, then it is easier to switch to the nvidia driver.
  1183.  
  1184. Note that newer NVIDIA GPUs may not work with older versions of the "nv"
  1185. driver shipped with XFree86.  For example, the "nv" driver that shipped
  1186. with XFree86 version 4.0.1 did not recognize the GeForce2 family and
  1187. the Quadro2 MXR GPUs.  However, this was fixed in XFree86 version 4.0.2
  1188. (XFree86 can be retrieved from www.xfree86.org).
  1189.  
  1190. These software packages may also be available through your linux
  1191. distributor.
  1192.  
  1193.  
  1194. __________________________________________________________________________
  1195.  
  1196. (app-c) APPENDIX C: INSTALLED COMPONENTS
  1197. __________________________________________________________________________
  1198.  
  1199. The NVIDIA Accelerated Linux Driver Set consists of the following
  1200. components (the file in parenthesis is the full name of the component
  1201. after installation; "x.y.z" denotes the current version -- in these
  1202. cases appropriate symlinks are created during installation):
  1203.  
  1204.   o An X driver (/usr/X11R6/lib/modules/drivers/nvidia_drv.o);
  1205.     this driver is needed by the X server to use your NVIDIA hardware.
  1206.     The nvidia_drv.o driver is binary compatible with XFree86 4.0.1 and
  1207.     greater, as well as the Xorg X server.
  1208.  
  1209.   o A GLX extension module for X
  1210.     (/usr/X11R6/lib/modules/extensions/libglx.so.x.y.z); this module is
  1211.     used by the X server to provide server-side glx support.
  1212.  
  1213.   o An OpenGL library (/usr/lib/libGL.so.x.y.z); this library
  1214.     provides the API entry points for all OpenGL and GLX function calls.
  1215.     It is linked to at run-time by OpenGL applications.
  1216.  
  1217.   o An OpenGL core library (/usr/lib/libGLcore.so.x.y.z); this
  1218.     library is implicitly used by libGL and by libglx.  It contains the
  1219.     core accelerated 3D functionality.  You should not explicitly load
  1220.     it in your X config file -- that is taken care of by libglx.
  1221.  
  1222.   o Two XvMC (X-Video Motion Compensation) libraries: a static library
  1223.     and a shared library (/usr/X11R6/lib/libXvMCNVIDIA.a,
  1224.     /usr/X11R6/lib/libXvMCNVIDIA.so.x.y.z); please see (app-p) APPENDIX P:
  1225.     XVMC SUPPORT for details.
  1226.  
  1227.   o A kernel module (/lib/modules/`uname -r`/video/nvidia.o
  1228.     or /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o); this
  1229.     kernel module provides low-level access to your NVIDIA hardware for
  1230.     all of the above components.  It is generally loaded into the kernel
  1231.     when the X server is started, and is used by the X driver and OpenGL.
  1232.     nvidia.o consists of two pieces: the binary-only core, and a kernel
  1233.     interface that must be compiled specifically for your kernel version.
  1234.     Note that the linux kernel does not have a consistent binary interface
  1235.     like the X server, so it is important that this kernel interface be
  1236.     matched with the version of the kernel that you are using.  This can
  1237.     either be accomplished by compiling yourself, or using precompiled
  1238.     binaries provided for the kernels shipped with some of the more
  1239.     common linux distributions.
  1240.  
  1241.   o OpenGL and GLX header files
  1242.     (/usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h, and
  1243.     /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h); these files can also
  1244.     be installed in /usr/include/GL/ by passing the "--opengl-headers"
  1245.     option to the .run file during installation.
  1246.  
  1247.   o The nvidia-tls libraries (/usr/lib/libnvidia-tls.so.x.y.z and
  1248.     /usr/lib/tls/libnvidia-tls.so.x.y.z); these files provide thread
  1249.     local storage support for the NVIDIA OpenGL libraries (libGL,
  1250.     libGLcore, and libglx).  Each nvidia-tls library provides support
  1251.     for a particular thread local storage model (such as ELF TLS),
  1252.     and the one appropriate for your system will be loaded at run time.
  1253.  
  1254.   o The application nvidia-installer (/usr/bin/nvidia-installer) is
  1255.     NVIDIA's tool for installing and updating NVIDIA drivers.  Please see
  1256.     (sec-02) INSTALLING THE NVIDIA DRIVER for a more thorough description.
  1257.  
  1258.  
  1259. Problems will arise if applications use the wrong version of a library.
  1260. This can be the case if there are either old libGL libraries or stale
  1261. symlinks left lying around.  If you think there may be something awry
  1262. in your installation, check that the following files are in place
  1263. (these are all the files of the NVIDIA Accelerated Linux Driver Set,
  1264. plus their symlinks):
  1265.  
  1266.         /usr/X11R6/lib/modules/drivers/nvidia_drv.o
  1267.  
  1268.         /usr/X11R6/lib/modules/extensions/libglx.so.x.y.z
  1269.         /usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.x.y.z
  1270.  
  1271.         /usr/lib/libGL.so.x.y.z
  1272.         /usr/lib/libGL.so.x -> libGL.so.x.y.z
  1273.         /usr/lib/libGL.so -> libGL.so.x
  1274.  
  1275.         /usr/lib/libGLcore.so.x.y.z
  1276.         /usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z
  1277.  
  1278.         /lib/modules/`uname -r`/video/nvidia.o, or
  1279.         /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o
  1280.  
  1281. Installation will also create the /dev files:
  1282.  
  1283.         crw-rw-rw-    1 root     root     195,   0 Feb 15 17:21 nvidia0
  1284.         crw-rw-rw-    1 root     root     195,   1 Feb 15 17:21 nvidia1
  1285.         crw-rw-rw-    1 root     root     195,   2 Feb 15 17:21 nvidia2
  1286.         crw-rw-rw-    1 root     root     195,   3 Feb 15 17:21 nvidia3
  1287.         crw-rw-rw-    1 root     root     195, 255 Feb 15 17:21 nvidiactl
  1288.  
  1289. If there are other libraries whose "soname" conflicts with that of
  1290. the NVIDIA libraries, ldconfig may create the wrong symlinks.  It is
  1291. recommended that you manually remove or rename conflicting libraries
  1292. (be sure to rename clashing libraries to something that ldconfig will
  1293. not look at -- we have found that prepending "XXX" to a library name
  1294. generally does the trick), rerun 'ldconfig', and check that the correct
  1295. symlinks were made.  Some libraries that often create conflicts are
  1296. "/usr/X11R6/lib/libGL.so*" and "/usr/X11R6/lib/libGLcore.so*".
  1297.  
  1298. If the libraries checks out, then verify that the application is using
  1299. the correct libraries.  For example, to check that the application
  1300. /usr/X11R6/bin/gears is using the NVIDIA libraries, you would do:
  1301.  
  1302. $ ldd /usr/X11R6/bin/gears
  1303.         libglut.so.3 => /usr/lib/libglut.so.3 (0x40014000)
  1304.         libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40046000)
  1305.         libGL.so.1 => /usr/lib/libGL.so.1 (0x40062000)
  1306.         libc.so.6 => /lib/libc.so.6 (0x4009f000)
  1307.         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4018d000)
  1308.         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40196000)
  1309.         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401ac000)
  1310.         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401c0000)
  1311.         libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x401cd000)
  1312.         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d6000)
  1313.         libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402ab000)
  1314.         libm.so.6 => /lib/libm.so.6 (0x4048d000)
  1315.         libdl.so.2 => /lib/libdl.so.2 (0x404a9000)
  1316.         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
  1317.         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x404ac000)
  1318.  
  1319. Note the files being used for libGL and libGLcore -- if they are something
  1320. other than the NVIDIA libraries, then you will need to either remove the
  1321. libraries that are getting in the way, or adjust your ld search path.
  1322. If any of this seems foreign to you, then you may want to read the man
  1323. pages for "ldconfig" and "ldd" for pointers.
  1324.  
  1325.  
  1326. __________________________________________________________________________
  1327.  
  1328. (app-d) APPENDIX D: X CONFIG OPTIONS
  1329. __________________________________________________________________________
  1330.  
  1331. The following driver options are supported by the NVIDIA X driver.
  1332. They may be specified either in the Screen or Device sections of the X
  1333. config file.
  1334.  
  1335.         Option "NvAGP" "integer"
  1336.                 Configure AGP support. Integer argument can be one of:
  1337.                 0 : disable agp 
  1338.                 1 : use NVIDIA's internal AGP support, if possible 
  1339.                 2 : use AGPGART, if possible 
  1340.                 3 : use any agp support (try AGPGART, then NVIDIA's AGP) 
  1341.                 Please note that NVIDIA's internal AGP support cannot
  1342.                 work if AGPGART is either statically compiled into your
  1343.                 kernel or is built as a module, but loaded into your
  1344.                 kernel (some distributions load AGPGART into the kernel
  1345.                 at boot up).  Default: 3 (the default was 1 until after
  1346.                 1.0-1251).
  1347.  
  1348.         Option "NoLogo" "boolean"
  1349.                 Disable drawing of the NVIDIA logo splash screen at
  1350.                 X startup.  Default: the logo is drawn.
  1351.  
  1352.         Option "RenderAccel" "boolean"
  1353.                 Enable or disable hardware acceleration of the RENDER
  1354.                 extension.  THIS OPTION IS EXPERIMENTAL.  ENABLE IT AT YOUR
  1355.                 OWN RISK.  There is no correctness test suite for the
  1356.                 RENDER extension so NVIDIA can not verify that RENDER
  1357.                 acceleration works correctly.   Default: hardware 
  1358.                 acceleration of the RENDER extension is disabled.
  1359.  
  1360.         Option "NoRenderExtension" "boolean"
  1361.                 Disable the RENDER extension.  Other than recompiling
  1362.                 the X-server, XFree86 does not seem to have another way of
  1363.                 disabling this.  Fortunatly, we can control this from the
  1364.                 driver so we export this option.  This is useful in depth
  1365.                 8 where RENDER would normally steal most of the default
  1366.                 colormap. Default: RENDER is offered when possible.
  1367.  
  1368.         Option "UBB" "boolean"
  1369.                 Enable or disable Unified Back Buffer on any Quadro
  1370.                 based GPUs (Quadro4 NVS excluded); please see
  1371.                 Appendix M for a description of UBB.  This option has
  1372.                 no affect on non-Quadro chipsets.  Default: UBB is on
  1373.                 for Quadro chipsets.
  1374.  
  1375.         Option "NoFlip" "boolean"
  1376.                 Disable OpenGL flipping; please see Appendix M for
  1377.                 a description.  Default: OpenGL will swap by flipping
  1378.                 when possible.
  1379.  
  1380.         Option "DigitalVibrance" "integer"
  1381.                 Enables Digital Vibrance Control.  The range of valid
  1382.                 values are 0 through 255.  This feature is not available
  1383.                 on products older than GeForce2.  Default: 0.
  1384.  
  1385.         Option "Dac8Bit" "boolean"
  1386.                 Most Quadro parts by default use a 10 bit color look
  1387.                 up table (LUT) by default; setting this option to TRUE forces
  1388.                 these graphics chips to use an 8 bit (LUT).  Default:
  1389.                 a 10 bit LUT is used, when available.
  1390.  
  1391.         Option "Overlay" "boolean"
  1392.                 Enables RGB workstation overlay visuals.  This is only
  1393.                 supported on Quadro4 and Quadro FX chips (Quadro4 NVS
  1394.                 excluded) in depth 24.  This option causes the server to
  1395.                 advertise the SERVER_OVERLAY_VISUALS root window property
  1396.                 and GLX will report single and double buffered, Z-buffered
  1397.                 16 bit overlay visuals.  The transparency key is pixel
  1398.                 0x0000 (hex).  There is no gamma correction support in
  1399.                 the overlay plane.  This feature requires XFree86 version
  1400.                 4.1.0 or newer (or the Xorg X server).  NV17/18 based
  1401.                 Quadros (ie. 500/550 XGL) have additional restrictions,
  1402.                 namely, overlays are not supported in TwinView mode
  1403.                 or with virtual desktops larger than 2046x2047 in any
  1404.                 dimension (eg.  it will not work in 2048x1536 modes).
  1405.                 Quadro 7xx/9xx and Quadro FX will offer overlay visuals
  1406.                 in these modes (TwinView, or virtual desktops larger
  1407.                 than 2046x2047), but the overlay will be emulated with
  1408.                 a substantial performance penalty.  Default: off.
  1409.  
  1410.         Option "CIOverlay" "boolean"
  1411.                 Enables Color Index workstation overlay visuals with
  1412.                 identical restrictions to Option "Overlay" above.
  1413.                 The server will offer visuals both with and without a
  1414.                 transparency key.  These are depth 8 PseudoColor visuals.
  1415.                 Enabling Color Index overlays on X servers older than
  1416.                 XFree86 4.3 will force the RENDER extension to be disabled
  1417.                 due to bugs in the RENDER extension in older X servers.
  1418.                 Default: off.
  1419.  
  1420.         Option "TransparentIndex" "integer"
  1421.                 When color index overlays are enabled, use this option
  1422.                 to choose which pixel is used for the transparent pixel
  1423.                 in visuals featuring transparent pixels.  This value
  1424.                 is clamped between 0 and 255 (Note: some applications
  1425.                 such as Alias/Wavefront's Maya require this to be zero
  1426.                 in order to work correctly).  Default: 0.
  1427.  
  1428.         Option "OverlayDefaultVisual" "boolean"
  1429.                 When overlays are used, this option sets the default
  1430.                 visual to an overlay visual thereby putting the root
  1431.                 window in the overlay.  This option is not recommended
  1432.                 for RGB overlays.  Default: off.
  1433.  
  1434.         Option "SWCursor" "boolean"
  1435.                 Enable or disable software rendering of the X cursor.
  1436.                 Default: off.
  1437.  
  1438.         Option "HWCursor" "boolean"
  1439.                 Enable or disable hardware rendering of the X cursor.
  1440.                 Default: on.
  1441.  
  1442.         Option "CursorShadow" "boolean" Enable or disable use of a
  1443.                 shadow with the hardware accelerated cursor; this is a
  1444.                 black translucent replica of your cursor shape at a
  1445.                 given offset from the real cursor.  This option is
  1446.                 only available on GeForce2 or better hardware (ie
  1447.                 everything but TNT/TNT2, GeForce 256, GeForce DDR and
  1448.                 Quadro).  Default: no cursor shadow.
  1449.  
  1450.         Option "CursorShadowAlpha" "integer"
  1451.                 The alpha value to use for the cursor shadow; only
  1452.                 applicable if CursorShadow is enabled.  This value must
  1453.                 be in the range [0, 255] -- 0 is completely transparent;
  1454.                 255 is completely opaque.  Default: 64.
  1455.  
  1456.         Option "CursorShadowXOffset" "integer"
  1457.                 The offset, in pixels, that the shadow image will be
  1458.                 shifted to the right from the real cursor image; only
  1459.                 applicable if CursorShadow is enabled.  This value must
  1460.                 be in the range [0, 32].  Default: 4.
  1461.  
  1462.         Option "CursorShadowYOffset" "integer"
  1463.                 The offset, in pixels, that the shadow image will be
  1464.                 shifted down from the real cursor image; only applicable
  1465.                 if CursorShadow is enabled.  This value must be in the
  1466.                 range [0, 32].  Default: 2.
  1467.  
  1468.         Option "ConnectedMonitor" "string"
  1469.                 Allows you to override what the NVIDIA kernel module
  1470.                 detects is connected to your video card.  This may
  1471.                 be useful, for example, if you use a KVM (keyboard,
  1472.                 video, mouse) switch and you are switched away when
  1473.                 X is started.  In such a situation, the NVIDIA kernel
  1474.                 module cannot detect what display devices are connected,
  1475.                 and the NVIDIA X driver assumes you have a single CRT.
  1476.  
  1477.                 Valid values for this option are "CRT" (cathode ray
  1478.                 tube), "DFP" (digital flat panel), or "TV" (television);
  1479.                 if using TwinView, this option may be a comma-separated
  1480.                 list of display devices; e.g.: "CRT, CRT" or "CRT, DFP".
  1481.  
  1482.                 NOTE: anything attached to a 15 pin VGA connector is
  1483.                 regarded by the driver as a CRT.  "DFP" should only be
  1484.                 used to refer to flatpanels connected via a DVI port.
  1485.  
  1486.                 Default: string is NULL.
  1487.  
  1488.         Option "UseEdidFreqs" "boolean"
  1489.                 This option causes the X server to use the HorizSync
  1490.                 and VertRefresh ranges given in a display device's EDID,
  1491.                 if any.  EDID provided range information will override
  1492.                 the HorizSync and VertRefresh ranges specified in the
  1493.                 Monitor section.  If a display device does not provide an
  1494.                 EDID, or the EDID does not specify an hsync or vrefresh
  1495.                 range, then the X server will default to the HorizSync
  1496.                 and VertRefresh ranges specified in the Monitor section.
  1497.  
  1498.         Option "IgnoreEDID" "boolean"
  1499.                 Disable probing of EDID (Extended Display Identification
  1500.                 Data) from your monitor.  Requested modes are compared
  1501.                 against values gotten from your monitor EDIDs (if any)
  1502.                 during mode validation.  Some monitors are known to lie
  1503.                 about their own capabilities.  Ignoring the values that
  1504.                 the monitor gives may help get a certain mode validated.
  1505.                 On the other hand, this may be dangerous if you do not
  1506.                 know what you are doing.  Default: Use EDIDs.
  1507.  
  1508.         Option "NoDDC" "boolean"
  1509.                 Synonym for "IgnoreEDID"
  1510.  
  1511.         Option "FlatPanelProperties" "string"
  1512.                 Requests particular properties of any connected flat
  1513.                 panels as a comma-separated list of property=value pairs.
  1514.                 Currently, the only two available properties are 'Scaling'
  1515.                 and 'Dithering'.   The possible values for 'Scaling' are:
  1516.                 'default' (the driver will use whatever scaling state
  1517.                 is current), 'native' (the driver will use the flat
  1518.                 panel's scaler, if it has one), 'scaled' (the driver
  1519.                 will use the NVIDIA scaler, if possible), 'centered'
  1520.                 (the driver will center the image, if possible),
  1521.                 and 'aspect-scaled' (the driver will scale with the
  1522.                 NVIDIA scaler, but keep the aspect ratio correct).
  1523.                 The possible values for 'Dithering' are: 'default'
  1524.                 (the driver will decide when to dither), 'enabled' (the
  1525.                 driver will always dither when possible), and 'disabled'
  1526.                 (the driver will never dither).  If any property is not
  1527.                 specified, it's value shall be 'default'.  An example
  1528.                 properties string might look like:
  1529.  
  1530.                 "Scaling = centered, Dithering = enabled"
  1531.  
  1532.         Option "UseInt10Module" "boolean"
  1533.                 Enable use of the X Int10 module to soft-boot all
  1534.                 secondary cards, rather than POSTing the cards through
  1535.                 the NVIDIA kernel module.  Default: off (POSTing is done
  1536.                 through the NVIDIA kernel module).
  1537.  
  1538.         Option "TwinView" "boolean"
  1539.                 Enable or disable TwinView.  Please see APPENDIX I for
  1540.                 details. Default: TwinView is disabled.
  1541.  
  1542.         Option "TwinViewOrientation" "string"
  1543.                 Controls the relationship between the two display devices
  1544.                 when using TwinView.  Takes one of the following values:
  1545.                 "RightOf" "LeftOf" "Above" "Below" "Clone".  Please see
  1546.                 APPENDIX I for details. Default: string is NULL.
  1547.  
  1548.         Option "SecondMonitorHorizSync" "range(s)"
  1549.                 This option is like the HorizSync entry in the Monitor
  1550.                 section, but is for the second monitor when using
  1551.                 TwinView.  Please see APPENDIX I for details. Default:
  1552.                 none.
  1553.  
  1554.         Option "SecondMonitorVertRefresh" "range(s)"
  1555.                 This option is like the VertRefresh entry in the Monitor
  1556.                 section, but is for the second monitor when using
  1557.                 TwinView.  Please see APPENDIX I for details. Default:
  1558.                 none.
  1559.  
  1560.         Option "MetaModes" "string"
  1561.                 This option describes the combination of modes to use
  1562.                 on each monitor when using TwinView. Please see APPENDIX
  1563.                 I for details. Default: string is NULL.
  1564.  
  1565.         Option "NoTwinViewXineramaInfo" "boolean"
  1566.                 When in TwinView, the NVIDIA X driver normally provides
  1567.                 a Xinerama extension that X clients (such as window
  1568.                 managers) can use to to discover the current TwinView
  1569.                 configuration.  Some window mangers can get confused by
  1570.                 this information, so this option is provided to disable
  1571.                 this behavior.  Default: TwinView Xinerama information
  1572.                 is provided.
  1573.  
  1574.         Option "TVStandard" "string"
  1575.                 Please see (app-j)  APPENDIX J: CONFIGURING TV-OUT.
  1576.  
  1577.         Option "TVOutFormat" "string"
  1578.                 Please see (app-j)  APPENDIX J: CONFIGURING TV-OUT.
  1579.  
  1580.         Option "TVOverScan" "Decimal value in the range 0.0 to 1.0"
  1581.                 Valid values are in the range 0.0 through 1.0; please see
  1582.                 (app-j)  APPENDIX J: CONFIGURING TV-OUT.
  1583.  
  1584.         Option "Stereo" "integer"
  1585.                 Enable offering of quad-buffered stereo visuals on Quadro.
  1586.                 Integer indicates the type of stereo glasses being used:
  1587.  
  1588.                 1 - DDC glasses.  The sync signal is sent to the glasses
  1589.                     via the DDC signal to the monitor.  These usually
  1590.                     involve a passthrough cable between the monitor and
  1591.                     video card.
  1592.  
  1593.                 2 - "Blueline" glasses.  These usually involve
  1594.                     a passthrough cable between the monitor and video
  1595.                     card.  The glasses know which eye to display based
  1596.                     on the length of a blue line visible at the bottom
  1597.                     of the screen.  When in this mode, the root window
  1598.                     dimensions are one pixel shorter in the Y dimension
  1599.                     than requested.  This mode does not work with virtual
  1600.                     root window sizes larger than the visible root window
  1601.                     size (desktop panning).
  1602.  
  1603.                 3 - Onboard stereo support.  This is usually only found
  1604.                     on professional cards.  The glasses connect via a
  1605.                     DIN connector on the back of the video card.
  1606.  
  1607.                 4 - TwinView clone mode stereo (aka "passive" stereo).
  1608.                     On video cards that support TwinView, the left eye
  1609.                     is displayed on the first display, and the right
  1610.                     eye is displayed on the second display.  This is
  1611.                     normally used in conjuction with special projectors
  1612.                     to produce 2 polarized images which are then viewed
  1613.                     with polarized glasses.  To use this stereo mode,
  1614.                     you must also configure TwinView in clone mode with
  1615.                     the same resolution, panning offset, and panning
  1616.                     domains on each display.
  1617.  
  1618.                 Stereo is only available on Quadro cards.  Stereo
  1619.                 options 1, 2, and 3 (aka "active" stereo) may be used
  1620.                 with TwinView if all modes within each metamode have
  1621.                 identical timing values.  Please see (app-l)  APPENDIX
  1622.                 L: PROGRAMMING MODES for suggestions on making sure the
  1623.                 modes within your metamodes are identical.  The identical
  1624.                 modeline requirement is not necessary for Stereo option 4
  1625.                 ("passive" stereo).  Currently, stereo operation may
  1626.                 be "quirky" on the original Quadro (NV10) chip and
  1627.                 left-right flipping may be erratic.  We are trying
  1628.                 to resolve this issue for a future release.  Default:
  1629.                 Stereo is not enabled.
  1630.  
  1631.                 Stereo options 1, 2, and 3 (aka "active" stereo) are not
  1632.                 supported on Digital Flatpanels.
  1633.  
  1634.         Option "AllowDFPStereo" "boolean"
  1635.                 By default, the NVIDIA X driver performs a check which
  1636.                 disables active stereo (stereo options 1, 2, and 3)
  1637.                 if the X screen is driving a DFP.  The "AllowDFPStereo"
  1638.                 option bypasses this check.
  1639.  
  1640.         Option "NoBandWidthTest" "boolean"
  1641.                 As part of mode validation, the X driver tests if a
  1642.                 given mode fits within the hardware's memory bandwidth
  1643.                 constraints.  This option disables this test.  Default:
  1644.                 the memory bandwidth test is performed.
  1645.  
  1646.         Option "IgnoreDisplayDevices" "string"
  1647.                 This option tells the NVIDIA kernel module to completely
  1648.                 ignore the indicated classes of display devices when
  1649.                 checking what display devices are connected.  You may
  1650.                 specify a comma-separated list containing any of "CRT",
  1651.                 "DFP", and "TV".
  1652.  
  1653.                 For example:
  1654.  
  1655.                     Option "IgnoreDisplayDevices" "DFP, TV"
  1656.  
  1657.                 will cause the NVIDIA driver to not attempt to detect
  1658.                 if any flatpanels or TVs are connected.
  1659.  
  1660.                 This option is not normally necessary; however, some video
  1661.                 BIOSes contain incorrect information about what display
  1662.                 devices may be connected, or what i2c port should be
  1663.                 used for detection.  These errors can cause long delays
  1664.                 in starting X.  If you are experiencing such delays, you
  1665.                 may be able to avoid this by telling the NVIDIA driver to
  1666.                 ignore display devices which you know are not connected.
  1667.  
  1668.                 NOTE: anything attached to a 15 pin VGA connector is
  1669.                 regarded by the driver as a CRT.  "DFP" should only be
  1670.                 used to refer to flatpanels connected via a DVI port.
  1671.  
  1672.         Option "MultisampleCompatibility" "boolean"
  1673.                 Enable or disable the use of separate front and back
  1674.                 multisample buffers.  This will consume more memory
  1675.                 but is necessary for correct output when rendering to
  1676.                 both the front and back buffers of a multisample or
  1677.                 FSAA drawable.  This option is necessary for correct
  1678.                 operation of SoftImage XSI.  Default: a singlemultisample
  1679.                 buffer is shared between the front and back buffers.
  1680.  
  1681.         Option "NoPowerConnectorCheck" "boolean"
  1682.                 The NVIDIA X driver will abort X server initialization
  1683.                 if it detects that a GPU that requires an external power
  1684.                 connector does not have an external power connector
  1685.                 plugged in.  This option can be used to bypass this test.
  1686.                 Default: the power connector test is performed.
  1687.  
  1688.         Option "XvmcUsesTextures" "boolean"
  1689.                 Forces XvMC to use the 3D engine for XvMCPutSurface
  1690.                 requests rather than the video overlay.  Default: video
  1691.                 overlay is used when available.
  1692.  
  1693. __________________________________________________________________________
  1694.  
  1695. (app-e) APPENDIX E: OPENGL ENVIRONMENT VARIABLE SETTINGS
  1696. __________________________________________________________________________
  1697.  
  1698. FULL SCENE ANTIALIASING
  1699.  
  1700. Antialiasing is a technique used to smooth the edges of objects in a
  1701. scene to reduce the jagged "stairstep" effect that sometimes appears.
  1702. Full-scene antialiasing is supported on GeForce or newer hardware.
  1703. By setting the appropriate environment variable, you can enable full-scene
  1704. antialiasing in any OpenGL application on these GPUs.
  1705.  
  1706. Several anti-aliasing methods are available and you can select between
  1707. them by setting the __GL_FSAA_MODE environment variable appropriately.
  1708. Note that increasing the number of samples taken during FSAA rendering
  1709. may decrease performance.
  1710.  
  1711. The following tables describe the possible values for __GL_FSAA_MODE
  1712. and their effect on various NVIDIA GPUs.
  1713.  
  1714. __GL_FSAA_MODE  GeForce, GeForce2, Quadro, and Quadro2 Pro
  1715. -----------------------------------------------------------------------
  1716.   0             FSAA disabled
  1717.   1             FSAA disabled
  1718.   2             FSAA disabled
  1719.   3             1.5 x 1.5 Supersampling
  1720.   4             2 x 2 Supersampling
  1721.   5             FSAA disabled
  1722.   6             FSAA disabled
  1723.   7             FSAA disabled
  1724.  
  1725.  
  1726.  
  1727. __GL_FSAA_MODE  GeForce4 MX, GeForce4 4xx Go, Quadro4 380,550,580 XGL,
  1728.                 and Quadro4 NVS
  1729. -----------------------------------------------------------------------
  1730.   0             FSAA disabled
  1731.   1             2x Bilinear Multisampling
  1732.   2             2x Quincunx Multisampling
  1733.   3             FSAA disabled
  1734.   4             2 x 2 Supersampling
  1735.   5             FSAA disabled
  1736.   6             FSAA disabled
  1737.   7             FSAA disabled
  1738.  
  1739.  
  1740. __GL_FSAA_MODE  GeForce3, Quadro DCC, GeForce4 Ti, GeForce4 4200 Go,
  1741.                 and Quadro4 700,750,780,900,980 XGL
  1742. -----------------------------------------------------------------------
  1743.   0             FSAA disabled
  1744.   1             2x Bilinear Multisampling
  1745.   2             2x Quincunx Multisampling
  1746.   3             FSAA disabled
  1747.   4             4x Bilinear Multisampling
  1748.   5             4x Gaussian Multisampling
  1749.   6             2x Bilinear Multisampling by 4x Supersampling
  1750.   7             FSAA disabled
  1751.  
  1752.  
  1753. __GL_FSAA_MODE  GeForce FX, Quadro FX
  1754. -----------------------------------------------------------------------
  1755.   0             FSAA disabled
  1756.   1             2x Bilinear Multisampling
  1757.   2             2x Quincunx Multisampling
  1758.   3             FSAA disabled
  1759.   4             4x Bilinear Multisampling
  1760.   5             4x Gaussian Multisampling
  1761.   6             2x Bilinear Multisampling by 4x Supersampling
  1762.   7             4x Bilinear Multisampling by 4x Supersampling
  1763.  
  1764.  
  1765. ANISOTROPIC TEXTURE FILTERING
  1766.  
  1767. Automatic anisotropic texture filtering can be enabled by setting 
  1768. the environment variable __GL_DEFAULT_LOG_ANISO,  The useful values 
  1769. are:
  1770.  
  1771. __GL_DEFAULT_LOG_ANISO  GeForce/GeForce2/GeForce4 MX Description
  1772. -----------------------------------------------------------------------
  1773.   0     No anisotropic filtering
  1774.   1     Enable automatic anisotropic filtering
  1775.  
  1776. __GL_DEFAULT_LOG_ANISO  GeForce3/GeForce4 Ti/GeForce FX Description
  1777. -----------------------------------------------------------------------
  1778.   0     No anisotropic filtering
  1779.   1     Low anisotropic filtering
  1780.   2     Medium anisotropic filtering
  1781.   3     Maximum anisotropic filtering
  1782.  
  1783.  
  1784. VBLANK SYNCING
  1785.  
  1786. Setting the environment variable __GL_SYNC_TO_VBLANK to a non-zero value
  1787. will force glXSwapBuffers to sync to your monitor's vertical refresh rate
  1788. (perform a swap only during the vertical blanking period).
  1789.  
  1790. When using __GL_SYNC_TO_VBLANK with TwinView, OpenGL can only sync to one
  1791. of the display devices; this may cause tearing corruption on the display
  1792. device to which OpenGL is not syncing.  You can use the environment
  1793. variable __GL_SYNC_DISPLAY_DEVICE to specify to which display device
  1794. OpenGL should sync.  You should set this environment variable to the
  1795. name of a display device; for example "CRT-1".  Please look for the line
  1796. "Connected display device(s):" in your X log file for a list of the
  1797. display devices present and their names.
  1798.  
  1799.  
  1800. DISABLING CPU SPECIFIC FEATURES
  1801.  
  1802. Setting the environment variable __GL_FORCE_GENERIC_CPU to a non-zero
  1803. value will inhibit the use of CPU specific features such as MMX, SSE,
  1804. or 3DNOW!.  Use of this option may result in performance loss.  This
  1805. option may be useful in conjunction with software such as the Valgrind
  1806. memory debugger.
  1807.  
  1808. __________________________________________________________________________
  1809.  
  1810. (app-f) APPENDIX F: CONFIGURING AGP
  1811. __________________________________________________________________________
  1812.  
  1813. There are several choices for configuring the NVIDIA kernel module's
  1814. use of AGP: you can choose to either use NVIDIA's AGP module (NVAGP),
  1815. or the AGP module that comes with the linux kernel (AGPGART).  This is
  1816. controlled through the "NvAGP" option in your X config file:
  1817.  
  1818.          Option "NvAgp" "0"  ... disables AGP support
  1819.          Option "NvAgp" "1"  ... use NVAGP, if possible
  1820.          Option "NvAgp" "2"  ... use AGPGART, if possible
  1821.          Option "NvAGP" "3"  ... try AGPGART; if that fails, try NVAGP
  1822.  
  1823. The default is 3 (the default was 1 until after 1.0-1251).
  1824.  
  1825. You should use the AGP module that works best with your AGP chip set.
  1826. If you are experiencing problems with stability, you may want to start
  1827. by disabling AGP and observing if that solves the problems.  Then you
  1828. can experiment with either of the other AGP modules.
  1829.  
  1830. You can query the current AGP status at any time via the /proc filesystem
  1831. interface (see APPENDIX O: PROC INTERFACE).
  1832.  
  1833. To use the Linux AGPGART module, it will need to be compiled with
  1834. your kernel, either statically linked in, or built as a module.
  1835. NVIDIA AGP support cannot be used if AGPGART is loaded in the kernel.
  1836. It is recommended that you compile AGPGART as a module and make sure that
  1837. it is not loaded when trying to use NVIDIA AGP.
  1838.  
  1839. Please also note that changing AGP drivers generally requires a reboot
  1840. before the changes actually take effect.
  1841.  
  1842. The following AGP chipsets are supported by NVIDIA's AGP; for all other
  1843. chipsets it is recommended that you use the AGPGART module.
  1844.  
  1845.   o Intel 440LX
  1846.   o Intel 440BX
  1847.   o Intel 440GX
  1848.   o Intel 815 ("Solano")   
  1849.   o Intel 820 ("Camino")   
  1850.   o Intel 830
  1851.   o Intel 840 ("Carmel")   
  1852.   o Intel 845 ("Brookdale")
  1853.   o Intel 845G
  1854.   o Intel 850 ("Tehama")
  1855.   o Intel 855 ("Odem")
  1856.   o Intel 860 ("Colusa")
  1857.   o Intel 865G ("Springdale")
  1858.   o Intel 875P ("Canterwood")
  1859.   o Intel E7205 ("Granite Bay")
  1860.   o Intel E7505 ("Placer")
  1861.   o AMD 751 ("Irongate")
  1862.   o AMD 761 ("IGD4")   
  1863.   o AMD 762 ("IGD4 MP")
  1864.   o AMD 8151 ("Lokar")
  1865.   o VIA 8371   
  1866.   o VIA 82C694X
  1867.   o VIA KT133
  1868.   o VIA KT266
  1869.   o VIA KT400
  1870.   o VIA P4M266
  1871.   o VIA P4M266A
  1872.   o VIA P4X400
  1873.   o RCC CNB20LE
  1874.   o RCC 6585HE
  1875.   o Micron SAMDDR ("Samurai") 
  1876.   o Micron SCIDDR ("Scimitar")
  1877.   o NVIDIA nForce
  1878.   o NVIDIA nForce2
  1879.   o NVIDIA nForce3
  1880.   o ALi 1621
  1881.   o ALi 1631
  1882.   o ALi 1647
  1883.   o ALi 1651
  1884.   o ALi 1671
  1885.   o SiS 630
  1886.   o SiS 633
  1887.   o SiS 635
  1888.   o SiS 645
  1889.   o SiS 646
  1890.   o SiS 648
  1891.   o SiS 648FX
  1892.   o SiS 650
  1893.   o SiS 655FX
  1894.   o SiS 730
  1895.   o SiS 733
  1896.   o SiS 735
  1897.   o SiS 745
  1898.   o ATI RS200M
  1899.  
  1900.  
  1901. If you are experiencing AGP stability problems, you should be aware of
  1902. the following:
  1903.  
  1904.   o Support for the processor's Page Size Extension on Athlon Processors
  1905.  
  1906.     Some linux kernels have a conflicting cache attribute bug that is 
  1907.     exposed by advanced speculative caching in newer AMD Athlon family 
  1908.     processors (AMD Athlon XP, AMD Athlong 4, AMD Athlon MP, and Models 6 
  1909.     and above AMD Duron). This kernel bug usually shows up under heavy use
  1910.     of accelerated 3D graphics with an AGP graphics card.
  1911.  
  1912.     Linux distributions based on kernel 2.4.19 and later *should* 
  1913.     incorporate the bug fix. But, older kernels require help from the user
  1914.     in ensuring that a small portion of advanced speculative caching is 
  1915.     disabled (normally done through a kernel patch) and a boot option is
  1916.     specified in order to apply the whole fix.
  1917.  
  1918.     NVIDIA's driver automatically disables the small portion of advanced
  1919.     speculative caching for the affected AMD processors without the need
  1920.     to patch the kernel; it can be used even on kernels which do already
  1921.     incorporate the kernel bug fix. Additionally, for older kernels the
  1922.     user performs the boot option portion of the fix by explicitly disabling
  1923.     4MB pages. This can be done from the boot command line by specifying:
  1924.  
  1925.         mem=nopentium
  1926.  
  1927.     Or by adding the following line to etc/lilo.conf:
  1928.  
  1929.         append = "mem=nopentium"
  1930.  
  1931.   o AGP drive strength BIOS setting (Via based mainboards)
  1932.  
  1933.     Many Via based mainboards allow adjusting the AGP drive strength in
  1934.     the system BIOS. The setting of this option largely affects system
  1935.     stability, the range between 0xEA and 0xEE seems to work best for
  1936.     NVIDIA hardware. Setting either nibble to 0xF generally restults in
  1937.     severe stability problems.
  1938.  
  1939.     If you decide to experiment with this, you need to be aware of
  1940.     the fact that you are doing so at your own risk and that you may
  1941.     render your system unbootable with improper settings until you
  1942.     reset the setting to a working value (w/ a PCI graphics card or
  1943.     by resetting the BIOS to its default values).
  1944.  
  1945.   o System BIOS version
  1946.  
  1947.     Make sure to have the latest system BIOS provided by the board
  1948.     manufacturer.
  1949.  
  1950.   o AGP Rate
  1951.  
  1952.     You may want to decrease the AGP rate setting if you are seeing
  1953.     lockups with the value you are currently using. You can do so by
  1954.     extracting the .run file:
  1955.  
  1956.         sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --extract-only
  1957.         cd NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
  1958.  
  1959.     Then edit os-registry.c, and make the following changes:
  1960.  
  1961.         - static int NVreg_ReqAGPRate = 7;
  1962.         + static int NVreg_ReqAGPRate = 4;   /* force AGP Rate to 4x */
  1963.     or
  1964.         + static int NVreg_ReqAGPRate = 2;   /* force AGP Rate to 2x */
  1965.     or
  1966.         + static int NVreg_ReqAGPRate = 1;   /* force AGP Rate to 1x */
  1967.  
  1968.     and enable the "ReqAGPRate" parameter:
  1969.  
  1970.         - { NULL, "ReqAGPRate",     &NVreg_ReqAGPRate,      0 },
  1971.         + { NULL, "ReqAGPRate",     &NVreg_ReqAGPRate,      1 },
  1972.  
  1973.     Then recompile and load the new kernel module.
  1974.  
  1975.  
  1976. On Athlon motherboards with the VIA KX133 or 694X chip set, such as the
  1977. ASUS K7V motherboard, NVIDIA drivers default to AGP 2x mode to work around
  1978. insufficient drive strength on one of the signals.  You can force AGP 4x
  1979. by setting NVreg_EnableVia4x to 1.  Note that this may cause the system
  1980. to become unstable.
  1981.  
  1982. On ALi1541 and ALi1647 chipsets, NVIDIA drivers disable AGP to work
  1983. around timing issues and signal integrity issues. You can force AGP
  1984. to be enabled on these chipsets by setting NVreg_EnableALiAGP to 1.
  1985. Note that this may cause the system to become unstable.
  1986.  
  1987. Early SBIOS revisions for the ASUS A7V8X-X KT400 motherboard misconfigure
  1988. the chipset when an AGP 2.x graphics card is installed; if X hangs on
  1989. your ASUS KT400 system with either Linux AGPGART or NvAGP enabled and the
  1990. installed graphics card is not an AGP 8x device, make sure that you have
  1991. the lastest SBIOS installed.
  1992.  
  1993.  
  1994. __________________________________________________________________________
  1995.  
  1996. (app-g) APPENDIX G: ALI SPECIFIC ISSUES
  1997. __________________________________________________________________________
  1998.  
  1999. The following tips may help stabilize problematic ALI systems:
  2000.  
  2001.   o Disable TURBO AGP MODE in the BIOS.
  2002.  
  2003.   o When using a P5A upgrade to BIOS Revision 1002 BETA 2.
  2004.  
  2005.   o When using 1007, 1007A or 1009 adjust the IO Recovery Time to
  2006.     4 cycles.
  2007.  
  2008.   o AGP is disabled by default on some ALi chipsets (ALi1541, ALi1647)
  2009.     to work around severe system stability problems with these chipsets.
  2010.     See the comments for NVreg_EnableALiAGP in os-registry.c to force
  2011.     AGP on anyway.
  2012.  
  2013.  
  2014. __________________________________________________________________________
  2015.  
  2016. (app-h) APPENDIX H: TNT SPECIFIC ISSUES
  2017. __________________________________________________________________________
  2018.  
  2019. Most issues pertaining to SGRAM/SDRAM TNT cards should be resolved.
  2020. There is the rare chance, however, that your video card has the wrong
  2021. BIOS installed, and that this driver will continue to fail for you.
  2022.  
  2023. If this driver fails for you, do the following:
  2024.  
  2025.   o watch your monitor as the system boots. The very first, brief screen
  2026.     will identify the type of video memory your card has. This will be
  2027.     either SGRAM or SDRAM.
  2028.  
  2029.   o edit the file "os-registry.c" from the kernel module sources.  Look
  2030.     for the variable "NVreg_VideoMemoryTypeOverride".  Set the value of
  2031.     the variable to the type of memory you have (numerically, see the
  2032.     line just above it).
  2033.  
  2034.   o since we do not normally use this variable, change the "#if 0" that is
  2035.     about 10 lines above the variable to "#if 1".
  2036.  
  2037.   o rebuild and reinstall the new driver ("make")
  2038.  
  2039.  
  2040. __________________________________________________________________________
  2041.  
  2042. (app-i) APPENDIX I: CONFIGURING TWINVIEW
  2043. __________________________________________________________________________
  2044.  
  2045. The TwinView feature is only supported on NVIDIA GPUs that support
  2046. dual-display functionality, such as the GeForce2 MX, GeForce2 Go,
  2047. Quadro2 MXR, Quadro2 Go, and any of the GeForce4, Quadro4, GeForce
  2048. FX, or Quadro FX GPUs.  Please consult with your video card vendor
  2049. to confirm that TwinView is supported on your card.
  2050.  
  2051. TwinView is a mode of operation where two display devices (digital
  2052. flat panels, CRTs, and TVs) can display the contents of a single X screen
  2053. in any arbitrary configuration.  This method of multiple monitor use
  2054. has several distinct advantages over other techniques (such as Xinerama):
  2055.  
  2056.   o A single X screen is used.  The NVIDIA driver conceals all
  2057.     information about multiple display devices from the X server; as
  2058.     far as X is concerned, there is only one screen.
  2059.  
  2060.   o Both display devices share one frame buffer.  Thus, all the
  2061.     the functionality present on a single display (e.g. accelerated
  2062.     OpenGL) is available on TwinView.
  2063.  
  2064.   o No additional overhead is needed to emulate having a single
  2065.     desktop.
  2066.  
  2067. If you are interested in using each display device as a separate
  2068. X screen, please see (app-r)  APPENDIX R: CONFIGURING MULTIPLE X
  2069. SCREENS ON ONE CARD.
  2070.  
  2071.  
  2072. X CONFIG TWINVIEW OPTIONS
  2073.  
  2074. To enable TwinView, you must specify the following options in the Device
  2075. section of your X Config file:
  2076.  
  2077.     Option "TwinView"
  2078.     Option "MetaModes"                  "<list of metamodes>"
  2079.  
  2080. You must also specify either:
  2081.  
  2082.     Option "SecondMonitorHorizSync"     "<hsync range(s)>"
  2083.     Option "SecondMonitorVertRefresh"   "<vrefresh range(s)>"
  2084.  
  2085. or:
  2086.  
  2087.     Option "HorizSync"                  "<hsync range(s)>"
  2088.     Option "VertRefresh"                "<vrefresh range(s)>"
  2089.  
  2090. You may also use any of the following options, though they are not
  2091. required:
  2092.  
  2093.     Option "TwinViewOrientation"        "<relationship of head 1 to head 0>"
  2094.     Option "ConnectedMonitor"           "<list of connected display devices>"
  2095.  
  2096. Please see the detailed descriptions of each option below:
  2097.  
  2098.   o TwinView
  2099.         This option is required to enable TwinView; without it, all
  2100.         other TwinView related options are ignored.
  2101.  
  2102.   o SecondMonitorHorizSync, SecondMonitorVertRefresh
  2103.         You specify the constraints of the second monitor through these
  2104.         options.  The values given should follow the same convention as
  2105.         the "HorizSync" and "VertRefresh" entries in the Monitor section.
  2106.         As the XF86Config man page explains it: the ranges may be a
  2107.         comma separated list of distinct values and/or ranges of values,
  2108.         where a range is given by two distinct values separated by
  2109.         a dash.  The HorizSync is given in kHz, and the VertRefresh
  2110.         is given in Hz.  You may, if you trust your display devices'
  2111.         EDIDs, use the "UseEdidFreqs" option instead of these options
  2112.         (see APPENDIX D for a description of the "UseEdidFreqs" option).
  2113.  
  2114.   o HorizSync, VertRefresh
  2115.         Which display device is "first" and which is "second" is often
  2116.         unclear.  For this reason, you may use these options instead of
  2117.         the SecondMonitor versions.  With these options, you can specify
  2118.         a semicolon-separated list of frequency ranges, each optionally
  2119.         prepended with a display device name.  For example:
  2120.  
  2121.           Option "HorizSync"   "CRT-0: 50-110,  DFP-0: 40-70"
  2122.           Option "VertRefresh" "CRT-0: 60-120,  DFP-0: 60"
  2123.  
  2124.         Please see the Appendix on Display Device Names for more
  2125.         information.
  2126.  
  2127.   o MetaModes
  2128.         A single MetaMode describes what mode should be used on each
  2129.         display device at a given time.  Multiple MetaModes list the
  2130.         combinations of modes and the sequence in which they should be
  2131.         used.  When the NVIDIA driver tells X what modes are available,
  2132.         it is really the minimal bounding box of the MetaMode that is
  2133.         communicated to X, while the "per display device" mode is kept
  2134.         internal to the NVIDIA driver.  In MetaMode syntax, modes within
  2135.         a MetaMode are comma separated, and multiple MetaModes are
  2136.         separated by semicolons.  For example:
  2137.  
  2138.           "<mode name 0>, <mode name 1>; <mode name 2>, <mode name 3>"
  2139.  
  2140.         Where <mode name 0> is the name of the mode to be used on display
  2141.         device 0 concurrently with <mode name 1> used on display device 1.
  2142.         A mode switch will then cause <mode name 2> to be used on display
  2143.         device 0 and <mode name 3> to be used on display device 1.  Here
  2144.         is a real MetaMode entry from the X config sample config file:
  2145.  
  2146.           Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
  2147.  
  2148.         If you want a display device to not be active for a certain
  2149.         MetaMode, you can use the mode name "NULL", or simply omit the
  2150.         mode name entirely:
  2151.  
  2152.           "1600x1200, NULL; NULL, 1024x768"
  2153.  
  2154.         or
  2155.  
  2156.           "1600x1200; , 1024x768"
  2157.  
  2158.         Optionally, mode names can be followed by offset information
  2159.         to control the positioning of the display devices within the
  2160.         virtual screen space; e.g.:
  2161.  
  2162.           "1600x1200 +0+0, 1024x768 +1600+0; ..."
  2163.  
  2164.         Offset descriptions follow the conventions used in the X
  2165.         "-geometry" command line option; i.e. both positive and negative
  2166.         offsets are valid, though negative offsets are only allowed when
  2167.         a virtual screen size is explicitly given in the X config file.
  2168.  
  2169.         When no offsets are given for a MetaMode, the offsets will be
  2170.         computed following the value of the TwinViewOrientation option
  2171.         (see below).  Note that if offsets are given for any one of the
  2172.         modes in a single MetaMode, then offsets will be expected for
  2173.         all modes within that single MetaMode; in such a case offsets
  2174.         will be assumed to be +0+0 when not given.
  2175.  
  2176.         When not explicitly given, the virtual screen size will be
  2177.         computed as the the bounding box of all MetaMode bounding boxes.
  2178.         MetaModes with a bounding box larger than an explicitly given
  2179.         virtual screen size will be discarded.
  2180.  
  2181.         A MetaMode string can be further modified with a "Panning Domain"
  2182.         specification; eg:
  2183.  
  2184.           "1024x768 @1600x1200, 800x600 @1600x1200"
  2185.  
  2186.         A panning domain is the area in which a display device's viewport
  2187.         will be panned to follow the mouse.  Panning actually happens on
  2188.         two levels with TwinView: first, an individual display device's
  2189.         viewport will be panned within its panning domain, as long as
  2190.         the viewport is contained by the bounding box of the MetaMode.
  2191.         Once the mouse leaves the bounding box of the MetaMode, the entire
  2192.         MetaMode (ie all display devices) will be panned to follow the
  2193.         mouse within the virtual screen.  Note that individual display
  2194.         devices' panning domains default to being clamped to the position
  2195.         of the display devices' viewports, thus the default behavior is
  2196.         just that viewports remain "locked" together and only perform
  2197.         the second type of panning.
  2198.  
  2199.         The most beneficial use of panning domains is probably to
  2200.         eliminate dead areas -- regions of the virtual screen that are
  2201.         inaccessible due to display devices with different resolutions.
  2202.         For example:
  2203.  
  2204.           "1600x1200, 1024x768"
  2205.  
  2206.         produces an inaccessible region below the 1024x768
  2207.         display. Specifying a panning domain for the second display
  2208.         device:
  2209.  
  2210.           "1600x1200, 1024x768 @1024x1200"
  2211.  
  2212.         provides access to that dead area by allowing you to pan the
  2213.         1024x768 viewport up and down in the 1024x1200 panning domain.
  2214.  
  2215.         Offsets can be used in conjunction with panning domains to
  2216.         position the panning domains in the virtual screen space (note
  2217.         that the offset describes the panning domain, and only affects
  2218.         the viewport in that the viewport must be contained within the
  2219.         panning domain).  For example, the following describes two modes,
  2220.         each with a panning domain width of 1900 pixels, and the second
  2221.         display is positioned below the first:
  2222.  
  2223.           "1600x1200 @1900x1200 +0+0, 1024x768 @1900x768 +0+1200"
  2224.  
  2225.         Because it is often unclear which mode within a MetaMode will be
  2226.         used on each display device, mode descriptions within a MetaMode
  2227.         can be prepended with a display device name.  For example:
  2228.  
  2229.           "CRT-0: 1600x1200,  DFP-0: 1024x768"
  2230.  
  2231.         If no MetaMode string is specified, then the X driver uses the
  2232.         modes listed in the relevant "Display" subsection, attempting
  2233.         to place matching modes on each display device.
  2234.  
  2235.  
  2236.   o TwinViewOrientation
  2237.         This option controls the positioning of the second display
  2238.         device relative to the first within the virtual X screen, when
  2239.         offsets are not explicitly given in the MetaModes.  The possible
  2240.         values are:
  2241.  
  2242.           "RightOf"  (the default)
  2243.           "LeftOf"
  2244.           "Above"
  2245.           "Below"
  2246.           "Clone"
  2247.  
  2248.         When "Clone" is specified, both display devices will be assigned
  2249.         an offset of 0,0.
  2250.  
  2251.         Because it is often unclear which display device is "first"
  2252.         and which is "second", TwinViewOrientation can be confusing.
  2253.         You can further clarify the TwinViewOrientation with display
  2254.         device names to indicate which display device is positioned
  2255.         relative to which display device.  For example:
  2256.  
  2257.           "CRT-0 LeftOf DFP-0"
  2258.  
  2259.   o ConnectedMonitor
  2260.         With this option you can override what the NVIDIA kernel
  2261.         module detects is connected to your video card.  This may be
  2262.         useful, for example, if any of your display devices do not
  2263.         support detection using Display Data Channel (DDC) protocols.
  2264.         Valid values are a comma-separated list of display device names;
  2265.         for example:
  2266.  
  2267.           "CRT-0, CRT-1"
  2268.           "CRT"
  2269.           "CRT-1, DFP-0"
  2270.  
  2271.         WARNING: this option overrides what display devices are
  2272.         detected by the NVIDIA kernel module, and is very seldom needed.
  2273.         You really only need this if a display device is not detected,
  2274.         either because it does not provide DDC information, or because
  2275.         it is on the other side of a KVM (Keyboard-Video-Mouse) switch.
  2276.         In most other cases, it is best not to specify this option.
  2277.  
  2278. Just as in all X config entries, spaces are ignored and all entries
  2279. are case insensitive.
  2280.  
  2281.  
  2282. FREQUENTLY ASKED TWINVIEW QUESTIONS:
  2283.  
  2284.  
  2285. Q: Nothing gets displayed on my second monitor; what is wrong?
  2286.  
  2287. A: Monitors that do not support monitor detection using Display Data
  2288.    Channel (DDC) protocols (this includes most older monitors) are not
  2289.    detectable by your NVIDIA card.  You need to explicitly tell the
  2290.    NVIDIA X driver what you have connected using the "ConnectedMonitor"
  2291.    option; e.g.:
  2292.  
  2293.         Option "ConnectedMonitor" "CRT, CRT"
  2294.  
  2295.  
  2296. Q: Will window managers be able to appropriately place windows
  2297.    (e.g. avoiding placing windows across both display devices, or in
  2298.    inaccessible regions of the virtual desktop)?
  2299.  
  2300. A: Yes.  The NVIDIA X driver provides a Xinerama extension that X clients
  2301.    (such as window managers) can use to discover the current TwinView
  2302.    configuration.  Note that the Xinerama protocol provides no way to
  2303.    inform clients of when a configuration change occurs.  So, if you
  2304.    modeswitch to a different MetaMode, your window manager will still
  2305.    think you have the previous configuration.  Using the Xinerama
  2306.    extension, in conjunction with the XF86VidMode extension to get
  2307.    modeswitch events, window managers should be able to determine the
  2308.    TwinView configuration at any given time.
  2309.  
  2310.    Unfortunately, the data provided by XineramaQueryScreens() appears to
  2311.    confuse some window managers; to workaround such broken window mangers,
  2312.    you can disable communication of the TwinView screen layout with the
  2313.    "NoTwinViewXineramaInfo" X config Option (please see Appendix D
  2314.    for details).
  2315.  
  2316.    Be aware that the NVIDIA driver cannot provide the Xinerama
  2317.    extension if the X server's own Xinerama extension is being used.
  2318.    Explicitly specifying Xinerama in the X config file or on the X server
  2319.    commandline will prohibit NVIDIA's Xinerama extension from installing,
  2320.    so make sure that the X server's log file does not contain:
  2321.  
  2322.      (++) Xinerama: enabled
  2323.  
  2324.    if you wish the NVIDIA driver to be able to provide the Xinerama 
  2325.    extension while in TwinView.
  2326.  
  2327.    Another solution is to use panning domains to eliminate inaccessible
  2328.    regions of the virtual screen (see the MetaMode description above).
  2329.  
  2330.    A third solution is to use two separate X screens, rather than use
  2331.    TwinView.  Please see (app-r) APPENDIX R: CONFIGURING MULTIPLE X
  2332.    SCREENS ON ONE CARD.
  2333.  
  2334.  
  2335. Q: Why can I not get a resolution of 1600x1200 on the second display
  2336.    device when using a GeForce2 MX?
  2337.  
  2338. A: Because the second display device on the GeForce2 MX was designed to
  2339.    be a digital flat panel, the Pixel Clock for the second display device
  2340.    is only 150 MHz.  This effectively limits the resolution on the second
  2341.    display device to somewhere around 1280x1024 (for a description of
  2342.    how Pixel Clock frequencies limit the programmable modes, see the
  2343.    XFree86 Video Timings HOWTO).  This constraint is not present on
  2344.    GeForce4 or GeForce FX chips -- the maximum pixel clock is the same i
  2345.    on both heads.
  2346.  
  2347.  
  2348. Q: Do video overlays work across both display devices?
  2349.  
  2350. A: Hardware video overlays only work on the first display device.
  2351.    The current solution is that blitted video is used instead on TwinView.
  2352.  
  2353.  
  2354. Q: How are virtual screen dimensions determined in TwinView?
  2355.  
  2356. A: After all requested modes have been validated, and the offsets
  2357.    for each MetaMode's viewports have been computed, the NVIDIA driver
  2358.    computes the bounding box of the panning domains for each MetaMode.
  2359.    The maximum bounding box width and height is then found.
  2360.  
  2361.    Note that one side effect of this is that the virtual width and
  2362.    virtual height may come from different MetaModes.  Given the following
  2363.    MetaMode string:
  2364.  
  2365.         "1600x1200,NULL; 1024x768+0+0, 1024x768+0+768"
  2366.  
  2367.    the resulting virtual screen size will be 1600 x 1536.
  2368.  
  2369.  
  2370. Q: Can I play full screen games across both display devices?
  2371.  
  2372. A: Yes.  While the details of configuration will vary from game to game,
  2373.    the basic idea is that a MetaMode presents X with a mode whose
  2374.    resolution is the bounding box of the viewports for that MetaMode.
  2375.    For example, the following:
  2376.  
  2377.         Option "MetaModes" "1024x768,1024x768; 800x600,800x600"
  2378.         Option "TwinViewOrientation" "RightOf"
  2379.  
  2380.    produce two modes: one whose resolution is 2048x768, and another whose
  2381.    resolution is 1600x600.  Games such as Quake 3 Arena use the VidMode
  2382.    extension to discover the resolutions of the modes currently available.
  2383.    To configure Quake 3 Arena to use the above MetaMode string, add the
  2384.    following to your q3config.cfg file:
  2385.  
  2386.         seta r_customaspect "1"
  2387.         seta r_customheight "600"
  2388.         seta r_customwidth  "1600"
  2389.         seta r_fullscreen   "1"
  2390.         seta r_mode         "-1"
  2391.  
  2392.    Note that, given the above configuration, there is no mode with a
  2393.    resolution of 800x600 (remember that the MetaMode "800x600, 800x600"
  2394.    has a resolution of 1600x600"), so if you change Quake 3 Arena to use
  2395.    a resolution of 800x600, it will display in the lower left corner of
  2396.    your screen, with the rest of the screen grayed out.  To have single
  2397.    head modes available as well, an appropriate MetaMode string might
  2398.    be something like:
  2399.  
  2400.         "800x600,800x600; 1024x768,NULL; 800x600,NULL; 640x480,NULL"
  2401.  
  2402.    More precise configuration information for specific games is beyond the
  2403.    scope of this document, but the above examples coupled with numerous
  2404.    online sources should be enough to point you in the right direction.
  2405.  
  2406.  
  2407. __________________________________________________________________________
  2408.  
  2409. (app-j) APPENDIX J: CONFIGURING TV-OUT
  2410. __________________________________________________________________________
  2411.  
  2412. NVIDIA GPU-based video cards with a TV-Out (S-Video) connector can be
  2413. employed to use a television as another display device, just like a CRT
  2414. or digital flat panel.  The TV can be used by itself, or (on appropriate
  2415. video cards) in conjunction with another display device in a TwinView
  2416. configuration.
  2417.  
  2418. If a TV is the only display device connected to your video card, it will
  2419. be used as the primary display when you boot your system (ie the console
  2420. will come up on the TV just as if it were a CRT).  To use your TV with X,
  2421. there are a few parameters that you should pay special attention to in
  2422. your X config file:
  2423.  
  2424.   o The VertRefresh and HorizSync values in your monitor section;
  2425.     please make sure these are appropriate for your television.
  2426.     Values are generally:
  2427.  
  2428.         HorizSync 30-50
  2429.         VertRefresh 60
  2430.  
  2431.   o The Modes in your screen section; the valid modes for your TV encoder
  2432.     will be reported in a verbose X log file (generated with `startx --
  2433.     -logverbose 5`) when X is run on a TV.  Some modes may be limited
  2434.     to certain TV Standards; if that is the case, it will be noted in
  2435.     the X log file.  Generally, atleast 800x600 and 640x480 are supported.
  2436.  
  2437.   o The "TVStandard" option should be added to your screen section; valid
  2438.     values are:
  2439.  
  2440.         "PAL-B"  : used in Belgium, Denmark, Finland, Germany, Guinea,
  2441.                    Hong Kong, India, Indonesia, Italy, Malaysia, The
  2442.                    Netherlands, Norway, Portugal, Singapore, Spain,
  2443.                    Sweden, and Switzerland
  2444.         "PAL-D"  : used in China and North Korea
  2445.         "PAL-G"  : used in Denmark, Finland, Germany, Italy, Malaysia,
  2446.                    The Netherlands, Norway, Portugal, Spain, Sweden,
  2447.                    and Switzerland
  2448.         "PAL-H"  : used in Belgium
  2449.         "PAL-I"  : used in Hong Kong and The United Kingdom
  2450.         "PAL-K1" : used in Guinea
  2451.         "PAL-M"  : used in Brazil
  2452.         "PAL-N"  : used in France, Paraguay, and Uruguay
  2453.         "PAL-NC" : used in Argentina
  2454.         "NTSC-J" : used in Japan
  2455.         "NTSC-M" : used in Canada, Chile, Colombia, Costa Rica, Ecuador,
  2456.                    Haiti, Honduras, Mexico, Panama, Puerto Rico, South
  2457.                    Korea, Taiwan, United States of America, and Venezuela
  2458.         "HD480i" : 480 line interlaced
  2459.         "HD480p" : 480 line progressive
  2460.         "HD720p" : 720 line progressive
  2461.         "HD1080i": 1080 line interlaced
  2462.         "HD1080p": 1080 line progressive
  2463.         "HD576i" : 576 line interlace
  2464.         "HD576p" : 576 line progressive
  2465.  
  2466.     The line in your X config file should be something like:
  2467.  
  2468.         Option "TVStandard" "NTSC-M"
  2469.  
  2470.     If you do not specify a TVStandard, or you specify an invalid value,
  2471.     the default "NTSC-M" will be used.  Note: if your country is not in
  2472.     the above list, select the country closest to your location.
  2473.  
  2474.   o The "ConnectedMonitor" option can be used to tell X to use the TV for
  2475.     display.  This should only be needed if your TV is not detected by
  2476.     the video card, or you use a CRT (or digital flat panel) as your
  2477.     boot display, but want to redirect X to use the TV.  The line in
  2478.     your config file should be:
  2479.  
  2480.         Option "ConnectedMonitor" "TV"
  2481.  
  2482.   o The "TVOutFormat" option can be used to force SVIDEO or COMPOSITE
  2483.     output.  Without this option the driver autodetects the output format.
  2484.     Unfortunately, it does not always do this correctly.  The output format
  2485.     can be forced with the options:
  2486.  
  2487.          Option "TVOutFormat" "SVIDEO"
  2488.  
  2489.                      or
  2490.  
  2491.          Option "TVOutFormat" "COMPOSITE"
  2492.  
  2493.   o The "TVOverScan" option can be used to enable Overscan where
  2494.     supported.  Valid values are decimal values in the range 1.0 (which
  2495.     means overscan as much as possible: make the image as large as
  2496.     possible) and 0.0 (which means disable overscanning: make the image
  2497.     as small as possible).  Overscanning is disabled (0.0) by default.
  2498.  
  2499.     Overscan is currently only available on GeForce4 or newer GPUs
  2500.     with either NVIDIA or Conexant TV encoders.
  2501.  
  2502. The NVIDIA X driver may not restore the console correctly with XFree86
  2503. versions older than 4.3 when the console is a TV.  This is due to binary
  2504. incompatibilities between XFree86 int10 modules.  If you use a TV as
  2505. your console it is recommended that you upgrade to XFree86 4.3 or later.
  2506.  
  2507.  
  2508. __________________________________________________________________________
  2509.  
  2510. (app-k) APPENDIX K: CONFIGURING A LAPTOP
  2511. __________________________________________________________________________
  2512.  
  2513. INSTALLATION AND CONFIGURATION
  2514.  
  2515. Installation and configuration of the NVIDIA Accelerated Linux Driver
  2516. Set on a laptop is the same as for any desktop environment, with a few
  2517. minor exceptions, listed below.
  2518.  
  2519. Starting in the 1.0-2802 release, information about the internal flatpanel
  2520. for use in initializing the display is by default generated on the fly
  2521. from data stored in the video BIOS.  This can be disabled by setting
  2522. the "SoftEDIDs" kernel option to 0.  If "SoftEDIDs" is turned off, then
  2523. hardcoded data will be chosen from a table, based on the value of the
  2524. "Mobile" kernel option.
  2525.  
  2526. The "Mobile" kernel option can be set to any of the following values:
  2527.  
  2528.     0xFFFFFFFF : let the kernel module auto detect the correct value
  2529.              1 : Dell laptops
  2530.              2 : non-Compal Toshiba laptops
  2531.              3 : all other laptops
  2532.              4 : Compal Toshiba laptops
  2533.              5 : Gateway laptops
  2534.  
  2535. Again, the "Mobile" kernel option is only needed if SoftEDIDs is
  2536. disabled; when it is used, it is usually safest to let the kernel
  2537. module auto detect the correct value (this is the default behavior).
  2538.  
  2539. Should you need to alter either of these options, this can be done by
  2540. doing any of the following:
  2541.  
  2542.       o editing os-registry.c in the usr/src/nv/ directory of the
  2543.         .run file.
  2544.  
  2545.       o setting the value on the modprobe command line (eg: `modprobe
  2546.         nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3`)
  2547.  
  2548.       o adding an "options" line to your module configuration file,
  2549.         usually /etc/modules.conf (eg: "options nvidia
  2550.         NVreg_Mobile=5")
  2551.  
  2552. ADDITIONAL FUNCTIONALITY
  2553.  
  2554. TWINVIEW
  2555.  
  2556. All mobile NVIDIA chips support TwinView. TwinView on a laptop can
  2557. be configured in the same way as on a desktop machine (please refer
  2558. to APPENDIX I above); note that in a TwinView configuration using
  2559. the laptop's internal flat panel and an external CRT, the CRT is the
  2560. primary display device (specify it's HorizSync and VertRefresh in
  2561. the Monitor section of your X config file) and the flat panel is
  2562. the secondary display device (specify it's HorizSync and VertRefresh
  2563. through the SecondMonitorHorizSync and SecondMonitorVertRefresh options).
  2564. You can also employ the UseEdidFreqs option to acquire the HorizSync and
  2565. VertRefresh from the EDID of each display devices, and not worry about
  2566. setting them in your X config file (this should only be done if you
  2567. trust your display device's reported EDIDs -- please see the description
  2568. of the UseEdidFreqs option in APPENDIX D for details).
  2569.  
  2570.  
  2571. HOTKEY SWITCHING OF DISPLAY DEVICES
  2572.  
  2573. Besides TwinView, mobile NVIDIA chips also have the capacity to react to
  2574. an LCD/CRT hotkey event, toggling between each of the connected display
  2575. devices and each possible combination of the connected display devices
  2576. (note that only 2 display devices may be active at a time).  TwinView as
  2577. configured in your X config file and hotkey functionality are mutually
  2578. exclusive -- if you enable TwinView in your X config file, then the
  2579. NVIDIA X driver will ignore LCD/CRT hotkey events.
  2580.  
  2581. Another important aspect of hotkey functionality is that you can
  2582. dynamically connect and remove display devices to/from your laptop and
  2583. hotkey to them without restarting X.
  2584.  
  2585. A concern with all of this is how to validate and determine what modes
  2586. should be programmed on each display device.  First, it is immensely
  2587. helpful to use the UseEdidFreqs so that the hsync and vrefresh for
  2588. each display device can be retrieved from the display devices' EDID --
  2589. otherwise, the semantics of what the contents of the monitor section
  2590. mean constantly changes with each hotkey event.
  2591.  
  2592. When X is started, or when a change is detected in the list of connected
  2593. display devices, a new hotkey sequence list is constructed -- this lists
  2594. what display devices will be used with each hotkey event.  When a hotkey
  2595. event occurs, then the next hotkey state in the sequence is chosen.
  2596. Each mode requested in the X config file is validated against each
  2597. display device's constraints, and the resulting modes are made available
  2598. for that display device.  If multiple display devices are to be active
  2599. at once, then the modes from each display device are paired together;
  2600. if an exact match (same resolution) cannot be found, then the closest fit
  2601. is found, and the display device with the smaller resolution is panned
  2602. within the resolution of the other display device.
  2603.  
  2604. When vt-switching away from X, the vga console will always be restored on
  2605. the display device on which it was present when X was started.  Similarly,
  2606. when vt-switching back into X, the same display device configuration
  2607. will be used as when you vt-switched away from X, regardless of what
  2608. LCD/CRT hotkey activity occurred while vt-switched away.
  2609.  
  2610.  
  2611. NON-STANDARD MODES ON LCD DISPLAYS
  2612.  
  2613. Some users have had difficulty programming a 1400x1050 mode (the native
  2614. resolution of some laptop LCDs).  In version 4.0.3, XFree86 added several
  2615. 1400x1050 modes to its database of default modes, but if you are using
  2616. an older version of XFree86, here is a modeline that you can use:
  2617.  
  2618. # -- 1400x1050 --
  2619. # 1400x1050 @ 60Hz, 65.8 kHz hsync
  2620. Modeline "1400x1050"  129  1400 1464 1656 1960
  2621.                            1050 1051 1054 1100 +HSync +VSync
  2622.  
  2623.  
  2624. KNOWN LAPTOP ISSUES
  2625.  
  2626.   o LCD/CRT hotkey switching is not currently functioning on any
  2627.     Toshiba laptop, with the exception of the Toshiba Satellite
  2628.     3000 series.
  2629.   o TwinView on Satellite 2800 series Toshbia laptops is not currently
  2630.     functioning.
  2631.   o The video overlay only works on the first display device on which
  2632.     you started X.  For example, if you start X on the internal LCD,
  2633.     run a video application that uses the video overlay (uses the
  2634.     "Video Overlay" adaptor advertised through the XV extension), and
  2635.     then hotkey switch to add a second display device, the video will
  2636.     not appear on the second display device.  To work around this,
  2637.     you can either configure the video application to use the "Video
  2638.     Blitter" adaptor advertised through the XV extension (this is always
  2639.     available), or hotkey switch to the display device on which you want
  2640.     to use the video overlay *before* starting X.
  2641.  
  2642.  
  2643. __________________________________________________________________________
  2644.  
  2645. (app-l) APPENDIX L: PROGRAMMING MODES
  2646. __________________________________________________________________________
  2647.  
  2648. The NVIDIA Accelerated Linux Driver Set supports all standard VGA and
  2649. VESA modes, as well as most user-written custom mode lines; double-scan
  2650. modes are supported on all hardware.  Interlaced modes are supported on
  2651. all GeForce FX/Quadro FX and newer GPUs, and certain older GPUs; the X
  2652. log file will contain a message "Interlaced video modes are supported
  2653. on this GPU" if interlaced modes are supported.
  2654.  
  2655. In general, your display device (monitor/flat panel/television) will be
  2656. a greater constraint on what modes you can use than either your NVIDIA
  2657. GPU-based video board or the NVIDIA Accelerated Linux Driver Set.
  2658.  
  2659. To request one or more standard modes for use in X, you can simply add a
  2660. "Modes" line such as:
  2661.  
  2662.         Modes "1600x1200" "1024x768" "640x480"
  2663.  
  2664. in the appropriate Display subsection of your X config file (please see
  2665. the XF86Config(5x) or xorg.conf(5x) man pages for details).  The following
  2666. documentation is primarily of interest if you compose your own custom
  2667. mode lines, experiment with xvidtune(1), or are just interested in
  2668. learning more.  Please note that this is neither an explanation nor a
  2669. guide to the fine art of crafting custom mode lines for X.  We leave that,
  2670. rather, to documents such as the XFree86 Video Timings HOWTO (which can
  2671. be found at www.tldp.org).
  2672.  
  2673.  
  2674. DEPTH, BITS PER PIXEL, AND PITCH
  2675.  
  2676. While not directly a concern when programming modes, the bits used per
  2677. pixel is an issue when considering the maximum programmable resolution;
  2678. for this reason, it is worthwhile to address the confusion surrounding
  2679. the terms "depth" and "bits per pixel".  Depth is how many bits of
  2680. data are stored per pixel.  Supported depths are 8, 15, 16, and 24.
  2681. Most video hardware, however, stores pixel data in sizes of 8, 16, or
  2682. 32 bits; this is the amount of memory allocated per pixel.  When you
  2683. specify your depth, X selects the bits per pixel (bpp) size in which to
  2684. store the data.  Below is a table of what bpp is used for each possible
  2685. depth:
  2686.  
  2687.         depth    bpp
  2688.         =====   =====
  2689.           8       8
  2690.          15      16
  2691.          16      16
  2692.          24      32
  2693.  
  2694. Lastly, the "pitch" is how many bytes in the linear frame buffer there are
  2695. between one pixel's data, and the data of the pixel immediately below.
  2696. You can think of this as the horizontal resolution multiplied by the
  2697. bytes per pixel (bits per pixel divided by 8).  In practice, the pitch may
  2698. be more than this product due to alignment constraints.
  2699.  
  2700.  
  2701. MAXIMUM RESOLUTIONS
  2702.  
  2703. The NVIDIA Accelerated Linux Driver Set and NVIDIA GPU-based video boards
  2704. support resolutions up to 2048x1536, though the maximum resolution
  2705. your system can support is also limited by the amount of video memory
  2706. (see USEFUL FORMULAS for details) and the maximum supported resolution
  2707. of your display device (monitor/flat panel/television).  Also note that
  2708. while use of a video overlay does not limit the maximum resolution or
  2709. refresh rate, video memory bandwidth used by a programmed mode does
  2710. effect the overlay quality.
  2711.  
  2712.  
  2713. USEFUL FORMULAS
  2714.  
  2715. The maximum resolution is a function both of the amount of video memory
  2716. and the bits per pixel you elect to use:
  2717.  
  2718.         HR * VR * (bpp/8) = Video Memory Used
  2719.  
  2720. In other words, the amount of video memory used is equal to the horizontal
  2721. resolution (HR) multiplied by the vertical resolution (VR) multiplied by
  2722. the bytes per pixel (bits per pixel divided by eight).  Technically, the
  2723. video memory used is actually the pitch times the vertical resolution,
  2724. and the pitch may be slightly greater than (HR * (bpp/8)) to accommodate
  2725. hardware requirements that the pitch be a multiple of some value.
  2726.  
  2727. Please note that this is just memory usage for the frame buffer; video
  2728. memory is also used by other things such as OpenGL or pixmap caching.
  2729.  
  2730. Another important relationship is that between the resolution, the pixel
  2731. clock (aka dot clock) and the vertical refresh rate:
  2732.  
  2733.         RR = PCLK / (HFL * VFL)
  2734.  
  2735. In other words, the refresh rate (RR) is equal to the pixel clock (PCLK)
  2736. divided by the total number of pixels: the horizontal frame length (HFL)
  2737. multiplied by the vertical frame length (VFL) (note that these are the
  2738. frame lengths, and not just the visible resolutions).  As described in
  2739. the XFree86 Video Timings HOWTO, the above formula can be rewritten as:
  2740.  
  2741.         PCLK = RR * HFL * VFL
  2742.  
  2743. Given a maximum pixel clock, you can adjust the RR, HFL and VFL as
  2744. desired, as long as the product of the three is consistent.  The pixel
  2745. clock is reported in the log file when you run X with verbose logging:
  2746. `startx -- -logverbose 5`.  Your X log should contain several lines like:
  2747.  
  2748. (--) NVIDIA(0): Display Device 0: maximum pixel clock at  8 bpp: 350 MHz
  2749. (--) NVIDIA(0): Display Device 0: maximum pixel clock at 16 bpp: 350 MHz
  2750. (--) NVIDIA(0): Display Device 0: maximum pixel clock at 32 bpp: 300 MHz
  2751.  
  2752. which indicate the maximum pixel clock at each bit per pixel size.
  2753.  
  2754.  
  2755. HOW MODES ARE VALIDATED
  2756.  
  2757. During the PreInit phase of the X server, the NVIDIA X driver validates
  2758. all requested modes by doing the following:
  2759.  
  2760.   o Take the intersection of the HorizSync and VertRefresh ranges given
  2761.     by the user in the X config file with the ranges reported by the
  2762.     monitor in the EDID (Extended Display Identification Data); this
  2763.     behavior can be disabled by using the "IgnoreEDID" option in which
  2764.     case the X driver will blindly accept the HorizSync and VertRefresh
  2765.     ranges given by the user.
  2766.  
  2767.   o Call the xf86ValidateModes() helper function, which finds modes with
  2768.     the names the user specified in the X config file, pruning
  2769.     out modes with invalid horizontal sync frequencies or vertical
  2770.     refresh rates, pixel clocks larger than the maximum pixel clock
  2771.     for the video card, or resolutions larger than the virtual
  2772.     screen size (if a virtual screen size was specified in the
  2773.     X config file).  Several other constraints are applied; see
  2774.     xc/programs/Xserver/hw/xfree86/common/xf86Mode.c:xf86ValidateModes().
  2775.  
  2776.   o All modes returned from xf86ValidateModes() are then examined to make
  2777.     sure their resolutions are not larger than the largest mode reported
  2778.     by the monitor's EDID (this can be disabled with the "IgnoreEDID"
  2779.     option.  If the display is a TV, each mode is checked to make sure
  2780.     it has a resolution that is supported by the TV encoder (usually
  2781.     only 800x600 and 640x480 are supported by the encoder).
  2782.  
  2783.   o All modes are also tested to confirm that they fit within the
  2784.     hardware's memory bandwidth constraints.  This test can be disabled
  2785.     with the NoBandWidthTest X config file option.
  2786.  
  2787.   o All remaining modes are then checked to make sure they pass the
  2788.     constraints described below in ADDITIONAL MODE CONSTRAINTS.
  2789.  
  2790. The last three steps are also done when each mode is programmed, to
  2791. catch potentially invalid modes submitted by the XF86VidModeExtension
  2792. (eg xvidtune(1)).  For TwinView, the above validation is done for the
  2793. modes requested for each display device.
  2794.  
  2795.  
  2796. ADDITIONAL MODE CONSTRAINTS
  2797.  
  2798. Below is a list of additional constraints on a mode's parameters that
  2799. must be met.  In some cases these are specific to particular chips.
  2800.  
  2801.   o The horizontal resolution (HR) must be a multiple of 8 and be less
  2802.     than or equal to the value in the table below.
  2803.   o The horizontal blanking width (the maximum of the horizontal frame
  2804.     length and the horizontal sync end minus the minimum of the horizontal
  2805.     resolution and the horizontal sync start (max(HFL,HSE) - min(HR,HSS))
  2806.     must be a multiple of 8 and be less than or equal to the value in
  2807.     the table below.
  2808.   o The horizontal sync start (HSS) must be a multiple of 8 and be less
  2809.     than or equal to the value in the table below.
  2810.   o The horizontal sync width (the horizontal sync end minus the
  2811.     horizontal sync start (HSE - HSS)) must be a multiple of 8 and be
  2812.     less than or equal to the value in the table below.
  2813.   o The horizontal frame length (HFL) must be a multiple of 8, must be
  2814.     greater than or equal to 40, and must be less than or equal to the
  2815.     value in the table below.
  2816.   o The vertical resolution (VR) must be less than or equal to the
  2817.     value in the table below.
  2818.   o The vertical blanking width (the maximum of the vertical frame length
  2819.     and the vertical sync end minus the minimum of the vertical resolution
  2820.     and the vertical sync start (max(VFL,VSE) - min(VR,VSS)) must be
  2821.     less than or equal to the value in the table below.
  2822.   o The vertical sync start (VSS) must be less than or equal to the
  2823.     value in the table below.
  2824.   o The vertical sync width (the vertical sync end minus the vertical sync
  2825.     start (VSE - VSS)) must be less than or equal to the value in the
  2826.     table below.
  2827.   o The vertical frame length (VFL) must be greater than or equal to 2 and
  2828.     less than or equal to the value in the table below.
  2829.  
  2830.        Maximum DAC Values
  2831.        ------------------
  2832.  
  2833.           | GeForce/TNT   Geforce2 & 3   Geforce4 or newer
  2834.     ______|_______________________________________________
  2835.           |
  2836.     HR    | 4096          4096           8192
  2837.     HBW   | 1016          1016           2040
  2838.     HSS   | 4088          4088           8224
  2839.     HSW   | 256           256            512
  2840.     HFL   | 4128          4128           8224
  2841.     VR    | 2048          4096           8192
  2842.     VBW   | 128           128            256
  2843.     VSS   | 2047          4095           8192
  2844.     VSW   | 16            16             16
  2845.     VFL   | 2049          4097           8192
  2846.  
  2847.  
  2848. Here is an example mode line demonstrating the use of each abbreviation
  2849. used above:
  2850.  
  2851. # Custom Mode line for the SGI 1600SW Flatpanel
  2852. #        name           PCLK  HR   HSS  HSE  HFL  VR   VSS  VSE  VFL
  2853.  
  2854. Modeline "sgi1600x1024" 106.9 1600 1632 1656 1672 1024 1027 1030 1067
  2855.  
  2856.  
  2857. ENSURING IDENTICAL MODETIMINGS
  2858.  
  2859. Some functionality, such as Active Stereo with TwinView, requires
  2860. control over exactly what mode timings are used.  There are several
  2861. ways to accomplish that:
  2862.  
  2863.     o If you only want to make sure that both display devices use
  2864.       the same modes, you only need to make sure that both display
  2865.       devices use the same HorizSync and VertRefresh values when
  2866.       performing mode validation; this would be done by making sure the
  2867.       HorizSync and SecondMonitorHorizSync match, and that the VertRefresh
  2868.       and the SecondMonitorVertRefresh match.
  2869.  
  2870.     o A more explicit approach is to specify the modeline you wish
  2871.       to use (using one of the modeline generators available),
  2872.       and using a unique name.  For example, if you wanted to use
  2873.       1024x768 at 120 Hz on each monitor in TwinView with active
  2874.       stereo, you might add something like:
  2875.  
  2876.         # 1024x768 @ 120.00 Hz (GTF) hsync: 98.76 kHz; pclk: 139.05 MHz
  2877.         Modeline "1024x768_120"  139.05  1024 1104 1216 1408  768 769 772 823  -HSync +Vsync
  2878.  
  2879.       In the monitor section of your X config file, and then in the
  2880.       Screen section of your X config file, specify a MetaMode like this:
  2881.  
  2882.         Option "MetaModes" "1024x768_120, 1024x768_120"
  2883.  
  2884. SEE ALSO:
  2885.  
  2886.     An XFree86 modeline generator, conforming to the GTF Standard is
  2887.     available here:
  2888.  
  2889.         http://gtf.sourceforge.net/
  2890.  
  2891.     For additional modeline generators, try searching for "modeline"
  2892.     on freshmeat.net.
  2893.  
  2894.  
  2895. __________________________________________________________________________
  2896.  
  2897. (app-m) APPENDIX M: FLIPPING AND UBB
  2898. __________________________________________________________________________
  2899.  
  2900. The NVIDIA Accelerated Linux Driver Set supports Unified Back Buffer
  2901. (UBB) and OpenGL Flipping.  These features can provide performance
  2902. gains in certain situtations.
  2903.  
  2904.   o Unified Back Buffer (UBB): UBB is available only on the Quadro family 
  2905.         of GPUs (Quadro4 NVS excluded) and is enabled by default
  2906.         when there is sufficient video memory available.  This can be
  2907.         disabled with the UBB X config option described in Appendix D.
  2908.         When UBB is enabled, all windows share the same back, stencil and
  2909.         depth buffer.  When there are many windows, the back, stencil
  2910.         and depth usage will never exceed the size of that used by a
  2911.         full screen window.  However, even for a single small window
  2912.         the back, stencil and depth the video memory usage is that of a
  2913.         full screen window.  In that case video memory may be used less
  2914.         efficiently than in the non-UBB case.
  2915.  
  2916.   o Flipping: when OpenGL flipping is enabled, OpenGL can perform
  2917.         buffer swaps by changing which buffer the DAC scans out rather
  2918.         than copying the back buffer contents to the front buffer; this is
  2919.         generally a much higher performance mechanism and allows tearless
  2920.         swapping during the vertical retrace (when __GL_SYNC_TO_VBLANK
  2921.         is set).  The conditions under which OpenGL can flip are slightly
  2922.         complicated, but in general: on Geforce or newer hardware, OpenGL
  2923.         can flip when a single full screen unobscured OpenGL application
  2924.         is running, and __GL_SYNC_TO_VBLANK is enabled.  Additionally,
  2925.         OpenGL can flip on Quadro hardware even when an OpenGL window
  2926.         is partially obscured or not full screen or __GL_SYNC_TO_VBLANK
  2927.         is not enabled.
  2928.  
  2929.  
  2930. __________________________________________________________________________
  2931.  
  2932. (app-n) APPENDIX N: KNOWN ISSUES
  2933. __________________________________________________________________________
  2934.  
  2935. The following problems still exist in this release and are in the process
  2936. of being resolved.
  2937.  
  2938.   o OpenGL + Xinerama
  2939.         Currently, OpenGL will not display to anything other than the
  2940.         first head in a Xinerama environment.
  2941.  
  2942.   o OpenGL and dlopen()
  2943.         There are some issues with older versions of the glibc dynamic 
  2944.         loader (e.g., the version that shipped with Red Hat Linux 7.2) and 
  2945.         applications such as Quake3 and Radiant, that use dlopen().
  2946.         See the FREQUENTLY ASKED QUESTIONS section for more details.
  2947.  
  2948.   o DPMS and TwinView
  2949.         DPMS Modes "suspend" and "standby" do not work correctly on
  2950.         a second CRT when using TwinView.  The screen becomes blank
  2951.         instead of the monitor being set to the requested DPMS state.
  2952.  
  2953.   o DPMS and Flat Panel
  2954.         DPMS modes "suspend" and "standby" do not work correctly on a
  2955.         flat panel display.  The screen becomes blank instead of the
  2956.         flat panel being set to the requested DPMS state.
  2957.  
  2958.   o Multicard, Multimonitor
  2959.         In some cases, the secondary card is not initialized correctly
  2960.         by the NVIDIA kernel module. You can work around this by enabling
  2961.         the XFree86 Int10 module to soft-boot all secondary cards. See 
  2962.         "APPENDIX D: X CONFIG OPTIONS" for details.
  2963.  
  2964.   o Laptop
  2965.         If you are using a laptop please see the "Known Laptop Issues" in 
  2966.         APPENDIX D.
  2967.  
  2968.   o FSAA
  2969.         When FSAA is enabled (the __GL_FSAA_MODE environment variable
  2970.         is set to a value that enables FSAA and a multisample visual is
  2971.         chosen), the rendering may be corrupted when resizing the window.
  2972.  
  2973.   o Interaction with pthreads
  2974.         Single threaded applications that dlopen() NVIDIA's libGL
  2975.         library, and then dlopen() any other library that is linked
  2976.         against pthreads will crash in NVIDIA's libGL library.  This does
  2977.         not happen in NVIDIA's new ELF TLS OpenGL libraries (please see
  2978.         (app-c)  APPENDIX C: INSTALLED COMPONENTS for a description of
  2979.         the ELF TLS OpenGL libraries).  Possible work arounds for this
  2980.         problem are:
  2981.  
  2982.             1) Load the library that is linked with pthreads before
  2983.                loading libGL.so.
  2984.             2) Link the application with pthreads.
  2985.  
  2986. HARDWARE ISSUES
  2987.  
  2988. This section describes problems that will not be fixed.  Usually, the
  2989. source of the problem is beyond the control of NVIDIA.  Following is
  2990. the list of problems:
  2991.  
  2992.   o Gigabyte GA-6BX Motherboard
  2993.         This motherboard uses a LinFinity regulator on the 3.3-V rail
  2994.         that is rated to only 5 A -- less than the AGP specification,
  2995.         which requires 6 A.  When diagnostics or applications are
  2996.         running, the temperature of the regulator rises, causing the
  2997.         voltage to the NVIDIA chip to drop as low as 2.2 V.  Under these
  2998.         circumstances, the regulator cannot supply the current on the
  2999.         3.3-V rail that the NVIDIA chip requires.
  3000.  
  3001.         This problem does not occur when the graphics board has a
  3002.         switching regulator or when an external power supply is connected
  3003.         to the 3.3-V rail.
  3004.  
  3005.   o VIA KX133 and 694X Chip sets with AGP 2x
  3006.         On Athlon motherboards with the VIA KX133 or 694X chip set, such
  3007.         as the ASUS K7V motherboard, NVIDIA drivers default to AGP 2x mode
  3008.         to work around insufficient drive strength on one of the signals.
  3009.  
  3010.   o Irongate Chip sets with AGP 1x
  3011.         AGP 1x transfers are used on Athlon motherboards with the Irongate
  3012.         chip set to work around a problem with the signal integrity of
  3013.         the chip set.
  3014.  
  3015.   o ALi chipsets, ALi1541 and ALi1647
  3016.         On ALi1541 and ALi1647 chipsets, NVIDIA drivers disable AGP to work
  3017.         around timing issues and signal integrity issues. See "APPENDIX G: 
  3018.         ALI SPECIFIC ISSUES" for more information on ALi chipsets.
  3019.  
  3020.   o I/O APIC (SMP)
  3021.         If you are experiencing stability problems with a Linux SMP machine 
  3022.         and seeing I/O APIC warning messages from the Linux kernel, system
  3023.         reliability may be greatly improved by setting the "noapic" kernel
  3024.         parameter.
  3025.  
  3026.   o Local APIC (UP)
  3027.         On some systems, setting the "Local APIC Support on Uniprocessors"
  3028.         kernel configuration option can have adverse effects on system
  3029.         stability and performance.  If you are experiencing lockups with
  3030.         a Linux UP machine and have this option set, try disabling local
  3031.         APIC support.
  3032.  
  3033. __________________________________________________________________________
  3034.  
  3035. (app-o) APPENDIX O: PROC INTERFACE
  3036. __________________________________________________________________________
  3037.  
  3038. You can use the /proc filesystem interface to obtain run-time information
  3039. about the driver, any installed NVIDIA graphics cards, and the AGP status.
  3040.  
  3041. This information is contained by several files in /proc/driver/nvidia:
  3042.  
  3043.   o /proc/driver/nvidia/version
  3044.         Lists the installed driver revision and the version of the GNU C
  3045.         compiler used to build the Linux kernel module.
  3046.  
  3047.   o /proc/driver/nvidia/cards/0...3
  3048.         Provides information about each of the installed NVIDIA graphics
  3049.         adapters (model name, IRQ, BIOS version, Bus Type). Please note
  3050.         that the BIOS version is only available while X is running.
  3051.  
  3052.   o /proc/driver/nvidia/agp/card
  3053.         Information about the installed AGP card's AGP capabilities.
  3054.  
  3055.   o /proc/driver/nvidia/agp/host-bridge
  3056.         Information about the host bridge (model and AGP capabilities).
  3057.   
  3058.   o /proc/driver/nvidia/agp/status
  3059.         The current AGP status. If AGP support has been enabled on your
  3060.         system, the AGP driver being used, the AGP rate and information
  3061.         about the status of AGP Fast Writes and Side Band Addressing is
  3062.         shown.
  3063.  
  3064.         The AGP driver is either one of NVIDIA (NVIDIA's built-in AGP
  3065.         driver) or AGPGART (the Linux kernel's agpgart.o driver). If
  3066.         you see "inactive" next to AGPGART, then this means that the
  3067.         AGP chipset was programmed by AGPGART, but is not currently in
  3068.         use.
  3069.  
  3070.         SBA and Fast Writes indicate whether either one of the features
  3071.         is currently in use. Please note that several factors decide if
  3072.         support for either will be enabled. First of all, both the AGP
  3073.         card and the host bridge must support the feature. Even if both
  3074.         do support it, the driver may decide not to use it in favor of
  3075.         system stability. This is particularly true of AGP Fast Writes.
  3076.  
  3077. __________________________________________________________________________
  3078.  
  3079. (app-p) APPENDIX P: XVMC SUPPORT 
  3080. __________________________________________________________________________
  3081.  
  3082. This release includes support for the X-Video Motion Compensation (XvMC)
  3083. version 1.0 API on GeForce4 and GeForce FX products only.  There is a static
  3084. library "libXvMCNVIDIA.a" and a dynamic one "libXvMCNVIDIA_dynamic.so"
  3085. which is suitable for dlopening.  GeForce4 MX and GeForce FX products support 
  3086. both XvMC's "IDCT" and "motion-compensation" levels of acceleration.  
  3087. GeForce4 Ti products only support the motion-compensation level.  AI44 and IA44
  3088. subpictures are supported.  4:2:0 Surfaces up to 2032x2032 are supported.
  3089.  
  3090. libXvMCNVIDIA observes the XVMC_DEBUG environment variable and will
  3091. provide some debug output to stderr when set to an appropriate integer
  3092. value.  '0' disables debug output.  '1' enables debug output for failure
  3093. conditions.  '2' or higher enables output of warning messages.
  3094.  
  3095. __________________________________________________________________________
  3096.  
  3097. (app-q) APPENDIX Q: GLX SUPPORT
  3098. __________________________________________________________________________
  3099.  
  3100. This release supports GLX 1.3 with the following extensions:
  3101.    GLX_EXT_visual_info
  3102.    GLX_EXT_visual_rating
  3103.    GLX_SGIX_fbconfig
  3104.    GLX_SGIX_pbuffer
  3105.    GLX_ARB_get_proc_address
  3106.  
  3107. For a description of these extensions, please see the OpenGL extension
  3108. registry at http://oss.sgi.com/projects/ogl-sample/registry/index.html
  3109.  
  3110. Some of the above extensions exist as part of core GLX 1.3 functionality,
  3111. however, they are also exported as extensions for backwards compatibility.
  3112.  
  3113. __________________________________________________________________________
  3114.  
  3115. (app-r)  APPENDIX R: CONFIGURING MULTIPLE X SCREENS ON ONE CARD
  3116. __________________________________________________________________________
  3117.  
  3118. Graphics chips that support TwinView (see (app-i) APPENDIX I: CONFIGURING
  3119. TWINVIEW) can also be configured to treat each connected display device
  3120. as a separate X screen.
  3121.  
  3122. While there are several disadvantages to this approach as compared to
  3123. TwinView (eg: windows cannot be dragged between X screens, hardware
  3124. accelerated OpenGL cannot span the two X screens), it does offer several
  3125. advantages over TwinView:
  3126.  
  3127.     o If each display device is a separate X screen, then properties
  3128.       that may vary between X screens may vary between displays (eg:
  3129.       depth, root window size, etc).
  3130.  
  3131.     o Hardware that can only be used on one display at a time (eg:
  3132.       video overlays, hardware accelerated RGB overlays), and which
  3133.       consequently cannot be used at all when in TwinView, can be
  3134.       exposed on the first X screen when each display is a separate
  3135.       X screen.
  3136.  
  3137.     o The 1-to-1 association of display devices to X screens is
  3138.       more historically in line with X.
  3139.  
  3140. To configure two separate X screens to share one graphics chip, here is
  3141. what you will need to do:
  3142.  
  3143. First, create two separate Device sections, each listing the BusID of
  3144. the graphics card to be shared, each listing the driver as "nvidia",
  3145. and assign each a separate screen:
  3146.  
  3147.  
  3148.     Section "Device"
  3149.         Identifier  "nvidia0"
  3150.         Driver      "nvidia"
  3151.         # Edit the BusID with the location of your graphics card
  3152.         BusID       "PCI:2:0:0"
  3153.         Screen      0
  3154.     EndSection
  3155.  
  3156.     Section "Device"
  3157.         Identifier  "nvidia1"
  3158.         Driver      "nvidia"
  3159.         # Edit the BusID with the location of your graphics card
  3160.         BusId       "PCI:2:0:0"
  3161.         Screen      1
  3162.     EndSection
  3163.  
  3164.  
  3165. Then, create two Screen sections, each using one of the Device sections:
  3166.  
  3167.  
  3168.     Section "Screen"
  3169.         Identifier  "Screen0"
  3170.         Device      "nvidia0"
  3171.         Monitor     "Monitor0"
  3172.         DefaultDepth 24
  3173.         Subsection "Display"
  3174.             Depth       24
  3175.             Modes       "1600x1200" "1024x768" "800x600" "640x480" 
  3176.         EndSubsection
  3177.     EndSection
  3178.  
  3179.     Section "Screen"
  3180.         Identifier  "Screen1"
  3181.         Device      "nvidia1"
  3182.         Monitor     "Monitor1"
  3183.         DefaultDepth 24
  3184.         Subsection "Display"
  3185.             Depth       24
  3186.             Modes       "1600x1200" "1024x768" "800x600" "640x480" 
  3187.         EndSubsection
  3188.     EndSection
  3189.  
  3190.  
  3191. (note: you'll also need to create a second Monitor section)
  3192.  
  3193. Finally, update the ServerLayout section to use and position both Screen
  3194. sections:
  3195.  
  3196.  
  3197.     Section "ServerLayout"
  3198.         ...
  3199.         Screen         0 "Screen0" 
  3200.         Screen         1 "Screen1" leftOf "Screen0"
  3201.         ...
  3202.     EndSection
  3203.  
  3204.  
  3205. For further details, please refer to the XF86Config(5x) or xorg.conf(5x)
  3206. manpages.
  3207.  
  3208. __________________________________________________________________________
  3209.  
  3210. (app-s)  APPENDIX S: POWER MANAGEMENT SUPPORT
  3211. __________________________________________________________________________
  3212.  
  3213. This release includes support for APM based power management, as well as
  3214. initial support for ACPI based power management. This means that the NVIDIA
  3215. driver will support standby, suspend and resume.
  3216.  
  3217. Note that ACPI is only supported on 2.6+ kernels. This is due to a reliance
  3218. on a new driver model in 2.6 designed to support ACPI standby/resume.
  3219.  
  3220. Please consult your distribution's documentation for details on how to
  3221. configure and use power management on your system.
  3222.  
  3223. Power management support is still under development and a beta feature. As
  3224. a result, some functionality is still missing or unreliable. Known problems
  3225. include:
  3226.  
  3227. Sometimes chipsets lose their AGP configuration during suspend, and may
  3228. cause corruption on the bus upon resume. The AGP driver is required to
  3229. save and restore relevant register state on such systems; NVIDIA's NvAGP
  3230. is notified of power management events and ensures its configuration is
  3231. kept intact across suspend/resume cycles.
  3232.  
  3233. Linux 2.4 AGPGART does not support power management, Linux 2.6 AGPGART
  3234. does, but only for a few select chipsets. If you use either of these two
  3235. AGP drivers and find your system fails to resume reliably, you may have
  3236. more success with NVIDIA's NvAGP driver.
  3237.  
  3238. Disabling AGP support (please see APPENDIX F: CONFIGURING AGP for more
  3239. details on disabling AGP) will also work around this problem.
  3240.  
  3241. For ACPI, only S3 "Suspend to Ram" is currently supported. This means that
  3242. S4 "Suspend to Disk", otherwise known as "Software Suspend" or "swsusp" 
  3243. does not currently work reliably.
  3244.  
  3245.  
  3246. __________________________________________________________________________
  3247.  
  3248. (app-t)  APPENDIX T: DISPLAY DEVICE NAMES
  3249. __________________________________________________________________________
  3250.  
  3251. A "Display Device" refers to some piece of hardware capable of displaying
  3252. an image.  Display devices are separated into the three general
  3253. categories: analog CRTs, digital flatpanels (DFPs), and TeleVisions.
  3254. Note that analog flatpanels are considered the same as analog CRTs by
  3255. the driver.
  3256.  
  3257. A "Display Device Name" is a string description that uniquely identifies
  3258. a display device; it follows the format "<type>-<number>", for example:
  3259. "CRT-0", "CRT-1", "DFP-0", or "TV-0".  Note that the number indicates
  3260. how the display device connector is wired on the graphics board, and
  3261. has nothing to do with how many of that display device type is
  3262. present.  This means, for example, that you may have a "CRT-1",
  3263. even if you do not have a "CRT-0".
  3264.  
  3265. To determine what display devices are currently connected, you can check
  3266. your X log file for a line like this:
  3267.  
  3268.     (II) NVIDIA(0): Connected display device(s): CRT-0, DFP-0
  3269.  
  3270. Display device names can be used in the MetaMode, HorizSync, and
  3271. VertRefresh X config options to indicate what display device a
  3272. setting should be applied to.  For example:
  3273.  
  3274.  Option "MetaModes"   "CRT-0: 1600x1200,  DFP-0: 1024x768"
  3275.  Option "HorizSync"   "CRT-0: 50-110,     DFP-0: 40-70"
  3276.  Option "VertRefresh" "CRT-0: 60-120,     DFP-0: 60"
  3277.  
  3278. Specifying the display device name in these options is not required;
  3279. if display device names are specified, then the driver attempts
  3280. to infer which display device a setting applies to.  In the case
  3281. of MetaModes, for example, the first mode listed is applied to the
  3282. "first" display device, and the second mode listed is applied to the
  3283. "second" display device.  Unfortunately, it is often unclear which
  3284. display device is the "first" or "second".  That is why specifying
  3285. the display device name is preferable.
  3286.  
  3287. When specifying display device names, you may also omit the number part
  3288. of the name, though this is only useful if you only have one of that
  3289. type of display device.  For example, if you have one CRT and DFP
  3290. connected, you may reference in the MetaMode string like this:
  3291.  
  3292.  Option "MetaModes"   "CRT: 1600x1200,  DFP: 1024x768"
  3293.  
  3294.