- C 90.5%
- Python 5%
- JavaScript 3.2%
- Shell 0.4%
- HTML 0.4%
- Other 0.5%
|
|
||
|---|---|---|
| .github/workflows | ||
| boot | ||
| docs | ||
| kernel | ||
| tests | ||
| third_party/unicode | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| build.py | ||
| README.md | ||
| run.ps1 | ||
VoluSys
An operating system written from scratch, from the boot loader to the glass.
VoluSys is an x86_64 desktop OS with its own UEFI loader, kernel, drivers, network stack, compositor and apps — no Linux, BSD or other kernel underneath, and no third-party code in the OS itself. Its desktop uses Volu Glass: translucent, refracting glass windows, Tray and menu bar rendered by the VoluSys compositor.
- Website: volu.systems · Developers: volusys.dev · News: volu.fyi
- Current release: 1.0 “Lagoon” (experimental) — next: 2.0 Reef, 3.0 Atoll, 4.0 Fjord, 5.0 Pacific
- Roadmap:
docs/QUEUE.mdand volu.systems/roadmap
Status: experimental. VoluSys runs well in QEMU; many real-hardware drivers are written but not yet tested on physical machines. Don't install it on a disk you care about.
What's in it
| Area | Highlights |
|---|---|
| Boot | UEFI loader (boot/) that loads a relocatable (PIE) kernel, GOP framebuffer, ACPI handoff, optional firmware preload |
| Kernel | SMP with LAPIC/IOAPIC/HPET, preemptive scheduler, ticket spinlocks and mutexes, paging, heap, VFS, worker pool |
| Power | ACPI with its own AML interpreter, S3 sleep / S5 shutdown, battery/AC/lid/thermal/backlight, hybrid-GPU power |
| Storage | AHCI, NVMe, virtio-blk, USB mass storage; GPT/MBR; FAT12/16/32 read/write; persistent home folder and settings |
| Graphics | Native display drivers (Bochs/QEMU VGA, virtio-gpu, VMware SVGA; Intel/AMD/NVIDIA in progress), page flipping, Volu Glass compositor |
| Input & USB | PS/2, xHCI with hubs, HID keyboards/mice/tablets |
| Audio | Mixer, Intel HDA, AC'97, Sound Blaster 16, virtio-sound, USB audio; WAV/FLAC/MP3/Vorbis decoders |
| Networking | Intel e1000/e1000e/igb/igc, Realtek 8139/8169, virtio-net; ARP/IPv4/ICMP/UDP/TCP/DHCP/DNS, SNTP time sync |
| Security | TLS 1.2/1.3 with the Mozilla root store, certificate validation, OCSP stapling |
| Tide (browser) | Own HTML/CSS layout engine, the Surf JavaScript engine, tabs, vertical tabs, tab groups, split view, site permissions, private windows, CSP/SRI/CORS, SVG, images |
| Apps | Volume Browser, Settings, Terminal, Quill, Calculator, System Monitor, Music, Lens, Install VoluSys |
Building
Requirements:
- Python 3 with Pillow and matplotlib (asset generation)
- LLVM:
clangandld.lld - NASM
- QEMU with OVMF (UEFI firmware) to run it
On Windows, QEMU from winget install SoftwareFreedomConservancy.QEMU works out of the box; run.ps1 expects it in C:\Program Files\qemu.
python build.py # builds build/esp (EFI system partition folder)
python build.py clean # full rebuild
Running
.\run.ps1 # boot in a QEMU window
.\run.ps1 -Cpus 4 -Audio hda -Usb
.\run.ps1 -Headless -MonPort 4444 -QmpPort 4445 # headless, driven by tools/qmon.py
Useful switches: -Gpu std|virtio|vmware, -Nic e1000|e1000e|igb|virtio|rtl8139, -Disk ahci|nvme|virtio|usb|none (persistence disk image, default build\disk.img), -S3 (enable sleep), -Machine q35|pc. See the top of run.ps1 for all of them.
To make a bootable USB image for real hardware: python tools/make_usb_image.py (writes build/volusys.img). Then use Install VoluSys from inside the OS — it never writes to a disk without showing the plan and asking you to type a confirmation, and it refuses to touch the disk it booted from.
Testing
- Host test suites (Linux or WSL, gcc with ASan/UBSan):
sh tests/<suite>/run_tests.shfortls,browser,js,image,svg,audio,storage,acpi,install;python tests/gpu/run_tests.py. - Visual regression:
python tools/vtest/run_all.pyboots VoluSys in QEMU, runs scripted scenarios and compares screenshots againsttests/visual/baselines/(vtest.py rebaselineafter intended UI changes). - CSS conformance: Tide is measured against the Web Platform Tests CSS suite.
- tide-host (Windows): Tide and Surf built as a native Windows program, for reproducing browser bugs on real sites without the VM.
python tools/build_tide_host.py [--asan], thenbuild\tide-host\tide-host.exe [url](a window) ortide-host.exe --url URL --shot out.png [--script file](headless). See docs/TIDE_HOST.md.
Layout
boot/ UEFI loader
kernel/ kernel, drivers, compositor and apps
arch/ mm/ sched/ CPU, SMP, memory, scheduling
acpi/ block/ fs/ power, storage, filesystems
drivers/ gpu/ audio/ devices
net/ tls/ networking, TLS
gfx/ wm/ rendering, Volu Glass compositor, UI toolkit, shell (Tray, menu bar, Helm)
apps/ Volume Browser, Settings, Terminal, Tide (apps/browser), ...
lib/ images, SVG, fonts, media, canvas
install/ installer core
tests/ host and visual test suites
tools/ build helpers, QEMU drivers, disk/image tools
docs/ roadmap and design notes
Names
- Tide — the web browser
- Surf — Tide's JavaScript engine and runtime
- Volu Glass — the window material
License
No license has been chosen yet; until one is, all rights are reserved. Bundled third-party data (fonts, Unicode/CLDR tables, the Mozilla CA bundle, optional NVIDIA firmware) carries its own license, noted next to it.