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-03 17:19:28 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
7d4272fc4fe89b72de6c3f6bf078e4d46b28e89c
unkernel
/
web
/
src
History
Pooya Parsa
ef3486551a
gl: a new renderer after a lost WebGL context, and no renderer for 2D clients: after a loss the guest's next new GL context (or vtest client) builds a fresh renderer, so GL programs started after it work without a page reload (those running at the loss fail every command until restarted; vm.gl.status lost, losses, renewals); a dumb-buffer KMS client's context commands are held and answered without loading the renderer, and reach it before the first command that needs GL; checks for display resize, multisampling, context loss and Chromium's GPU path
2026-11-22 12:17:33 +00:00
..
components
js, web: default memory 2 GiB on desktops and Node and 512 MiB on phones, fallback sizes from 1024, 2 and 4 GiB on the page's slider, and a sparse copy of a snapshot on its way to a worker
2026-11-22 09:48:43 +00:00
demos
js, web: a display size change reaches the guest's DRM mode: updateDisplaySize() on a running machine (inline and worker mode) raises virtio-gpu's display event when the fitted size differs from what the driver read, so the guest gets a hotplug with the new preferred mode (64 to 4095 a side, the EDID's pixel clock kept); the page calls it 300 ms after the stage's size last changed; X has no udev to hear the hotplug, so the X demo follows it with xrandr
2026-11-22 12:17:33 +00:00
apk.ts
Run the distro images as a default user (user, 1000:1000) with passwordless sudo, load the kw profile in every interactive shell, and move ~/README from the page into the images
2026-11-19 20:11:42 +00:00
audio.ts
Initial commit
2026-11-15 23:27:04 +00:00
autosuspend.ts
web: save the session and pause the machine when the tab is hidden, and go on in place if the page lived; offer Pause after a cancelled close; suspend and resume without questions, quietly, with terminal windows reattached, a centred card and the state in the tab title
2026-11-20 12:04:45 +00:00
boot.ts
gl: a new renderer after a lost WebGL context, and no renderer for 2D clients: after a loss the guest's next new GL context (or vtest client) builds a fresh renderer, so GL programs started after it work without a page reload (those running at the loss fail every command until restarted; vm.gl.status lost, losses, renewals); a dumb-buffer KMS client's context commands are held and answered without loading the renderer, and reach it before the first command that needs GL; checks for display resize, multisampling, context loss and Chromium's GPU path
2026-11-22 12:17:33 +00:00
bottom.ts
Initial commit
2026-11-15 23:27:04 +00:00
config.ts
js, web: default memory 2 GiB on desktops and Node and 512 MiB on phones, fallback sizes from 1024, 2 and 4 GiB on the page's slider, and a sparse copy of a snapshot on its way to a worker
2026-11-22 09:48:43 +00:00
data.ts
Initial commit
2026-11-15 23:27:04 +00:00
display.ts
js, web: a display size change reaches the guest's DRM mode: updateDisplaySize() on a running machine (inline and worker mode) raises virtio-gpu's display event when the fitted size differs from what the driver read, so the guest gets a hotplug with the new preferred mode (64 to 4095 a side, the EDID's pixel clock kept); the page calls it 300 ms after the stage's size last changed; X has no udev to hear the hotplug, so the X demo follows it with xrandr
2026-11-22 12:17:33 +00:00
download.ts
web: add an fx demo, the x86_64 fx binary under qemu-x86_64
2026-11-16 00:00:18 +00:00
env.d.ts
web: offer guest GL (?gl=1, Options, Debian only): the page serves the renderer, passes kw.gl=1 so that the guest's shells use virgl (profile.d/kw-gl.sh), and names the WebGL2 renderer in the Environment tab, warning of a software one; release.yml attaches virgl.mjs and virgl.wasm
2026-11-21 18:12:27 +00:00
kw.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
launcher.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
main.tsx
Park, snapshot and resume the SMP kernel: a rendezvous of every CPU at the consistent point, a restore that starts the other CPUs again and restarts each idle task, the CPU count in the snapshot, and Suspend on the page with several CPUs
2026-11-20 08:27:54 +00:00
net.ts
js: answer chosen plain-http hosts with the host's fetch (fetchRoutes, a NetBackend wrapper with a small HTTP/1.1 server, and routes in the wisp spec); web: route deb.debian.org to a CORS mirror (?routes=0 turns it off)
2026-11-20 21:47:49 +00:00
open.ts
web: add open and xdg-open in the guest, which open a URL in the preview or a new tab after a confirm
2026-11-19 18:30:20 +00:00
preview.ts
web: add open and xdg-open in the guest, which open a URL in the preview or a new tab after a confirm
2026-11-19 18:30:20 +00:00
profile.ts
web: boot in a worker on the suggested CPUs by default, and add /profile.html
2026-11-19 16:36:29 +00:00
sdk.ts
web: offer guest GL (?gl=1, Options, Debian only): the page serves the renderer, passes kw.gl=1 so that the guest's shells use virgl (profile.d/kw-gl.sh), and names the WebGL2 renderer in the Environment tab, warning of a software one; release.yml attaches virgl.mjs and virgl.wasm
2026-11-21 18:12:27 +00:00
session.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
shortcuts.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
showcase.ts
web: keep the options in localStorage instead of the URL, and drop ?demo=
2026-11-19 17:42:00 +00:00
store.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
style.css
web: fit the iOS home screen app to the screen: black status bar style (iOS 26+ leaves the bottom unshown with black-translucent), the layout viewport's height, room above the home indicator and below the top fade, and no status line while the keyboard is up
2026-11-19 19:14:00 +00:00
sudo.ts
Run the distro images as a default user (user, 1000:1000) with passwordless sudo, load the kw profile in every interactive shell, and move ~/README from the page into the images
2026-11-19 20:11:42 +00:00
sw.ts
web: scope the service worker to /vm/ and drop the offline copy
2026-11-16 12:29:32 +00:00
ui.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
wayland.ts
web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs
2026-11-22 09:39:13 +00:00
windows.ts
web: save the session and pause the machine when the tab is hidden, and go on in place if the page lived; offer Pause after a cancelled close; suspend and resume without questions, quietly, with terminal windows reattached, a centred card and the state in the tab title
2026-11-20 12:04:45 +00:00