Installing a Voodoo 3dfx Video Card with FreeBSD
Heres a quick document detailing the steps I took to get my 3dfx card and glide working on FreeBSD with my Voodoo2 PCI card.
I have so far has successes with Quake2 and Unreal Tournament, so
I thought that stringing out the steps I took would be of use to the FreeBSD community.
The glide librarys and 3dfx driver tools need to be used in conjunction with the linux_base
package, and works *almost* identically as installing the 3dfx tools from http://linux.3dfx.com, the only difference I have noticed is no /dev/3dfx entry.
Steps
=====
1. First off, enable the linux emulation with the following:
cd /usr/ports/emulators/linux_base
make ; make install
2. Once completed, add the following line to /etc/rc.conf
linux_enable="YES"
* You do not need to reboot to add the linux module, simply type
kldload linux
3. Install the linux development tools. This may not be neccesary on all systems, but I build alot of glide apps.
cd /usr/ports/devel/linux_devtools
make ; make install
4. Install the linux glide librarys.
cd /usr/ports/graphics/linux_glide
make ; make install
cd /usr/ports/graphics/linux_glx
make ; make install
5. Modify your RPM command for installing linux games apps etc..
I editied /root/.cshrc, as you need to be root to install. Add the
appropriate alias to suit whatever shell you use - but this is the command in csh
alias rpmi rpm -Uvh --ignoreos --root /compat/linux --dbpath /var/lib/rpm
* RPMS can be installed in the future by simply typing rpmi app.rpm
That should be it!! All that's needed now is to test the installation.
cd /usr/compat/linux/usr/local/glide/bin
./test3Dfx ./testGlide2x ./testGlide3x
These should all bring up the "spinning" 3Dfx logo, and display
a blue screen :) in 800x600. If you see this, then congratulations!!
Additional demos and tests can be downloaded from http://linux.3dfx.com, with spinning donuts etc..
Hope this helps people out their, if you have any questions please do not hesitate to contact me on jamie@jamiesdomain.org.uk or im usually hanging
around in #freebsdhelp as "sparc".
Thanks,
Jamie Heckford jamie@jamiesdomain.org.uk Sparc
|