| « I Need More Screen Real Estate | Current vs. High-end in Computer Hardware (and overview of GPUs available today) » |
OpenSolaris: Poised for a Coup?
Since I am an operating system connoisseur, and especially because I can hardly pass up Free Software operating systems, I downloaded OpenSolaris 2008.11 today, out of curiosity. I started out with somewhat low expectations, so when my favorite Linux and cross-platform software started popping up left and right, I was very surprised. It would seem that even some of the big, non-Sun vendors – Nvidia and Adobe – are backing OpenSolaris by supporting the platform.
Here is a summary of what I have experienced:
1. Virtually all of the most popular FOSS desktop applications are available. They may not come on the installation disk, but you can install them with a click in the package manager – after a sizable download, of course.
2. Due to the availability of the vast majority of important FOSS software, your OpenSolaris desktop will quickly start to look and feel like a Solaris-stylized Linux distro. Those already used to a GNOME-based Linux desktop will not see a dramatic difference in the end-user applications.
3. The breadth of hardware support, particularly for laptops, is not on par with Linux. However, if you get lucky and OpenSolaris supports your hardware, getting the basics will be very easy for you.
4. You can find precompiled binaries of all sorts of things floating around the net. With a bit of creative googling, you can go well beyond the offerings of the package manager, and have Firefox with Adobe Flash 10, Adobe Reader, Java 6, and even Gstreamer-based movie playing with Totem.
5. There is plenty of Linux-specific software that has yet to be ported to OpenSolaris. Sometimes it may be just a few lines of code where a library call needs to be tweaked; other times a significant rewrite is needed. However, the number of Linux-specific packages that recently support OpenSolaris is rapidly increasing.
6. One major advantage of OpenSolaris is the genius that is the ZFS filesystem. Even on relatively modest disk hardware, ZFS has noticeable performance gains over the popular Linux alternatives, ext3 and reiserfs. This is directly observable to an end-user when doing things like file copies or installing software. You can read more about the performance of ZFS with Michael Larabel’s independent review of operating system performance, between FreeBSD, Linux and OpenSolaris, here.
7. There’s no way that anyone not already an experienced Linux or Solaris user will find this operating system workable, especially compared to Mac or Win32. You need to be conversant in F/OSS technology, and fight a sometimes uphill battle, to get OpenSolaris to the point where it has feature parity with a common Linux distro such as Ubuntu. Most of the problems, oversights, and incompatibilities of OpenSolaris are not with the front-end applications, but under the hood; these compatibilities, while more concealed from the user, are not less significant due to their nature. In fact, certain problems like filesystem support may be a primary deterrent to end-user adoption until more of these features are brought into the out-of-box experience.
Now, here are some of the gory details of my experiences so far:
- NTFS support: Very Difficult. Involves tweaks to PATH, downloading of SUNWonbld, install of Sun Studio 12 Express (with the package manager), more tweaks to PATH, compiling FUSE (kernel and library) from source, compiling pkg-config from source, then figuring out which disk devices correspond to the NTFS volumes you want to mount. Final Status: Takes a fair bit of patience and expertise, but works. Read support appears very stable; I’m afraid to try write support due to the early status of FUSE on OpenSolaris. I have seen reports of the write support causing lockups, but this may have been fixed recently. Under active development. Helpful link (with a chance for free tech support from a Sun employee!): OpenSolaris FUSE forums.
- Marvell Yukon PCI-Express GB Ethernet Driver: Doable, but inconvenient. A benefactor in the community, Masayuki Murayama, has released and actively updates device drivers for several ethernet chipsets that Solaris does not support out of the box. When these will be integrated into the out of the box experience remains unknown. Fortunately, the install process for these, once the files were transferred to the OpenSolaris machine using a FAT32 external hard drive, was very, very easy. Note that if your ethernet hardware is supported out of the box, then you are better off than I was.
- Skype: Likely unavailable for now. There is no native build of Skype for any Solaris; your alternatives are to tar up a Linux distro install and run it in a BrandZ container; or, attempt to run the Windows version of Skype using Wine. Since the latter is much simpler, I chose to download the Solaris builds of wine that are linked to from WineHQ: Wine for Solaris is here. The app starts, and the GUI appears correct. Chat works. But, as expected, sound doesn’t work. Also, after about 5 minutes of running idle, the app crashes. I think the built-in Sun audio system is the problem; it is likely unsupported under Wine. I should probably try to build the CDDL’ed version of OSS v4.1 RC for OpenSolaris and see if that works any better.
- Flash 10: Easy to install, easy to find, works flawlessly. Newbies might puzzle for a moment on where they need to place the plugin, but Adobe Labs has made available a Flash 10 beta for Solaris. Works great with Firefox 3.0.4, shipped with OSOL 2008.11. Compared to the above issues, this is cake. Youtube within 10 minutes of post-install is a nice feature.
- Adobe Reader 8: Available through emulation of the Adobe 8 for SPARC package. Earlier this year, Codeweavers ported Google Chrome to Linux using Wine, with a bundled custom version of Wine that runs it fairly well. Transitive, a cross-platform virtualization company, has now jumped on the Look What I Can Do bandwagon and now gives us an alternative to the preinstalled GNOME Evince PDF reader. This proprietary alternative may be capable of reading certain complex PDFs that are not rendered properly with Evince, though I have yet to find a PDF that doesn’t look great with Evince. Still, this is an interesting use of developer energy directed towards OpenSolaris x86 users.
- Wine: See above info for Skype. Installs and runs, but I have yet to get sound working on a Wine app; furthermore, installing the package maintainer’s strange .lzma archive requires compiling the open source LZMA extractor, just to get at the raw .pkg file beneath it.
- EXT2/EXT3 filesystem support: Available through ext2fuse, a package similar to ntfs-3g. The trials and tribulations of getting a working FUSE kernel/lib install far outweigh the difficulty of compiling this small package. If you have any ext2 volumes, this should suffice once you get it working.
- Linux Old Hand Learning Curve: Moderate to high. Much is familiar, and much is unfamiliar, if you’re coming to OpenSolaris with experience hacking on Linux. Informational tools are often named differently; even tools of the same program name have different options and behavior. The Sun CLI userland feels antiquated and very rudimentary compared to the well-documented and flexible GNU userland. Certain things behave as expected, such as directory navigation; some things have reasonably simple analogues that you can adapt to, such as disk device enumeration in /dev/dsk; some things are wildly different, such as the Sun package manager(s).
- 3d Graphics: Nvidia’s binary drivers are really the only semblance of modern OpenGL support. The Nvidia drivers have feature parity with the Linux equivalent, supporting OpenGL 2.1.2 and GLSL. Some work has been done to get the Mesa stack working in Solaris world, but so far I would say that you need to have an Nvidia graphics card, and you need to be willing to use the binary-only drivers; otherwise, prospects of 3d acceleration on OpenSolaris are very poor indeed.
- Multimedia: The situation is bad. Out of the box support for free formats is provided, via the gstreamer packages. However, any of the patent-encumbered formats, such as mp3 and aac, are not shipped. You can attempt to download these non-free codecs from Blastwave, but they are so old that they either do not work with your current gstreamer core, or they work but they’re intolerably slow. Seriously – some of that blastwave stuff is from 2003. It doesn’t seem to fit very well with some of the more recently-updated packages. Your only alternative is to re-build the entire multimedia stack from source, including external decoder libraries (of which there are about a dozen), and then rebuild gstreamer from scratch. This can be done with some minor workarounds and thorough knowledge of the software in question, but that’s well beyond a newbie’s capability. A newbie’s only hope might be to run a simple, well-integrated media player app under wine, after they get sound to work under wine. Either that, or only use free formats like theora and vorbis.
- Office: On par with Linux. OpenOffice runs flawlessly (of course) on the Solaris platform. You could even say that it’s fast - spiffy - a little bit more spit and polish than most Linux builds of OpenOffice.
In conclusion, OpenSolaris has many problems out of the box for the end-user, that can be fairly easily solved with some more attention by the distro maintainers. In general, free software packages out in the wild are either programmed with OpenSolaris quirks in mind; or, OpenSolaris’ userland is running out of quirks, so more and more Linux-targeted code can run unmodified. Either way, you can almost always grab a GNU tarball of the latest stable off of a GNU FTP mirror, and have few problems building it, except to meet dependency version requirements.
Should end-users jump on the OpenSolaris bandwagon today? No.
Should F/OSS supporters, enthusiasts and evangelists jump on the OpenSolaris bandwagon today? I think so. Try it. Realize that there’s a free alternative to Linux. If the corporate types manage to corrupt the spirit of Linux someday, we’ll need a backup to continue the F/OSS movement.
Should system hackers, curious UNIX heads, and sysadmins looking for a performance boost jump on the OpenSolaris bandwagon today? Absolutely. Not only will the OS be easy to use (or even fun to learn!) for this sort of person, but its features will be of great importance.
Good luck,
Sean
UPDATE: I tried to compile the latest OSS4/CDDL drivers, a 4.1 release candidate, for OpenSolaris. The compile succeeded, but loading the modules (oss_haudio in particular) causes a kernel panic. This is not entirely unexpected, however, because I get the same behavior when loading oss_hdaudio on a Linux kernel. I think in this case that OpenSolaris is not to blame, but rather, my Intel ICH10 based integrated sound card, which is quite new. I’m using the new Intel X58 motherboard chipset.
I might invest some spare time in trying the OSS4/CDDL release candidate again when it’s updated, but for now I am back to using GNU/Linux (Fedora 10, to be precise) with ALSA underneath. It supports my HD Audio very well.
17 comments
Here is a free MP3 driver. Just register and download:
http://lifewithsolaris.jp/
Or get it directly without registration:
http://zshare.net/download/154851988433e7bb/libgstflump3dec.so.gz
Here are some media players, latest VLC Player, mplayer (start with gmplayer on command line), etc:
http://lifewithsolaris.jp/
Here are some Solaris sound drivers. Dont know if they work with OpenSolaris:
http://www.opensound.com/
http://lifewithsolaris.jp/
Also Adobe promised to release an x86 Solaris version of Adobe Reader during next year :)
Nice review. With regards to multimedia, there's a great 3rd party repository you need to check out: http://lifewithsolaris.jp/.
Regards,
Brian
ntfs,etx2,fuse:
there is also a solution from the belenix developer(s?), fswmisc, fswpart.
fuse paniced for me even with read-only on a very large directory (my music library)
pkg-config is available in a gnome-devel-something package. search with 'pkg search -r'
3dgraphics: They are using x.org, so apart from fglrx 3d support should be on par; that's no big loss. I can't test though, I have an ati rv630; support is bad on every platform.
Multimedia:
Fluendo supplies a legal mp3 codec.
There is also lifewithsolaris.jp where you can get the videolan player and gstreamer packages. I sometimes use the little hack of setting GST_PLUGIN_PATH to /opt/LSW/lib . Try it ;)
on my personal plus side:
faster startup. I blame svc.
nice development packages: ss-dev ; gcc-dev
biggest gripes:
the packaged gcc 3.4 behhaves different than the gcc 3.4 on a slackware linux
printing: they still ship gimp-print...(2601)
bugs: 2585 3090
We have done a fair amount of work on Wine for Open Solaris, and it's not beyond the realm of possibility that we'll eventually offer a CrossOver product for that OS.
Best Wishes,
-jon parshall-
COO
www.codeweavers.com
Umm yeah - most 32 and 64 bit Solaris Marvell drivers are available here from the manufacturer:
http://www.marvell.com/drivers/search.do
>> EXT2/EXT3 filesystem support (and NTFS)
under what circumstances do you need to natively mount these foreign filesystems within a running solaris O/S instance? Aren't these ext2/3 and NTFS filesystems coming from some other box on the network, n which case CIFS/SMB/NFS over the network was your method of accessing them anyway? I know if I was Windows 2003 I'd be quite pissy if I knew you were mounting my filesystems while I was fast asleep in my bed.
I'm also a gamer. Ten years ago, I didn't even know what the words Linux, UNIX, or Solaris mean; I eagerly awaited my Christmas presents which were primarily composed of proprietary Windows games. I have always despised consoles for the locked-down nature of their platform; in the past six years of using FOSS, I have also come to despise running games on Windows. But when a new game comes out in a series of games that I've had a very fun time with, I just can't resist rebounding. Wine doesn't cut it most of the time, unfortunately.
I have three 500GB disks in my system. Many of them are formatted for NTFS, because until I got OpenSolaris, this was the only "common ground" journaling filesystem that works seamlessly between Windows and Linux. When I want to share data -- music, programs, whatever -- I need a filesystem that works on as many platforms as possible. With many thanks to ntfs-3g and its stability for both read and write, I've sort of assumed that NTFS is a given on any platform.
So no, no network communication is involved at all; and the reason I need it is because I don't feel like copying 20+ gigabytes of music from NTFS to ZFS.
Better?
Oh, and with respect to Marvell for trying to support Solaris, I have to admit that their support appears half-assed: people in the OpenSolaris forums report kernel panics on recent OSOL kernels, and besides that, any 64-bit support they may have was not available at the time I was researching this problem. I think the Free Software myk drivers are superior, because they worked flawlessly on my hardware, and 64-bit is supported without any further hassle. I personally would rather see myk supported out of the box than Marvell's drivers. But it's ultimately up to the OpenSolaris package maintainers which driver they want to use tosupport Yukon in (hopefully) the next release of OSOL.
-Sean
On the other hand, I think the best way Crossover can attract attention is to continue those very pointed specific-application bundles. What I'm talking about is your Chromium port to Linux. You get so much PR, so much interest, so much success when you take an existing Windows-only application and bang on it until it runs very well under Linux. If you do something like that for OpenSolaris, it will be very useful for both your company and for OpenSolaris PR.
It's almost like guerilla warfare: your overarching strategy is to get wine working "in the general case" without really focusing on any particular app; but it can be very effective to surge forward into the next trench by making a significant application available, even if you have to pull a few developers for a week or two to work out the bugs and inconsistencies.
Unfortunately, my media collection contains MP4/AAC, MP3, Ogg/Vorbis, and FLAC files. To legally play all of these in the US, I have purchased the complete bundle from Fluendo. This works great on Linux, but I haven't found their bundle yet for OpenSolaris, only a few codecs like Windows Media which I don't use. I can only assume the rest is on its way soon.
The other, legally-questionable alternative is to compile gstreamer-plugins-ugly for OpenSolaris. This in theory should be doable on my own, but I simply didn't invest the time to get it working, due to the large number of dependencies that I'd have to go fetch first.
I'm now going to update the blog post containing my experiences with OSS4/CDDL, which I wanted to try for Wine sound support, since it appears that Csound is unsupported on Wine.
For Fluendo stack, I heard they are working on the rest of plugins (I bought those which they have already). They have MP3 and WM for now.
Btw. very nice blog entry.
For media playback I use VLC from lifewithsolaris.jp unfortuntely they are looking for clarification as to the legility of distributing such software out of Japan :(
Fluendo are working on fully licensed codecs and a DVD playback software for opensolaris also
uhm ya, put it this way Win3.1, err even DOS sound drivers would still work on more cards than OpenSolaris supports.
Hello SUN, when the OS is installed let me atleast be able to play AND HEAR properly any of my Audio CD's, mp3's whatever. I don't care about FLUENDO or my Blender, fine but when 3 out of my 4 PC's have no OpenSolaris audio drivers that work well does FLUENDO even matter!
I said it years ago and I'll say it again, "...without the right DRIVER(S), your travellers' aren't GOING ANYWHERE..."
are you total idiots or just blind/deaf !!!
Welcome to the PC-World
Listen, if I can't hear it then do I wnat to even SEE IT !!!
holy crap, either get ALL the OpenSolaris sounds card drivers for every PC in the wotrld straightened out, OR, get the heck outta pretending you're offering anything better that pushing you're own warez !
this is the Comsumer/PC/Desktop world SUN and NOT your exclusive Golf-cart driver SERVER world!
thankyou.
R.
I hope that Xfce will be supported again and as cleanly as it was under JDS. All my gnome apps were presented in the menus and worked flawlessly. It helped immensely on lower-resource machines.
------------------------------
Comment from: rick [Visitor]
"...Multimedia: The situation is bad..."
....
-----------------------------
I was way to harsh, bad-mood-beer ? anyway, I was recently searchin' around for compiling fixes for my mplayer/vlc/... on my amd64 boxes, and I landed on my own "unconstructive" comment above :(
-btw, thanks for the article and experiences with THE "OS".(OpenSolaris).
As long as there's an Internet, OpenSolaris will stay around, the potential is truly there.
-I humbly feel all the "media" apps will be there eventually and will work better on OpenSolaris than they ever did. -a little time, patience and some hard work never hurt anyone.
;)
R.