From dc54de9ef4f1c27ad51f352a08e2c98b0c64cd64 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Mon, 16 Nov 2026 00:40:05 -0500 Subject: docs(wiki): 2026-11-16 status refresh - DRAW_IAB mac=0x22 executes end to end (c788); TCS-off DS clean; remaining blockers are the vertex buffer (eng74 VS-BLOB) and render-target store/alias visibility (eng74 alias WIT); stores still 0 --- wiki/OpenGL.md | 58 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) (limited to 'wiki/OpenGL.md') diff --git a/wiki/OpenGL.md b/wiki/OpenGL.md index 8a5e256..4453c96 100644 --- a/wiki/OpenGL.md +++ b/wiki/OpenGL.md @@ -12,7 +12,7 @@ > [`../docs/03-architecture/02-guest-stack-and-cudasw.md`](../docs/03-architecture/02-guest-stack-and-cudasw.md) > (the guest stack). The docs tree wins on disagreement. -Status: 2026-11-15, tree `master @ 6aeb20c7`. Tags: `[live]` observed with the +Status: 2026-11-15, tree `master @ 88d5005a`. Tags: `[live]` observed with the stock guest driver; `[wip]` partial; `[wall]` current blocker; `[target]` defined success state. @@ -102,13 +102,13 @@ Rated honestly, against the milestone ladder in the plan: | Multi-part MME keep-window: multi-frame windows admitted; the 2799-word pack completes (2799/2799) | `[live]` | | Part-launch poison eliminated: client `SET_REPORT_SEMAPHORE`/`SET_NOTIFY` targets redirected to a mapped scratch slot (49 cycles, 0 poison, 0 MMU faults) | `[live]` | | First `MME-PACK-REARM` captured (engine-global completion plus keep-done-across-recycle); fixed-CB region aliased; released calls run macros | `[live]` | -| `DRAW_IAB` (`mac=0x22`) executes on the 324-B window class after a cross-lane `MME-PACK-REARM`; SPH-BIND prelude emits 84 words; DS stage VAs populate | `[live]` | -| DS stage-0/1 image: a VTG SPH is authored at `family+0x900` and the window's own slot-1 bind rewritten to it; the DS latch reads `st0=st1=020a0481` (`0x86040626 -> 0x84000420`, two boots) | `[live]` | -| Saved-window release carrier: the held window is snapshotted at `MME-CALL-HOLD` and re-submitted with calls released once the pack is resident (c772: save 240/68 -> fire -> synthetic `GR LAUNCH 0x6d6d6500` -> REARM -> DS `0x84000420`) | `[live]` | -| Held-CALL census + SA[34] golden fill: the slot-34 `DRAW_IAB` call is present in the saved 728-B window; `client=golden=used=0x265` (`MME-GOLDEN sa-fill slot=34 entry=0x265`) | `[live]` | -| Call order: the 728-B window places slot-34 at `off=0x340` after the `0x33/0x39` setup, so the `0x39` DS latch pre-empts CALL(34) (c780: `mac=0x33/0x39/0x0`); the reorder `a03a68ea` is landed but unexercised | `[wall]` | -| Pack-completion lottery (poisoned pack-part; no pump pass after the carry arm; carry-armed-never-fired) gates the deterministic release | `[wall]` | -| DS `0x84000420` (SPH5/SPH10/SPH18 stage type/context) after the draw-issue call; stores `wrote=0` | `[wall]` | +| `DRAW_IAB` (`mac=0x22`) executes on the released held window after the `MME-DRAW-PLAN`/`MME-DRAW-MOVE` reorder (c788: `MME-FAST ... mac=0x22 run=1`); the body decodes with the public Mesa MME toolchain (`mme_tu104_sim`: slot 34, 8 draws of 3 vertices) | `[live]` | +| DS stage-0/1 image: a VTG SPH is authored at `family+0x900` and the window's own slot-1 bind rewritten to it; the DS latch reads `st0=st1=020a0481` | `[live]` | +| Saved-window release carrier (held window snapshotted at `MME-CALL-HOLD` and re-submitted with calls released once the pack is resident, c772); held-CALL census + SA[34] golden fill (`client=golden=used=0x265`); synthetic full-RT viewport (`dab4a02c`); release chained after any GR launch (`3481e62d`) | `[live]` | +| Per-stage SPH disable (TCS off, `45dbcdcd`) clears the DS latch (the `0x84000420` was the synthesized TCS bind) | `[live]` | +| Vertex buffer: the client's captured pushes never bind the stream directly (no `0x1c00/0x1c04` pair outside SPH payloads); the eng71 scan binds a heuristic CB-page candidate (score 8); a stale nonzero `VS0` also stores nothing (c811); eng74 `VS-BLOB` dumps the candidate for validation/rejection | `[wall]` | +| Render-target store/alias visibility: the release writes only CB/GR-context/report pages; eng74 (`88d5005a`) records the surface-alias RT pages in `GUEST-WIT` so an alias store is provable; stores `wrote=0` / `0/1025` | `[wall]` | +| Pack-completion and shallow-boot lotteries gate the deterministic release (throughput limiters) | `[wip]` | | Window/screen present produces non-black screen pixels | `[wall]` | | X screen-init first-generation lottery (`modeNum` parity; only an immediately-post-boot X passes DDX DMA init; dominant throughput limiter) | `[wip]` | | 60 fps sustained, no forcing (M-GL4) | `[target]` | @@ -153,18 +153,23 @@ snapshots the held window and re-submits it with the calls released once the pack is resident (c772 end to end), and the held-CALL census plus the SA[34] golden fill prove the slot-34 `DRAW_IAB` call and its target are present (`MME-CALL-TARGET slot=34 method=0x3910 client=0x265 golden=0x265 -used=0x265`). The remaining blocker is **call order**: the saved 728-B state -window places the slot-34 run after the `0x33/0x39` setup, so the last `0x39` -latches DS `0x84000420` and the MFE never reaches CALL(34) (c780); the 324-B -DRAW window places it first and ran `mac=0x22` (c716). A release-window -reorder (`a03a68ea`) is landed but not yet exercised, and pack completion is -still a per-boot lottery (`6aeb20c7`, eng64, chains the release behind a -successful pack carrier and names the stalled gate; validation pending). -After that come the remaining DS stage type/context -bits (SPH5/SPH10/SPH18), the stores, the window/screen present path -(glxgears' window is black and a window draw can wedge X), and the per-boot -binding/X first-generation start lottery — then the first rendered screen -frame. +used=0x265`). **The draw macro now executes end to end**: c788 ran +`DRAW_IAB` (`mac=0x22`) on a released held window after the +`MME-DRAW-PLAN`/`MME-DRAW-MOVE` reorder, TCS-off (`45dbcdcd`) clears the DS +latch (the `0x84000420` was the synthesized TCS bind), a synthetic full-RT +viewport (`dab4a02c`) and a release chained after any GR launch +(`3481e62d`) complete the replay, and the DRAW_IAB body decodes with the +public Mesa MME toolchain (`mme_tu104_sim`: slot 34, 8 draws of 3 vertices). +The remaining blockers are the **vertex buffer** (no captured client push +binds the stream directly; the eng71 scan's CB-page candidate is a heuristic, +score 8; a stale nonzero `VS0` also stores nothing (c811)) and +**render-target visibility** (the release writes only CB/GR-context/report +pages, and the big-surface alias pages do not yet populate `GUEST-WIT`), so +the stores still miss; eng74 (`88d5005a`) dumps the scanned candidate +(`VS-BLOB`) and records the alias RT pages in the WIT for the next boot; +then the window/screen present path (glxgears' window +is black and a window draw can wedge X), and the per-boot binding/X +first-generation start lottery — then the first rendered screen frame. ## 6. What is not claimed @@ -173,13 +178,12 @@ frame. videos (45.4 s and 50 s) come from the off-screen pbuffer path (pbuffer -> sysmem -> kvmfr ivshmem -> host reader), not from a windowed X screen capture. The client's draw-state push reaches the engine, the MME program - completes and the draw macro executes, and the authored DS stage image is - fetched by both vertex slots; the release carrier can now replay the held - window deterministically when the pack completes, but the 728-B window - places the slot-34 draw-issue call after the setup calls (so the DS latch - pre-empts it) and the stores are still missing, a synchronous window draw - can wedge X, and X start retains a per-boot first-generation lottery. Those - are the current walls. + completes and the released replay executes the draw macro (`DRAW_IAB`, + `mac=0x22`, with a synthetic viewport), but the draw's vertex buffer is not + yet identified and the render-target alias pages are not yet WIT-visible, + so the stores are still missing; a synchronous window draw can wedge X, and + X start retains a per-boot first-generation lottery. Those are the current + walls. * GZDoom reaching `V_Init: allocate screen` is not a rendered-frame claim; it proves the client's GL init and the direct-GL GR lane, not the game loop or a presented frame. -- cgit v1.2.3