summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/run_cycles_long.sh
Commit message (Collapse)AuthorAge
* vgsp: eng89f - RT-ADMIT-BLOCK receipt; cap the mission waitArthur Hanson Rasmusson5 hours
| | | | | | | | The receipt prints state_push/rt_valid/rt0_first/rtp/mask/pchan/has_draw at the beef draw-synth reject, so the next boot names which of the five conjoined admission predicates failed. Runner: wait at most GZ_SECS+120 for mission-done (the mission itself writes it by GZ_SECS+30 when the guest is alive; a dead boot no longer costs 7.5 minutes).
* vgsp: eng89e - RT-SCAN candidate witness + streamed dmesg captureArthur Hanson Rasmusson5 hours
| | | | | | | | | | | | | c918-c921 had no RT-PERSIST and every beef draw was rejected on the missing colour-target bind, while c910 had the bind on the X/2D channel. RT-SCAN logs the last A/B/W/H candidates and seen flags for every beef channel push (bounded to 32) so the next boot answers whether the bind is absent from the push, filtered by the surface-class checks, or never authored. The batch runner also streams the kernel log with 'dmesg -w' per cycle and merges it into the per-cycle evidence; the ring wraps in under four minutes at this debug volume and had truncated c921's key receipts.
* vgsp: eng89b - persist the colour-target bind across pushesArthur Hanson Rasmusson8 hours
| | | | | | | | | | | | Most beef draw pushes carry no colour-target bind of their own (the client binds the target once per context/target switch in an earlier state push), so the per-window admission refused the real frame pushes on most boots ('beef draw-synth: no valid last colour-target bind', the shallow-boot lottery). Track the last complete, plausible bind seen on a trusted push (same surface-class validity as the first-bind check; an invalid later write never overwrites a valid state) and admit a beef draw window on it: RT-PERSIST + '3D mark admitted (persisted colour-target bind)' receipts. Knob sema_gl_win_rt_persist, default 1.
* vgsp: eng89 - live-derived GS map, draw-move anchor, raster enables, async ↵Arthur Hanson Rasmusson8 hours
capture Kernel (deterministic fixes, each with an A/B knob): - sema_gl_sph_gs_maps=6: derive the whole 216-bit GS IMAP/OMAP blocks from the bound VTG image's OMAP and the PS image's IMAP at authoring time (SPH-GS-MAP receipt; SPH-GS-SKIP names ps-invalid/gs-invalid/ vtg-overlap/vtg-short). maps=4 stays as the fallback. - DS-MAP census line: dump stage-4/5 w5/w10/w13/w17 next to DS-IMAGE so the fetched maps are visible without a new probe. - MME pack carrier: reject maxa > 4096 (the IR pack array) instead of 64K, with MME-PACK-REJECT reason=bound. - MME-DRAW-MOVE: anchor the slot-34 move after a 0x3810 VERTEX_STREAM run. c848 moved CALL(34) to 0x204, ahead of the prepended stream bind, so the 8x3 fetch used stale stream state. - sema_gl_raster_enable=1: emit SET_RASTER_ENABLE=1 and SET_GLOBAL_RENDER_ENABLE MODE_TRUE in the raster prelude (fresh replay contexts may carry 0 for both, discarding every fragment). Guest tooling (unblocks the render loop and capture): - sdl_cap.c: asynchronous PBO+fence capture with a 5 s abandonment bound; no glFinish/blocking readback (c899 wedged gzdoom in an uninterruptible nv ioctl); clean sentinel from a destructor. - gz_pbuf.c: request depth 24/stencil 8, log GL_DEPTH_BITS, and swap with glFlush only. - mission-gz.sh: gl_frames probe off by default; GZDoom launched detached with a bounded wait, per-attempt X restart and retry; capture in /dev/shm with GZCAP_MAXF. - gzdoom_pbuf_run.sh: gl_pipeline_depth=2, gl_finishbeforeswap=0, GZCAP_MAXF default, rc-file support for the detached run. - run_cycles_long.sh: durable multi-cycle runner (the previous one lived in /tmp and was lost on reboot); pushes tools, runs the mission, grabs dmesg + guest logs + capture per cycle, stops on pixels. Test matrix: params-r1624-maps{4,6}.txt.