About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
unkernel
tsiry-sandratraina.com
/
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
An experimental port of NetBSD, FreeBSD, OpenBSD, and XNU to unkernel
unkernel.dev
unkernel
linux
freebsd
netbsd
wasm
+5 more
unkernel
linux
freebsd
netbsd
wasm
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
unkernel
/
test
10 folders
·
60 files
at
main
tsiry-sandratraina.com
·
Merge remote-tracking branch 'upstream/main'
·
12h ago
669f6715
bluetooth
Add guest Bluetooth on Web Bluetooth: kwbt (an HCI transport, hci0 while a controller is attached), the SDK's bluetooth option and vm.bluetooth with an emulated LE controller, Bluetooth and Serial ports sections in the page's Settings with Terminal buttons, and the Bluetooth and Serial Monitor launcher apps
23h ago
gl
gl: give the guest all 12 uniform blocks on hosts that offer only 12 per stage (#74)
1d ago
gpu
gl: keep textures that WebGL refuses off used sampler units, so that such a draw lands (#27)
5d ago
guest
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
1w ago
serial
Add guest serial ports on Web Serial: kwserial (/dev/ttyACM0..3), the SDK's serial option and vm.serial, Connect in the page's Settings and from a toast, and the Thonny and GTKTerm launcher apps
1d ago
usb
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
23h ago
va
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
vk
vk: fill the gaps games, mpv and Vulkan 1.2 callers hit (#32, #33) and add texel buffers: timeline semaphores are offered (values reached at the submit as fences are, a queue wait for a value nothing has signalled holds that submit and the later ones in the ICD until it is given), with imageless framebuffers, separate depth/stencil layouts, multiDrawIndirect, HOST_CACHED on the host-visible memory type, image_format_list and swapchain_mutable_format, and one more inter-stage location for wgpu-hal; the translator marks storage buffers a module never writes read-only, reflects only the resources an entry point reaches, drops OpLine, folds OpSpecConstantOp on integers, booleans and composites, lowers isinf/isnan and int[1] sample masks; the host sizes uniform bindings in 16-byte steps, copies block-compressed images in whole blocks and between size-compatible formats, binds placeholders for unwritten textures and samplers, takes storage bindings at unaligned offsets in dispatches through a scratch copy, rewrites indexed triangle fans as lists and no longer truncates sizes of 2 GiB and more; texel buffers (VkBufferView, both descriptor types) run as a storage buffer of words plus a per-view parameter block, decoded by the view's format in WGSL; the base profile exports LIBGL_KOPPER_DISABLE=1 so Mesa's zink stays off kwvk; mpv's gpu-next (yuv420p and rgb24), DDNet with its own SPIR-V and vkd3d's texel-buffer pipelines run; checks in test/vk (vk-timeline, vk-texel, host cases, translator shaders) and a games stage for the test disk
2d ago
wasi
wasi: close preview 1 gaps: sockets, wasi-threads, guest clocks and CPU time, fd_allocate
3d ago
wland
web: rewrite the page as a desktop
1w ago
9p-bench.ts
sdk: boot distro images from a file or over HTTP
1w ago
9p.test.ts
js: give a Windows host's mounted files and directories the execute bits (#70)
1d ago
a64-coverage.mjs
Switch the guest CPU to AArch64
1w ago
a64-simd-fuzz.mjs
Move the kwemu test guests from guest/ to test/guest/
1w ago
a64-test.mjs
kernel: optimize the lowered kernel with Binaryen -O2 (about 4% smaller, Debian shell commands about 3.5% faster in Node) and build kwemu with bulk memory, sign-ext, nontrapping-fptoint and mutable globals, which the kernel's C objects already need
5d ago
api.test.ts
test: skip the capture and camera tests on a bundle without kwrec and kwcap (a release build), and restore the 3 s recording
18h ago
app-bench.mjs
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
1w ago
app-bench.sh
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
1w ago
audio-in.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
audio.test.ts
web: redesign the top bar's right side as applets, each a status item with its own panel that opens on hover or click: CPU, Memory, Disk, Network (with Tailscale, a mode row and a sketch of the traffic's path), Ports, Display (the theme and the GPU), Sound and media (with a live microphone and camera indicator), Bluetooth, Serial, USB and Transfers (with the clipboard); bigger spacing, icons on a plate over the wallpaper, glassy popovers, and a Kernel log that opens at its bottom
19h ago
block.test.ts
Fetch a distro image's warm set only once the guest reads in it, and leave apt's srcpkgcache.bin out of Debian's
1d ago
bluetooth-host.test.ts
Add guest Bluetooth on Web Bluetooth: kwbt (an HCI transport, hci0 while a controller is attached), the SDK's bluetooth option and vm.bluetooth with an emulated LE controller, Bluetooth and Serial ports sections in the page's Settings with Terminal buttons, and the Bluetooth and Serial Monitor launcher apps
23h ago
bluetooth.test.ts
Add guest Bluetooth on Web Bluetooth: kwbt (an HCI transport, hci0 while a controller is attached), the SDK's bluetooth option and vm.bluetooth with an emulated LE controller, Bluetooth and Serial ports sections in the page's Settings with Terminal buttons, and the Bluetooth and Serial Monitor launcher apps
23h ago
camera-check.mjs
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
camera-h264.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
camera.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
distro.test.ts
Enable Docker IPv4 bridge networking in Debian guests (#59)
1d ago
gl-gpu.test.ts
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
5d ago
glimmer-check.mjs
cli: rename --smp to --cpus
1w ago
guest-bench.sh
guest: build the Alpine image from stock packages, without the kwemu rebuild
1w ago
http.test.ts
Initial commit
2w ago
kpatch.test.ts
Build the SMP kernel and the bundle's SMP patch with kernel/build.sh
1w ago
kwemu-bench.mjs
Move the kwemu test guests from guest/ to test/guest/
1w ago
kwemu-jit-host.mjs
Remove the riscv64 CPU, reset the kwemu ABI to 2
1w ago
kwemu-unit-wasm.mjs
Remove the riscv64 CPU, reset the kwemu ABI to 2
1w ago
mic-check.mjs
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
net-helpers.ts
js: carry the guest's UDP through the direct and Wisp backends (#47)
2d ago
net.test.ts
js: serve DNS over TCP on the stack's port 53
19h ago
opfs-disk.test.ts
Keep the page's data disk in OPFS in worker mode: OpfsDisk (8 MiB extent files), the SDK's backend option for the data disk, a one-way migration from IndexedDB, a storage quota block and a free Disk size in Settings, and a question in a second tab instead of an in-memory copy
21h ago
profile.test.ts
profile: take an executable segment's size in memory when naming an offset, so that separate debug files, whose segments are cut short in the file, give names
1w ago
profile.ts
test: profile CPUs and worker mode on Node, and document both profilers
1w ago
serial-host.test.ts
Add guest serial ports on Web Serial: kwserial (/dev/ttyACM0..3), the SDK's serial option and vm.serial, Connect in the page's Settings and from a toast, and the Thonny and GTKTerm launcher apps
1d ago
serial.test.ts
Add guest serial ports on Web Serial: kwserial (/dev/ttyACM0..3), the SDK's serial option and vm.serial, Connect in the page's Settings and from a toast, and the Thonny and GTKTerm launcher apps
1d ago
tailscale-client.test.ts
js: add Tailscale exit nodes, and rework the page's Tailscale settings
1d ago
tailscale-control.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-crypto.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-derp.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-exit.test.ts
js: add Tailscale exit nodes, and rework the page's Tailscale settings
1d ago
tailscale-fixture.ts
js: add Tailscale exit nodes, and rework the page's Tailscale settings
1d ago
tailscale-guest.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-h2.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-live.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-noise.test.ts
js: add a pure-JS Tailscale network device (work in progress)
1d ago
tailscale-wireguard.test.ts
js: add Tailscale exit nodes, and rework the page's Tailscale settings
1d ago
tty.test.ts
guest: keep a detachable kwtty session and its pty when a restore resets its connection, and let the host attach to it again by id with a replay of its recent output
1w ago
usb-host.test.ts
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
23h ago
usb.test.ts
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
23h ago
va-av1.test.ts
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
5d ago
va-camera.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
va-decoders.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
va-enc.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
va-fake.ts
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
5d ago
va-frames.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
va-h264.test.ts
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
5d ago
va.test.ts
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
vk.test.ts
vk: free the readback staging buffer when mapAsync fails (#65)
1d ago
wasi-binfmt.ts
js: keep host file systems in worker-mode snapshots taken with commit (#62)
1d ago
wasi-node.ts
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
23h ago
ws-server.ts
Initial commit
2w ago
ws.test.ts
web: WebSockets in the guest preview: the service worker puts the shim /vm-ws.js into the HTML documents it relays, whose WebSocket reaches the guest (ws://localhost:<port>, /vm/<id>/<port>/, root-relative paths) through the page over a BroadcastChannel, where websocketOver() (js/core/ws.ts, RFC 6455 over vm.connect()) runs it, with credits, a socket cap and Web Locks for teardown; a preview document's root-relative requests are relayed to its port, so a Vite dev server's client and HMR work
1w ago