BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / graphics / skeleton / README.html
bloba50f6d1a84a30d99fc61c8b402c4857097f227d3
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 Haiku skeleton graphics driver</title>
6 </head>
7 <body>
8 <h2 align="center">Haiku skeleton graphics driver</h2></align><br><br>
9 <hr>
10 <h3><strong>NOTE PLEASE:</strong><br>
11 You 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>None.
16 </ul>
17 <br>
18 <hr>
19 <h2>Features:</h2>
20 <ul>
21 <li>None.
22 </ul>
23 <strong>Known limitations:</strong>
24 <ul>
25 <li>Everything you can think of.
26 </ul>
27 <br>
28 <hr>
29 <h2>Installation:</h2>
30 <br>
31 In 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>
32 BeOS 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 Haiku skeleton graphics driver.<br>
33 <br>
34 <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 skel.settings file...<br>
35 <br><br>
36 <strong>actual INSTALLATION:</strong><br>
37 <br>
38 Doubleclick 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>
39 <br>
40 <br>
41 <strong>alternate INSTALLATION method:</strong><br>
42 <br>
43 Unzip the zip file that contains the driver to the root folder. Now reboot and you should be using the new driver.<br>
44 <br>
45 <br>
46 <strong>DE-INSTALLATION:</strong><br>
47 <br>
48 Currently there's no uninstall script included. Just do it manually:<br>
49 <br>
50 Delete the <strong>skel.accelerant</strong> file in <strong>home/config/add-ons/accelerants/</strong><br>
51 Delete the <strong>skel.driver</strong> file in <strong>home/config/add-ons/kernel/drivers/bin/</strong><br>
52 Delete the <strong>skel.settings</strong> file in <strong>home/config/settings/kernel/drivers/</strong><br>
53 Delete the <strong>skel.driver shortcut</strong> in <strong>home/config/add-ons/kernel/drivers/dev/graphics/</strong> which pointed to the file <strong>skel.driver</strong>.<br>
54 <br>
55 You have to reboot in order to apply the original configuration.<br>
56 <br>
57 <br>
58 <hr>
59 <a name="settings"></a><h2>Settings:</h2><br>
60 Please read this information carefully *before* installing and using the Haiku skeleton graphics driver. It might spare you some trouble afterwards..<br>
61 <p>The driver uses a file named <strong>skel.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>
62 <br>
63 <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>
64 <br>
65 <br>
66 <br>
67 <strong>skel.settings driver configuration:</strong><br>
68 <ul>
69 <li><strong>usebios:</strong><br>
70 The 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>
71 To make things look even more complex the driver might actually use the BIOS to determine your cards specifications on *both* possible settings.
72 <ul>
73 <li><strong>false:</strong><br>
74 If you specify <strong>usebios false</strong> the driver will attempt to coldstart the card, which is the preferred way of doing it because of the better tuned setup if all is right. Unfortunately there's not enough info available to make this work reliably, so it's not used by default. This setting would enable you to use your 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).
75 <li><strong>true:</strong> (default setting)<br>
76 Specify <strong>usebios true</strong> unless you want to try to use a card as a secondary card in your system.
77 </ul>
78 <li><strong>memory:</strong> (disabled by default)<br>
79 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>
80 This option is disabled by default (preceded by a '#').<br>
81 <li><strong>hardcursor:</strong><br>
82 A hardcursor is nessesary for DirectWindow windowed mode support.
83 <ul>
84 <li><strong>false:</strong><br>
85 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!
86 <li><strong>true:</strong> (default setting)<br>
87 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).
88 </ul>
89 <li><strong>logmask:</strong> (set to minimal by default)<br>
90 The 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>skel.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>skel.accelerant.1.log</strong>, and it will also be in your home folder.<br>
91 <strong>Note:</strong>
92 <ul>
93 <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').
94 </ul>
95 <li><strong>dumprom:</strong><br>
96 Dumprom is another 'tool' for bug-tracking purposes.
97 <ul>
98 <li><strong>false:</strong> (default setting)<br>
99 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.
100 <li><strong>true:</strong><br>
101 <strong>dumprom true</strong> lets the driver dump a copy of your VGA BIOS in a file called <strong>skel.rom</strong> in your <strong>~ (home)</strong> folder.
102 </ul>
103 <li><strong>switchhead:</strong><br>
104 The driver always autodetects which output should be used as primary one, but you can let the driver 'invert' the outcome of that detection with this option (only for dualhead cards).
105 <ul>
106 <li><strong>false:</strong> (default setting)<br>
107 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 connected screen is found, that screen will be the driver's primary output with this setting.
108 <li><strong>true:</strong><br>
109 <strong>switchhead true</strong> lets the driver 'invert' the output assignments for all modes. Use only when you have two screens connected, otherwise the one connected screen will remain black as the other (not connected) output is being used.<br>
110 </ul>
111 <strong>Note:</strong>
112 <ul>
113 <li>If the driver determines it cannot use a digital panel <strong>despite</strong> it being physically connected and powered on, using the switchhead option will not fix this. This is no fault in your card or the panel, but happens only because the driver relies on certain functions inside your cards BIOS to behave in a certain way.
114 </ul>
115 <li><strong>force_pci:</strong><br>
116 On AGP cards you can block the use of AGP mode transfers.
117 <ul>
118 <li><strong>false:</strong> (default setting)<br>
119 Keep this option set to <strong>force_pci false</strong>, unless the graphics card or motherboard has trouble using AGP.
120 <li><strong>true:</strong><br>
121 <strong>force_pci true</strong> prevents the graphicsdriver from activating AGP mode, so it will be using PCI mode like it has always been in the past. The downside of this is that this comes at a performance penalty if your motherboard supports the AGP 'fastwrite' (FW) option, which won't be utilized with this setting.
122 </ul>
123 <strong>Note:</strong>
124 <ul>
125 <li>If you have trouble using AGP mode, you should prefer tweaking the AGP busmanager settings file as it might well enable you to use a 'lesser' AGP mode instead of falling back to PCI mode alltogether.
126 </ul>
127 <li><strong>unhide_fw:</strong><br>
128 This option is only used if your card is running in AGP mode. It's a real <strong>tweak</strong> option. It's officially unsupported, and it's unknown if it can do harm to your card or system. It exists because using it <strong>can</strong> speedup unaccelerated graphics <strong>a lot</strong>. Think about video playback or playing quake2 in software rendering mode...
129 <ul>
130 <li><strong>false:</strong> (default setting)<br>
131 Keep this option set to <strong>unhide_fw false</strong> unless you are certain you want to try the 'unsupported' graphics speedup. On cards supporting FW by default the unhide_fw option has no effect.
132 <li><strong>true:</strong><br>
133 If you have an older card that officially doesn't support the AGP FW feature, you could possibly get this feature anyway by setting <strong>unhide_fw true</strong>. Please <strong>make sure</strong> that at the first sign of trouble (system hanging, displaying artifacts, etc) you disable this feature here again, or you might risk <strong>destroying</strong> your card and/or AGP slot.
134 </ul>
135 <li><strong>pgm_panel:</strong><br>
136 This option only has an effect if you have a laptop panel or DVI panel connected. It's existing because it's currently impossible to setup the driver in a way every single panel outthere is happy about it.
137 <ul>
138 <li><strong>false:</strong><br>
139 If you select <strong>pgm_panel false</strong> the driver will not program the panel's pixelclock (refreshrate). Instead it relies on your cardBIOS to have done that correctly. While this is probably the case, it might introduce some displaying errors every now and then.
140 <li><strong>true:</strong> (default setting)<br>
141 With the <strong>pgm_panel true</strong> setting, the driver will fix your panel's refreshrate to 60Hz. While this should be working on all panels outthere, some panels are particular picky about refreshrates below 60.0Hz (they shut off), and some other panels are particular picky about refreshrates above 60.0Hz (they shut off). While the driver requests the hardware to set 60.0Hz, this isn't exactly possible, so the actual setting is <strong>bound</strong> to be a tiny bit below or above 60.0Hz.
142 </ul>
143 </ul>
145 <hr>
146 <br>
147 <a href="mailto:info.be-hold@inter.nl.net">Rudolf Cornelissen.</a>
148 <p>(Page last updated on November 4, 2004)</p>
149 </body>
150 </html>