xref: /haiku/src/add-ons/kernel/drivers/graphics/matrox/README.html (revision fef6144999c2fa611f59ee6ffe6dd7999501385c)
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 Matrox graphics driver</title>
6</head>
7<body>
8<h2 align="center">Unified Matrox 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:</h2>
14<ul>
15	<li>Millenium I (preliminary)
16	<li>Millenium II (preliminary)
17	<li>G100
18	<li>G200
19	<li>G400
20	<li>G450
21	<li>G550
22</ul>
23<br>
24<hr>
25<h2>Features:</h2>
26<ul>
27	<li>Millenium I/II (preliminary):
28	<ul>
29		<li>Hardware cursor support;
30		<li>Full 2D acceleration;
31		<li>Full BWindowScreen support (used for hardware pageflipping, scrolling/panning and acceleration in applications/games);
32		<li>Sync_on_green support;
33		<li>DPMS support;
34	</ul>
35	<li>G100-G550:
36	<ul>
37 		<li>Hardware cursor support on one head;
38		<li>Full 2D acceleration;
39		<li>Full BWindowScreen support (used for hardware pageflipping, scrolling/panning and acceleration in applications/games);
40		<li>Full card coldstart support (important if you use such a card as secondary videocard);
41		<li>Sync_on_green support: G400, G450 and G550 apparantly miss the needed board wiring to actually support this fully though;
42		<li>DPMS support on both heads;
43	</ul>
44	<li>G200-G550:
45	<ul>
46		<li>B_YCbCr422 hardware overlay support on one head (including 'hardware zoom');
47	</ul>
48	<li>G400-G550:
49	<ul>
50 		<li>Dualhead functionality;<br>
51			<strong>Note:</strong> You need <strong>Dualhead Setup</strong> for use of dualhead modes.
52		<li>TVout support: Desktop modes: G400 only for now; Video modes: G400-G550.<br>
53            <strong>Note:</strong> You need <strong>Dualhead Setup</strong> for use of Desktop TVout modes, and you need <strong>VideoScreen V6</strong> for use of Video TVout modes (for now).
54	</ul>
55</ul>
56<strong>current MGA driver limitations:</strong><br><br>
57<ul>
58	<li>If the driver does not load make sure you enabled 'assign IRQ to VGA card' in your system BIOS;
59	<li>Expansion RAM modules are not supported as far as I know;
60	<li>Special versions of G200 apparantly have colorpalette problems (Marvel, Matrox MMS cards like the HP VisualizeFX ). Use them in 32bit mode; overlay and hardware cursor should be OK.
61	<li>G400 cards have overscanning rubbish visible on the top of the screen if spaces with virtual height are used on the secondary head in monitor mode. This cannot be fixed decently, and is caused by a MAVEN hardware design fault.
62</ul>
63<br>
64<hr>
65<h2>Installation:</h2>
66If you encounter bugs, please checkout the driver's <a href="http://web.inter.nl.net/users/be-hold/BeOS/MGAdriver/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/MGAdriver/bugreport.html">bugreport</a> on the site or send me an <a href="mailto:info.be-hold@inter.nl.net">Email</a>. Make sure you are as precise as possible because that will make things easier to trackdown and fix...<br>
67<br>
68<br>
69OK, now that's all said let's get to it ;-)<br>
70<br>
71In 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>
72BeOS 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 Matrox graphics driver.<br>
73<br>
74Since BeOS only supports all Matrox cards upto and including G400 you will end up in VGA grayscale videomode if you have a G450 or G550. Otherwise, you will have a normal colorfull Desktop. Only BeOS will be using it's own official drivers in this case...<br>
75<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 mga.settings file...<br>
76<br><br>
77<strong>actual INSTALLATION, part 1:</strong><br>
78<br>
79If you used Mark Watson's G400 driver (upto and including V0.12), or the (open)BeOS driver V0.13 alpha1
80 (which was based on Mark's driver directly), you need to do an extra manual step *once* in order to activate the new driver:<br>
81<br>
82You must <strong>remove Mark's driver manually</strong>. (If you don't, the new driver won't be loaded!)<br>
83In order to do this, you need to delete two files (and reboot afterwards). Here's how:<br>
84<ul>
85	<li>In: <strong>home/config/add-ons/accelerants/</strong><br>
86		delete: <strong>MGAGX00.accelerant</strong>
87		(You *should* find 'mga.accelerant' there if you already installed the openBeOS driver V0.13 alpha2 or up.)
88	<li>In: <strong>home/config/add-ons/kernel/drivers/bin/</strong><br>
89		delete: <strong>gx00.driver</strong>
90		(You *should* find 'mga.driver' there if you already installed the openBeOS driver V0.13 alpha2 or up.)
91	<li>You can also delete the <strong>mgaGx00.log</strong> logfile which is generated by Mark's driver in your <strong>home</strong> folder. (The logfile called 'mga.accelerant.0.log' the new driver generates is located there also. You may delete that if it gets too big: the (open)BeOS driver simply creates a new one from scratch when needed. The same applies for a possibly existing 'mga.accelerant.1.log' file, generated by clone accelerants.)
92</ul>
93If you install a new version of the (open)BeOS MGA driver later on you won't encounter this manual thing again: it's a one-time thing only.<br>
94<br>
95<br>
96<strong>actual INSTALLATION, part 2:</strong><br>
97<br>
98Doubleclick 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>
99<br>
100<br>
101<strong>alternate INSTALLATION (part 2) method:</strong><br>
102<br>
103Unzip the zip file that contains the driver to the root folder. Now reboot and you should be using the new driver.<br>
104<br>
105<br>
106<strong>DE-INSTALLATION:</strong><br>
107<br>
108Currently there's no uninstall script included. Just do it manually:<br>
109<br>
110Delete the <strong>mga.accelerant</strong> file in <strong>home/config/add-ons/accelerants/</strong><br>
111Delete the <strong>mga.driver</strong> file in <strong>home/config/add-ons/kernel/drivers/bin/</strong><br>
112Delete the <strong>mga.settings</strong> file in <strong>home/config/settings/kernel/drivers/</strong><br>
113Delete the <strong>mga.driver shortcut</strong> in <strong>home/config/add-ons/kernel/drivers/dev/graphics/</strong> which pointed to the file <strong>mga.driver</strong>.<br>
114<br>
115You have to reboot in order to apply the original configuration.<br>
116<br>
117<br>
118<hr>
119<a name="settings"></a><h2>Settings:</h2><br>
120Please read this information carefully *before* installing and using the (open)BeOS Matrox MGA driver. It might spare you some trouble afterwards..<br>
121<p>The driver uses a file named <strong>mga.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>
122<br>
123<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>
124<br>
125<br>
126<br>
127<strong>mga.settings driver configuration:</strong><br>
128<ul>
129	<li><strong>usebios:</strong><br>
130The name of this item may be somewhat misleading, it might be changed in the future. It actually tells the driver if it should coldstart the card or not. The driver will rely on the VGA BIOS to have coldstarted the card before BeOS booted if you specify 'true'.<br>
131To make things look even more complex the driver actually uses the BIOS to determine your cards specifications on *both* possible settings.
132	<ul>
133		<li><strong>false:</strong> (default setting in V0.13 beta2 and up)<br>
134		If you specify <strong>usebios false</strong> the driver will coldstart the card, which is the preferred way of doing it because of the better tuned setup if all is right. If you encounter trouble with this setting then please inform me, because it should be working reliably on all Gxxx cards! This setting also enables you to use your Matrox card as a secondary card in your system. Be advised though that BeOS officially does not (yet) support multiple VGA cards, so you need special software in order to be able to actually use it (a video consumer node for instance).
135		<li><strong>true:</strong> (default setting in V0.13 beta1)<br>
136		If you have a G450 or G550 and you are using the old V0.13 beta1 (or an even older) driver, specify <strong>usebios true</strong> (If you don't your screen will probably go dark when you restart BeOS). If you have trouble on other cards (or while using the latest driver) use this setting also. If this setting gives you trouble, then (also) please let me know.
137	</ul>
138	<strong>Notes:</strong>
139 	<ul>
140 		<li>On V0.13alpha2 and before usebios had no effect on G400 cards. These cards were always coldstarted.
141		<li>Millenium I and II cards do not (yet) have coldstart support. The usebios setting has no effect here.
142 	</ul>
143	<li><strong>memory:</strong> (disabled by default)<br>
144		This option enables you to override the 'memory amount autodetection' of the driver. While you did need it on all driverversions for most cards upto now, you don't need it anymore starting with V0.13beta1. There is only *one* exception: If the V0.13beta1 (and up) driver reports not being able to process the Pins BIOS info, it will default to a failsafe RAM amount. This might be too low a value, so you might want to tune that then. Specify the RAM amount in Mb (use only 'whole' numbers!).<br>
145This option is disabled by default (preceded by a '#').<br>
146	<strong>Note:</strong>
147	<ul>
148		<li>Memory detection does not work (yet) on Millenium I and II cards. Millenium I is preset to having 2Mb RAM, while Millenium II is preset to having 4Mb RAM. If you have more and want to use it, use the <strong>memory</strong> option to set the driver to the correct amount of RAM.
149	</ul>
150<li><strong>hardcursor:</strong><br>
151	The hardcursor capabilities of the MGA cards are limited to one head only. A hardcursor is nessesary though for DirectWindow windowed mode support.
152	<ul>
153		<li><strong>false:</strong> (default setting in V0.13 beta2 and V0.14)<br>
154		If you want to use dualhead and also want a visible cursor on both heads, select <strong>hardcursor false</strong>. This setting is used by default these days because it's a 'failsafe' setting that works independently of the selected videomode.
155		<li><strong>true:</strong> (default setting in V0.13 beta1 and V0.15 and later)<br>
156		A software cursor 'flickers' a bit sometimes because it has to be redrawn constantly. So for use in singlehead mode <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).
157	</ul>
158	<strong>Notes:</strong>
159 	<ul>
160 		<li>Starting with V0.13beta1 the hardcursor also works on G100 cards.
161 		<li>Driverversion V0.14 also introduces Millenium I and II hardcursor support.
162	</ul>
163<li><strong>logmask:</strong> (set to minimal by default)<br>
164The 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>mga.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>mga.accelerant.1.log</strong>, and it will also be in your home folder.<br>
165<strong>Note:</strong>
166<ul>
167<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').
168</ul>
169<li><strong>dumprom:</strong><br>
170Dumprom is another 'tool' for bug-tracking purposes.
171	<ul>
172		<li><strong>false:</strong> (default setting)<br>
173		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.
174		<li><strong>true:</strong><br>
175		<strong>dumprom true</strong> lets the driver dump a copy of your VGA BIOS in a file called <strong>mga.rom</strong> in your <strong>~ (home)</strong> folder.
176	</ul>
177<li><strong>greensync:</strong> (V0.14 and up)<br>
178Greensync is used to enable an alternate monitor signal synchronisation setup used for some specific monitors outthere.
179	<ul>
180		<li><strong>false:</strong> (default setting)<br>
181		Normal synchronisation signals are output only. Changes are, you will use this setting.
182		<li><strong>true:</strong><br>
183		<strong>greensync true</strong> lets the driver output 'Sync on Green' timing signals to the monitor also. On dualhead cards the secondary head remains outputting standard signals only: sync on green is not supported there. Don't use this option unless your monitor needs it. Otherwise you will probably get a distorted Desktop that's also too bright..
184	</ul>
185	<strong>Note:</strong>
186<ul>
187<li>Enabling sync on green does two things. It enables output of composite sync on the Hsync line (while keeping Vsync only on the Vsync line), and it adds this composite sync to the green signal output to your monitor. While outputting composite sync works on all cards, adding this to the green signal output only works on older cards, upto and including G200.
188</ul>
189</ul>
190<br>
191<strong>Notes:</strong>
192<ul>
193 <li>If you want to use standard (Desktop) TVout or dualhead modes, you need <strong>dualheadSetup</strong>. You can download this <a href="http://www.bebits.com/app/1401" target="blank">application</a> from BeBits.
194 <li>If you want to use the VCD or DVD dualhead clone (Video) TVout modes on G400 with driver V0.15 and up, or on G450 or G550 with driver V0.14 and up, you can download a simple command-line tool called <strong>VideoScreen</strong> for now from the <a href="http://web.inter.nl.net/users/be-hold/BeOS/MGAdriver/tools.html#tools">tools</a> page on the (open)BeOS Matrox MGA driver site. For driver V0.15 and up you need the updated V6 version of this tool.
195</ul>
196<hr>
197<br>
198<a href="mailto:info.be-hold@inter.nl.net">Rudolf Cornelissen.</a>
199<p>(Page last updated on June 6, 2004)</p>
200</body>
201</html>
202