A BeOS-inspired desktop operating system
Haiku Close Up
The long-awaited Haiku OS beta release has arrived. This BeOS-inspired operating system may finally be ready for daily use.
When it comes to open source operating systems (OSs), GNU/Linux is the undisputed champion, but it does have contenders worth noting. Haiku OS, a microkernel OS inspired by BeOS (an OS for multimedia desktop use developed in the 1990s) is one such contender. Haiku brings the BeOS foundation to the modern age by adding up-to-date drivers and populating its software store, HaikuDepot, with the latest open source titles commonly found on Linux.
Haiku Specs
Haiku is a single-user desktop OS based on the re-implemented NewOS kernel from BeOS – a hybrid kernel designed from the bottom up to be "pervasively multithreaded" (long before multicore CPUs emerged). Haiku is not a Unix-based system, but it has a POSIX compatibility layer added on top to provide a standardized shell and GNU userland utilities, such as coreutils. The OS is written in C++ and sports modular design with most components, or "kits," referring to specific functions (kernel, input, media, etc.). The default filesystem, OpenBFS, is a modern 64-bit journaling filesystem with support for case-sensitive names. The original compiler is the historic GCC 2.95, which makes Haiku binary-compatible with the legacy BeOS applications. However, Haiku also supports and provides modern compilers, including Rust and the GCC 7 compiler (v. 8 is in the works).
Haiku has relatively modest hardware requirements. It needs an x86-compatible CPU (Pentium II or above), 128MB of RAM (1GB is recommended), and at least 700MB of hard drive space. Our aging Sandy Bridge-based machine felt like a super-speed jet with Haiku (Figure 1)!
A Blast from the Past
Haiku has come a long way from a geeky project to an OS that can be confidently recommended for daily use. Haiku's predecessor, BeOS, was developed by Be Inc. and founded by former Apple CEO Jean-Louis Gassée in the early 1990s. BeOS took advantage of then-modern computer hardware features (e.g., symmetric multiprocessing) by utilizing modular I/O bandwidth, pervasive multithreading, preemptive multitasking, and a 64-bit journaling filesystem known as the Be File System (BFS). The BeOS GUI displayed the principles of clarity and a clean, uncluttered design. In 2001, BeOS copyrights were sold to Palm Inc. Initially, the OpenBeOS project attempted to update the discontinued BeOS 5.0.x. To avoid infringement of the BeOS trademark, BeOS enthusiasts renamed the project to continue updating the OS. As a result, Haiku OS was born in 2004. Four years later, the project registered its own website [1].
Early on, very few people were involved in Haiku development. Moreover, Michael Phipps, the founder of the Haiku project, quit in 2007 leaving the project's future uncertain. This partially explains the relatively modest amount of work completed by the time Haiku R1/Alpha 4.1 was released in late 2012.
Today, Haiku has more than 100 contributors, mainly from the US and the EU, and their hard work really shows. For years, Haiku 64-bit nightly builds were unable to run older 32-bit apps; this problem was recently fixed, so now Haiku includes a set of 32-bit compatibility libraries. It also finally supports UEFI boot, boasts Ethernet and wireless drivers compatible with FreeBSD, ships with a working software store out of the box, and offers lots of great open source software titles, including LibreOffice and Krita. Consequently, using Haiku's nightly images makes much more sense than sticking with the aging Alpha version because of all the latest software, driver stacks, and bug fixes.
Hardware Support
Haiku hardware support is reminiscent of Linux from the early 2000s. You may encounter systems that will not boot Haiku Live media because of unsupported graphics (e.g., Nvidia 8x series and newer). However, Radeon and Intel chips are supported, although on certain configurations, Haiku will default to the VESA driver, which does not provide hardware acceleration. Regardless, the OS is still so fast and fluent that you hardly notice any lack of responsiveness even with VESA; the system will still perform fine. Nevertheless, beginning with Google Summer of Code 2017, work on Intel's hardware acceleration in Haiku has been a focus, which currently has born fruit. The i915 Direct Rendering Manager (DRM) driver in Haiku now supports acceleration for all of Intel's HD/Iris chips, which means that getting the best graphics support is more likely on such hardware.
Haiku supports some of the main libraries used by games, like Simple DirectMedia Layer (SDL) versions 1 and 2, PhysicsFS, OpenAL, GLEW, FreeType, and others. If hardware acceleration is not available, Haiku switches to working with OpenGL through Mesa, but only with a software renderer.
Network card support is different. An official Haiku hardware compatibility list contains lots of gray (i.e., unsupported) lines. Network connectivity can be a real showstopper. Even if Haiku boots fine but remains offline, there is little you can do to set up the system, unless you manually download *.hpkg
packages on another machine and transfer the files to Haiku, perhaps via a USB drive. However, most Atheros and Broadcom and some of the Intel Pro wireless chips work correctly under Haiku, to a large extent thanks to the merging of the FreeBSD 11 driver to the Haiku code tree in recent months. As for the other types of hardware and peripherals, the overall impression is quite good. For example, Haiku includes the Gutenprint package in its official repository, guaranteeing support for a huge variety of printers, comparable to Linux.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.