9 Commits

Author SHA1 Message Date
Pooya Parsa
39cf306b5b 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
Pooya Parsa
17781fa30a vk: present Wayland windows without copying (wland 0.1.0-261124-3c987e5 external buffers: the ICD names each swapchain image to the compositor and the page resolves it from the WebGPU texture; readback stays the fallback and for X11), track descriptor writes that spill over bindings and read back only the ranges the GPU wrote (device-local and host-visible memory types only), take a read-only marking from a buffer's members in the translator; web: Vulkan in the resource monitor, no guest Vulkan where WebGPU has no adapter, llama.cpp and D3D12 (vkd3d) gears and triangle apps, the Agents folder renamed AI 2026-11-24 10:45:38 +00:00
Pooya Parsa
c08e97791c Update wland to 0.1.0-261124-100fbf2 on both sides (the npm package and the Debian image's relay): wl_pointer.enter only after a leave, and wl_touch 2026-11-24 01:08:27 +00:00
Pooya Parsa
b347874391 web: rewrite the page as a desktop 2026-11-22 23:19:14 +00:00
Pooya Parsa
659ed2685f web, guest: wland 0.1.0-261122-632f589 (the page's package and the base's relay): its relay has --link-on-demand, so the page's guests start it at boot and GUI apps need no wland prefix, and its core sends seat events to every pointer and keyboard of a client, so Firefox takes input; wland is exempt from pnpm's minimum release age 2026-11-22 10:58:32 +00:00
Pooya Parsa
bcaa48d1d4 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
Pooya Parsa
9f6353b7b6 web: drop the fx stand-ins and the libfx demo, rename ?smp= to ?cpus=, and refresh the demos 2026-11-19 16:04:23 +00:00
Pooya Parsa
3fd7021dc9 web: add fx, the coding agent, in a side panel working on the VM
The status line's fx button (or Ctrl-A f, or ?fx at load) runs libfx's
wasm fx terminal in a panel docked right of the stage, over it on narrow
screens. Its shell tool runs each command in the guest through
vm.exec(). The sign-in, settings and history stay in module memory only.
vercel.com sends its OAuth discovery document without CORS headers, so
fx's fetch falls back to a copy of the fields it reads. The launcher's
fx demo (the x86_64 binary under qemu) is hidden.
2026-11-16 00:35:12 +00:00
Pooya Parsa
26d08730cc Initial commit 2026-11-15 23:27:04 +00:00