Skip to content

v0.4.3: SavanXP Week!

Latest

Choose a tag to compare

@SavanDev SavanDev released this 17 Nov 16:16
· 215 commits to master since this release

SavanXP v0.4.3 — summarized change list: the opening line of each entry. Full detail in CHANGELOG.md ([0.4.3] — 2026-11-17).

Highlights

  • Linux programs run unchanged. The Savan Subsystem for Linux runs Alpine's static BusyBox tools, the dynamic jq with its musl libraries, and Xlib clients through the SUN x11d service, up to the original Xeyes on the desktop.
  • Windows XP Solitaire runs. The Win32 subsystem runs PE32 programs under winhost, with windows, menus, dialogs and bitmaps; your own sol.exe and cards.dll open from Files and the Start menu.
  • Image Viewer for BMP, PNG and JPEG, which the desktop also takes as wallpapers; SUN sockets, with TCP that progresses and closes on its own, and Web Viewer on SUN; NVMe, RTL8111/8168, EHCI/UHCI/OHCI and HD Audio drivers.

Download

SavanXP-v0.4.3.iso is a LiveCD that boots through BIOS and UEFI: from a CD image in QEMU (q35, 512 MiB of RAM or more), or written to a USB stick (dd, or Rufus in DD image mode) on a real PC with an x86_64 CPU and Secure Boot off. It starts at the monitor's preferred resolution; the Limine menu adds boot log on screen, no USB and 1024x768 entries for real hardware. The system volume loads into RAM, so changes do not survive a reboot. The live system sees the machine's SATA, USB and NVMe disks; NVMe stays read-only unless nvme-rw is added to the boot entry, and only Disk Management writes to disks, and only when asked. The RTL8111/8168 driver has not run on real hardware yet. The image is the plain system build, with the Linux subsystem's pinned Alpine BusyBox, jq and Xlib test programs, plus the Doom port with the Freedoom: Phase 1 IWAD (freedoom1.wad, BSD-3-Clause; license in FREEDOOM-LICENSE.txt). The FFmpeg port, the Media Player, Celeste Classic and the Xeyes runtime are not included. No Windows program is either: the Win32 subsystem is there, and the Start menu's Solitaire shortcut needs your own sol.exe and cards.dll in C:\Program Files\Solitaire. Checksums in SHA256SUMS.

Added

  • Images open in Image Viewer by default; Edit opens Paint from Files and the desktop.
  • Image Viewer opens BMP, PNG and JPEG with native SUN controls and house-style icons.
  • Desktop wallpapers and Display Properties now open JPEG through the common image API.
  • libsximg decodes JPEG at 1/2, 1/4 or 1/8 resolution without a full-size bitmap.
  • libsximg decodes RGB/YCbCr JPEG with JFIF and Adobe colour transforms.
  • libsximg decodes sequential 8-bit greyscale JPEG through sx_jpeg_info, sx_jpeg_decode_into and the common image API.
  • libsximg adds common BMP/PNG decoding with sx_image_format, sx_image_info and sx_image_decode_into.
  • Paint, desktop wallpapers and PNG cursors now read indexed and greyscale PNGs, all legal sample depths, tRNS and Adam7.
  • Paint and desktop wallpapers now read paletted, 16-bit, masked and RLE4/RLE8 BMPs, including V4/V5 alpha.
  • SSL runs the original Alpine Xeyes from Start and by double-clicking its ELF in Files.
  • SSL displays the unchanged Alpine Xlib xclient in a desktop window through the SUN x11d service.
  • SSL runs the unchanged dynamic Alpine jq and its musl libraries, including shared-library TLS.
  • SSL runs Alpine's unchanged static BusyBox echo, cat, ls, pwd, wc and mkdir.
  • PNG wallpapers: Display Properties lists the .png files in /wallpapers and Browse accepts a PNG; the desktop reads 8-bit RGB and RGBA PNGs, told from BMPs by their contents.
  • Files has Cut, Copy and Paste (Edit menu, toolbar, context menus, Ctrl+X/C/V) for one file or folder at a time.
  • The clipboard holds several formats of one content, named by media type, and its capacity rises from 8 KiB to 1 MiB.
  • A program can wait for the clipboard to change: a /dev/clipboard descriptor is readable (poll POLLIN, sxn_wait_io) while the content changed since it last called CLIP_IOC_GET_INFO.
  • The SxGUI toolkit reaches the clipboard's formats from POSIX and SUN programs alike: sxgui_clipboard_set_formats, _get_format, _enum_format, _has_format, over a new host table (struct sxgui_host_clipboard).
  • Media Player supports fullscreen with a Fullscreen button and F11; Esc or F11 restores the window.
  • When a library version a program names is missing and the loader falls back to the newest minor, the system log records it (loader: libfoo.so.0.4 is not in /lib; falling back to the newest, libfoo.so.0.6), from SUN and POSIX alike, whatever standard error is.
  • POSIX programs can write to the system log: syslog(3) (<syslog.h>), over SXN_SYS_LOG, now open to every subsystem; its lines read posix[pid]: ....
  • A needed library resolves to the exact /lib file, else its highest newer minor (0.6 for libfoo.so.0.4), never an older one; a name without a full version (libfoo.so, libfoo.so.0) gets the latest, in DT_NEEDED or a bare dlopen.
  • POSIX programs can list a directory through the native calls, sxn_open_directory and sxn_read_directory (SXN_SYS_OPEN_DIRECTORY, SXN_SYS_READ_DIRECTORY); the handle is a descriptor.
  • SUN programs can map shared libraries: savanxp_program(NATIVE) takes LINK_PROFILE PIE and DEPENDS, through the loader POSIX uses, now system/loader/ldso.c; <dlfcn.h> is POSIX's layer over it (include/loader/loader.h).
  • POSIX programs can open a file through the native call, sxn_open_file (SXN_SYS_OPEN_FILE), and use the handle as a descriptor or back a section with it.
  • SUN programs can map a range of a file as a read-only section, sxn_section_open_range (SXN_SYS_SECTION_OPEN_RANGE), shared system-wide with the POSIX section_open_range; a range outside the file is now EINVAL in both, not ENOMEM.
  • SSL L2 closes: a static musl program gets files and clocks, with open, read, close, lseek, stat, fstat and unlink on a descriptor table of its own under /system/linux, and clock_gettime and nanosleep.
  • Anonymous memory regions (S2a) and SSL L2's memory half: a static musl program runs unchanged, with mmap, munmap, mremap and brk over vm::map_region and friends, whose pages appear zeroed on first touch.
  • SSL L1: linux [-e NAME=VALUE]... GUEST_PATH runs a static Linux x86-64 executable from /system/linux unchanged, with Linux's start-up stack; write, exit and exit_group work and every other call answers -ENOSYS.
  • SSL E1: the kernel clears EFER.SCE on every processor, so syscall raises #UD; a subsystem can claim it with subsystem::register_trap_dispatcher, and Linux (subsystem::Id::linux) answers every call -ENOSYS for now.
  • SSL (Savan Subsystem for Linux) L0: subsystems/linux/profile/profile.sh rebuilds the pinned Alpine 3.24 profile unprivileged, builds the L1-L5 fixtures with the host clang against musl only, and traces them and Xeyes on Linux.
  • NVMe storage driver nvme, adapted from OpenBSD nvme(4): every 512-byte namespace registers as nvmeN, and the drive gets a shutdown notification before power-off or reboot (block::shutdown_all).
  • System Properties has a Licenses tab: every component under /system/licenses, SavanXP first, with its notice and full license text.
  • License notices in the image: /system/licenses/<id>/ holds a NOTICE and the full license texts of every third-party component, staged from assets/licenses/*.notice by the build and from ports/<name>/licenses/ when a port is installed.
  • Ethernet driver rtl8168 for the Realtek RTL8111/8168 family (10ec:8168, 8161, 8136, 8169, 8167), adapted from OpenBSD re(4) under its BSD-4 license; boot logs rtl8168: with the chip revision and MAC.
  • SMAP: on a CPU that has it, every core sets CR4.SMAP and the kernel touches user memory only inside arch::user_access_begin/user_access_end; a stray access stops the system with SMAP violation.
  • Pin to the Start menu: Files' item menu has Pin to Start Menu for programs, .exe files and shortcuts, and a right click on a pinned row offers Unpin from Start Menu.
  • Windows XP Solitaire runs: the user's own sol.exe and cards.dll in C:\Program Files\Solitaire open from Files (.exe is associated with winhost) and from a Solitaire shortcut in the Start menu, with their own icon.
  • Win32 menus and dialogs: menu bars and popup menus by pointer and keyboard, DialogBoxParamW with its keyboard interface, the Button and Static controls, MessageBoxW, and new shell32.dll (ShellAboutW) and comctl32.dll (InitCommonControlsEx).
  • Win32 bitmaps and resources: memory device contexts, BitBlt, StretchBlt and monochrome/colour conversion in gdi32.dll; LoadBitmapA, LoadStringW/A, LoadIconW, LoadImageW, LoadAcceleratorsW and TranslateAcceleratorW in user32.dll.
  • Win32 programs open windows: user32.dll and gdi32.dll for windows, messages, painting, timers and input, the top-level window a windowd window under winhost.
  • Win32 base runtime: msvcrt.dll and advapi32.dll, and kernel32.dll's module, memory and command-line functions, so a program that starts like Windows XP Solitaire runs under winhost.
  • SUN programs can read the date: sxn_system_time() (SXN_SYS_SYSTEM_TIME), seconds since 1970 UTC, the clock POSIX realtime() and file times use.
  • PE32 console programs run on SavanXP: /system/winhost.sxe program.exe, with the subsystem's ntdll.dll and kernel32.dll in /system/win/drive_c/windows/system32.
  • Native programs can run 32-bit code: a ring-3 32-bit code segment (0x2b) and per-thread DS, ES, FS and GS.
  • Native programs can map a section view at a chosen address: SXN_SYS_MAP_VIEW_AT (sxn_map_view_at), the native side of POSIX map_view_at.
  • Win32 subsystem on the build host: PE32 parser, loader, ntdll.dll and kernel32.dll, and savanxp-win32-harness, which runs PE32 executables on Linux x86-64 through a 32-bit gate.
  • POSIX programs can change their window title: gfx_set_title, the POSIX side of SUN's sxnwm_set_title.
  • USB on machines from before xHCI: EHCI, UHCI and OHCI drivers, with EHCI handing low- and full-speed devices to its companions.
  • The boot log says which machine it ran on: boot: (firmware and loader), cpu: (vendor, family, model, stepping, brand, features) and one pci: line per function.
  • Common Open and Save As dialogs for SUN programs (sxn_file_dialog_begin); Log Viewer saves the log with File > Save Log...
  • SxGL Diagnostic Tool (sxgldiag, System menu): the machine, the display and both SxGL backends on tabbed pages.
  • Log Viewer (logview, System menu) shows the system log without a serial cable, by program and by kernel subsystem.
  • sxfs-cli recover and sxfs-cli repair [--dry-run] fix an interrupted or damaged SxFS image on the host.
  • Volumes can be mounted read-only: the "Read-only" box in Disk Management's Mount, sxn_storage_mount_flags.
  • fsync and fdatasync (SAVANXP_SYS_FSYNC) wait until a file or directory is on the medium.
  • SUN exposes IPv4 TCP/UDP sockets and cancellable I/O readiness waits.
  • Nightwood supports F11 fullscreen, and Doom toggles its FPS overlay with F.
  • Windows and the mouse pointer have optional soft shadows, enabled by default.
  • Right-clicking an empty area of the taskbar opens a menu with Task Manager....
  • Mouse Properties selects cursor schemes with previews, licensing, Apply/Cancel and saved preferences.
  • SUN can save small complete regular files with sxn_write_file, including a volume sync.
  • Window corners show diagonal resize cursors in both directions.
  • The compositor reads classic .cur files directly, including native hotspots, embedded PNG and AND/XOR masks.
  • SUN programs can open and sequentially read existing regular files with sxn_open_file.
  • Sound remembers device, connector, headphone policy, recording and application settings across restarts.
  • Sound can choose playback and recording defaults independently across supported audio devices.
  • Sound records and replays a three-second input test, with an input selector, gain, mute and live levels.
  • Sound reports jack connection state and offers optional automatic headphone switching.
  • Sound lists the effective audio device and connector and can select analog HD Audio outputs.
  • The SUN Sound panel controls master and application volume, mute and live levels.
  • Analog HD Audio playback through an OpenBSD azalia port.
  • virtio-gpu negotiates virgl
  • 3D ioctls on /dev/gpu0
  • SxGL draws on the GPU where virgl exists
  • SAVANXP_QEMU_STDERR=PATH

Changed

  • Web Viewer now runs on SUN as /system/webview.sxe, also launched as webview.
  • BMP decoding moves into libsximg (sx_bmp_info, sx_bmp_decode_into), shared by Paint and the desktop wallpaper; Paint now also opens 32 bpp BMPs.
  • cp runs Files' copy engine: copies keep the source's permission bits, and copying a file or folder onto or into itself is refused instead of emptying the file (cp a a) or recursing.
  • Media Player's fullscreen button is now a matching black 16x16 icon to the right of the volume control.
  • The toolkit libraries split by subsystem: libgfx2d (pixels, painter, chrome) and libsxgui (the SXGUI core) are neutral, libsxgfx is POSIX's window client; the six SUN programs that paint now map them, ~80 KB less text each.
  • The shared-library loader speaks SXN and calls no C library; its messages are in English and go through the runtime hook sx_loader_report.
  • smp-stats names Linux system calls (linux#N) and counts them at the syscall door, not the fault door they trap through; top held has a row per subsystem.
  • The lowest user address is 0x10000 (kUserFloor) for every subsystem, down from 0x400000.
  • A process may hold 128 section views (was 64) and the system 512 sections (was 256)
  • Paint looks like the Win9x one
  • The ISO boots at the monitor's preferred resolution (EDID) instead of a fixed 1280x800x32
  • The PCI table holds 256 functions instead of 64
  • Native and POSIX file handles go through one kernel file path
  • Open handles and file-backed sections are counted on the vnode
  • FAT keeps a file open while something holds it
  • A POSIX process's current directory holds its directory
  • FAT volumes publish a directory the first time it is looked into
  • The VFS gives published directories back when its node pool runs low
  • Listing a directory while entries are deleted or added no longer skips any
  • A name or path that is too long fails with ENAMETOOLONG
  • Names can be up to 255 bytes, was 63
  • Paths can be up to 1023 bytes, was 255
  • Names on FAT volumes are case-insensitive, as FAT is
  • SxFS volumes publish a directory the first time it is looked into too
  • The Start menu cascades: Programs ▸ and Settings ▸ open beside it on hover (400 ms) or click.
  • Shut Down... and Restart... in the Start menu open a Windows 95-style Shut Down dialog instead of arming the footer.
  • smp-stats: names who holds the kernel lock.
  • The tray volume popup is redesigned: output device and master slider, one slider per application, and a Sound settings link.
  • Sound is now a classic Sounds and Audio Devices property sheet: Volume, Applications, Audio, Voice and Hardware tabs.
  • Small disk reads are cached, and a file no longer hits "no space" at 4 MiB when another grows beside it.
  • Recognising an SxFS volume no longer writes to it, and host tools accept an image with a pending journal.
  • rename onto an existing file or empty directory replaces it atomically on SxFS, and unlink works on open files.
  • Web Viewer's roadmap now targets Ladybird with a native SUN frontend.
  • Sound and Mouse Properties use dedicated classic desktop icons at 16x16 and 32x32.
  • Task Manager opens with a narrower, 560-pixel content area.
  • Title bars leave a two-pixel gap between Maximize and Close, matching Windows 95–2000.
  • Preinstalled SUN programs live in /system; POSIX programs remain in /bin.
  • SavanXP Classic restores the original small cursors as the default, with both resize diagonals.
  • Sound has a clear heading, an audio icon and grouped playback, application and recording controls.
  • The Start menu looks like Windows NT 4.0's

Removed

  • Wine's cursor pack is no longer included or offered.

Fixed

  • Doom starts on a fresh system, as on the ISO, instead of exiting with failed to prepare data directories.
  • TCP progresses independently of socket consumers and closes reliably after packet loss.
  • Dragging the border of a small application window no longer makes it jump to the ordinary minimum size.
  • Xeyes installation preserves executable permissions, and its visual checks include the desktop cursor and shadow.
  • Disks can now expose 32 partitions in total instead of 16, with room for 64 block devices instead of 32.
  • SUN sockets no longer sleep waiting for NIC initialization or ARP resolution.
  • Command Prompt finds linux.sxe when /system/linux is a directory.
  • The optional Xlib profile stays optional on hosts without an Alpine root, and X11 titles follow later WM_NAME changes.
  • Desktop pointer queries also compile in C++ SDK consumers.
  • The system's programs and libraries no longer carry the build machine's directory as a RUNPATH
  • The loader resolves a weak reference nothing defines to zero instead of failing the load, and says in words why a non-PIE program cannot use libraries (step 11) or why its own image was not registered (step 10).
  • A SUN program can return from main, call exit or abort, or fail an assert, and it ends with that status instead of a #GP (status 141).
  • Win32 windows lay out as on Windows XP: fonts report Windows XP's heights (the System font's 16 pixels), a child's WS_BORDER is drawn, a disabled window's menu bar turns grey, and F1 sends WM_HELP.
  • Win32 programs no longer fail to present a large buffer: the guest heap stopped merging free blocks across two arenas the host happened to map side by side.
  • Old CPUs: C1E on halt is switched off on AMD K8 revision F and family 10h (erratum 400), and XD disabled in the firmware is switched back on for Intel
  • sxfs::check (fscheck) no longer reports a healthy directory with more than 32 subdirectories as unreadable
  • Task Manager's One Graph Per CPU shows up to 32 cores instead of the first 8.
  • The tray volume popup lists playing applications on hosts without a supported network card.
  • The kernel's own ACPI parser bounds every table length and address it reads from firmware.
  • Only the system can take the display session: GPU_IOC_ACQUIRE answers EPERM to a user process.
  • Received IPv4, ICMP, TCP and UDP checksums are verified, and damaged packets and IPv4 fragments are dropped.
  • The loader rejects a PIE (ET_DYN) segment whose end wraps the address space
  • A user process can no longer take the port name of a system service or fill the port table.
  • A power cut during a create, delete or rename on SxFS no longer leaves a file without a name.
  • TCP reports refused connections as ECONNREFUSED and retains connection failures after readiness.
  • The keyboard layout selector spells Español with ñ.
  • Display Properties keeps a bottom margin below the wallpaper list at square and portrait resolutions.
  • The ISO starts SUN services from /system with their execute permissions intact.
  • Visual desktop smokes accept --virtio and use the tablet's absolute pointer.
  • Virtio GPU activates the hardware cursor on its first upload and hides it correctly.
  • Doom and Celeste audio acceptance now checks the installed ports without a network card.
  • Sound's recording replay remains paced independently of window repainting and control refresh.
  • Azalia can recover a failed controller without reusing DMA buffers that may still be active.
  • Rebuilt POSIX audio clients can use the mixer without a network card and retain application levels.
  • Waiting for sync no longer holds the kernel for an entire deferred storage queue.
  • Sound's input meter stays visible while microphone samples continue arriving.
  • Small SUN playback writes no longer exhaust virtio-sound descriptors prematurely.
  • Native audio mixing and Sound controls work without a network card.
  • Doom FM music preserves additive instrument timbres and independent operator envelopes.
  • tools/iso_boot_test.py no longer fails a good boot