xref: /haiku/src/add-ons/kernel/drivers/graphics/nvidia/README.html (revision 81f5654c124bf46fba0fd251f208e2d88d81e1ce)
1<html>
2<head>
3	<meta http-equiv="Content-Type"	content="text/html; charset=iso-8859-1">
4	<meta name="GENERATOR" content="The DarkSite">
5	<title>Readme for (open)BeOS Unified Nvidia graphics driver</title>
6</head>
7<body>
8<h2 align="center">Unified Nvidia graphics driver for (open)BeOS</h2></align><br><br>
9<hr>
10<h3><strong>NOTE PLEASE:</strong><br>
11You use this software at your own risk! Although I don't expect it to damage your PC, videocard or Monitor, I cannot guarantee this!</h3>
12<hr>
13<h2>Supported cards (as far as is known):</h2>
14<ul>
15	<li>TNT 1/2;
16	<li>TNT 2-M64;
17	<li>Vanta/Aladdin TNT2;
18	<li>GeForce 256;
19	<li>GeForce 2 MX/Ti/GTS/Go;
20	<li>GeForce 2 Integrated GPU (Nforce) (setup RAM amount manually for now);
21	<li>GeForce 3 (Ti);
22	<li>GeForce 4 MX/Ti/Go;
23	<li>GeForce 4 Integrated GPU (Nforce 2) (setup RAM amount manually for now);
24	<li>GeForce FX 5200/5600/5700/5800/5900/5950/Go;
25	<li>Quadro (2/4/FX/Go).
26</ul>
27<br>
28<hr>
29<h2>Features:</h2>
30<ul>
31	<li>Hardware cursor support (on both heads on dualhead cards);
32	<li>Full 2D acceleration;
33	<li>Full BWindowScreen support (used for hardware pageflipping, scrolling/panning and acceleration in applications/games);
34	<li>DPMS support for analog connected screens (on both heads on dualhead cards);
35	<li>B_YCbCr422 hardware overlay support on both TNT and GeForce series cards (overlay follows head in dualhead stretch/switch modes);
36	<li>Dualhead support on GeForce dualhead cards (use Mark Watson's 'Dualhead Setup' from BeBits for now);
37	<li>DVI and laptop panel (widescreen) support.
38</ul>
39<strong>Known limitations:</strong>
40<ul>
41	<li>If the driver does not load make sure you enabled 'assign IRQ to VGA card' in your system BIOS;
42	<li>Embedded GeForce RAM detection is non-functional: please set amount manually for now via the nv.settings file (driver probably defaults to 1Mb if you don't). If you have overlay trouble, set a slightly smaller amount of RAM than you actually specified in the system BIOS (1Mb less or so);
43	<li>If the driver still seems to create 'random' trouble make sure you have a fully functional VGA BIOS, or system BIOS for embedded cards (check for updates on the manufacturor's site). Make sure you mail me if you still have trouble but also if this version fixed that!
44</ul>
45<br>
46<hr>
47<h2>Installation:</h2>
48If you encounter bugs, please checkout the driver's <a href="http://web.inter.nl.net/users/be-hold/BeOS/NVdriver/index.html">website</a> to see if it's already on the todo list. You can also checkout the <a href="UPDATE.html">UPDATE</a> file included with this driver to see if it should have been fixed. If you think it's prudent, or if you are unsure, then please fill out the <a href="http://web.inter.nl.net/users/be-hold/BeOS/NVdriver/bugreport.html">bugreport form</a> on the site or send me an <a href="mailto:rag.cornelissen@inter.nl.net">Email</a>. Make sure you are as precise as possible because that will make things easier to trackdown and fix...<br>
49<br>
50<br>
51OK, now that's all said let's get to it ;-)<br>
52<br>
53In contrary to what I have said before you don't need to de-install official Be drivers for this driver to work correctly. This driver will install in the user part of the BeOS, so not in the system part where the official drivers are.<br>
54BeOS first checks (during boot) if there are 'user-addons' that should be loaded for a device. If not, it loads it's own drivers (if any). You can select which driver should be loaded by hitting the spacebar as soon as the BeOS 'icons' screen appears. If you select <strong>disable user addons</strong> the system will load it's own drivers. If you don't do anything, the system will load the (open)BeOS Nvidia TNT/GeForce graphics driver.<br>
55<br>
56<strong>Note:</strong> This might turn out to be handy if you run into trouble upon testing the driver, or if you are 'tweaking' the nv.settings file...<br>
57<br><br>
58<strong>actual INSTALLATION:</strong><br>
59<br>
60Doubleclick on the install.sh file and follow the instructions. You have to reboot in order to load the driver. Make sure you read the <strong>Settings</strong> information below before you do that...<br>
61<br>
62<br>
63<strong>alternate INSTALLATION method:</strong><br>
64<br>
65Unzip the zip file that contains the driver to the root folder. Now reboot and you should be using the new driver.<br>
66<br>
67<br>
68<strong>DE-INSTALLATION:</strong><br>
69<br>
70Currently there's no uninstall script included. Just do it manually:<br>
71<br>
72Delete the <strong>nv.accelerant</strong> file in <strong>home/config/add-ons/accelerants/</strong><br>
73Delete the <strong>nv.driver</strong> file in <strong>home/config/add-ons/kernel/drivers/bin/</strong><br>
74Delete the <strong>nv.settings</strong> file in <strong>home/config/settings/kernel/drivers/</strong><br>
75Delete the <strong>nv.driver shortcut</strong> in <strong>home/config/add-ons/kernel/drivers/dev/graphics/</strong> which pointed to the file <strong>nv.driver</strong>.<br>
76<br>
77You have to reboot in order to apply the original configuration.<br>
78<br>
79<br>
80<hr>
81<a name="settings"></a><h2>Settings:</h2><br>
82Please read this information carefully *before* installing and using the (open)BeOS Nvidia TNT/GeForce graphics driver. It might spare you some trouble afterwards..<br>
83<p>The driver uses a file named <strong>nv.settings</strong> to determine how to use your card. After installation this file will be located at <strong>home/config/settings/kernel/drivers/</strong>. How you should setup this file depends on what you want to do with the driver. While it has a 'failsave' default configuration, you might be able to do better than that... Anyway, read the nifty details below.<br>
84<br>
85<strong>Note:</strong> The driver only reads this file during it's initialisation. This means that you have to reboot in order to let changes take effect.<br>
86<br>
87<br>
88<br>
89<strong>nv.settings driver configuration:</strong><br>
90<ul>
91	<li><strong>memory:</strong> (disabled by default)<br>
92		This option enables you to override the 'memory amount autodetection' of the driver. If autodetection is working incorrect, you can manually set the amount this way. You could also lower the amount of RAM to a lower value than actually there to test with for instance overlay use in applications. So this option is probably mostly of interest to developers. Specify the RAM amount in Mb (use only 'whole' numbers!).<br>
93This option is disabled by default (preceded by a '#').<br>
94<li><strong>hardcursor:</strong><br>
95	A hardcursor is nessesary for DirectWindow windowed mode support.
96	<ul>
97		<li><strong>false:</strong><br>
98		If you have trouble with the hardcursor (on one or both of the heads), select <strong>hardcursor false</strong>. Make sure you let me know about the hardcursor trouble also: this should not happen!
99		<li><strong>true:</strong> (default setting)<br>
100		A software cursor 'flickers' a bit sometimes because it has to be redrawn constantly. So <strong>hardcursor true</strong> is the preferred setting. For DirectWindow windowed mode functionality you need to use this setting also (Chart demo app for instance).
101	</ul>
102<li><strong>logmask:</strong> (set to minimal by default)<br>
103The logmask option is very handy to track down trouble in the driver. You should only enable this if you are doing so, otherwise keep it turned off because it slows down your system. (All lines have a '#' preceding 'logmask' by default.) Logging creates a logfile called <strong>nv.accelerant.0.log</strong> in your <strong>~ (home)</strong> folder. A second logfile may get created depending on how the driver is used (on cloning; for BWindowScreen for example). The second file is called <strong>nv.accelerant.1.log</strong>, and it will also be in your home folder.<br>
104<strong>Note:</strong>
105<ul>
106<li>You may only enable *one* logmask-line. The value you place after it (hexadecimal 32bit) determines what will be logged. The first 7 digits determine the part of the driver that will be logging, the last single digit determines the level of logging (like 'all messages', or only 'error messages').
107</ul>
108<li><strong>dumprom:</strong><br>
109Dumprom is another 'tool' for bug-tracking purposes.
110	<ul>
111		<li><strong>false:</strong> (default setting)<br>
112		Keep it set to <strong>dumprom false</strong>, unless you want the driver to dump the contents of your VGA BIOS ROM in a file.
113		<li><strong>true:</strong><br>
114		<strong>dumprom true</strong> lets the driver dump a copy of your VGA BIOS in a file called <strong>nv.rom</strong> in your <strong>~ (home)</strong> folder.
115	</ul>
116<li><strong>switchhead:</strong><br>
117With this option you can select which output on your card is the primary output (only for dualhead cards).
118	<ul>
119		<li><strong>false:</strong> (default setting)<br>
120		Keep it set to <strong>switchhead false</strong>, unless you feel you want the card's other output to be used as primary one. Note that if a single digitally connected flatpanel is found, that panel will be the driver's primary output with this setting.
121		<li><strong>true:</strong><br>
122		<strong>switchhead true</strong> lets the driver 'invert' the output assignments for all modes.
123	</ul>
124</ul>
125
126<hr>
127<br>
128<a href="mailto:rag.cornelissen@inter.nl.net">Rudolf Cornelissen.</a>
129<p>(Page last updated on May 11, 2004)</p>
130</body>
131</html>
132