NeoMagic MagicGraph/MagicMedia graphics driver for (open)BeOS
Installation:
This is the 0.05 release of the (open)BeOS NeoMagic display driver.
NOTE PLEASE:
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!
If you encounter bugs, please checkout the driver's website to see if it's already on the todo list. You can also checkout the UPDATE 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 bugreport on the site or send me an Email. Make sure you are as precise as possible because that will make things easier to trackdown and fix...
OK, now that's all said let's get to it ;-)
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.
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 disable user addons the system will load it's own drivers. If you don't do anything, the system will load the (open)BeOS NeoMagic MagicGraph/MagicMedia graphics driver.
Note: This might turn out to be handy if you run into trouble upon testing the driver, or if you are 'tweaking' the nm.settings file...
actual INSTALLATION:
In a terminal switch to the 'openBeOS_Neomagic_V0.05_src' or 'openBeOS_Neomagic_V0.05_bin' folder (depending on downloaded version) and type:
make install
You have to reboot in order to load the driver. Make sure you read the Settings information below before you do that...
DE-INSTALLATION:
In a terminal switch to the 'openBeOS_Neomagic_V0.05_src' or 'openBeOS_Neomagic_V0.05_bin' folder (depending on downloaded version) and type:
make uninstall
You have to reboot in order to apply the original configuration.
alternate INSTALLATION method:
In order for the install to work as described above you need to have the developer tools installed. If you don't have that, you can still do a manual install by copying some files from the
obj/ folder:
Copy the nm.accelerant file to home/config/add-ons/accelerants/
Copy the nm.driver file to home/config/add-ons/kernel/drivers/bin/
Copy the nm.settings file to home/config/settings/kernel/drivers/
Create a shortcut in home/config/add-ons/kernel/drivers/dev/graphics/ which points to the file
nm.driver you just installed.
Now reboot and you should be using the new driver.
alternate DE-INSTALLATION method:
Just delete the three files and the shortcut created as described in the alternate INSTALLATION method
. When you're done, reboot. The original configuration will now be in effect again.
Settings:
Please read this information carefully *before* installing and using the (open)BeOS NeoMagic MagicGraph/MagicMedia graphics driver. It might spare you some trouble afterwards..
The driver uses a file named nm.settings to determine how to use your card. After installation this file will be located at home/config/settings/kernel/drivers/. 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.
Note: The driver only reads this file during it's initialisation. This means that you have to reboot in order to let changes take effect.
nm.settings driver configuration:
- memory: (disabled by default)
This option enables you to override the 'memory amount autodetection' of the driver. The driver does not need this because it's well known how much RAM every specific card contains, but you could limit 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 only of interest to developers. Specify the RAM amount in Kb (use only 'whole' numbers!).
This option is disabled by default (preceded by a '#').
- hardcursor:
- false:
If you have trouble with the hardcursor, select hardcursor false. Make sure you let me know about the hardcursor trouble also: this should not happen!
- true: (default setting)
A software cursor 'flickers' a bit sometimes because it has to be redrawn constantly. So hardcursor true is the preferred setting.
- logmask: (set to minimal by default)
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 nm.accelerant.log in hour ~ (home) folder.
Note:
- 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').
- dumprom:
Dumprom is another 'tool' for bug-tracking purposes.
- false: (default setting)
Keep it set to dumprom false, unless you want the driver to dump the contents of your VGA BIOS ROM in a file.
- true:
dumprom true lets the driver dump a copy of your VGA BIOS in a file called nm.rom in your ~ (home) folder.
Rudolf Cornelissen.
(Page last updated on August 14, 2003)