This website requires JavaScript.
Explore
Help
Register
Sign In
jarod
/
unkernel
Watch
1
Star
0
Fork
0
You've already forked unkernel
mirror of
https://github.com/pithings/unkernel.git
synced
2026-12-02 05:59:45 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
worker-mount-snapshots
unkernel
/
web
History
Pooya Parsa
fd204d3130
web: add a Steam app to the Games folder: Valve's native aarch64 client (the Steam Frame's, unsupported elsewhere) as windows of the page through xwl.sh; steam.sh takes the client binary out of the package Valve's linuxarm64 manifest names (SHA-256 checked), makes the ~/.steam links, starts the client again after it updated itself or gave up on its first update, and runs the UI unpinned on fewer than three CPUs; the packages are what the client's binaries need; for games (x86) it puts a script in place of the FEX tool's emulator that leaves them to box64, and adds a compatibility tool that does the same (neither has run a game: box64 0.3.4's 32-bit mode lacks libc functions Steam's library needs)
2026-11-26 00:44:09 +00:00
..
public
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
2026-11-22 15:22:51 +00:00
scripts
Add guest Vulkan on the page's WebGPU (kwvk): a Vulkan 1.2 ICD in the base (vk/icd, libvulkan_kw.so under the stock loader) sends commands over vsock port 1018 to a renderer in the SDK (createKernel({ vk }), js/core/vk*.ts) that implements them on a GPUDevice, with SPIR-V translated to WGSL by naga as wasm (vk/naga); Wayland, X11 and headless presentation by readback; the page's Guest Vulkan option, Environment row and vkcube, vkmark and GTK tiles; checks in test/vk
2026-11-24 07:23:03 +00:00
server
Fetch a distro image's warm set in the background and read ahead for sequential readers: the Debian image lays out what apt and dpkg read after the prompt (guest/distro/debian/warm-files, traced like boot-files, no fragments) right after the boot set, and its distro header (now 136 bytes) names that range, which HttpBase fetches in 4 MiB pieces once the boot is quiet (not with Save-Data); HttpBase streams every range per chunk and, after a miss next to chunks it has, fetches 1 MiB ahead, doubling to 4 MiB while the reader keeps up (readAhead). With 100 ms of added latency apt-cache show bash takes 1.0 s after a quiet prompt (3.3 s typed at once) instead of 8.1 s
2026-11-21 14:32:21 +00:00
src
web: add a Steam app to the Games folder: Valve's native aarch64 client (the Steam Frame's, unsupported elsewhere) as windows of the page through xwl.sh; steam.sh takes the client binary out of the package Valve's linuxarm64 manifest names (SHA-256 checked), makes the ~/.steam links, starts the client again after it updated itself or gave up on its first update, and runs the UI unpinned on fewer than three CPUs; the packages are what the client's binaries need; for games (x86) it puts a script in place of the FEX tool's emulator that leaves them to box64, and adds a compatibility tool that does the same (neither has run a game: box64 0.3.4's 32-bit mode lacks libc functions Steam's library needs)
2026-11-26 00:44:09 +00:00
test
web: rewrite the page as a desktop
2026-11-22 23:19:14 +00:00
.gitignore
Rebuild the guest packages for aarch64, add ~/.local/bin and the stand-ins
2026-11-19 00:12:38 +00:00
index.html
web: pin only Terminal and Settings in the Dock by default, on desktops and phones (the launcher's groups, glmark2 and Galculator are no longer pinned); the static first paint's Dock has the two in that order
2026-11-25 15:03:29 +00:00
package.json
guest, web: show X apps' windows as windows of the page through xwayland-satellite: the Debian image carries Fedora 43's aarch64 build (glibc 2.34 at most; pinned from Koji, taken out of the RPM by tools/rpmfile.py) with libxcb-cursor0 and libfontconfig1 (4.3 MiB more erofs, the same 4 MiB boot prefetch), and wland 0.1.0-261125-0023837 on both sides, whose relay holds X display :1 (:0 is the KMS Xorg's) and starts satellite for the first X client on its scale-1 socket, so X apps that know no DPI come out the right size on HiDPI; Wayland shells get DISPLAY from the relay where Xwayland is installed, and the relay runs with the distro's PATH; the Xwayland wrapper adds -shm without libEGL (rootless Xwayland's glamor aborted in libepoxy); the launcher's xwl.sh runs satellite by default (the image's, else Fedora's RPM fetched once), on the scale-1 socket where there is one, so X11, XPaint and the D3D12 demos are rootless and Xfce alone stays rootful (XWL_ROOTFUL)
2026-11-26 00:16:39 +00:00
profile.html
web: boot in a worker on the suggested CPUs by default, and add /profile.html
2026-11-19 16:36:29 +00:00
smp-probe.html
web: add /smp-probe.html, the SMP probes for an engine (threads, waits, atomics, compiles, GC, the kernel on 1 to 8 CPUs), and build it and /profile.html as pages
2026-11-23 09:01:43 +00:00
tsconfig.json
Initial commit
2026-11-15 23:27:04 +00:00
vite.config.ts
Add guest Vulkan on the page's WebGPU (kwvk): a Vulkan 1.2 ICD in the base (vk/icd, libvulkan_kw.so under the stock loader) sends commands over vsock port 1018 to a renderer in the SDK (createKernel({ vk }), js/core/vk*.ts) that implements them on a GPUDevice, with SPIR-V translated to WGSL by naga as wasm (vk/naga); Wayland, X11 and headless presentation by readback; the page's Guest Vulkan option, Environment row and vkcube, vkmark and GTK tiles; checks in test/vk
2026-11-24 07:23:03 +00:00