hkblockchaintechnology commited on
Commit
08e3971
·
verified ·
1 Parent(s): aa02af1

Publish README.md from marimo

Browse files
Files changed (1) hide show
  1. README.md +23 -6
README.md CHANGED
@@ -280,7 +280,8 @@ Xvfb on Linux, and a `--doctor` preflight on macOS. The Windows job is
280
  accepts injected input. Trigger it from the Actions tab. The repo needs a GitHub mirror -
281
  Hugging Face does not run GitHub Actions.
282
 
283
- **2. A local QEMU VM without KVM.** Measured on the headless container above:
 
284
 
285
  ```
286
  /dev/kvm absent -> no hardware virtualization
@@ -289,16 +290,31 @@ qemu-system-x86_64 -accel kvm -> Could not access KVM kernel module: No su
289
  qemu-system-x86_64 -accel tcg -> boots (reached "No bootable device.")
290
  ```
291
 
292
- So a Windows guest is *possible* with no KVM at all, but entirely under software
293
- emulation. TCG runs roughly 10-50x slower than native, which turns a 20-minute Windows
294
- install into many hours - and the harness's OCR would then run on an emulated CPU inside
295
- the guest. Use this only when no CI runner and no cloud box is available:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
 
297
  ```bash
298
  qemu-img create -f qcow2 win.qcow2 64G
299
- qemu-system-x86_64 -accel tcg -m 8G -smp 4 -drive file=win.qcow2,format=qcow2,if=virtio -cdrom Win11_Eval_x64.iso -boot d -device virtio-vga -vnc :1 # then RDP/VNC in, pip install the harness inside
300
  ```
301
 
 
302
  **3. A cloud Windows box.** Any Windows VM reachable over RDP gives a native desktop, a
303
  real `SendInput` path and real DPI scaling. Untested here; it is the closest thing to
304
  "a user's actual laptop".
@@ -364,6 +380,7 @@ when no verifier is given.
364
  - [x] Blind-grid-click guard, echo detection, no-progress guard
365
  - [ ] Make the VLM reliable on a live screen (it echoes the prompt instead of choosing)
366
  - [ ] Windows run of the live test - workflow committed; needs a GitHub mirror with Actions on
 
367
  - [ ] Accessibility-tree detector (AT-SPI on Linux, UI Automation on Windows)
368
  - [ ] Score episodes: replay a trace and count how often the choice was right
369
  - [ ] marimo console: live screen preview, action log, pause / resume / step
 
280
  accepts injected input. Trigger it from the Actions tab. The repo needs a GitHub mirror -
281
  Hugging Face does not run GitHub Actions.
282
 
283
+ **2. A local QEMU VM without KVM.** Measured on the headless container above - this is
284
+ what the box actually reported, not what the docs claim:
285
 
286
  ```
287
  /dev/kvm absent -> no hardware virtualization
 
290
  qemu-system-x86_64 -accel tcg -> boots (reached "No bootable device.")
291
  ```
292
 
293
+ The rest of the Windows 11 ingredient list was then checked rather than assumed - UEFI
294
+ firmware and a TPM 2.0, both under pure TCG:
295
+
296
+ ```
297
+ apt-get install -y ovmf swtpm -> /usr/share/OVMF/OVMF_CODE_4M.fd + swtpm 0.7.1
298
+ swtpm socket --tpm2 --tpmstate dir=/tmp/tpmstate --ctrl type=unixio,path=/tmp/swtpm-sock &
299
+ qemu-system-x86_64 -accel tcg -machine q35 -m 4G -smp 4 -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE_4M.fd -drive if=pflash,format=raw,file=/tmp/OVMF_VARS.fd -chardev socket,id=chrtpm,path=/tmp/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0 -nographic
300
+
301
+ -> UEFI Interactive Shell v2.2
302
+ EDK II
303
+ UEFI v2.70 (Debian distribution of EDK II, 0x00010000)
304
+ ```
305
+
306
+ So the whole stack works here: UEFI boot, an emulated TPM 2.0, and software-only
307
+ emulation. A Windows 11 guest is genuinely installable - just slow, because TCG runs
308
+ roughly 10-50x slower than native, turning a 20-minute install into many hours, after
309
+ which the harness's OCR would run on an emulated CPU inside the guest. Use it only when
310
+ no CI runner and no cloud box is available:
311
 
312
  ```bash
313
  qemu-img create -f qcow2 win.qcow2 64G
314
+ qemu-system-x86_64 -accel tcg -m 8G -smp 4 -machine q35 -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE_4M.fd -drive if=pflash,format=raw,file=/tmp/OVMF_VARS.fd -chardev socket,id=chrtpm,path=/tmp/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0 -drive file=win.qcow2,format=qcow2,if=virtio -cdrom Win11_Eval_x64.iso -boot d -device virtio-vga -vnc :1 # VNC/RDP in, then pip install the harness inside
315
  ```
316
 
317
+
318
  **3. A cloud Windows box.** Any Windows VM reachable over RDP gives a native desktop, a
319
  real `SendInput` path and real DPI scaling. Untested here; it is the closest thing to
320
  "a user's actual laptop".
 
380
  - [x] Blind-grid-click guard, echo detection, no-progress guard
381
  - [ ] Make the VLM reliable on a live screen (it echoes the prompt instead of choosing)
382
  - [ ] Windows run of the live test - workflow committed; needs a GitHub mirror with Actions on
383
+ - [x] Windows VM ingredients verified locally (UEFI + TPM 2.0 boot under TCG; no KVM here)
384
  - [ ] Accessibility-tree detector (AT-SPI on Linux, UI Automation on Windows)
385
  - [ ] Score episodes: replay a trace and count how often the choice was right
386
  - [ ] marimo console: live screen preview, action log, pause / resume / step