« Kscope | Main | A Sad Time »

Scorched 3D and Masayuki San's driver packages

There are times when Solaris is unable to detect the system's Ethernet card and most commonly it turns out that one of Masayuki Murayama's Solaris NIC drivers will work. We end up pointing people to the source tarball download page and instruct them to do a make install. Though not too difficult it is kinda troublesome esp. for Solaris newbies. It is always nice to have an easy install bundle with binaries packaged up as SVR4 packages.

With this in mind I went about adding a Pkgbuild SPEC file for Masayuki-san's drivers to the SFE repository. Thanks to the flexibility and amazing ease provided by the SPEC file mechanism it took me a few hours on a Sunday to nicely package up the drivers (21 packages in all) with proper postinstall actions and checks to add the drivers. It would probably have taken a couple days to achieve this result using a Makefile - driven system.

Instead of building from the SPEC file you can download this small bundle of binary packages. Use the following simple steps to install:

 

  • Unzip: bunzip2 -c nicdrv.tar,bz2 | tar xpf -
  • cd nicdrv
  • ./install
You need to be "root" to install. There are checks in the driver postinstall scripts to avoid conflicting with existing driver bindings to a given device.

The other piece I added into SFE is the Scorched 3D game. It is a 3D remake of the Scorched Earth DOS game. It builds on Solaris after a small source patch and runs without problems. Unfortunately the SDL library bundled with Solaris Express is not built with OpenGL support. So I had to remove SUNWlibsdl and SUNWlibsdl-devel and build and install SFEsdl to get the game to work.

I used to play this in Ubuntu on my Ferrari laptop. However the ATI's 3D accelerated driver for Linux sucks Big Time. It hard hangs the system now and then. I will now be able to enjoy the game on by Solaris box. Here is an obgligatory screenshot:



« Kscope | Main | A Sad Time »
Comments:

Neat.... This simplifies things a lot!

Posted by Joe G on February 10, 2008 at 01:23 PM PST #

" It would probably have taken a couple days to achieve this result using a Makefile - driven system."

Ten days at 10 hours per day.
That's how long it took me.

But now I can take any driver from Murayama-san, and the system will build me a Sun Studio optimized drivers, and package them in a 100% System V compliant package. With SUNW_HOLLOW and everything, fully integrated.

Posted by UX-admin on February 10, 2008 at 03:57 PM PST #

The SPEC file generates Sun Studio optimized drivers as well with all package tags. My binary bundle is built using SUN Studio. It supports all the SVR4 SUNW tags as well, just that I have not yet added all of them.
Thanks for hinting at SUNW_HOLLOW and other tags. It will take 5 mins to add those tags and 20mins more to add the sfe driver that i missed :).

Posted by Moinak Ghosh on February 10, 2008 at 04:03 PM PST #

Post a Comment:
Comments are closed for this entry.
About

moinakg

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today