VoluSys OS: boot loader, kernel, Volu Glass desktop, Tide browser, apps, tools and tests
  • C 90.5%
  • Python 5%
  • JavaScript 3.2%
  • Shell 0.4%
  • HTML 0.4%
  • Other 0.5%
Find a file
April Abney c3fabfcca5
Some checks are pending
ci / build-and-test (push) Waiting to run
Merge branch 'worktree-agent-abc2cfe04b75071ca'
2026-11-23 03:01:46 -09:00
.github/workflows Visual regression testing: tools/vtest runner, kernel test mode, scenarios + baselines, run_all, CI 2026-11-22 05:31:57 -09:00
boot Merge safe disk installer; home/settings prefer the installer's VOLUSYSDATA partition 2026-11-22 05:53:00 -09:00
docs QUEUE: after the restructure - YouTube volume control, Opus decoder, AV1 decoder (over HEVC: licensing) 2026-11-23 02:38:51 -09:00
kernel Merge branch 'master' into worktree-agent-abc2cfe04b75071ca 2026-11-23 02:10:37 -09:00
tests Merge branch 'master' into worktree-agent-abc2cfe04b75071ca 2026-11-23 02:10:37 -09:00
third_party/unicode Surf: Intl (CLDR 47 tables, 34 locales), normalize, \p{} property escapes, UAX29 segmentation, UCA-lite collation 2026-11-22 05:49:27 -09:00
tools Merge master into the YouTube playback worktree (link sheet loading / load events and the realm heap limit from master supersede this branch's versions) 2026-11-23 01:31:47 -09:00
.gitattributes Merge master into the YouTube playback worktree 2026-11-22 22:22:40 -09:00
.gitignore Tide CSS: spec tokenizer/parser (CSS Syntax 3), Selectors 4 parser + matching, Cascade 5 (layers, revert, CSS-wide keywords for every property), Variables, value grammars, MQ4/@supports parsers; WPT host reftest runner 2026-11-22 07:33:17 -09:00
build.py Phase 0c: debug kernel (python build.py --debug): KASAN-lite, lockdep-lite, hardware watchpoints 2026-11-22 12:45:26 -09:00
README.md docs: tide-host how-to (build, scripted, interactive, comparing with the VM) 2026-11-22 22:21:58 -09:00
run.ps1 run.ps1: headless test VMs run at BelowNormal priority 2026-11-22 21:36:55 -09:00

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.

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: clang and ld.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.sh for tls, browser, js, image, svg, audio, storage, acpi, install; python tests/gpu/run_tests.py.
  • Visual regression: python tools/vtest/run_all.py boots VoluSys in QEMU, runs scripted scenarios and compares screenshots against tests/visual/baselines/ (vtest.py rebaseline after 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], then build\tide-host\tide-host.exe [url] (a window) or tide-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.