reims-ctl 3731afd prints "VMware SVGA, no GPU acceleration, ..." for
the graphics and "none: stop waits until the guest shuts down" for a
stop timeout of 0 (crates/reims-ctl/src/cli.rs, describe). The settings
page read those VMs as reims-vgpu with a 90 s timeout.
The audio backend picker also shows a backend set elsewhere, such as
wav, instead of leaving every option unselected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The host page's optimizations list gains a "Windows processor scheduling"
row: it shows whether Windows favours programs or background services
(Win32PrioritySeparation, read without elevation) and a button that opens
System Properties' Performance Options through one UAC prompt, so the
choice saves without a second one. Declining the prompt is not an error.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- `reims-ctl show` prints several displays as "displays 2, in 2 windows
...", which was read as one display, so the panel saw no change when
the count was set back to 1 and refused to save it.
- The resolution was never read back: the pattern used was anchored to a
whole value and never matched the display line, so the panel always
showed 1920x1080.
- The settings panel took its values once on open; it now follows a newer
VM detail until the person edits something (reopening right after a
save showed the old values).
- Full screen is now a card among the resolutions instead of a separate
switch; HiDPI sizes say what they look like, and the advice on getting
HiDPI sits under the cards.
Checked with macos-tahoe: set to 2 displays at 1680x1050 outside the app,
the panel showed both; picking 1 saved and read back as 1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When macOS shut down or QEMU quit on its own, reims-go had issued no
stop, so it only saw the VM stopped at its next steady poll, up to 5 s
later. Now pollVMs waits on each running QEMU process handle and wakes
the poll the moment the process exits; a PID is only waited on while it
names qemu-system-x86_64.exe, so a reused PID is not mistaken for the VM.
Measured with macos-tahoe and QMP quit: the window got the state change
51 ms after QEMU exited. Off Windows the steady poll remains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Presets were flagged HiDPI by screen width alone, so a 2880x1800 preset
read "HiDPI" on a 100% screen where macOS runs it at 1x, and a VM left at
the 1920x1080 default ran 1x on a 200% screen.
- GuestStartsHiDPI follows upstream reims-vgpu 3731afd
(RgfxDisplayIdentity.hpp, reims-vgpu-window features.md): HiDPI from a
2048x1536 window above 160 ppi (150% scaling or more), or from
3840x2160 at any scale.
- Presets are the 16:9 or 16:10 sizes that fit the screen's work area
below a title bar, largest four; the largest HiDPI one is recommended.
The display probe now reports the work area.
- When no preset is HiDPI, the resolution row says how to get there:
borderless full screen, 150% Windows scaling, or not on this screen.
On this host (3072x1920 at 200%) the presets are 2560x1600 (HiDPI,
recommended), 1920x1200, 1680x1050 and 1280x800.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only reims-go.exe ships now; reims-go-cli.exe is gone. Without
arguments it opens the window, with a command it runs command-line mode
(cmd/reims-go moved to internal/cli). Missing standard handles are
attached to the parent console; handles the caller passes in (pipes,
files) are kept, so scripts and agents get output and exit codes.
`vm start` hands the VM to the window process so it gets Guest Tools
and the Win10 cold-reboot watcher, which a command that exits could not
run:
- a running window gets the request through Wails' single-instance
protocol and stays hidden;
- otherwise the command launches the window tray-only (--background),
detached from the caller's console and handles;
- the window writes the outcome, with the VM's last log lines on
failure, to <DataRoot>\tmp\cli-start-*.json (it accepts no other
path) and the command reports it.
With --data-root the VM still starts in the command itself.
The window now takes a single-instance lock: a second double-click
brings the running window forward. `wails dev` builds use their own
lock name.
Tested on Win10 19045 with macos-tahoe: start from the command line
with no window running (4 s, exit 0) and with one running (3 s, exit 0,
same process); the cold-reboot monitor was held by the window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The VM page made the shell spawn about 84 reims-ctl processes a minute
and pull a full 4K screendump every 5 s while a VM ran.
- Scale reads *image.RGBA Pix directly: a 4K frame drops from ~80 ms
and 8.3M allocations to ~10 ms and 2.
- Thumbnails refresh every 15 s and skip the screendump while the VM's
own window is in the foreground.
- pollVMs polls every 2 s only while a VM starts or stops, else every
5 s; start, stop and delete wake it at once.
- Stats, thumbnails and the heartbeat reuse the polled list instead of
running their own `reims-ctl list`; the disk path from `show` is kept
for a minute.
Measured with two windows on the VM page: 67 -> 13 reims-ctl spawns a
minute.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop version labels from milestones, add a status line per milestone, and
order follow-up work as user tasks U1-U5 with an entry bar for new features.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- "Send text to VM..." dialog: arbitrary Unicode goes through Guest Tools
(clipboard paste in the guest, agent v3 /v1/text-input long poll); without
Guest Tools only US-keyboard ASCII is typed via QMP.
- Host IME / dictation: a low-level keyboard hook (internal/host/ime_*) catches
VK_PACKET input aimed at a running VM window, coalesces bursts and forwards
them in order through a per-VM queue (type_flow.go).
- reims-vgpu-window bridge: new runtime patch reims-vgpu-win32-unicode-input
enables SDL text input and posts committed text to /v1/host-text; StartVM
passes REIMS_GO_INPUT_URL/TOKEN to the window process. This also adds the
patch file that patches/series.txt already listed.
- Guest Tools auth returns a field snapshot instead of copying the VM entry
(it now holds a mutex and text queues).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New internal/vmstart holds the steps both front ends need: commit-memory
precheck, offline helper disk, recovery boot picker, guest-language replay,
WHPX nested-virt compatibility, and P-core pinning after start. app.go's
StartVM and the CLI's "vm start" / "vm create --start" (cmd/reims-go/start.go)
call it, replacing memcheck.go and the copies in install/opencore flows.
"vm start" now refuses a VM that is already running instead of rewriting its
OpenCore image. Guest Tools bridging and the Win10 cold-reboot watcher still
need a long-lived process and stay GUI-only (architecture.md 3.5).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
types.ts now derives from wailsjs/go/models.ts and only adds string unions and
nil-able slices; wails.ts re-exports the generated App calls and events instead
of a hand-written mirror, so a Go signature change shows up as a type error.
Unused strings are dropped. The create wizard keeps one size across steps and
lets "start after creating" be toggled on the review page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
QEMU encodes screendumps on its main loop; on a 2880x1620 reims-vgpu console
PNG took ~820 ms against ~35 ms for PPM, stalling the guest on every refresh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reims-ctl show prints "running (pid 22032)" (older builds "running, pid N"),
so every "== running" check missed running VMs: settings-applied-on-next-start
notices, guest-language disk protection and the graphics-switch guard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runtime channel "candidate" is now "alpha"; configs, the --candidate flag
and SetRuntimeChannel("candidate") still map to alpha.
- ListRemote follows GitHub's Link pagination so stable runtimes are not
pushed off the first page by daily alphas.
- patches/series.txt is the single patch queue for CI and pack-runtime.ps1;
pack-runtime takes -Patches and derives allowed changed files from the
patches (fixes a false "undeclared change" with the coroutine patch).
- build-runtime.yml runs daily: resolves upstream HEAD, skips commits already
released, applies the queue via apply-patch-series.ps1 (skips patches
already upstream, stops on conflicts), gates with check-runtime-alpha.ps1,
publishes an alpha prerelease, keeps the 7 newest alphas, and files issues
on failure or merged patches. Stable promotion stays manual.
- AGENTS.md and runtime docs updated for the alpha channel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Merge 10 categories into 6 (General, CPU & Memory, Graphics & Displays,
Storage & Network, Input & Audio, Advanced) with coloured nav icons
- New ui/settings.tsx primitives: row shell, switch, segmented control with
sliding highlight, slider + number field with recommended/risky zones,
option cards with screen-shape previews
- Host-aware CPU/memory recommendations (recommendedCPUs, memorySafeLimitGB)
- Rows explain why they are disabled (graphics while running, SSH without
network, controller with installer attached, GPU under VMware SVGA)
- Per-row change marks and revert, per-category change counts, footer
summary, Revert all, Ctrl+S; Save disabled with no changes
- Validation issues attach to their row and jump to its page; inline check
for custom resolutions
- Fix duplicate resolution label/input
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Pure-Go Win32 clipboard + localhost HTTP bridge (127.0.0.1:19847) with per-VM 256-bit random Bearer token and jailed shared directory (<DataRoot>/shared/<vm>)
- Pure-Go HFS+ REIMSTOOLS virtual USB disk with stock-macOS POSIX LaunchAgent installer (no Xcode or Python needed) for two-way UTF-8 clipboard and ~/Desktop/ReimsShare sync
- VMPage Guest Tools card with live connection badge, Open shared folder, Attach/Eject tools disk, and one-click QMP install command
- Update docs/roadmap.md with v0.3/v0.4 competitor-aligned follow-up tasks
- Detect 3-tier hybrid CPUs (P + E + LP-E, e.g. Intel Core Ultra 200 Arrow Lake) in host topology probe and select NonLPEMask (P+E, excluding slow LP-E cores) when VM vCPUs exceed P-core thread headroom
- Migrate Win10 cold-reboot secondary QMP socket from tcp:127.0.0.1:<port> to Windows AF_UNIX (reims-go-reboot.sock, with short tmp fallback) so guest code cannot reach unauthenticated QMP via SLIRP 10.0.2.2
- Automatically strip legacy tcp:127.0.0.1 QMP args on next start and update roadmap M3.2
- Default newly created VMs to NVMe disk controller via reims-ctl set (supported by macOS Recovery, installer, and installed guests)
- Guard P-core affinity pinning with CanSafelyPinPCores (require P-core logical CPUs >= vmCPUs+1) to prevent XNU spinlock stalls on non-HT hybrid CPUs such as Intel Core Ultra 9 285H (6P/6T + 8E), and include logical thread counts in CPU pinning logs
- Add patches/qemu-whpx-nested-virt-nonfatal.patch (registered in patches/README.md & docs/portable-runtime-spec.md) to make WHvSetPartitionProperty(NestedVirtualization) hr=0x80370302 non-fatal so Win11 retains kernel-irqchip=on, and detect the patch in host optimizations and WHPX compat pre-apply
- Four stat tiles always on one row; drop the P/E-core line, os/arch and
the data-folder path from the tiles. The WHPX tile carries "Enable" when
WHPX is off, replacing the duplicate WHPX row.
- Runtime: one list with the current runtime (QEMU version, "Up to date" or
"Update") and the candidate switch; no install path, no separate
online-install row once a runtime is installed.
- "System" and "Preferences" merge into one "Settings" section: data folder
(shown once), P-core pinning (no hex mask), language.
- Graphics cards show name and badges; the Vulkan ICD path moves to a tooltip.
- ListRemoteRuntimes caches for 10 minutes (GitHub allows 60 anonymous API
requests an hour); a channel change clears it.
- Roadmap: M2.2 done; M2.1 and M2.3 progress for v0.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New VMs default to an offline installer of one exact release
(`reims-ctl create --macos <ver> --offline --network false`); the wizard
lists Apple's releases, marks downloaded ones and warns when space is short.
- Offline VMs get an install guide with the install-macos.sh command and a
"Finish install" action that ejects the installer and turns the network on
(FinishInstall; pending until the next start on a running VM).
- Installers page (roadmap M2.2): downloaded installers with resume/delete,
Apple's releases with download, progress and pause, space check first.
- Commit memory: the host report carries Windows' commit limit and available
commit; create/settings refuse memory over the limit, start refuses memory
that can't be committed now with a clear message, and the wizard, settings
and first launch show a recommended size (16G failed with 14.7 GiB free).
- First launch shows a host check (WHPX with enable, Vulkan GPU, memory)
before the runtime install.
- Create validation rejects a VM name that already exists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 5 used to show only a pass/fail line and the raw reims-ctl
command. It now shows a summary grouped by wizard step, each with an
Edit link back to that step. Validation issues are mapped to their
step: the group is highlighted, the step tab gets a marker, and
re-validation keeps running while the user edits. The equivalent
command is folded away with a copy button.
Create now closes the wizard right away and runs in the background;
progress stays in the status bar. A failure toast offers "Edit and
retry", which reopens the wizard with the same answers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- portable-runtime-spec.md §6 records the promotion: smoke test on a real
Windows 10 19045 host, confirmed by a person; the release flag changes,
the files don't.
- roadmap M2.4: single-file reims-go.exe (12.7 MB) released as v0.1.0.
- frontend/wailsjs: bindings regenerated for the setup and online-runtime
methods (SuggestDataRoots, CompleteSetup, InstallRuntimeOnline, ...).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/pack-msys2-sources.ps1 reads the bundled DLLs' MSYS2 packages, keeps
those whose licence requires source (GPL / LGPL / MPL with no permissive
alternative), downloads their .src.tar.zst and .sig from repo.msys2.org,
checks each signature with gpgv against the MSYS2 keyring, and packs them
as reims-runtime-msys2-src-<commit>.tar.zst, adding it to SHA256SUMS.txt.
pack-runtime.ps1 now calls it, so every runtime release has four assets.
runtime-3731afd: 22 source packages (110 MB), all signatures good, uploaded
beside the runtime; release notes and SHA256SUMS.txt updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- extractTarZst uses Windows' System32 tar.exe (reads .tar.zst and D:\
paths); a bare "tar" could resolve to GNU tar, whose failure left the
zstd | tar pipe deadlocked. The fallback now decompresses to a temp file.
- pack-runtime.ps1 casts raw_bytes to an integer (PowerShell 7 summed to a
double, "962466926.0", which the Go reader rejected); the reader now also
accepts whole-number floats.
- `runtime fetch latest --candidate` honours flags after the positional arg.
- Docs: release layout, source package contents and the open MSYS2 source
question (portable-runtime-spec.md §4, §7); roadmap M1.2 and M2.1 progress.
Verified: a fresh `reims-go runtime fetch latest --candidate` downloads the
published runtime-3731afd from GitHub, checks SHA256SUMS.txt, unpacks and
activates it (75 s for 169 MB); reims-ctl and QEMU run from the result.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README follows a feature / install / usage layout with a hero image and
light/dark screenshots that follow the reader's GitHub theme.
- New app icon (assets/logo.svg) replaces the default Wails icon in
build/appicon.png and build/windows/icon.ico, and the "R" mark in the
title bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runtime: list and fetch runtimes from this repo's GitHub Releases
(stable by default, candidate on request), with SHA256 check and resume.
CLI gains `runtime available` and `runtime fetch`; the host page gets an
online install row and a "receive candidates" switch.
- First launch: pick a data folder (non-system drives first, USB never
recommended); the choice is recorded in %APPDATA%\reims-go\location.json.
Existing installs in the default folder are adopted without asking.
- pack-runtime.ps1: also builds the matching source package, records every
patch with its SHA256 and the channel, and refuses undeclared changes in
the build trees.
- patches: declare reims-vgpu-cargo-lock.patch (Cargo.lock source lines).
- UI: sidebar and VM page restyle, new design tokens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>