# Overnight log (2026-10-29) Goal: make the translator faster without breaking the picture. Every change is measured on the world map (`Tests/worldmap_bench.ps1`, same scene, same settings) and kept only if it is faster and the screenshots look right. Baseline: world map 100 ms per frame (10.0 FPS) with Resizable BAR + `APS5_PIPELINED_DRAWS=64`. | Time | Change | Result | Kept? | |---|---|---|---| | 2026-11-13 03:30 | **AstroHybrid app fixed and made into a public release; setup from any Astro Bot dump** (`AstroHybrid.App`, `Tools\release\make_release.ps1`, `Tools\release\make_icon.ps1`; zip `E:\AstroHybrid-Work\release\AstroBotPC-AstroHybrid-1.0.0.zip`, 127 MB, 408 files) | The WPF app crashed at start: window icons loaded from a non-existent assembly name; every view created its view model in XAML with no arguments; a font resource was a string; five converters were never declared; startup read `Build\Build\astrohybrid-settings.json`. Then the pages showed no data (bound before their view model existed), the sidebar label was drawn twice, dropdowns had no open button, hardware detection (WMI) blocked the window for ~10 s and the controller choice was overwritten at every start. All fixed; Play now builds exactly the old launcher's environment (checked: 21 variables, 0 differences for the current settings). Unsafe actions fixed: Rebuild wiped `Build\RunHybrid` (a release install could not recover), Change location copied the 150 GB behind `app0`, Uninstall now removes only what setup built (tested: dump unchanged). New setup for other players (`Services\GameSetup.cs`): `app0` = junctions to the dump's folders plus copies of its top-level files and a real `sce_module`, so nothing is written into the dump; `unwrap_self.py` ported to C# (`SelfUnwrapper.cs`, byte-identical output on eboot.bin, libc.prx, libSceNpCppWebApi.prx); AnyPS5's relinker (only Windows' UCRT needed); faster-lighting and soft-assert patches found by their exact bytes (each must occur once, else skipped); `astrohybrid-game.json` records what the version supports, and both launchers turn real-time speed off (fixed address, 01.019.000 only) and fall back to `AstroBot.exe` when needed. Any Astro Bot version is accepted. Fresh-install test on E: (zip extracted, `AstroHybrid.exe --setup `): 62 s, `AstroBot.exe`, `AstroBot-NonRT.exe` and `AstroBot-NonRT-SoftAssert.exe` byte-identical to this PC's; the app applied best settings (2560x1440 fullscreen, DLSS, FG Auto 120, Reflex), Play started the game to the title screen with frame generation at 3.06 frames per game frame. The download holds no game files (guard in the script), no saves, no pipeline cache; the app and launcher icons are a new drawing (the old ones were made from the game's icon and stay local). NVIDIA runtime files ship with their licences. Not tested: another game version (none available), other PCs. | Yes | | 2026-11-13 00:55 | **Relay: angular velocity derived from orientation for pads without a gyroscope** (Kyty, patch 0021; installed `kyty_gpu.dll` 47987f9e) | Xbox motion hand still did not work after the controller change: Kyty's emulated tilt (View/Back, then right stick) reports orientation with angular velocity at rest, and the host's pad library builds orientation from angular velocity, so the relay now derives the rate from the orientation change when the pad reports none (pads with a real gyroscope report non-zero rates and are unaffected). 60 s check with the Xbox pad and motion relay on: game normal, picture right (`Logs un-20261113-004922` style, `run-20261113-005316`). User: motion hand on Xbox still not working; stopped there at the user's request. | Kept (harmless; not a fix) | | 2026-11-13 00:50 | **Controllers: the pad you use plays, vibration strength, Switch-pad boost; launcher cleanup and "Best settings for this PC"** (Kyty 1bde1c9c `ASTROHYBRID_PAD_PREFER`, `ASTROHYBRID_RUMBLE_SCALE`, `ASTROHYBRID_RUMBLE_SWITCH_FLOOR`, all off by default; patches 0019 (the three frame-generation follow-ups, cc09c69c and before, which had no patch file) and 0020; installed `kyty_gpu.dll` a5d761a7, previous one and launcher in `E:\AstroHybrid-Work\build\install-backup-pre-pad`; launcher rebuilt) | User report: Xbox pad gave no input while another pad was on; Switch Pro (third-party Data Frog) motion worked but no vibration; Xbox vibration too strong; Xbox has no motion. Cause of the Xbox case: Kyty gives player 1 to the first pad connected and the hybrid relay sends only player 1 to the game, so the second pad sat on player 2. Now (`auto`, launcher default) the pad last connected or pressed becomes player 1; the launcher can also prefer PlayStation / Xbox / Switch / generic. Pads are logged on connect (type, rumble, motion) and a non-DualSense pad buzzes briefly when it takes player 1. Rumble on pads other than a DualSense is scaled (launcher: Off / 40 / 70 default / 100 / 150%); Switch-type pads get a minimum strength (96 of 255) when on, for third-party pads that ignore weak rumble; the DualSense path is unchanged. Pads without a gyroscope: Kyty's existing tilt emulation (View/Back toggles right-stick tilt) is now explained in the launcher. Launcher: "Real-time game speed" and "Faster CPU path" checkboxes removed, both always on; new "Best settings for this PC" button (also applied on first start, when there is no settings file) reads the GPU, CPU, RAM and the main display: here RTX 5060 / Ryzen 5 5500 / 32 GB / 2560x1440 at 165 Hz gives fullscreen 2560x1440, real time, DLSS, frame generation Auto to 120 on screen (x2-x4 chosen in game from the measured rate), Reflex. RTX 40: Auto to 60 (x2); RTX 20/30: DLSS + Reflex at 30; others: game's own upscaling at 30. Checks (60 s each, `Build\RunHybrid`, Xbox One pad connected): pad options on, 30 FPS limit: controller logged as "Xbox One Controller (Xbox, rumble yes, motion no)", gameplay from about 20 s, picture right (`Logs\run-20261113-004922`); options off: same (`run-20261113-004804`). Not checked by me: how the vibration feels, and whether the Data Frog pad now vibrates (needs the user's pad; its log line will show "rumble yes/no"). Found on the way, not changed: with no FPS limit and no frame generation the game stayed on a black screen for the whole 60 s at about 144 FPS with the level loaded (`run-20261113-004608`); every limited run started normally. | Yes (opt-in; launcher sets it) | | 2026-11-13 00:20 | **Adaptive frame-generation multiplier: at least N FPS on screen, chosen in game** (Kyty `ASTROHYBRID_DLSSG_TARGET`, `ASTROHYBRID_DLSSG_MAX_FRAMES`; launcher Auto mode passes the target and caps the game at target/2; installed `kyty_gpu.dll` updated) | User request: fixed 60 on screen, 2x at 30 game FPS and more than 2x when the game drops. Whole multipliers only on Vulkan, so every half second the present thread measures the game's rate and sets the smallest multiplier keeping the screen at or above the target (up at once, down after 2 s), through `slDLSSGSetOptions` (serialised). Runs in `Build\RunHybridTest`: game forced to 24 FPS with target 60 -> switched to 3x by itself, 720 frames shown per 10 s (72 FPS) steady; Auto 60 with the game capped at 30 -> 2x, 600 per 10 s (60 FPS), one 10 s stretch at 2.35x where the game dipped and it stepped to 3x and back. Most switches happen during loading/menus. Input latency not measured; responsiveness still follows the game's own rate. | Kept; launcher Auto uses it | | 2026-11-12 23:55 | **Launcher frame generation: Auto mode, never below 30 game FPS** (`AstroBotLauncher.cs`, rebuilt exe) | User report: 60 on screen at fixed 3x locked the game at 20 FPS and felt like 20 ("frame gen not doing anything"): frame generation smooths what is shown but input and game logic stay at the game's own rate. NVIDIA's dynamic (fractional) multiplier is D3D12-only; on Vulkan the runtime reports it unsupported, so only whole multipliers exist. New menu: Frame generation Off / Auto (recommended) / Fixed 2x / 3x / 4x; target "No lock - game as fast as it can" or 50-165 on screen. Auto takes the smallest multiplier that reaches the target with the game at 30 or more (60 -> 2x at 30, 90 -> 3x, 120 -> 4x, 144 -> 4x at 36); fixed multipliers never lock the game below 30; "No lock" runs the game unlimited with 2x. The first build divided by zero with frame generation Off (launcher crashed at start; caught by the window check, fixed before handing over). Saved setting renamed `fgmode`. | Kept | | 2026-11-12 23:35 | **Launcher: frame-generation target (fixed on-screen FPS) and faster-CPU-path checkbox; minimum-FPS check** (Kyty `ASTROHYBRID_FPS_LIMIT` now takes any value 10-240; installed `kyty_gpu.dll` 4AA37100; launcher rebuilt) | New "Frame gen target" (50/60/90/120/144/165 on screen, default 60) locks the game at target / multiplier (60 at 2x = 30, shown under the menu); new "Faster CPU path" checkbox (default on) sets `ASTROHYBRID_COMMIT_EPOCH_FASTPATH=1` (verified earlier: 0 mismatches). Installed-folder runs in the evening, all locked at 30: everything on (DLSS + 2x + fast path) `230445` 25.3 game FPS; without fast path `230650` 22.0; 2x without DLSS `230842` 23.0; fast path only `231034` 24.3; **plain default control `231244` 26.7 FPS (commit 29.9 ms)**, against 31-33 FPS (commit ~22 ms) for the same scene in the morning. Background: browser with the Windows audio engine active (likely media playing). Differences between configurations are within that noise; no FPS claim for or against any option from these runs. GPU waits of 2-13 ms per frame appear late in frame-generation runs (GPU work added). A stable 30 FPS minimum everywhere is not reached: Sky Garden is at the edge on a quiet PC and below it with other programs running. | Options kept; no performance claim | | 2026-11-12 23:00 | **User test of 2x frame generation from the launcher; overlay now shows frames on screen** (Kyty overlay change; installed `kyty_gpu.dll` updated) | User report: "showing 27 fps, can't see double". Their log (`Logs\hybrid-run.out.log`, settings: no FPS limit, DLSS + 2x + Reflex, 1280x720 window): during gameplay 24-30 game FPS with 2.00 frames shown per game frame (about 50-60 on screen) for most 10 s windows, stretches of 1.00 when the window lost focus. The 27 was the overlay's game-frame count, which never included generated frames. The overlay (F2 / "Show stats") now shows "N FPS on screen" plus "game FPS x ratio" whenever generation is active (ratio = frames actually presented per game present, averaged). Verified in run `225846` (overlay drawn, 2.00 per game frame). Game FPS with DLSS + frame generation is somewhat lower than without (GPU work added; earlier same-scene measure 32.3 vs 31.5). | Kept | | 2026-11-12 22:50 | **NVIDIA options in the launcher menu** (`Tools\hybrid\launcher\AstroBotLauncher.cs`, rebuilt `AstroBot Launcher.exe`; previous exe backed up in `E:\AstroHybrid-Work\build\install-backup-pre-dlssg`) | New "NVIDIA RTX" section: Upscaling (Game's own / NVIDIA DLSS), Frame generation (Off / 2x / 3x / 4x) and an NVIDIA low latency (Reflex) checkbox, all off by default and saved in `Build\astrohybrid-settings.json` (`upscale`, `framegen`, `lowlatency`). Choosing DLSS or frame generation sets `ASTROHYBRID_CUDA_HOLE=1` and `ASTROHYBRID_DLSS_PATH=Build\RunHybrid`; DLSS sets `ASTROHYBRID_DLSS=1`; frame generation sets `ASTROHYBRID_DLSSG=1` and `ASTROHYBRID_DLSSG_FRAMES=1/2/3`; the checkbox sets `ASTROHYBRID_LOW_LATENCY=1` (Streamline's Reflex replaces it while frame generation is on). Same switches as the tested runs `221611` (2x) and `221813` (4x); the window was opened and checked, Play not pressed by me (user test). | Kept | | 2026-11-12 22:20 | **DLSS Frame Generation (and Multi Frame Generation) working: `Run-AstroHybrid-FG.bat`** (Kyty `5f942fb1`, patch `Source/hybrid/patches/0018-hybrid-dlss-frame-generation.patch`; installed `kyty_gpu.dll` DB22E4B6 plus Streamline 2.14.16 runtime (`sl.interposer/common/dlss_g/reflex/pcl.dll`, `nvngx_dlssg.dll`, `NvLowLatencyVk.dll`, licences) in `Build\RunHybrid`; previous DLL backed up in `E:\AstroHybrid-Work\build\install-backup-pre-dlssg`) | Camera found with a matrix scan of bound buffers: the game's per-view constants (576-byte buffer, offset 128): projection with/without jitter (54.5 deg vertical FOV, 16:9, near 0.05, far ~625, depth near->0 so not inverted), view matrix, inverse projection. Streamline initialised before Kyty's Vulkan instance (no OTA/downloaded plugins), Kyty's dispatcher takes Vulkan from `sl.interposer.dll`; the window surface is created through it ("Could not find a window" otherwise). Per frame: Streamline Reflex sleep + PC-latency markers on the existing frame hooks (replaces the `VK_NV_low_latency2` path while on), camera captured from the first draw binding it, depth/motion vectors tagged (valid only now) and constants (with previous-frame clip matrices) at the upscale pass. Runtime: max 5 generated frames on Vulkan; dynamic MFG not supported (D3D12 only). Generation pauses whenever the window loses focus ("DLSS-G disabled: window not focused"), which explained earlier 1.00 readings. Installed-folder runs (100 s, focused): defaults `221419` 32.3 FPS (unchanged); launcher settings 2x `221611`: game 31.5 FPS, **2.00 frames shown per game frame (~63 FPS displayed)**, DLSS SR every frame; 4x (`ASTROHYBRID_DLSSG_FRAMES=3`) `221813`: game 31.0 FPS, **4.00 per game frame (~124-128 FPS displayed)**. Screenshots clean. Input latency added by generation not measured. | Kept; opt-in launcher, `Run-AstroHybrid.bat` unchanged | | 2026-11-12 21:45 | **NVIDIA options installed in the game: `Run-AstroHybrid-DLSS.bat`** (user approved; backups of the replaced files in `E:\AstroHybrid-Work\build\install-backup-pre-dlss`: `kyty_gpu.dll` 69919E73, `libs\libc.prx` 83C78E43) | Installed into `Build\RunHybrid`: `kyty_gpu.dll` 35096E12 (Kyty with the commit fast path, low latency, DLSS and diagnostics, all off by default), `libs\libc.prx` 84BBAB7B (AnyPS5 `535ee3fc09`, CUDA window only with `ASTROHYBRID_CUDA_HOLE`), `nvngx_dlss.dll` 310.9.16 with its licence. New launcher `Run-AstroHybrid-DLSS.bat` sets `ASTROHYBRID_CUDA_HOLE=1`, `ASTROHYBRID_DLSS=1`, `ASTROHYBRID_DLSS_PATH` and `ASTROHYBRID_LOW_LATENCY=1`, then runs `Run-AstroHybrid.bat` unchanged. Installed-folder tests (100 s each): defaults `213832` ran normally (heavier section, 2 of 7 windows, not a timing comparison); DLSS launcher settings `214024`: DLSS evaluated every frame (314-320 per 10 s, game pass kept 0), low latency active (64 full driver reports, sleep 0.4-0.5 ms, 0 timeouts), 29.8 FPS. User: no visible difference between the two, as expected for an upscale that only changes fine detail at window size. | Kept; `Run-AstroHybrid.bat` behaviour unchanged | | 2026-11-12 21:30 | **DLSS Super Resolution running: CUDA address window in the guest arena** (`ASTROHYBRID_CUDA_HOLE=1` with `ASTROHYBRID_DLSS=1`; AnyPS5 commit `535ee3fc09`, patch `Source/patches/0026-libc-cuda-address-window.patch`; Kyty `0a5464c3` + `dlss.h` note; test folder `Build\RunHybridTest` only, which now has its own hard-linked `libs` folder so its `libc.prx` can differ; installed game untouched: `libc.prx` 83C78E43, `kyty_gpu.dll` 69919E73) | Measured CUDA's footprint for `VK_NVX_binary_import`: 36 GiB + 12 GiB contiguous (48 GiB) plus 8 GiB high; standalone tests show any 48 GiB hole below 1 TiB works (0x1000000000, 0xA000000000), nothing free below 1 TiB fails. AnyPS5's guest arena (`GuestArena.cpp`) reserves the whole PS5 application range 0x2_0000_0000-0xFC_0000_0000 and hands out guest allocations first-fit from the bottom. With the switch it leaves 0xDC_0000_0000-0xEC_0000_0000 (64 GiB, under Kyty's GPU window) unreserved as a host region. Run `212517`: binary-import device created, NGX initialised, "Super Resolution available", DLSS created for every pass size the game used (menus 3840x2160 and 3328x1872, Sky Garden 1920x1080 -> 2432x1368) and evaluated every frame (221-308 per 10 s, game pass kept 0 times); game ran the full 100 s; screenshot correct (colours, exposure, edges, no ghosting visible). Run `212738` (jitter sign -1): same. FPS 28-30 in these runs (unchanged CPU limit; not a speed feature). Open: jitter sign not settled objectively (the DLSS runs reached a different camera view at 50 s than the baselines, so the sharpness comparison is not like for like); no guest fixed mapping into the window seen in these runs. | Kept **opt-in, both switches default off**, not installed. First NVIDIA image-reconstruction feature genuinely working in the game | | 2026-11-12 23:30 | **NVIDIA DLSS Super Resolution and Frame Generation: integration and blocker** (Streamline SDK v2.14.16 downloaded with permission to `E:\AstroHybrid-Work\sdk`; Kyty commits `970e98d1` (pass trace, shader dump) and `0a5464c3` (DLSS SR, opt-in `ASTROHYBRID_DLSS=1`, needs a `KYTY_NGX_SDK_DIR` build); patch `Source/hybrid/patches/0017-hybrid-dlss-sr-blocked.patch`; test folder only, installed game untouched) | Found the game's real inputs with a pass trace (3 frames) and the pass's disassembly and constants: the frame renders at 1920x1080, SMAA (edge/blend/resolve, SearchTex 64x16 and AreaTex 160x560), then a temporal upscale draw (pixel shader `2936e5eca99d75e7`) to 2432x1368, sharpen, distortion, bloom and the final 3840x2160 output. The upscale reads SMAA colour, motion vectors in `.xy` of a G-buffer target (UV, previous->current, including jitter), and history; its constants hold current and previous jitter (+-0.125 px), input/output sizes and a frame counter. DLSS SR code replaces that draw with NGX using colour, the G-buffer depth, those motion vectors (scale -1920,-1080, jittered flag) and that jitter, writing the game's own 2432x1368 target. **Blocked:** NGX on Vulkan needs `VK_NVX_binary_import`; with it vkCreateDevice fails (`VK_ERROR_INITIALIZATION_FAILED`), without it NGX reports Super Resolution unavailable. A standalone probe succeeds; reserving the game's address ranges reproduces the failure; creating the device before the reservations works but CUDA then takes about 30 GiB between 0x2_0000_0000 and 0x8_0000_0000, which the PS5 memory map needs. Frame Generation (Streamline, NGX underneath) has the same dependency and would also need camera matrices not yet located. Not attempted: moving the host's PS5 memory map (AnyPS5 change, high risk). | **Not functional**; code kept opt-in, default off. Low latency (`ASTROHYBRID_LOW_LATENCY`) is the NVIDIA feature that works | | 2026-11-12 21:00 | **NVIDIA low-latency mode (Reflex for Vulkan) through `VK_NV_low_latency2`** (`ASTROHYBRID_LOW_LATENCY=1`, or `measure` for markers and reports with the mode off; default off; Kyty commit `910826e4`, patch `Source/hybrid/patches/0016-hybrid-low-latency2.patch`; DLL `E:\AstroHybrid-Work\build\kyty-gpu-pgo-lowlat`; test folder only, installed game untouched) | RTX 5060, driver 621.10 reports `VK_NV_low_latency2` rev 3 and `VK_KHR_present_id`. Kyty enables both (with the `presentId` feature) only when requested and supported, creates the swapchain in latency mode, sets low-latency sleep mode with boost, ends each guest frame at the DCB submission that carries its flip (`AgcDcbSetFlip` since the last submission) with `vkLatencySleepNV` plus a bounded wait, numbers frames by flip so simulation (guest), render-submit (command processor's flip reservation) and present markers carry the same ID, and chains `VkPresentIdKHR` on presents. First run found the game submits through the NID-bound `AgcDriverSubmitDcb`, not the bridge entry, so the hook moved into Kyty's `submit_dcb`. Run `201553` (90 s, mode on): driver returns 64 of 64 per-frame reports with simulation, present and GPU timestamps; guest frames = CP flips (4,223 vs 4,222); sleep called every frame, 0.2-0.6 ms average, 0 timeouts; driver-reported simulation start -> GPU end 69-75 ms; FPS 32.7 (normal range). **Genuinely active.** Not measured yet: latency with the mode off (`measure` build ready); the A/B launch was refused by the test script because C: fell below 30 GB free (a download in progress outside this work, 5.3 GB in 3 h). | Kept **opt-in, default off**, not installed. A/B latency pending free space | | 2026-11-12 20:05 | **Commit epoch fast path: per-step timing** (diagnostics build of Kyty `00409cbd`, DLL `E:\AstroHybrid-Work\build\kyty-gpu-diag-epochfast`, `KYTY_CP_COMMIT_STATS=steps`, test folder only; runs `195938` off, `200130` on, background load under 5%) | Per continued draw, off vs on: vertex buffers 0.28-0.31 -> 0.19 us, index buffers 0.21-0.23 -> 0.17 us, certificate check 0.13 -> 0.10 us, storage bindings unchanged (0.65-0.71 vs 0.68 us); whole continued-draw commit 3.88-4.16 -> 3.65-3.68 us, about 0.3 us less, which at ~3,700 continued draws a frame is roughly 1 ms of command-processor time. Caveat: the off run's windows were in a lighter part of the scene (1,500-2,600 continued draws a frame against 3,600-3,750), so the per-step numbers are the comparable part; FPS effect in release not established (earlier release pairs were noisier than this). | Kept **opt-in, default off**, not installed. Candidate to enable after one clean release check | | 2026-11-12 21:10 | **Commit epoch fast path, read memos** (same switch `ASTROHYBRID_COMMIT_EPOCH_FASTPATH`, Kyty commit `00409cbd`, patch `Source/hybrid/patches/0015-hybrid-commit-epoch-read-memo.patch`; test folder only, installed game untouched) | Data first: most read-memo misses are real work (CPU-dirty ranges that are uploaded or stream-copied) and cannot be skipped. The validation-only part is the cross-epoch hit, which took the region locks on every new sync epoch (~12% of bindings in the lookup sample). New: once that locked check passes, the memo is marked clean; later epochs accept it while the range signature is unchanged (any page turning CPU-dirty advances a region serial first). Flag set from the locked check, not at record time, because a lock-free check there could miss a transition in progress. Verify: run with Kyty's own memo-hit verifier (`KYTY_BINDING_EPOCH_MEMO_VERIFY=1`) and `KYTY_DRAW_RUN=verify`: 0 mismatches (slow, ~9k acceptances); run at speed (`rverify2`, 120 s): 3,715,239 read acceptances re-checked with the locked query, 0 mismatches, 0 races (~1,300 lock-taking checks avoided per frame); writable side 2,022,771 accepted, 0 mismatches; draw-run verify 0. Timing: one off/on pair (`195217`, `195409`) not comparable (on run in a heavier section, 5,337 vs 4,998 draws/frame, 4 of 7 windows); further profiling stopped on user direction. | Kept **opt-in, default off**, not installed. Speed effect not established | | 2026-11-12 19:55 | **Commit epoch fast path for writable buffer bindings** (`ASTROHYBRID_COMMIT_EPOCH_FASTPATH=0/1/verify/exit`, default 0; Kyty commit `96164000`, patch `Source/hybrid/patches/0014-hybrid-commit-epoch-fastpath.patch`; DLL `E:\AstroHybrid-Work\build\kyty-gpu-pgo-epochfast`; runs from `Build\RunHybridTest` only, installed game untouched) | Where the commit time goes first (diagnostics DLL, `KYTY_CP_COMMIT_STATS=steps`, run `190838`): per continued draw the certificate check (`validate`) is only 0.16 us; the larger share is buffer resolution (V# bindings 1.08 us, vertex buffers 0.39, index 0.24, buffer discovery 0.26). `KYTY_BUFFER_LOOKUP_STATS` (run in the same session): writable bindings are about half of that binding time (~2.4 us each); read memos miss mainly on their region serial (56%). New code: a writable binding is accepted from generations (range tracker signature taken when no page was CPU-dirty or hot and every written range was GPU-owned and in the GPU-modified set; buffer structure epoch; a new counter bumped before every removal from the GPU-modified set) instead of repeating its synchronizations; misses take the unchanged full path. Verify (`ASTROHYBRID_COMMIT_EPOCH_FASTPATH=verify` with `KYTY_DRAW_RUN=verify`, run `fverify2`, 130 s): 87.4% of writable bindings accepted, about 1.2 million accepted bindings re-checked against the full path, **0 mismatches, 0 races**; draw-run verify 0 mismatches. (A first verifier flagged 1 case from a region-wide serial check that other threads move; replaced by the exact locked check.) Timing, release, `KYTY_CP_GAP_STATS=1`: the first off/on/on/off set ran with the game in a slow fault state (fault handler 205-430 us instead of ~50-100) and spread 22.9-31.8 ms commit, unusable. One more pair on an idle machine: on commit 21.85 ms, 31.4 FPS; off 22.63 ms, 31.2 FPS. That -0.8 ms is within run-to-run noise. No FPS gain measured. | Kept **opt-in, default off**, not installed. Needs one clean timing pair when the fault handler is back at normal speed | | 2026-11-12 16:55 | **Mesh-shader draws as run records** (`ASTROHYBRID_RUN_MESH=1`: mesh draws without indirect arguments may record a run, and programs that only read guest memory by address, which bind the fault buffer, are run-eligible; a mesh draw with indirect arguments always falls back. DLL `E:\AstroHybrid-Work\build\kyty-gpu-pgo-meshrun`, test folder `Build\RunHybridTest`, installed game untouched) | First version changed nothing: mesh programs were still refused because they bind the fault buffer (found with a split diagnostic, run `163337`: 51,419 per 10 s by "program"). Shaders only mark missing pages there and it is processed at garbage collection, so the second version allows it. Verify `163850` (`KYTY_DRAW_RUN=verify`): about 3.7 million checks, 0 mismatches; eligible draws 94.5% -> 96.3%, but many newly eligible mesh draws then stop on render-target textures (25k -> 37k per 10 s) or aliasing (1k -> 20k). Timing, release, `KYTY_CP_GAP_STATS=1`, background load under 1%, off/on/off/on (`164135`, `164352`, `164608`, `164824`): commit 20.90-21.31 vs 20.90-21.14 ms per frame, FPS 33.4/33.4 vs 33.4/33.9, continued draws +0.1-0.3 points. No measurable gain. | **Rejected**, source reverted; diff in `Source/experiments/ASTROHYBRID_RUN_MESH.patch` | | 2026-11-12 16:35 | **Draws that cannot start a run: mesh and render-target textures** (no code; `KYTY_DRAW_RUN_KEY_DIAG=1` run `155015`, eligibility code in `renderDraw.cpp`) | Per 10 s about 82,000 committed draws leave no record a following draw could continue. Mesh-shader draws 43,062 (about 155 a frame), and 26,095 of them have the same structure key as the draw before, so they would continue if mesh draws could seed runs: at about 7 us saved each that is roughly 0.6-0.7 ms a frame, the largest item found. The exclusion looks conservative: the per-draw mesh work (index segments, group counts, push dwords, index-range registration) runs on every draw anyway and `split_groups` is a device property, not per draw; but nothing in Kyty's verify mode covers mesh continuations yet, so it needs a verify-first change. Textures that are also attachments 24,825 (10,070 same key, about 36 a frame): they need their per-draw barrier, not safe to reuse. Smaller: not reached 7,610, outside an engine commit 6,586, depth clear and aliasing about 1,100 each. | Investigation only. Candidate for next: mesh draws as run records, behind a flag, validated with `KYTY_DRAW_RUN=verify` before any timing | | 2026-11-12 16:30 | **Recall with a pipeline swap** (`ASTROHYBRID_RUN_RECALL_SWAP=1`, Kyty `renderDraw.cpp`, `drawRun.*`; DLL `E:\AstroHybrid-Work\build\kyty-gpu-pgo-recallswap`, run from the separate folder `Build\RunHybridTest`, installed game untouched) | Target: about 186 draws a frame differ from the previous draw in the vertex program and pixel textures, which neither the swap nor the recall takes. Verify run `162216` (`KYTY_DRAW_RUN=verify`): about 6.6 million checks, 0 mismatches; background load 2% (browser). But only 9,000-11,000 draws per 10 s found a kept record with their swap key and 2,300-2,900 passed every condition, about 13 a frame: at most about 0.1 ms a frame, below run-to-run noise, so no timing run was spent on it. Most of the 186 have no earlier run of the same pass to return to. | **Rejected**, source reverted; diff in `Source/experiments/ASTROHYBRID_RUN_RECALL_SWAP.patch`. Installed DLL unchanged | | 2026-11-12 15:50 | **Parallel draw preparation: is the U59 architecture in our branch, and what is left** (user direction; inspection of `drawPrep/*`, `cpSequencer`, `renderDraw.cpp`, `commandStream`/`commandRecorder`; run `154246` with `KYTY_DRAW_PREP_PHASES=1`, `KYTY_CP_GAP_STATS=1`; no code written) | Our `hybrid` branch is Jetsku/KytyPS5 release int21 (`744705ee`, tag `u59-windows-20261024-int21`) plus two `ASTROHYBRID_OPT_1` commits and the bridge, so the whole U59 system is present and on: 6 prep workers with a worker gate (2 hot), register snapshots, read sets, coherence certificates built on the worker, binding plans, serial fallback, draw runs, pipeline prefetch, recorder thread. Effect: 1,324,747 draws per 10 s committed from a prepared slot, 3,266 fell back (0.25%). Workers: 15.07 us per slot = 73.7 ms of worker time per frame (psmat 5.01, vsmat 2.41, vsprog 2.38, plan 2.22, finish 0.80; reads 38.6 per slot). CP waits per frame: head slot 0.46 ms, starved 0.55, recorder 0.02. With the phase timers on the frame is 36-38 ms (27 FPS), so these are shares, not release numbers. Earlier counts (2026-11-07): 2 workers 28.4 FPS against 31.1-31.3, 4 workers/4 hot no gain. What remains is the ordered commit on the CP (release 21.5-22 ms: 3,826 continuing draws at ~3.6 us, ~1,090 run starts at 7.6-13.4 us in the diagnostics build), which looks up the CP-owned buffer and texture caches. If every run start cost as little as a continuation the frame would be about 23.5 ms (42 FPS). | Measurement only. Nothing to add to the preparation side; 45 FPS in Sky Garden is not reachable by preparation or run tuning | | 2026-11-12 15:40 | **Compatibility check: four secondary command buffers for shadow-pass recording** (user design, flag `ASTRO_VK_MULTITHREADED_SHADOWS`; no code written) | Kyty already moves Vulkan recording off the command processor: `KYTY_CP_RECORDER=1` (in the preset) has the CP encode fully resolved command packets into a ring that one recorder thread replays into the command buffer. The CP's 21.5-22 ms commit per frame (`CpGaps`, run `024247`) is therefore state resolution and packet encoding, not `vkCmd*` calls, and the CP waits only 1.8-2.4 ms per frame in total (idle, includes waiting for the game). Splitting the recorder's replay of the shadow pass across four workers can at best shorten a thread the frame is not waiting for. Thread CPU sample (`run-20261112-153050`, 10 s) is not usable for the recorder alone: threads are unnamed and helpers spin. | **Not implemented**: no path to a gain; the limit is the CP's resolve stage, which uses the shared buffer, texture and descriptor caches the design keeps off the workers | | 2026-11-12 15:30 | **Controller motion and vibration: user test** (launcher start, `ASTROHYBRID_PAD_MOTION=1` default, DLL `kyty-gpu-pgo-motion`) | User report: tilt/shake and vibration both work in the same session. The earlier "no vibration with motion on" came from separate test runs in different scenes. FPS effect of the relay still not measured. | Kept | | 2026-11-12 15:10 | **Controller motion sensors in AstroHybrid** (user report: shaking and tilting the DualSense does nothing). Cause: the input relay published buttons, sticks, triggers and touch to AnyPS5's libScePad but never the accelerometer and gyroscope, so the game always read a pad at rest. Fix: bridge ABI 1.5 `publish_pad_motion` (Kyty `hybrid` `91b29703` = `Source/hybrid/patches/0013`, behind `ASTROHYBRID_PAD_MOTION=1`, default off; AnyPS5 `672da4e7e9` = `Source/patches/0025`, libAstroHybridHost stores the sample and sets `hasMotion`). DLL `E:\AstroHybrid-Work\build\kyty-gpu-pgo-motion`, previous host library kept in `E:\AstroHybrid-Work\build\host-backup-pre-motion` | Smoke `run-20261112-145624`: boots, log `input relay: motion sensors -> host` and `first motion sample, accel -0.16 9.54 1.63 m/s^2, gyro 0.004 0.001 0.003 rad/s` (gravity on y, live gyro). In-game shake and tilt not verifiable without the player. FPS effect not measured: `run-20261112-145943` read 30.7-31.7 fps (usual 32-34) and the off/on/off repeat (`150225`, `150448`) landed in other scenes (40-44 and 144 fps), so the runs are not comparable. Vibration (user report: none): not fixed; with the pad's USB sound card present AnyPS5 plays haptics as audio on `Speakers (DualSense Wireless Controller)`, which Windows has at 51% volume. | `Run-AstroHybrid.bat` sets `ASTROHYBRID_PAD_MOTION=1` (`=0` restores). Awaiting the user's controller test. | | 2026-11-12 15:00 | **AnyPS5's own renderer as a replacement for Kyty's** (`Tests\skygarden_bench.ps1`, `Build\Run`, 130 s, `run-20261112-145827`) | Does not boot: `FATAL: unhandled exception 0xc0000005`, call through a null pointer inside `libSceVideoOut.prx`, 23 s after start, no frame presented. `Build\Run\libs` was last changed 2026-11-07, so this is not from today's build. Last number on record for it in Sky Garden: ~0.1 FPS (2026-10-30). One run. | **Rejected**: Kyty's GPU stack stays; nothing removed | | 2026-11-12 12:05 | **Lossless Scaling x2 frame generation on the 30 FPS cap** (tried by the user, LSFG fixed x2, no numbers taken) | User report: stutter or uneven motion, visual glitches and too much input lag. Not acceptable as the route to 45-60 FPS. Saved launcher setting `Build\astrohybrid-settings.json` put back to 60. | **Rejected** | | 2026-11-12 11:35 | **30 FPS cap as the base for frame generation** (`ASTROHYBRID_FPS_LIMIT=30`, Sky Garden via `Tests\hybrid_skygarden.ps1` settings, 125 s, `Logs\run-20261112-113004`) | Every 10 s window in gameplay reads 30.0 fps (uncapped 32-34), so the cap holds in the heaviest known area. No code change: the launcher already offers 30 and its fullscreen is desktop (borderless) fullscreen. Saved launcher setting `Build\astrohybrid-settings.json` changed from 60 to 30. Frame generation itself (Lossless Scaling x2) is not measured: it runs outside the game and was not started here. | Setting only | | 2026-11-12 03:50 | **Draw commit by phase and a larger draw-run recall store** (diagnostics DLL `E:\AstroHybrid-Work\build\kyty-gpu-diag`, `KYTY_CP_DIAGNOSTICS=ON`, run `033020` with `KYTY_CP_COMMIT_STATS=steps`, 23 FPS with the instrumentation; experiment `ASTROHYBRID_RUN_KEPT`=128/256, the store `KYTY_DRAW_RUN_RECALL` searches, 32 entries in Kyty). | Per 10 s: 1,175,531 draws, 73.4% continue a run at 3.58 us/draw, 261,748 start one at 11.42 us/draw (about half of all commit time). Starts by cause: pipeline 45%, previous draw wrote a buffer 28%, structure 16%, instance 11%; 53.8% of starts repeat a structure of the same rendering instance but recall matched only 72,854 and recalled 44,966. Larger store, release DLL, Sky Garden 110 s: 128 entries `033831` 32.0-32.8, 256 entries `034227` 32.4-33.1, default `034029` 33.2-33.6, `034425` 32.2-32.8. No errors; screenshots not opened. Kyty's own notes record its cross-frame reuse (`KYTY_XFRAME_REUSE`) at -1.0% in 2026-10, so it was not re-run. | Rejected, source reverted; diff in `Source/experiments/ASTROHYBRID_RUN_KEPT.patch`. Standard DLL (02adaecc...) deployed. | | 2026-11-12 03:10 | **AVX2 build of kyty_gpu.dll** (`-DKYTY_MARCH=x86-64-v3`, same PGO profile; DLL kept as `E:\AstroHybrid-Work\build\kyty-gpu-pgo-v3`, never measured before). | Sky Garden, 115 s, alternating: v3 `025909` 33.4-34.1, `030321` 33.3-33.9 (one window 31.7); standard `030115` 33.2-34.2, `030526` 33.1-33.9. No errors in the logs; screenshots not opened. | Rejected (no difference). Standard DLL deployed. | | 2026-11-12 02:50 | **CP time breakdown and profile, rebuilt DLL** (`KYTY_CP_GAP_STATS=1`, `KYTY_CP_PASS_STATS=1`, run `024247`; profile during `024513` with `Tests\thread_sampler.py --busiest-unnamed 1`, 25 s, 15,045 samples). | Frame 30.1-30.3 ms = draw commit 21.5-22.0 ms (4,850-4,980 draws) + gap 8.3-8.6 ms (idle 2.0-2.3, the rest in pieces under 0.7 ms). Commit by pass: 5-target G-buffer 2,271 draws 11.85 ms (5.2 us/draw), 2048x2048 shadow 1,579 draws 3.05 ms (1.9 us/draw), depth-only 413 draws 1.09 ms, two colour passes 2.1 + 1.0 ms. Profile is flat: ExecutePreparedDraw 8.9%, ObtainBuffer 7.0%, PrepareBindings 6.0%, waiting 5.7%, CommitBindings 5.3%, RebindBuffers 3.9%, memcpy/memcmp/memset in VCRUNTIME ~8%, CpNowNs 2.1%. The buffer/binding/pipeline memo switches that target these are already on by default. | Measurement only. No single hot spot; 45 FPS in Sky Garden needs about 8 ms off the commit path, i.e. a structural change (fewer draws or parallel commit of the G-buffer pass). | | 2026-11-12 02:45 | **Game-thread fault waits: `ASTROHYBRID_GUEST_LOAD_FAULTS=1`** (new, Kyty `758560a7`, patch 0012, default off: the bridge publishes the native context of read faults taken inside the game image, so `KYTY_READ_FAULT_PUBLISHED=1` can engage) and **`ASTROHYBRID_OPT_1=1`** (existing, default off: settled spans skip the region host lock). | Switch engages: "read-fault published" serves 4.9-7.3 reads/frame without waiting, OPT_1 skips ~25,000 lock waits per run. FPS, Sky Garden 115 s: both on `023007` 34.2-34.9, `023237` 33.5-33.9; control `022359` 32.4-32.6, `023440` 33.4-33.9; OPT_1 alone `022602` 32.5-34.0; guest loads alone `022804` 32.4-33.1. Other levels, 80 s: snowy canyon on `023642` 43.7-44.3 / off `024105` 43.1-44.3; cymbal on `023810` 37.7-37.9 / off `023937` 38.2-38.5. No errors; screenshots not opened. | No FPS gain (the game threads' waits are not on the critical path). Patch kept, switch stays off. | | 2026-11-12 02:25 | **Kyty build tree restored.** `E:\AstroHybrid-Work\source\kyty` was a git worktree of `Tools\KytyPS5` (branch `hybrid`, a4c0be3f), so the source was never lost: `git worktree prune` + `git worktree add`, submodules cloned from `Tools\KytyPS5\3rdparty`. LLVM 22.1.3 downloaded again from the llvm-project GitHub release (862 MB, the VS-bundled clang 19 cannot read the PGO profile) to `E:\AstroHybrid-Work\tools`. `Tools\hybrid\build-kyty-pgo.cmd` is the recreated build script (copy of `E:\AstroHybrid-Work\build\build-kyty-pgo.cmd`). | PGO build 1,066 steps, then `build_kyty_gpu.py`. Rebuilt DLL (SHA-256 02adaecc...) in Sky Garden: `022359` 32.4-32.6, `023440` 33.4-33.9 FPS, against 32.7-33.3 for the previous DLL (23bf33aa..., backed up in `E:\AstroHybrid-Work\build\kyty-gpu-pgo-overlay2`). | Kept: rebuilt DLL deployed in `Build\RunHybrid`. | | 2026-11-12 02:05 | **FPS in other levels, current hybrid build** (`AstroBot-NonRT.exe -lvl `, 120 s each, 1280x720, no limit, same settings as `Tests\hybrid_skygarden.ps1`; steady 10 s windows from the "Kyty fault cost" lines). | `hoover_beach` (`015906`) 51-53 FPS; `bumper_enemy_snowy_canyon` (`020113`) 43-44; `cymbal_party_land` (`020321`) 37-39 (start room); Sky Garden 32.5-33.5. `hub_crashsite` (`015658`) did not load with `-lvl` (black screen, 145 FPS, not a result). No crash, no device lost. Screenshots opened for hub (black) and cymbal (in level); beach and canyon judged from their FPS drop only. Start positions only, nobody walked around. | Measurement only. Only the beach start is above 45 FPS. | | 2026-11-12 01:52 | **`KYTY_READ_FAULT_PUBLISHED=1`** (existing Kyty switch, default off; serves a game thread's read of GPU-written bytes without waiting). Fault map (`KYTY_FAULT_MAP=1`, run `014138`): ~5 read faults/frame at ~3.1 ms each (~17 ms/frame summed over game threads); 83 write faults/frame on game threads at 292 us, of which 250 us is waiting for the region host lock. | Sky Garden, 130 s: on `014443` 32.1-32.7 FPS, on `014918` 32.8-33.2, verify `014700` 32.5-33.0, control `015135` 32.1-33.0. No "read-fault published" line appears and read faults stay at ~5/frame at 2.9 ms: the switch never engages in the hybrid (the fault map shows rip 0x0 and thread 'host' for every game-thread fault, so the plain-load check has no instruction to decode; that cause is read from the log, not proven in code). | Rejected (no effect). Lead for a rebuilt DLL: pass the faulting rip / guest-thread flag through the hybrid fault path. | | 2026-11-12 01:42 | **Write-fault window and tracker lock spin** (existing Kyty switches, never tested here): `KYTY_FAULT_AHEAD_ADAPT`=64/256/512 (auto climbs to 1 MiB on this PC: slow level 2) and `KYTY_TRACKER_LOCK_SPIN_US`=0/100. | Sky Garden steady windows, 130-150 s runs: control `011618` 33.3, `012649` 32.7, `013227` 32.8; 256 KiB `012411` 34.1, `013010` 33.0 (`011856` ended at another spot, 40-57 FPS, not comparable); 512 KiB `013445` 33.5; 64 KiB `012134` 28-32 (662 faults/frame); spin 0 `013703` 32.9; spin 100 `013920` 33.1. No errors in any log; screenshots opened for `011856` and `012411` only. | Rejected: all within run-to-run noise except 64 KiB, which is slower. | | 2026-11-12 01:15 | **Upstream AnyPS5 check** (fetched `origin/main` 51222893f, our base is 16,334 commits behind) and **state of the Kyty build tree**. | Newest upstream perf commits are almost all in the AGC driver / shader recompiler, which the hybrid does not run (`APS5_GPU_ENGINE=kyty`); the libc ones (wide strings, strcasecmp, realloc in place) are not on a measured hot path. Nothing integrated, none benchmarked. `E:\AstroHybrid-Work` (Kyty hybrid source with the bridge, the PGO build tree, LLVM 22) is not on any connected drive (E: is now another disk; `E:\PPSA21567.7z` is not visible either), and `Source\hybrid\patches` holds only patches 0001-0011, not the bridge. `kyty_gpu.dll` cannot be rebuilt until that folder is back. Baseline `011331` works (Sky Garden reached, screenshot correct). | No change. Kyty code changes blocked. | | 2026-11-08 22:30 | **Problem A test 1: Forest level (spring_punch_sky_aztec) with original lighting (AstroBot.exe)**. User played to the crash level with `ASTROHYBRID_EXE=AstroBot.exe`, `ASTROHYBRID_GAME_SPEED=1`, `ASTROHYBRID_FPS_LIMIT=unlimited`. | **Still crashes** in the forest/jungle level with the same "too many objects/batches" fatal error in the Draw Shadow thread. The non-RT lighting patch is NOT the cause of the crash. | Ruled out. Proceed to Test 2. | | 2026-11-08 22:00 | **Problem A test 1: Original lighting (AstroBot.exe) in Sky Garden** (110 s, `ASTROHYBRID_EXE=AstroBot.exe`, `ASTROHYBRID_GAME_SPEED=1`, `ASTROHYBRID_FPS_LIMIT=unlimited`). | Run `215456`: no crash, game reached Sky Garden and ran steadily at ~30-33 FPS. Screenshot correct. This confirms the original lighting executable works in Sky Garden. Next: user must test the forest level (spring_punch_sky_aztec) with original lighting to see if the crash persists. | Test passed. Forest level test pending. | | 2026-11-08 21:15 | **Short window title and stats overlay choice** (Kyty patch 0011: `ASTROHYBRID_WINDOW_TITLE`, `ASTROHYBRID_OVERLAY`=fps/compact/full; launcher 'Show stats' row, title 'Astro Bot'). DLL `kyty-gpu-pgo-overlay2`. | Run `211115`: window title 'Astro Bot', small '30 FPS' counter top right, game fine. First try (`210803`) showed no overlay: callers only draw when already enabled, so the start mode moved into PerformanceOverlayEnabled(). | Kept. | | 2026-11-08 20:35 | **FPS choices 30/35/45/50/55/60 + game speed percent + smoother step** (Kyty patch 0010, `ASTROHYBRID_GAME_SPEED_PERCENT` 25..150; launcher 'Game speed' 100..75%). Step EMA 0.2 -> 0.03, rewrite only on 0.75 change, snap to the limit within 6%. DLL `kyty-gpu-pgo-gamespeed3`. | 45 cap, 90%: before smoothing the written rate jumped 32.5-37.9 between reads; after, 50.0 held while at the cap and eased to 43-46 when the scene slowed. Runs completed 130 s / 125 s. User reported graphical glitches and 'very fast' with the first version (not yet re-checked by the user). | Kept. | | 2026-11-08 21:00 | **Real-time game speed below 60 FPS** (Kyty `hybrid` patch 0009, `ASTROHYBRID_GAME_SPEED=1`, default off in the .bat, on in the launcher checkbox). Found the cause: one global frame-rate block (eboot 0x8ff0040 = exe 0x93f0040: f64 rate 60, f32 1/rate, u64 us/frame; set by eboot 0x34c0, read through getters by 2,500+ sites). Each present now writes the measured rate (the limit when the cadence holds it, clamped 20..120). DLL `kyty-gpu-pgo-gamespeed`. | Live proof at the 30 FPS cap, Sky Garden, 1,785 object clocks (Tools/hybrid/re/speed_probe.py): step 1/60 = 0.497 and 0.500 game s per real s, step 1/30 = 0.982. With the switch: block reads 30 / 0.0333 / 33333, log 'real-time step on', runs completed 240 s and 220 s. User: 'feels good better but very speedy' (expected after half speed). Two unrelated GPU device-lost crashes earlier this evening (nvlddmkm 153), also without the shader cache. | Kept, opt-in. Not yet checked: physics or cutscene timing at variable rates. | | 2026-11-08 20:00 (investigation) | **Game speed below ~45 FPS** (user: slow motion at 30, normal at about 45 FPS and above). | Ruled out a hybrid clock mix-up: AnyPS5 and Kyty both use the raw TSC (same units, only different origins for processTime). Ruled out vblank counting (30 FPS at 60 Hz vblanks would then be correct speed); Kyty can only report 59.94/119.88 Hz. The game's only sceVideoOutGetVblankStatus call (eboot 0x2a5831) is a performance monitor computing frames per vblank from a stored frame rate of 60 (display manager object +0xac); its 'Change Frame Rate from %d to %d' path (0x6a291a) is the display-mode change. No min/compare against 1/20..1/60 s float constants or 16,667/25,000/33,333 us integers near the clock readers (one 33333 hit at 0x2a1257 is a call displacement). Clock call sites: GetProcessTime 95, ProcessTimeCounter 80, CounterFrequency 42, TscFrequency 53, ReadTsc 20 (scratch scripts clock_callers.py, dt_consts.py). | Conclusion: the game most likely advances a fixed 1/60 s per frame (vsync-locked design): 45 FPS = 75% speed, 30 FPS = 50%. Frame-rate limits cannot fix it. Next: find the per-frame step dynamically (memory scan for the step value, then a write watchpoint to the code) and patch it to use measured time, as an opt-in game patch. | | 2026-11-08 19:20 | **Launcher window, frame-rate modes, fixed-cadence pacing, fullscreen start, cache default** (Kyty `hybrid` patch 0008; `Play-AstroBot.bat` + `Tools/hybrid/launcher.ps1`; `Run-AstroHybrid.bat` now sets `ASTROHYBRID_CACHE_TITLE_ID=PPSA21567` by default, `ASTROHYBRID_SHADER_CACHE=0` turns it off). Limits 30/40/45/60/120/none; `ASTROHYBRID_FPS_PACING` now default on for every limit; `KYTY_GPU_FULLSCREEN=1` starts fullscreen with the cursor hidden. Deployed DLL `kyty-gpu-pgo-launcher` (SHA b45ddcff...); previous `kyty-gpu-pgo-fps-limit` (3853dcdf...). | 30 FPS limit, Sky Garden (user save, 1087 coins), 120 s, last 45% of flips: pacing off `191144` 29.75 FPS, median 33.60, p95 34.31, p99 34.74 ms, stdev 0.41; pacing on `191347` 30.00 FPS, median 33.33, p95 34.04, p99 34.34 ms, stdev 0.42; both 100% of frames within 33.3+-2 ms. Final screenshot correct, title shows the limit. Launcher not yet clicked through by the user. | Kept. The 30 cap is already even; '30 feels slow' is the rate itself, not stutter. Higher rates need CP work or external frame generation on a locked 30. | | 2026-11-08 | **Installed FPS launcher startup check** (`Run-AstroHybrid-FPS.bat`). | The regular cached NonRT install opened with 30 FPS selected in its window title and exited 0. | Startup check. In-game mode and screenshot verification below. | | 2026-11-08 | **Live frame-rate settings** (Kyty `dd3da79a`, patch 0007, run `185831`, 145 s through `Tests/worldmap_bench.ps1`). | The save resumed in Sky Garden. The overlay confirmed 30 → 60 → 120 → No limit → 30. After switching back to 30, the final steady window ran at 29.76 FPS, median 33.55 ms, p99 34.54 ms. Other windows covered different gameplay and cannot establish sustained 60 or 120 FPS. Final screenshot checked, exit 0. | Keep opt-in via `Run-AstroHybrid-FPS.bat`. Tested DLL deployed as SHA-256 `3853dcdf8a2a3712…`. Prior DLL backed up under `E:/AstroHybrid-Work/build`. | | 2026-11-08 | **Persistent shader cache deployed for gameplay** via `Run-AstroHybrid-NonRT-Cached.bat`. | The launcher ran the regular NonRT install with the same patch 0006 DLL used for the visual and timing checks (SHA-256 `5787fd7d162e934f…`). The first launch regenerated a program cache with an incompatible signature and exited 0. The restart loaded 605 shader permutations and 49.42 MB of driver cache and exited 0. These were startup checks. The gameplay timing and image checks are in the warm Sky Garden and world-map rows below. | Keep the explicit cached launcher. The previous DLL is preserved as `E:/AstroHybrid-Work/build/kyty_gpu.pre-cache-launcher.c9d3e9e54710543e.dll`. Existing launcher switches retain their defaults. | | 2026-11-08 | **Worker region hint crossover** (`143926`, `144130`, `144334`, `144538`, 120 s each, warm cache, pinned Sky Garden). | Controls vs hint, respectively. Frame median 30.83/31.13 vs 31.76/31.42 ms, p99 50.50/50.77 vs 53.29/50.31 ms, CP commit 22.29/23.23 vs 25.56/24.20 ms, and summed median per-frame pass rebind 4.30/3.78 vs 4.34/4.00 ms. Draw counts were within 1% across runs. All final screenshots showed the expected scene and all exits were clean. | Reject. The existing worker plan can pass a published region pointer while CP reads the live serial, but the crossover showed no consistent savings. Patch archived under `Source/experiments`. | | 2026-11-08 | **Scene-gated warm Sky Garden CP profile** (`143308`, 150 s, pinned save). | Sampled after two gameplay CP windows at 4,600–4,999 draws/frame. CP used 97% of one core. Among 15,149 samples, `ExecutePreparedDraw` was 8.38%, `ObtainBuffer` 7.20%, `PrepareBindings` 5.43%, `CommitBindings` 5.37%, and `RebindBuffers` 4.18%. Approximately 0.9% fell immediately after the tracked region pointer or serial load. Final screenshot checked. | Test reusing the read-only region pointer from existing worker binding plans while leaving the serial read on CP. The sampled lookup alone has a ceiling of about 0.3 ms/frame. | | 2026-11-08 | **Fixed-delay warm Sky Garden CP profile** (`142905`, 120 s, pinned save). | The gameplay scene loaded at about 65 s, after sampling began. Waits accounted for about 39% of samples. The final screenshot reached the expected scene. | Exclude the sample from steady-state attribution. Gate sampling on two gameplay draw-count windows. | | 2026-11-08 | **Persistent hybrid cache world-map smoke** (`014541`, cache title enabled, 120 s via `Tests/worldmap_bench.ps1`). | Correct final galaxy-map screenshot, exit 0. At 65-105 s, median 15.16 ms and p99 17.33 ms. | Smoke test for patch 0006. Working launcher defaults preserved. | | 2026-11-08 | **Persistent hybrid caches, warm repeat** (`014334`, `ASTROHYBRID_CACHE_TITLE_ID=PPSA21567`, 120 s). | Loaded 345 shader permutations and 405 journaled pipelines. Late median/p99/max 29.39/41.85/50.48 ms. No late program compiles, about 0.41 ms of compile waits, and zero frames at or above 80 ms. Final screenshot checked and exit 0. | Keep opt-in patch 0006. This verifies suppression of the observed long shader stalls, with no sustained FPS claim. | | 2026-11-08 | **Persistent cache switch off, same DLL** (`014130`, 120 s). | Late median/p99/max 30.27/44.84/103.71 ms. Six late program compiles and 58.59 ms of compile waits. Final screenshot checked and exit 0. | Same-session control. Cache files existed on disk and the renderer did not open them. | | 2026-11-08 | **Persistent hybrid caches, first warm restart** (`013926`, 120 s). | Loaded 345 shader permutations, 405 journaled pipelines and 22.48 MB driver cache. Late median/p99/max 29.43/44.01/54.75 ms. No late program compiles, about 0.38 ms of compile waits, and zero frames at or above 80 ms. Final screenshot checked and exit 0. | First warm verification. | | 2026-11-08 | **Persistent hybrid caches, empty-directory start** (`013651`, 150 s). | Wrote the program cache, driver cache, shader and pipeline journals. Late median/p99/max 29.82/43.79/117.06 ms. Six late program compiles and 58.07 ms of compile waits. Final screenshot checked and exit 0. | Cold run used to seed the warm runs. | | 2026-11-08 | **Graceful-close cache repeat with title override off** (`013328`, 120 s). | Exit 0 and final screenshot checked. Late median/p99/max 29.84/45.44/100.70 ms. Worst second includes 57.03 ms of compile waits. Program cache stayed unchanged. | Clean close alone could not warm the cache. The hybrid never loads standalone title metadata, so the default cache paths were never opened. | | 2026-11-08 | **First graceful-close cache probe** (`013126`, 120 s). | Window closed after the timing window and exited 0. Final screenshot checked. Late median/p99/max 30.21/44.40/106.77 ms. The existing program cache remained 122,746,370 bytes and byte-identical to its pre-run SHA-256. | Keep the opt-in harness close to validate final cache writes. Investigate title resolution. | | 2026-11-08 | **Sky Garden stutter trace repeated after forced stop** (`012720`, same runtime, save and trace settings, 120 s). | Late median/p99/max 30.64/48.20/127.36 ms. The worst second includes 72.62 ms of compile waits, max 46.87 ms, and shader PS `ed913d1c548e862e` compiled again. Median GPU busy/starved 19.76/6.92 ms per flip. Final screenshot checked. | Force-stopped benchmarks cannot be assumed to have saved the late shader cache. | | 2026-11-08 | **Sky Garden stutter trace** (`012510`, pinned save, 120 s, HangTrace and GPU timestamps). | Late median/p99/max 30.68/45.56/107.45 ms. Worst second includes 53.42 ms of compile waits, max 45.83 ms. Median GPU busy/starved 19.69/6.92 ms per flip. Final screenshot checked. | Compilation is associated with the worst spike. The other high-frame-time seconds commonly had no compile waits. | | 2026-11-08 | **Buffer rebind timing and 256-byte push budget audit** (`012234`, 120 s, pinned Sky Garden). | Late G-buffer rebinding 1.92-2.24 ms/frame and whole-frame rebinding 3.37-3.78 ms. The model removes only two G-buffer bindings per frame despite saving 78-83 kB of spilled table payload; it typically replaces one spill with a smaller spill. Shadow removes about 504 tables, with 0.49-0.54 ms total rebind time. Late median/p99 31.32/46.94 ms. Final screenshot checked. | Keep diagnostics as patch 0005. Defer graphics-wide push constants. | | 2026-11-08 | **CPU pass probe world-map smoke** (`011922`, 120 s). | World map reached timeout with a correct final image at 121 s. Late median/p99 15.19/17.61 ms. Last four windows sum to 3.99-4.28 ms CP commit and 0.17-0.18 ms final descriptor work per frame. | Diagnostic validation. | | 2026-11-08 | **First CPU commit attribution by pass** (`011621`, `KYTY_CP_PASS_STATS=1`, 120 s, pinned Sky Garden). | Last three windows: G-buffer 11.53-12.89 ms commit, 1.67-1.84 ms binding commit, 0.48-0.52 ms final descriptor work, roughly 2,100-2,200 shader-data buffer bindings/frame. Shadow 3.12-3.41 ms commit and 0.09-0.10 ms final descriptor work. Whole-frame descriptor work 0.88-0.95 ms. Late median/p99 30.45/47.31 ms. Final screenshot checked. | Continue with rebind timing and a device-limit push-budget eligibility model. Descriptor-only ceiling is too small for 45 FPS. | | 2026-11-08 | **Reject single-set graphics dynamic storage** (`KYTY_DYNAMIC_GRAPHICS_STORAGE=1`, PGO/LTO, warm A/B/B/A, same DLL and pinned save). | CP commit regressed 1.80 ms in A-B and 2.87 ms in B-A at roughly 4,800 draws/frame. Median frame time moved 30.99 to 30.10 ms in the first pair and 30.21 to 30.45 ms in the second. p99 moved 49.00 to 48.69 ms and 47.91 to 48.19 ms. All final screenshots matched the intended scene. | Reverted source. Prototype archived as `Source/experiments/KYTY_DYNAMIC_GRAPHICS_STORAGE.patch`. No reproducible frame-time benefit. | | 2026-11-08 | Dynamic-storage final control A (`011130`, 120 s). | 65-105 s median/p99 30.21/47.91 ms; last-five CP wall/commit 31.15/22.11 ms, 4,827 draws/frame. | Screenshot checked. | | 2026-11-08 | Dynamic-storage second B (`010927`, 120 s). | 65-105 s median/p99 30.45/48.19 ms; last-five CP wall/commit 32.22/24.98 ms, 4,819 draws/frame. | Screenshot checked. | | 2026-11-08 | Dynamic-storage first B (`010725`, 120 s). | 65-105 s median/p99 30.10/48.69 ms; last-five CP wall/commit 30.57/23.08 ms, 4,794 draws/frame. | Screenshot checked. | | 2026-11-08 | Dynamic-storage first control A (`010522`, 120 s). | 65-105 s median/p99 30.99/49.00 ms; last-five CP wall/commit 31.52/21.28 ms, 4,815 draws/frame. | Screenshot checked. | | 2026-11-08 | **Dynamic-storage control warm-up** (`010330`, 110 s with GPU timestamps). | Late 65-105 s median/p99 30.73/47.56 ms, last-five CP commit 22.82 ms. Sampled gameplay GPU work 19.08-21.50 ms. Final Sky Garden screenshot checked. | Warm-up only. | | 2026-11-08 | **Dynamic-storage candidate warm-up** (`010137`, 110 s with GPU timestamps). | Late 65-105 s median/p99 31.34/55.44 ms, last-five CP commit 25.90 ms. First gameplay capture 31.70 ms of stamped GPU work; later captures 17.84-20.77 ms. Final Sky Garden screenshot checked. | Warm-up only. New pipeline layouts and different draw counts during loading make this unsuitable as an A/B pair. | | 2026-11-08 | **Sky Garden binding memo probe** (`005526`, pinned save, 120 s, `KYTY_BINDING_MEMO_STATS=1`). | Steady windows: about 25-27% stream hits, 40-43% cached hits, 29% other-key misses, and 4-5% slow-path stream results across all requests. Final screenshot checked. At 65-110 s from first present, median 30.25 ms, p99 47.08 ms. | Broad stream-first memo bypass declined. Existing stream hits are common and the available misses that end in a stream copy are a small share. | | 2026-11-08 | **World-map smoke with descriptor offset audit** (`004746`, isolated PGO/LTO DLL, 120 s via `Tests/worldmap_bench.ps1`). | Loaded world map and ran to timeout. Final screenshot shows the galaxy map. At 60-116.54 s from first logged present, median 15.36 ms, p99 21.30 ms (3,612 intervals). | Passed smoke test. Diagnostic run only. | | 2026-11-08 | **Sky Garden isolated control** (`004510`, patch 0004 DLL, diagnostics off except frame/CP logs, pinned save, 150 s). | Final screenshot matches the audit scene. At 90-140 s from first logged present, median 31.75 ms, p99 49.29 ms (1,538 intervals). Last five CP windows: median wall 33.06 ms, commit 23.40 ms, 4,803 draws/frame. Startup 0-30 s: 14.84/55.07 ms median/p99 across mixed title and loading. | Baseline for this save. One control, with no clean cold-cache pair. | | 2026-11-08 | **Descriptor offset audit and GPU timestamps** (`004235`, isolated PGO/LTO build, 150 s). | Last five windows: 50.13% of 5.10M graphics push updates matched the preceding masked descriptor digest, 55.81% matched any earlier one in the tick. Allocated sets: 36.85% preceding, 37.09% any, 23.62% over the dynamic storage budget. Eight sampled gameplay frames: 18.36-23.45 ms stamped GPU work. At 90-140 s: 35.00/57.68 ms median/p99, with audit and GPU instrumentation active. Final image checked. | Keep opt-in diagnostics (Kyty `62857bf6`). Masked matches are an optimistic estimate. No FPS gain claim. | | 2026-11-08 | **Initial deployed-build Sky Garden smoke** (`003914`, 150 s). | Reached Sky Garden, but shader startup was slow and PGO compilation overlapped gameplay. Latest screenshot arrived at 133 s with this shot cadence. Initial PowerShell file invocation was rejected by process execution policy and the benchmark ran after retrying in a dedicated process. | Excluded from the baseline. Subsequent runs use an isolated runtime and six shots for 150 s. | | 2026-11-08 | **User check of patch 0024 / hybrid 0003 on a DualSense (Bluetooth)** | User: L2/R2 and vibration both work in AstroHybrid. | Kept (Run-AstroHybrid.bat default). | | 2026-11-07 23:50 | **DualSense L2/R2 and rumble in AstroHybrid** (user report: L2/R2 do nothing, no vibration; DualSense over Bluetooth). Cause: the game reads AnyPS5's libScePad, which answered scePadGetTriggerEffectState with zeros (Astro Bot ignores L2/R2 while it sees no effect state; Kyty's controller.cpp documents this), and its rumble, light bar and trigger effects stayed in AnyPS5's output record while Kyty owns the controller. Fix: AnyPS5 `cddcfcb16` (patch 0024; libScePad keeps each raw trigger command and computes the DualSense state from the effect and the trigger travel behind `APS5_PAD_TRIGGER_STATE=1`, default off; libAstroHybridHost ABI 1.4 `fetch_pad_output`), Kyty `hybrid` `57c22bd6` (relay applies output via Kyty's PadSetVibration/PadSetLightBar/PadSetTriggerEffect; DLL accepts 1.3 hosts). `make_run_hybrid.py` gives RunHybrid its own libScePad copy. | Smoke `run-20261107-234352`: boots, picture correct, log `input relay ... rumble, light bar and trigger effects <- host`. Note: `Build\Run\libs` are hard links to `Build\anyps5` outputs, so Build\Run got the new libScePad too (switch off there = previous behaviour). Buttons and rumble not verifiable without the player. The user's save now starts Sky Garden elsewhere (497 coins), so earlier benchmark scenes are not comparable. | `Run-AstroHybrid.bat` and `Tests/hybrid_skygarden.ps1` set `APS5_PAD_TRIGGER_STATE=1`; Run-AstroBot.bat unchanged. Awaiting the user's controller test. | | 2026-11-07 22:45 | **Draw-prep helper priority under background load** (`KYTY_DRAW_PREP_PRIORITY=2`, `SPIN_US=10`, `COLD_SPIN_US=5`, batch case `priority2short`). Helper profile `Logs/helper-samples-20261107.txt` (8 busiest threads): hot helpers ~33% work, ~33% spinning on an empty queue (pause loop at kyty_gpu.dll 0x180e8df8f), ~31% parked; cold helpers ~72% parked; sequencer `WaitSlow` 55%; recorder parked/waiting ~75%. Helpers have spare capacity. Control head spin (deep) by time of day: 05:27-06:18 0.26-0.38 ms, 03:42-05:14 and the evening 2.3-4.2 ms with the same settings: other programs pre-empt the helper that holds the CP's next draw. | Crossover `223314`/`223548`/`223820`/`224053`: deep control 3.0/4.2 vs priority 0.43/0.71 ms; CP wall control 34.0/34.1 vs 33.0/32.7 ms (~-1.2 ms, -3.6%). Final screenshot correct. | **Launcher and `Tests/hybrid_skygarden.ps1` default** (`ASTROHYBRID_DRAW_PREP_TUNING=0` restores the previous behaviour). Morning-vs-evening control spread means future A/Bs must be flanked by same-session controls. | | 2026-11-07 22:43:24 | CP experiment control, run-20261107-224053, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7839 MiB; 13 CP windows; last-six median wall=34.1 ms, commit=23.445 ms, draws=4830.5/frame, cost=4.880995577904737 us/draw, gap=10.72 ms, deep=4.16 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:40:51 | CP experiment priority2short, run-20261107-223820, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7886 MiB; 13 CP windows; last-six median wall=32.730000000000004 ms, commit=22.7 ms, draws=4824.5/frame, cost=4.7097881283141385 us/draw, gap=10.01 ms, deep=0.708 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:38:18 | CP experiment priority2short, run-20261107-223548, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7740 MiB; 13 CP windows; last-six median wall=33.025 ms, commit=24.745 ms, draws=4835.0/frame, cost=5.150626176160668 us/draw, gap=8.215 ms, deep=0.4275 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:35:46 | CP experiment control, run-20261107-223314, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7824 MiB; 13 CP windows; last-six median wall=34.035 ms, commit=24.41 ms, draws=4826.5/frame, cost=5.095297251507491 us/draw, gap=9.594999999999999 ms, deep=3.0075 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:30 | **Recorder on the CP core's SMT sibling** (`KYTY_CPU_RESERVE=cp+sibling`, new mode; diff in `Source/experiments/KYTY_CPU_RESERVE_CP_SIBLING.patch`). Layout confirmed in the log: CP logical 8, recorder 9, others 0-7,10. | Crossover `221644`/`221917`/`222149`/`222422`: CP wall control 32.4/33.2 vs sibling 37.9/37.8 ms; commit 21.8/22.8 vs 28.8/29.0; head spin (deep) 4.0/4.0 vs 1.75/1.63. Freeing the shared processors cut the CP's wait for draw-prep workers by ~2.3 ms, but a busy SMT sibling made the CP's own work ~30% slower. | Rejected and reverted (source and deployed DLL back to `kyty-gpu-pgo-wdog`). Lessons: the CP needs its core alone; the workers are short of CPU worth ~2.3 ms of CP wait per frame. | | 2026-11-07 22:26:52 | CP experiment control, run-20261107-222422, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7805 MiB; 13 CP windows; last-six median wall=33.22 ms, commit=22.77 ms, draws=4828.5/frame, cost=4.729705496560962 us/draw, gap=10.475 ms, deep=3.9865000000000004 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:24:20 | CP experiment sibling, run-20261107-222149, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7861 MiB; 13 CP windows; last-six median wall=37.84 ms, commit=28.96 ms, draws=4824.5/frame, cost=6.010986819871869 us/draw, gap=8.86 ms, deep=1.6345 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:21:47 | CP experiment sibling, run-20261107-221917, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7832 MiB; 13 CP windows; last-six median wall=37.89 ms, commit=28.814999999999998 ms, draws=4820.0/frame, cost=5.98012414022884 us/draw, gap=8.955 ms, deep=1.7545000000000002 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:19:14 | CP experiment control, run-20261107-221644, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7822 MiB; 13 CP windows; last-six median wall=32.41 ms, commit=21.770000000000003 ms, draws=4703.5/frame, cost=4.703559903562613 us/draw, gap=10.695 ms, deep=4.0 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:15 (analysis) | **CP spin on the draw-prep head; work stealing** (`KYTY_DRAW_PREP_STEAL=1`, batch case `steal1`). New `Tests/sample_lines.py`; CP samples `Logs/cp-samples-20261107b.txt` (watchdog off): ReadyHead 13.0% of the CP, of which ~90% on one `pause` loop (kyty_gpu.dll 0x180d97872-7d) = the CP spinning until a worker publishes the head slot (~4 ms per frame). Kyty places the CP on logical 8-9 (one whole core) and every other thread on the other 10. | Crossover `220426`/`220659`/`220903`/`221136`: CP wall control 32.1/33.5 vs steal 35.5/34.4 ms (commit 19.8/22.3 vs 25.2/25.0). Stealing turns the spin into preparations that outlast the head, as Kyty's notes say. | Rejected. Next: `KYTY_CPU_RESERVE=cp+sibling` (new) puts the recorder on the CP core's idle SMT sibling to leave the 10 shared processors to workers and guest threads. | | 2026-11-07 22:14:06 | CP experiment control, run-20261107-221136, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 8057 MiB; 13 CP windows; last-six median wall=33.489999999999995 ms, commit=22.345 ms, draws=4168.5/frame, cost=5.314023441551706 us/draw, gap=11.399999999999999 ms, deep=3.1790000000000003 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:11:33 | CP experiment steal1, run-20261107-220903, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7853 MiB; 13 CP windows; last-six median wall=34.364999999999995 ms, commit=24.965 ms, draws=4833.0/frame, cost=5.16113197241756 us/draw, gap=9.445 ms, deep=2.558 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:09:00 | CP experiment steal1, run-20261107-220659, 150 s PGO Sky Garden, AboveNormal process. | exit 321 (0x00000141) after 121s; peak private memory 7811 MiB; 9 CP windows; last-six median wall=35.459999999999994 ms, commit=25.215 ms, draws=5141.5/frame, cost=4.933370459066911 us/draw, gap=10.16 ms, deep=2.862 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 22:06:57 | CP experiment control, run-20261107-220426, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 8179 MiB; 13 CP windows; last-six median wall=32.055 ms, commit=19.815 ms, draws=4249.5/frame, cost=4.594888919949664 us/draw, gap=11.56 ms, deep=3.2584999999999997 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:50 | **Hang watchdog cost on RTX 50; lock-free event updates** (Kyty `hybrid` `1d295695`, `Source/hybrid/patches/0002-watchdog-fast-events.patch`, switch `ASTROHYBRID_WATCHDOG_FAST_EVENTS`, default off). New `Tests/thread_sampler.py` (external RIP sampler + dbghelp, PGO kyty_gpu.pdb): CP thread top self time ReadyHead 9.0%, ExecutePreparedDraw 8.1%, ObtainBuffer 6.5%, RebindBuffers 6.0%, CommitBindings 5.8%, PrepareBindings 4.7%, HangWatchdog::NoteEvent 2.6% + NotePacket 0.3%, CpNowNs 1.7% (`Logs/cp-samples-20261107.txt`). The preset's `KYTY_HANG_WATCHDOG=auto` enables the watchdog only on RTX 50 GPUs (this PC). Frame of `gpuends` flip 2731: 4,804 draws = G-buffer 2,175 (45%), shadow map 2048^2 D16 1,579 (33%, 21 pipelines), depth pre-pass 411, forward HDR 447. | Watchdog off (`KYTY_HANG_WATCHDOG=0`) crossover `202305`/`202538`/`202811`/`203044`: CP wall control 35.5/32.9 vs off 32.0/31.8 ms, gap 11.0/11.6 vs 9.9/10.3. Fast events crossover `203648`/`203921`/`204153`/`204426`: control 33.1/33.3 vs 31.9/33.3, gap unchanged ~11 ms (the mutex is only part of the watchdog's cost). Both off runs below all four of today's controls (mean 33.7 -> 31.9 ms, about -5%). All final screenshots: correct landing scene. | **Watchdog off is now the `Run-AstroHybrid.bat` and `Tests/hybrid_skygarden.ps1` default** (`ASTROHYBRID_HANG_WATCHDOG=1` or batch case `watchdog` restores it; it only records diagnostics when the game hangs). Fast events kept opt-in, not default (no proven gain). Deployed `Build\RunHybrid\kyty_gpu.dll` = `kyty-gpu-pgo-wdog` (SHA 2DA44CEA..., same behaviour with the switch off); previous DLL kept in `E:\AstroHybrid-Work\build\kyty-gpu-pgo`. | | 2026-11-07 20:46:57 | CP experiment control, run-20261107-204426, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7827 MiB; 13 CP windows; last-six median wall=33.29 ms, commit=21.92 ms, draws=4822.5/frame, cost=4.567866759842923 us/draw, gap=11.44 ms, deep=2.863 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:44:24 | CP experiment fastevents, run-20261107-204153, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7827 MiB; 13 CP windows; last-six median wall=33.254999999999995 ms, commit=21.75 ms, draws=4840.5/frame, cost=4.494897488068825 us/draw, gap=11.535 ms, deep=3.4825 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:41:51 | CP experiment fastevents, run-20261107-203921, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7829 MiB; 13 CP windows; last-six median wall=31.945 ms, commit=21.05 ms, draws=4823.0/frame, cost=4.388654367649947 us/draw, gap=10.95 ms, deep=3.4745 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:39:19 | CP experiment control, run-20261107-203648, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7854 MiB; 13 CP windows; last-six median wall=33.14 ms, commit=21.725 ms, draws=4834.5/frame, cost=4.506345045729066 us/draw, gap=11.41 ms, deep=3.2235 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:33:14 | CP experiment control, run-20261107-203044, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7834 MiB; 13 CP windows; last-six median wall=32.92 ms, commit=21.52 ms, draws=4817.5/frame, cost=4.438919448831763 us/draw, gap=11.625 ms, deep=4.01 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:30:41 | CP experiment nowatchdog, run-20261107-202811, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7856 MiB; 13 CP windows; last-six median wall=31.805 ms, commit=21.45 ms, draws=4835.0/frame, cost=4.453438382231349 us/draw, gap=10.32 ms, deep=3.9265 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:28:09 | CP experiment nowatchdog, run-20261107-202538, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7831 MiB; 13 CP windows; last-six median wall=31.985 ms, commit=21.97 ms, draws=4827.5/frame, cost=4.600003966899907 us/draw, gap=9.885 ms, deep=3.606 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:25:36 | CP experiment control, run-20261107-202305, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7780 MiB; 13 CP windows; last-six median wall=35.54 ms, commit=24.509999999999998 ms, draws=4825.0/frame, cost=5.094753646481404 us/draw, gap=11.004999999999999 ms, deep=2.8005 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:40 (analysis) | **45 FPS plan, check of the obvious levers in the hybrid** (no new run; counters from `run-20261107-200918` and control `061552`). | CP 31.2 ms/frame = commit 22.0 ms (5,035 draws x 4.4 us) + gap 9.2 ms (EOP 1.38 for 999 events, idle 1.32, protect 0.79, resolver 0.78, drawop 0.69, dispatch rebind 0.67, service 0.66; rest < 0.4 each). Already in Kyty and on: draw runs (73.1% of 1.37 M draws continued; writing draws continue 175k of 205k), pipeline swaps (108k), Vulkan emission on a recorder thread (`KYTY_CP_RECORDER=1`), 6 prep workers. `KYTY_SKIP_INACTIVE_PS` only trims GPU colour outputs (GPU is ~68% busy, not the limit). | 45 FPS needs ~9 ms off the CP commit path: no switch left. Next: attribute the ~5,000 draws per frame to the game's passes (shadow/geometry/decal threads) to pick the biggest target. | | 2026-11-07 20:15 (analysis) | **Real occlusion queries in the hybrid** (`KYTY_GPU_OCCLUSION=1`, new `occlusion` case in `Tests/hybrid_cp_batch.ps1`). Kyty's preset answers every occlusion query 'always visible' (graphicsRun.cpp:4129), suspected of feeding the skinned-batch overflow assertion. | `200918` (occlusion): correct landing picture, 29 FPS title, draws 4,829/frame (same as the usual ~4,830), CP wall 35.3 ms vs 28 earlier controls 30.8-42.0 (mean 32.6). Paired control `200645` is NOT comparable: Astro left the landing spot (pond, 129 coins, 58 FPS title, 5,558 draws/frame). | Not kept: no draw reduction at the landing, slight CP cost. Assertion link unproven (needs many runs). Bench caveat: the idle scene can drift; check shot_0150s before using a run. | | 2026-11-07 20:11:48 | CP experiment occlusion, run-20261107-200918, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7847 MiB; 13 CP windows; last-six median wall=35.325 ms, commit=24.265 ms, draws=4829.0/frame, cost=5.013686538829235 us/draw, gap=11.065000000000001 ms, deep=3.1784999999999997 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 20:09:16 | CP experiment control, run-20261107-200645, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 8034 MiB; 13 CP windows; last-six median wall=37.224999999999994 ms, commit=25.16 ms, draws=5557.5/frame, cost=4.827917885471843 us/draw, gap=12.99 ms, deep=4.128 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 (analysis) | **CP experiment batch closed** (submit1000, eop1024, slice512, submitcombo, idle0 and the earlier priority/spin/worker/memo variants, each flanked by controls, 150 s PGO Sky Garden). | Controls: 28 runs, CP wall 30.8-42.0 ms (mean 32.6). Best variants submit1000 / eop1024 30.95 ms mean (n=2), slice512 31.12, submitcombo 31.27: all inside the controls' range, no variant reproducibly below the control minimum. reserveoff (37.2), hot4 (37.2), workers2 (35.3) are clearly worse. | No default change. CP tuning switches are exhausted; remaining CP gains need code changes. | | 2026-11-07 06:18:23 | CP experiment control, run-20261107-061552, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7873 MiB; 14 CP windows; last-six median wall=30.835 ms, commit=21.455 ms, draws=4846.0/frame, cost=4.434250678791463 us/draw, gap=9.415 ms, deep=0.331 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:15:50 | CP experiment submitcombo, run-20261107-061320, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7821 MiB; 13 CP windows; last-six median wall=31.270000000000003 ms, commit=21.095 ms, draws=4820.0/frame, cost=4.371937028723922 us/draw, gap=9.975 ms, deep=0.3225 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:13:18 | CP experiment control, run-20261107-061047, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7863 MiB; 13 CP windows; last-six median wall=31.445 ms, commit=22.355 ms, draws=4830.0/frame, cost=4.5997803672747235 us/draw, gap=9.23 ms, deep=0.2825 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:10:45 | CP experiment slice512, run-20261107-060814, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7858 MiB; 14 CP windows; last-six median wall=31.42 ms, commit=21.869999999999997 ms, draws=4831.5/frame, cost=4.514247567114951 us/draw, gap=9.475000000000001 ms, deep=0.277 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:08:12 | CP experiment control, run-20261107-060541, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7823 MiB; 13 CP windows; last-six median wall=31.505000000000003 ms, commit=22.875 ms, draws=4829.0/frame, cost=4.748163085711371 us/draw, gap=8.675 ms, deep=0.257 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:05:39 | CP experiment submit1000, run-20261107-060309, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7868 MiB; 13 CP windows; last-six median wall=31.3 ms, commit=21.72 ms, draws=4824.5/frame, cost=4.490858557082098 us/draw, gap=9.55 ms, deep=0.302 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:03:07 | CP experiment control, run-20261107-060036, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7828 MiB; 14 CP windows; last-six median wall=31.119999999999997 ms, commit=21.314999999999998 ms, draws=4826.5/frame, cost=4.426398508803002 us/draw, gap=9.825 ms, deep=0.3035 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 06:00:34 | CP experiment eop1024, run-20261107-055803, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7823 MiB; 13 CP windows; last-six median wall=31.685000000000002 ms, commit=21.814999999999998 ms, draws=4836.0/frame, cost=4.5147806738715826 us/draw, gap=10.045 ms, deep=0.34750000000000003 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:58:01 | CP experiment control, run-20261107-055530, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7855 MiB; 13 CP windows; last-six median wall=31.54 ms, commit=21.52 ms, draws=4829.0/frame, cost=4.473673888781004 us/draw, gap=9.94 ms, deep=0.3845 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:50:27 | CP experiment control, run-20261107-054756, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7809 MiB; 13 CP windows; last-six median wall=30.985 ms, commit=21.240000000000002 ms, draws=4847.5/frame, cost=4.404289158231405 us/draw, gap=9.885 ms, deep=0.35450000000000004 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:47:54 | CP experiment slice512, run-20261107-054523, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7850 MiB; 13 CP windows; last-six median wall=30.825 ms, commit=21.315 ms, draws=4837.0/frame, cost=4.419956958469647 us/draw, gap=9.399999999999999 ms, deep=0.3305 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:45:21 | CP experiment control, run-20261107-054250, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7787 MiB; 13 CP windows; last-six median wall=31.505000000000003 ms, commit=22.380000000000003 ms, draws=4846.0/frame, cost=4.595533605480762 us/draw, gap=9.15 ms, deep=0.259 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:42:48 | CP experiment idle0, run-20261107-054017, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7860 MiB; 14 CP windows; last-six median wall=32.995 ms, commit=22.54 ms, draws=4832.0/frame, cost=4.671053660674765 us/draw, gap=10.455 ms, deep=0.3025 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:40:15 | CP experiment control, run-20261107-053745, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7827 MiB; 13 CP windows; last-six median wall=31.22 ms, commit=21.595 ms, draws=4832.0/frame, cost=4.469166272453804 us/draw, gap=9.76 ms, deep=0.34450000000000003 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:37:43 | CP experiment eop1024, run-20261107-053512, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7774 MiB; 14 CP windows; last-six median wall=30.215 ms, commit=21.57 ms, draws=4848.0/frame, cost=4.465524318985854 us/draw, gap=8.58 ms, deep=0.3835 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:35:10 | CP experiment control, run-20261107-053239, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7866 MiB; 14 CP windows; last-six median wall=31.195 ms, commit=21.814999999999998 ms, draws=4825.0/frame, cost=4.542017876395814 us/draw, gap=9.47 ms, deep=0.27 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:32:37 | CP experiment submit1000, run-20261107-053006, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7859 MiB; 14 CP windows; last-six median wall=30.595 ms, commit=20.965000000000003 ms, draws=4851.0/frame, cost=4.342402153793865 us/draw, gap=9.59 ms, deep=0.34550000000000003 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:30:04 | CP experiment control, run-20261107-052733, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7871 MiB; 13 CP windows; last-six median wall=32.675 ms, commit=23.32 ms, draws=4831.5/frame, cost=4.810568922385073 us/draw, gap=9.575 ms, deep=0.2705 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:22:10 | Close worker-count, reserve-core and memo-capacity experiments. | workers4/hot4 043143: 31.401 FPS, low1 18.063 vs controls 042910/043415 30.916/31.346 and 19.104/19.270. workers2 043648: 28.369 FPS, deep 8.191 ms vs controls 31.346/31.133. reserveoff 044154: 26.721 FPS, 5.862 us/draw vs controls 043921/044426 31.133/31.280 and 4.489/4.426. memo16 044659 30.170 FPS equals midpoint controls 044426/044932 31.280/29.064; no gain. All candidate final pictures checked correct. | Defaults remain workers6/hot2/reserve cp, 32768 memo slots. Capacity code archived as Source/experiments/KYTY_CP_BINDING_MEMO_BITS.patch and restored from engine; larger 18-bit table also rejected above. | | 2026-11-07 05:22:10 | GPU pass-end attribution (PGO diagnostic only), run 045205, Logs/gpuends-20261107-041858. | One steady capture flip2731: 4804 draws, 278 dispatches, 124 guest command buffers, 255 render-pass starts. End sites: 99 untagged (80 last in their command buffer; another 15 followed only by final barrier/segment), 92 render.state_change, 18 dispatch, 21 image.transition. 21.339 ms GPU operation span +18.589 ms inter-buffer gaps in captured 39.928-ms frame. Stamp overhead means these are not unprofiled timings; end-site ns includes the whole preceding render pass, not CPU EndRendering cost. Screenshot correct. | Evidence for testing existing optional-submit batching knobs (SUBMIT_MIN_INTERVAL_US, IDLE_FLUSH_DRAWS, GFX_SLICE_DRAWS). Most untagged ends appear submission-related; this is an inference from operation order, not a resolved call stack. | | 2026-11-07 05:21:32 | Kept default-off worker scheduling profile, Kyty 1d12195c; exported Source/hybrid/patches/0001. KYTY_DRAW_PREP_PRIORITY=1, SPIN_US=10, COLD_SPIN_US=5; workers=6, hot=2 unchanged. Launcher opt-in ASTROHYBRID_DRAW_PREP_TUNING=1, absent/0 unchanged. | Two flanked PGO tests: controls 041858/042404 30.180/31.256 FPS vs 042131 32.727; controls 045624/050130 29.541/30.347 vs 045857 30.464. Combined mean FPS +4.17 percent; low1 +12.37 percent. CP wall candidate 30.520/32.315 ms, gap 9.460/9.285 ms vs flanking means 32.093/33.703 and 10.275/10.445. Both final images checked correct. Isolated actual-launcher tests 4/4 pass: default, explicit off, enabled, explicit overrides; AboveNormal process verified. | Kept opt-in only, not a 40-FPS claim. Priority alone and short spins alone did not help throughput. P2 short-spin 050403: 31.501 FPS / low1 20.154, less pacing benefit than P1. Two-worker P1 short-spin 050908: 29.534 FPS / deep 4.723 ms, rejected. | | 2026-11-07 05:14:11 | CP experiment control, run-20261107-051141, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7768 MiB; 13 CP windows; last-six median wall=33.025 ms, commit=22.505000000000003 ms, draws=4823.0/frame, cost=4.669293488073764 us/draw, gap=10.489999999999998 ms, deep=3.068 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:11:38 | CP experiment priority1short2, run-20261107-050908, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7735 MiB; 13 CP windows; last-six median wall=33.825 ms, commit=22.035 ms, draws=4828.0/frame, cost=4.573540356573403 us/draw, gap=11.844999999999999 ms, deep=4.7225 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:09:06 | CP experiment control, run-20261107-050635, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7909 MiB; 13 CP windows; last-six median wall=33.05 ms, commit=22.47 ms, draws=4833.5/frame, cost=4.653516948418613 us/draw, gap=10.555 ms, deep=2.896 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:06:33 | CP experiment priority2short, run-20261107-050403, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7879 MiB; 14 CP windows; last-six median wall=31.67 ms, commit=21.885 ms, draws=4833.5/frame, cost=4.52927810634307 us/draw, gap=9.885000000000002 ms, deep=0.208 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:04:00 | CP experiment control, run-20261107-050130, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7865 MiB; 13 CP windows; last-six median wall=32.92 ms, commit=22.49 ms, draws=4832.0/frame, cost=4.6533552039484976 us/draw, gap=10.51 ms, deep=2.909 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 05:01:28 | CP experiment priority1short, run-20261107-045857, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7831 MiB; 14 CP windows; last-six median wall=32.315 ms, commit=23.275 ms, draws=4822.0/frame, cost=4.800868304225203 us/draw, gap=9.285 ms, deep=0.2445 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:58:55 | CP experiment control, run-20261107-045624, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7833 MiB; 14 CP windows; last-six median wall=34.485 ms, commit=24.134999999999998 ms, draws=4845.5/frame, cost=4.971157340915989 us/draw, gap=10.379999999999999 ms, deep=2.887 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:54:35 | CP experiment gpuends, run-20261107-045205, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7855 MiB; 14 CP windows; last-six median wall=35.53 ms, commit=24.81 ms, draws=4844.0/frame, cost=5.131635052718627 us/draw, gap=10.725 ms, deep=2.47 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:52:03 | CP experiment control, run-20261107-044932, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7827 MiB; 13 CP windows; last-six median wall=34.315 ms, commit=23.585 ms, draws=4833.0/frame, cost=4.894341291559339 us/draw, gap=10.62 ms, deep=3.072 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:49:30 | CP experiment memo16, run-20261107-044659, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7853 MiB; 14 CP windows; last-six median wall=33.015 ms, commit=22.32 ms, draws=4824.0/frame, cost=4.632402746895799 us/draw, gap=10.715 ms, deep=3.1515 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:46:57 | CP experiment control, run-20261107-044426, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7868 MiB; 14 CP windows; last-six median wall=31.755 ms, commit=21.375 ms, draws=4844.0/frame, cost=4.425585529234205 us/draw, gap=10.325 ms, deep=3.229 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:44:24 | CP experiment reserveoff, run-20261107-044154, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7959 MiB; 13 CP windows; last-six median wall=37.2 ms, commit=28.34 ms, draws=4831.5/frame, cost=5.862260049564112 us/draw, gap=8.905000000000001 ms, deep=0.935 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:41:52 | CP experiment control, run-20261107-043921, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7831 MiB; 13 CP windows; last-six median wall=31.97 ms, commit=21.630000000000003 ms, draws=4829.0/frame, cost=4.488609073519404 us/draw, gap=10.33 ms, deep=3.2605 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:39:19 | CP experiment workers2, run-20261107-043648, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7787 MiB; 13 CP windows; last-six median wall=35.29 ms, commit=20.81 ms, draws=4821.0/frame, cost=4.327440032508689 us/draw, gap=14.51 ms, deep=8.190999999999999 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:36:46 | CP experiment control, run-20261107-043415, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7866 MiB; 13 CP windows; last-six median wall=31.42 ms, commit=21.34 ms, draws=4822.5/frame, cost=4.439566147775869 us/draw, gap=10.05 ms, deep=3.258 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:34:13 | CP experiment workers4, run-20261107-043143, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7792 MiB; 13 CP windows; last-six median wall=31.685000000000002 ms, commit=20.64 ms, draws=4831.0/frame, cost=4.291896359652542 us/draw, gap=11.065000000000001 ms, deep=4.0015 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:31:40 | CP experiment control, run-20261107-042910, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7844 MiB; 14 CP windows; last-six median wall=32.21 ms, commit=22.03 ms, draws=4832.5/frame, cost=4.602560058676941 us/draw, gap=10.114999999999998 ms, deep=2.8525 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:29:07 | CP experiment shortspin, run-20261107-042637, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7823 MiB; 14 CP windows; last-six median wall=33.035 ms, commit=22.77 ms, draws=4838.5/frame, cost=4.702118677894366 us/draw, gap=10.235 ms, deep=2.856 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:26:35 | CP experiment control, run-20261107-042404, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7893 MiB; 13 CP windows; last-six median wall=32.004999999999995 ms, commit=21.939999999999998 ms, draws=4819.5/frame, cost=4.544987429235858 us/draw, gap=10.075 ms, deep=3.0164999999999997 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:24:02 | CP experiment priority1short, run-20261107-042131, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7830 MiB; 13 CP windows; last-six median wall=30.52 ms, commit=21.104999999999997 ms, draws=4831.0/frame, cost=4.374032831261305 us/draw, gap=9.46 ms, deep=0.3645 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:21:29 | CP experiment control, run-20261107-041858, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7974 MiB; 14 CP windows; last-six median wall=32.18 ms, commit=21.73 ms, draws=4824.0/frame, cost=4.540096536040943 us/draw, gap=10.475 ms, deep=3.1615 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:18:15 | Rebuilt AnyPS5 libs and reassembled RunHybrid after EcoQoS rejection. | libs target succeeded; deployed libkernel SHA256 27c55926718b930a. AnyPS5 Time.cpp git diff empty. PGO kyty_gpu.dll still selected; source scheduling and memo experiments remain default-off pending further tests. C: free above 52 GiB. | Baseline libkernel restored in binary as well as source; no stale EcoQoS experiment left in RunHybrid. Next alternating runs provide gameplay verification. | | 2026-11-07 04:17:08 | Reject APS5_NO_POWER_THROTTLING; preserve original one-line diff under Source/experiments and restore AnyPS5 Time.cpp to HEAD. | Clean PGO control/candidate/control 040727/041000/041233: CSV averages 31.513 / 30.793 / 29.885 FPS; CP wall 31.585 / 32.245 / 33.195 ms; cost 4.423 / 4.651 / 4.721 us/draw. Candidate p99 45.824 ms and low1 20.500 FPS; controls 45.295/46.517 ms and 19.691/19.697 FPS. Candidate matches midpoint throughput within noise; earlier 034209/034442 was 29.237/29.450 FPS. Final candidate screenshot correct. | Rejected as FPS optimization; source restored exactly (git diff empty). Rebuilding libkernel before further runs. No global power setting changed. | | 2026-11-07 04:17:08 | Enlarged read-binding memo to 18 bits (262144 x 64 B = 16 MiB, default 32768 x 64 B = 2 MiB). | PGO controls 040222/040727: 31.656/31.513 CSV FPS and 4.395/4.423 us/draw. memo18 040455: 29.054 FPS, 34.590 ms wall, 4.982 us/draw, p99 49.272 ms, low1 18.639 FPS. Screenshot correct; ~8 percent lower FPS than controls. | 18-bit setting rejected; no default change. Test smaller 16-bit table before rejecting capacity tuning entirely. | | 2026-11-07 04:15:04 | CP experiment control, run-20261107-041233, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7826 MiB; 13 CP windows; last-six median wall=33.195 ms, commit=22.805 ms, draws=4830.5/frame, cost=4.721100667841277 us/draw, gap=10.379999999999999 ms, deep=2.9204999999999997 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:12:31 | CP experiment nothrottle, run-20261107-041000, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7868 MiB; 14 CP windows; last-six median wall=32.245 ms, commit=22.229999999999997 ms, draws=4820.5/frame, cost=4.650505509554632 us/draw, gap=10.03 ms, deep=2.69 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:09:58 | CP experiment control, run-20261107-040727, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7873 MiB; 13 CP windows; last-six median wall=31.585 ms, commit=21.41 ms, draws=4834.5/frame, cost=4.422515470626146 us/draw, gap=10.415 ms, deep=3.2385 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:07:44 | Worker priority initial mechanism check (PGO priority1 035949, flanking controls 035716/040222). | Deep wait medians 2.967 / 0.523 / 3.252 ms, but idle 0.166 / 2.272 / 0.202 ms. CP wall 32.455 / 32.370 / 31.365 ms; frame CSV FPS 30.432 / 30.781 / 31.656. The wait largely moved from preparation to idle, not removed. p99 47.887 / 44.228 / 44.904 ms; low1 18.606 / 20.145 / 19.731 FPS. WorkerGate runs hot spin 200 us and cold spin 50 us at the raised priority too. | No throughput gain established. Next isolate raised-priority spinning with 10/5-us worker spin settings, paired against both default and short-spin-only control. | | 2026-11-07 04:07:25 | CP experiment memo18, run-20261107-040455, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7849 MiB; 13 CP windows; last-six median wall=34.59 ms, commit=24.244999999999997 ms, draws=4831.0/frame, cost=4.981509215345224 us/draw, gap=10.440000000000001 ms, deep=2.583 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:04:52 | CP experiment control, run-20261107-040222, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7852 MiB; 14 CP windows; last-six median wall=31.365000000000002 ms, commit=21.235 ms, draws=4828.0/frame, cost=4.394834349492223 us/draw, gap=10.18 ms, deep=3.2515 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 04:02:20 | CP experiment priority1, run-20261107-035949, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7875 MiB; 13 CP windows; last-six median wall=32.370000000000005 ms, commit=21.95 ms, draws=4832.5/frame, cost=4.556451612903226 us/draw, gap=10.425 ms, deep=0.5225 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:59:47 | CP experiment control, run-20261107-035716, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7904 MiB; 13 CP windows; last-six median wall=32.455 ms, commit=22.22 ms, draws=4834.5/frame, cost=4.697930103012482 us/draw, gap=10.254999999999999 ms, deep=2.9669999999999996 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:57:14 | CP experiment hot4, run-20261107-035443, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7855 MiB; 13 CP windows; last-six median wall=33.9 ms, commit=23.5 ms, draws=4828.0/frame, cost=4.935462234064989 us/draw, gap=10.33 ms, deep=2.4515000000000002 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:54:41 | CP experiment control, run-20261107-035210, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7874 MiB; 14 CP windows; last-six median wall=34.415 ms, commit=24.155 ms, draws=4831.0/frame, cost=5.014557154843852 us/draw, gap=10.129999999999999 ms, deep=3.008 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:54:33 | Correct interpretation of expensive instance profile bucket. | Kyty src/graphics/host_gpu/renderer/drawPrep/commitStats.cpp EndDraw lines 624-636 assigns ReasonInstance when rendering_serial changes/is zero or command changes; renderDraw.cpp 2784-2786 similarly checks ActiveRenderingSerial. This is not DrawIndex instance_count. Historical 013654 Steps reports ~275.8 such starts/frame. | Analysis only: optimize render-pass/command restarts and their repeated binding/acquisition work, not object instancing. No measured speedup claimed. | | 2026-11-07 03:52:37 | Built PGO experimental GPU DLL, default-off KYTY_DRAW_PREP_PRIORITY=1/2 and optional KYTY_CP_BINDING_MEMO_BITS=11..20 (unset preserves 11/15-bit table). | Engine and DLL builds succeeded; deployed SHA256 af4025f5f6e22b10. Loader: interface 426/0, graphics 428/0, lazy 9/0, logs gpu-tuning-load*.log. Original DLL preserved on E: under kyty-gpu-pgo-pre-tuning-20261107. Existing compiler warnings (getenv, offsetof, stale profile subsets). | Experimental only; all new runtime behaviour off unless switched. No performance claim; alternating PGO tests now running. | | 2026-11-07 03:50:13 | CP report regression tests and historical-batch audit. | 2/2 Python tests pass: UTF-16/UTF-8 BOM logs, headerless microsecond frame CSV, last-six selection, p99 and slowest-1-percent average FPS, early exit with no CP windows. Historical hot4 last six: 32.560 ms wall / 4.482 us/draw / deep 2.969 ms, CSV 30.601 FPS / p99 47.262 ms / 1-percent-low 18.566. Wake1: 34.635 / 4.751 / deep 3.244, 28.783 FPS / p99 49.771 / low 18.314. Historical no-throttle changes scene, control has no windows. | Reporting tooling kept; no historical candidate/control speedup claim. Candidate no-throttle and subsequent control both render the expected garden; repeat pair required for small differences. | | 2026-11-07 03:47:13 | CP experiment control, run-20261107-034442, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7911 MiB; 13 CP windows; last-six median wall=34.3 ms, commit=23.81 ms, draws=4834.0/frame, cost=4.925342526720851 us/draw, gap=10.44 ms, deep=2.7140000000000004 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:44:40 | CP experiment nothrottle, run-20261107-034209, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7870 MiB; 13 CP windows; last-six median wall=33.865 ms, commit=23.225 ms, draws=4824.0/frame, cost=4.7176295350832795 us/draw, gap=10.594999999999999 ms, deep=2.854 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:44:00 | Found and stopped runaway background PowerShell search PID 29372 (previous takeover broad recursive Get-ChildItem + Select-String). | Win32_PerfFormattedData_PerfProc_Process: game 960 percent of one logical CPU, stray pwsh 72 percent; command line confirmed exact earlier project-wide search. No user applications stopped. Runs 033431, 033704 and 033937 overlapped it. | Those runs excluded for performance claims. No filesystem cleanup or system settings changed. Repeat comparisons with clean controls. | | 2026-11-07 03:42:07 | CP experiment control, run-20261107-033937, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7812 MiB; 13 CP windows; last-six median wall=42.025 ms, commit=30.685 ms, draws=4829.5/frame, cost=6.308993804583051 us/draw, gap=11.34 ms, deep=2.2984999999999998 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:39:35 | CP experiment hot4, run-20261107-033704, 150 s PGO Sky Garden, AboveNormal process. | still running after 150s (timeout, stopped by harness); peak private memory 7837 MiB; 13 CP windows; last-six median wall=40.5 ms, commit=30.060000000000002 ms, draws=4838.5/frame, cost=6.170891740933609 us/draw, gap=10.42 ms, deep=1.505 ms. Frame CSV retained in Logs. | Measurement only; no default change, paired and image analysis pending. | | 2026-11-07 03:37 | Control run-20261107-033431, 150 s, AboveNormal. | 14 CP windows; last six median 45.905 ms wall, 33.095 ms commit, 5.947 us/draw; includes cold/transition window (138 draws/frame). Last-60s CSV average 19.28 FPS, p99 90.293 ms. | Not a valid warm steady-state baseline; retain raw evidence, repeat controls. | | 2026-11-07 takeover audit | Correct previous takeover claims and restore hot-worker default 2. | Historical hot4 024805 and wake1 025038 completed, but control 025544 exited after 5 s (window closed): no usable control. Nothrottle 025311 changes scene to 3333 then 1217 draws/frame; its high FPS is not a gain. Prior commits d3491b2/bcbe730 claimed an alternating A/B and reverts that did not happen; the inserted row also contained NUL bytes. | Unproven hot4 default removed; log restored from pre-takeover text, no NULs. Fresh alternating tests required; EcoQoS source diff preserved pending measurement. | | 2026-11-07 02:35 | **AstroHybrid priority: KYTY_CP_PRIORITY=2 (CP thread HIGHEST) + process AboveNormal**, now the Run-AstroHybrid.bat default (ASTROHYBRID_PRIORITY=normal / KYTY_CP_PRIORITY=1 to undo). Why: the process keeps ~10 of 12 logical CPUs busy (13 game `tbb_thead` workers, Havok workers, 5 near-full threads); KYTY_CPU_RESERVE gives the CP core 8 only against this process's own threads, so other programs (browser) still preempt it. The 29 FPS seen by the user is with the PC otherwise idle and the game focused; tonight's 20 FPS runs overlapped desktop use. | PGO, Sky Garden, KYTY_CP_GAP_STATS, last 6 gameplay windows, alternating runs while the PC was in normal use: pair 1 default `022142` 28.8 FPS / 34.8 ms CP / 4.94 us/draw vs priority `022414` 29.5 FPS / 34.5 ms / 4.70 us; pair 2 default `022713` 25.1 FPS / 40.6 ms / 5.92 us vs priority `022946` 26.7 FPS / 37.6 ms / 5.42 us (first priority run `021909` 22.8 FPS overlapped heavier desktop use). Launcher smoke test: process AboveNormal, logs written. | Kept as the launcher default: per-draw CP cost 5-8% lower in both pairs, FPS +0.7 / +1.6. Background load still dominates run-to-run variance. | | 2026-11-07 02:05 | **Why "29 FPS" became 20: same build, different scene.** the untouched stable comparison folder `work\m4\Build\M4StableMemoControl` (its DLL ed9cca55, its script) rerun tonight. | With KYTY_CP_GAP_STATS: `015931` 20.4 FPS median, CP 50.1 ms/frame, 7.42 us/draw, the same as our RunHybrid `014324` (20.5 FPS, 48.9 ms, 7.45 us). Without diagnostics: `020238` last windows 20.7/22.7/24.8/41.3/52.0 FPS; final screenshot shows Astro wandered to the pond (52 FPS on screen). High-performance plan, 3.6 GHz. | Our build equals the comparison build (plus the window-close fix). The idle Sky Garden bench is not a fixed scene, so FPS medians from it are not comparable across runs; use CP us/draw and wall ms/frame from KYTY_CP_GAP_STATS for A/B. The frame is CP-bound (CP wall = frame time). | | 2026-11-07 01:58 | **M5 first A/B on CP cost** (PGO, KYTY_CP_GAP_STATS, last 6 gameplay windows). Profile (diag build, KYTY_CP_COMMIT_STATS=steps): ~3,900 continued draws/frame at 5.8 us, 514 pipeline-change draws at 21.7 us, 276 instanced at 38 us; top steps rbbindings (~7 ms/frame) and prepstages (~4 ms/frame). BufferLookup: 91 ms/s, 263k/s memo other-key misses. | Control `014324`: 48.9 ms/frame, 7.45 us/draw. `KYTY_CP_BINDING_HOT_MEMO=1` `015407`: 49.4 ms, 7.54 us. `KYTY_DRAW_PREP_DISPATCH=1` `015640`: 49.4 ms, 7.25 us/draw (commit -3%, frame unchanged). | Neither kept (no frame-time gain). | | 2026-11-07 01:25 | **Sky Garden batch assertion traced; soft-assert exe variant** (`Build\RunHybrid\AstroBot-NonRT-SoftAssert.exe`, made by make_run_hybrid.py, not the default). The writer at eboot 0x896F90 embeds 24 KiB blocks (0x6000 = 512 x 48 B, likely bone palettes of skinned draws) top-down in a fixed 4 MiB command buffer; at the crash commands used 55 KB and inline blocks ~4.03 MiB (~170 blocks). Out-of-space callback 0x8A0C10 always asserts: the reporter 0x401AA0 opens a system dialog, then int 0x42/0x41; the code after the trap returns false (the engine's failure path). The variant jumps to the engine's log line and returns false. | `011500`: no overflow, but a cold NVIDIA per-exe shader cache (57 s window at 7.1 FPS, then 0.9/0.1). `011804` (warm): reached 170 s, correct images, no overflow, 16-25 FPS on a different idle camera path (not comparable). Overflow is not tied to FPS (asserting runs 17-30 FPS; plain runs at 15-22 FPS did not assert) or to pipeline skips. | Variant kept as opt-in (`-Exe AstroBot-NonRT-SoftAssert.exe`), untested on a real overflow. Root cause open: why more skinned draws per frame than on PS5 (suspect CPU culling fed by GPU results read back late or stale). Note: a new exe name means a cold driver shader cache, so do a warm-up run first. | | 2026-11-07 01:10 | **AstroHybrid M4: PGO kyty_gpu.dll in Build\RunHybrid, window-close fix (Kyty ABI 1.3 `request_exit`, `3ad22e35`; AnyPS5 `79443fc61`, patch 0023).** Loader tests plain and PGO: 427/0, 429/0 (graphics), 10/0 (lazy). | Sky Garden, u59 preset, NonRT, 720p, 170 s: `run-20261107-010613` reached the timeout with correct images; last five 10 s windows 22.9/25.2/24.6/26.5/25.8 FPS (median 25.2; reference PGO build 26.1-28.9). Earlier 150 s run `010113` hit the guest assertion "too many objects/batches in this scene" (command_buffer_writer.ppr.cpp:31) at about 110 s after 17-19 FPS windows, then crashed on purpose (rcx deadbeefcafebabe). Across all hybrid Sky Garden runs: 6 of 27 asserted (5 of them were cache-lifecycle runs). Not linked to pipeline skipping (asserting runs skipped 0 draws, runs with 11,442 skips did not assert). | PGO default kept (`ASTROHYBRID_KYTY_GPU=plain` for fallback). The assertion is intermittent and open: next, look at what limits the batch count (GPU-visible culling results or retire labels read late). | | 2026-11-07 00:55 | **Final "17 FPS" run explained** (`work\m4\Logs un-20261106-231833`). | A diagnostic setup, not the stable build: cold salt 43, one pipeline worker, fault map, CP gap stats, hang trace. 18-26 FPS windows; ended with exit 321 at 142 s when the session stopped (the window closed, and Kyty's subsystems were torn down under the running game: `!m_accepting`, graphicsRun.cpp:1498). | Not a regression. The teardown defect is fixed by the 01:10 row. | | 2026-11-06 22:15 | **Hybrid milestone 3: input and gameplay with Kyty's renderer** (Kyty `b6ac01cd`, AnyPS5 `d313c84b7` = patch 0022). AnyPS5's input lived in its VideoOut (SDL2 window), which the hybrid replaces; Kyty's window now reads keyboard and gamepads (SDL3) and a relay publishes Kyty's pad state every 4 ms to AnyPS5's libScePad (`PadPublishInputForPort`), same SCE button bits. Benches gain `-RunDir` | `run-20261106-210356`: key presses (J = Cross) leave the title, galaxy map at 75 s (56 fps), intro cutscene at 105 s (60 fps), pictures correct. Sky Garden `run-20261106-210705` (`skygarden_bench.ps1 -RunDir Build\RunHybrid`, cold Kyty caches, no u59 preset): renders correctly, no crash in 170 s, but only 2-11 fps in the window title; Kyty counter 5.5 fps over the last 60 s with 211 tracking faults/frame at 182 us (Kyty standalone: ~120 at 180 us, 29 fps). Physical gamepad and audio not checked here | Milestone 3 pictures correct; Sky Garden speed is milestone 4 (warm/seeded Kyty caches, the u59 preset Kyty's 29 fps used, fault cost) | | 2026-11-06 21:55 | **Hybrid milestone 2: AstroBot.exe renders with Kyty's GPU stack in-process** (Kyty `hybrid` `036147c8`, AnyPS5 `7afc16282` = patch 0021, `Run-AstroHybrid.bat`, `Tools/hybrid/make_run_hybrid.py`). Lazy start through the export trap (all System V argument registers saved), renderer on its own thread, guest memory hand-over (AnyPS5 arena splits off placeholder ranges, Kyty adopts them; libkernel forwards the game's 17 direct/flexible memory calls with `APS5_GPU_ENGINE=kyty`), Kyty's write-tracking fault handler first-chance, EOP/flip events through a Kyty proxy queue to the game's AnyPS5 queues. Blockers found and fixed on the way: Kyty's driver memory at fixed 0x0fe0000000; the game maps 2 GiB at fixed 0x300000000 (Kyty now owns 0x200000000-0x7ffff0000); freeing donated ranges let other allocations land there first (placeholders are adopted, never freed); AnyPS5's first-chance crash reporter took Kyty's expected tracking faults; VideoOut called during the lazy start | `run-20261106-205252`: **title screen correct** (logo, ship, "PRESS ANY BUTTON"), Kyty window title 51 fps at 60 s and 60 fps at 120 s, Kyty fault stats 43 fps over 60 s with 17 tracking faults/frame; peak private memory 7.2 GiB (AnyPS5 renderer ~24 GiB). Kyty tests: 410/411 interface checks, `--graphics` and `--lazy` start-ups pass. Not yet tested: input (Kyty owns the window; AnyPS5's pad), gameplay scenes, Sky Garden FPS, audio | Milestone 2 done; `Run-AstroBot.bat` unchanged (AnyPS5 renderer stays the default). Next: milestone 3, title to gameplay (input, then the world map and Sky Garden pictures) | | 2026-11-06 21:00 | **Hybrid milestone 1: kyty_gpu.dll** (Kyty branch `hybrid` `df8580c2`, `Docs/HYBRID_M1_EXPORTS.md`). Versioned C interface `src/hybrid/kytyGpuApi.h`; 82 NID exports (the graphics imports of AstroBot.exe) as System V-transparent thunks bound at init through Kyty's own LIB_FUNC tables; `sceAgcDriverAddEqEvent` / `sceVideoOutAddFlipEvent` go to host callbacks because their queue handles belong to AnyPS5's libkernel. Linked from the existing kyty_emulator objects (only the bridge compiled) | `E:\AstroHybrid-Work\build\kyty-gpu\kyty_gpu.dll` builds and loads; MinGW-built `kytyGpuLoadTest` 351/351 checks, 352/352 with AnyPS5's `libwinpthread-1.dll` preloaded: version negotiation, struct layouts, every NID exported and bound, SysV calls through the thunks reach the host with exact arguments, `sceAgcCbNopGetSize(16)`=64 and RegisterOwner=0x8A6C9018 as in AnyPS5. No game run: the DLL is not connected yet | Milestone 1 done. Next: milestone 2 (renderer start-up thread, memory adapter, event delivery, loader switch) | | 2026-11-06 20:00 | **Where Sky Garden's frame goes, and what to transplant from Kyty** (worker/committer samplers, `Logs/samples-sky-20261106`, `run-20261106-194423`). Tried: result-object recycling for masked memo patches (`APS5_RESULT_RECYCLE`, 22/22 focused tests incl. masked-memo verify, 0 VUID) and sized frees without `_msize` in HostAllocator | Recycling: no gain (recompile 15.4-15.6 us/packet, 12 presents/10 s vs 13; the memo patch is only 3 us), kept as `Source/experiments/APS5_RESULT_RECYCLE.patch`, not in the engine. Sized frees: heap corruption (0xc0000374) with blocks libstdc++ allocates inside its DLL, reverted. Sky Garden is not limited by per-draw CPU work: the worker waits 47% of the steady window and the committer mostly waits for work or for the GPU, while the GPU is busy 651 ms per frame, VRAM is over budget (7333/7055 MiB, 14.6 GiB of storage textures and 25.5 GiB of device buffers placed in host memory) and 22,850 storage images (108 GiB) were created in one run. Kyty renders the same scene at 29.2 FPS with the GPU 68% busy and 6.5 GB VRAM. First run after deploying a new driver is cold (shader disk cache): `194103` never left the arrival phase | Nothing kept in the engine. Next: Kyty's GPU stack inside AstroBot.exe as a DLL behind the AGC/VideoOut NID exports, `Docs/HYBRID_GPU_PLAN.md` | | 2026-11-06 19:30 | **Rebased stage reuse** (`APS5_REBASED_STAGE_REUSE=1`, AnyPS5 `264659231`, patch 0020, engine default off). A data-only candidate whose differing used user words are pure base pointers (walked as a base, never as a value, with runs read through them) is copied with those runs shifted by the pointer delta and its forwarded shader-data words patched, then validated against memory at the new addresses (known data positions refreshed with `patchDataWords`); anything else falls back. New test `agc_driver_draw_data_hit_user_words_rebased` (+ `_rebased_verify`): moved identical table reused (2 stages, 0 compiled), moved table with other data and in-place payload change rebuilt/drawn correctly; verify mode confirms the rebased stage equals a full rebuild. 17/17 focused draw-cache tests pass with REQUIRE_VULKAN, NO_SHADER_CACHE and the validation layer: 0 VUID, no missing layer (`Logs/tests-0020-20261106.log`); baseline tests not re-run separately | First pair `191620` (off) / `191914` (on) invalid: cold start, the in-level windows were the arrival with 400-2000 draws/10 s and 10-25 ms lock waits per packet. Warm pair, Sky Garden steady 60-80k draws/10 s: on `192337` **12** presents/10 s (11-14), off `192631` **13** (11-15), on ran first. On: ~26k stages/10 s rebased, but only 1.7-3.1k had equal contents; 23-24k differed at the new address (per-frame data really changes, 0 at known data positions) and ~76-80k were refused because a changed used word is not a pure pointer. Stage reuse 15.8-18.3k vs 14.1-16.6k, compiled 103-106k vs 110-114k; capture 17.1-17.6 vs 17.9-18.4 us and recompile 13.9-14.3 vs 14.6-15.5 us per packet, but key/lookup/validate rose 3.5 -> 6.7-7.7 us. Final screenshots of all four runs correct | **No gain; kept off by default** (no launcher change). The cost is not moved pointers alone: the data behind them and value user words change every frame. Next: treat changing SRT words as data (refresh data positions for value words and non-flattened reads), Kyty-style recipe replay | | 2026-11-06 18:59 | **Draw-cache reuse in Sky Garden** (measurement only, `APS5_TRACE_DRAW_CACHE=1`, `run-20261106-185635`; `185413` stopped while the cold file cache delayed StartLevel to 1:21) | Whole-draw cache 0.5% hits: 64,176 of 64,537 misses per 10 s are 'user words/pointers only'. Data-only path matched 63,838 draws but reused only 15,348 stages and recaptured+rematerialized 112,328 (capture 17.9 + recompile 15.0 us per packet). Cause: `lookupDraw` data candidates need every used user word bit-identical (`usedEqual`, DrawLookup.cpp:239); Astro Bot passes fresh per-frame ring pointers. KytyPS5 int21 avoids this with compiled SRT recipes replayed against new pointers (`KYTY_SRT_COMPILED_RECIPES`, `KYTY_SRT_READ_RUNS`): 0.37 us/draw for programs vs ~33 us here | Next: port pointer-rebased stage reuse (patch 0020) | | 2026-10-30 11:15 | **Device pool sheds while video memory is over budget** (`APS5_POOL_SHED_OVER_BUDGET=1`, AnyPS5 patch 0019). Pooled images were already dropped over budget; device-tier buffers stayed retained (~890 MiB), so Sky Garden's new textures spilled to host memory | Sky Garden `run-20261030-105554`: **23-25 presents/10 s** (was 11-14 with the floor alone), GPU busy ~203 ms (was 400-570), pool retained 0 MiB; world map `105746`: 128-156, GPU 54.6 ms, pool keeps 846 MiB (never over budget there). Both final screenshots correct | **Kept; launcher and bench defaults on** | | 2026-10-30 11:00 | **Sky Garden benchmark + texture cache floor** (`Tests/skygarden_bench.ps1`: boots the first level with the game's own `-lvl underwater_aerial_garden`; patch 0017 `APS5_SAMPLED_BUDGET_FLOOR_MIB=3584`, launcher default; patch 0018 call_once fast path in the recompiler) | Sky Garden renders correctly (ship arrival over the garden islands, flamingos) but ran at **~0.1 FPS** (`run-20261030-100737`, `101138`): ~6,800 draws/frame, the sampled texture cache budget sat at its 2 GiB floor while a frame uses ~3.4 GB, so 3,360 textures per 10 s were rebuilt on every use (`used uncached`). With the 3.5 GB floor: 0 uncached, **11-14 presents/10 s** (`104703`, `105111`), and **21-26** when the depth-plane copy budget is also 128 MiB (`102227`, `103709`, `104303`; VRAM fits). But `APS5_DEPTH_PLANE_COPY_MIB=128` collapses the world map to 11/10 s (GPU 633 ms/frame: `102911`, `103902`, `104110`); 192 is fine for the world map and does not help Sky Garden. `APS5_STAGING_POOL_MIB=256` thrashes the world map's device pool; `APS5_UNIT_SHADOW_MIB=512` not needed. World map with floor (+image pool 64): 139-143 (`104511`), floor + depth 192: 128-150 (`104918`). Reclaimer retested in Sky Garden: 26 vs 25, still rejected. Sky Garden CPU: worker and committer each ~320 ms/frame of draw work (~47 us/draw each); 30 FPS there needs ~5 us/draw/thread | Floor kept (launcher + benches). Depth/pool cuts not shipped. Next: VRAM-pressure aware depth-plane/pool budgets; per-draw cost | | 2026-10-30 10:05 | **Resource reads wait only for completion-stored labels** (`APS5_SYNC_COMPLETION_LABELS_ONLY=1`, AnyPS5 `0ed7b2ba4`, patch 0016). `CompletePendingCpuWrites` (dispatch `UploadFinish`/`completeSpaceWrites`, under the GPU mutex) synced whenever any label sat in the read range; almost all labels are GPU-stored (stream-ordered, writes noted for barriers), so the check now uses `CompletionLabelIn` like the device's own label paths | Three crossover pairs (`run-20261030-` base/test): `094415`/`094647` **135/142**, `095152`/`094920` **134/140** (test first), `095425`/`095657` **135/140** presents/10 s, about **+4.2%**. `[cpuwrite-sync]` ~600 → 11-17 per 10 s; packet drain time ~2.5 → ~2.0 s per 10 s; GPU idle gaps ~20 → 16-18 ms. All three enabled final screenshots correct | **Kept; launcher, ab_bench and gpu_modes defaults on.** Override with `APS5_SYNC_COMPLETION_LABELS_ONLY=0` | | 2026-10-30 09:35 | Verified the previous overnight patch series (patches 0013-0015, linear block shadows in the launcher) and retested `APS5_PIPELINE_DISPATCH=1` on top | Patches 0001-0015 applied with `git am` on 319621ba2 give the identical tree (`424d555f`); installed driver = build (`C996BA39...`); app0 → Game; C: 86 GB free. Defaults `run-20261030-092333`: **133 presents/10 s**, GPU busy 53.5 / idle 21.2 ms, screenshot correct (title 13.58 FPS). Pipelined dispatch `092621`: 131 presents/10 s; dispatch drains 4927 → 1803 and drain time ~2.5 → 1.6 s per 10 s, but 42,865 cumulative dispatches still fell back with `no recipe` vs 3,531 committed items; dispatch recipe pre-check misses 7,853 `no recipe` / 1,878 hits per 10 s. Queue-0 direct dispatch costs ~261 us each: device call 166 us, `queued-label check` 54 us (this phase actually contains the line-388 drain wait), capture 8.7 us. Other queues: 6,798 dispatches at ~162 us device call each, under the GPU mutex | Previous results confirmed. Pipelined dispatch still no FPS gain (third time); next: cut the per-dispatch device call or why dispatch variants lack recipes | | 2026-10-30 03:49 | Final restored checkpoint verification after rejecting allocator runtime change; active engine `3a298ddb0787`, patches 0001-0015, linear block shadows enabled in launcher | `run-20261030-034543`: **132 presents/10 s**, last GPU busy 53.9 ms / idle 22.1 ms, final screenshot correct; `Logs/final-20261030-digest.txt` reports clean commit `3a298ddb0787`. Installed driver SHA `C996BA3953BD5E8D03BEE929B5D0A42F9EF270DF7E526B78D3923B0804811BF8`; allocator retained test passed after rebuild. No AstroBot process left, app0 restored to original Game target, C: free ~85.5 GiB. Original loaded AGC module for steady CPU profile preserved under `Logs/samples-steady-20261030/modules/` so future symbolization can match raw capture headers | Working build preserved. 30/60 FPS unfinished; next priorities in TODO.md | | 2026-10-30 03:45 | Known-large sized-free bypass (`APS5_DIRECT_SIZED_FREE`, temporary), chosen from steady worker heap-query samples. Baseline/enabled allocator stress + focused Vulkan checks both 4/4 pass, no VUID/missing-layer messages | Crossover A/B base/test medians: `032722`/`032956` **132/132**, `033501`/`033228` **133/134** (test first), `033734`/`034007` **133/134** presents/10 s. Names `run-20261030-*`; GPU ~53.5-54.3 ms throughout. Only ~0.5% in means, a tie and one-frame differences; not a convincing material gain. First enabled final screenshot correct. JSON `Logs/allocator-ab-20261030-032722.json`, six `smi-ab-20261030-032722-355-*.csv`; tests `allocator-tests-baseline-20261030-032317`, `allocator-tests-experimental-20261030-032533`. Runtime diff preserved separately in `Source/experiments/APS5_DIRECT_SIZED_FREE.patch` (root `b5a332c`), original allocator restored. Kept useful 1..4096 sized-delete regression coverage in AnyPS5 `3a298ddb0`, patch 0015; final allocator test passed. Clean rebuilt/deployed driver SHA `C996BA3953BD5E8D03BEE929B5D0A42F9EF270DF7E526B78D3923B0804811BF8`; final world-map verification underway | Runtime rejected; original performance baseline preserved. Regression test kept; no allocator default added | | 2026-10-30 03:25 | Current worker/committer stack profiling, existing sampler with automatically captured earlier snapshots and symbolize_samples.py --since; no runtime optimization in this step | Full capture `run-20261030-031115`, steady-window capture `031516`; `Logs/samples-steady-20261030/` contains verified-module symbolized summaries and collapsed stacks, 5124 samples per thread. Worker: DrawPipeline::Drain 24.5% inclusive, materializeDrawStage 25.9%; heap-size query ~7.1% self, with sized-delete parents. Committer: commitDraw 59.7%, prepareDraw 31.0%, kernel wait ~25.1% inclusive. QPC/clock samples are waits, not automatically wasted work. First capture's manual earlier copy was late; retained as whole-run only, then automated the second capture to exclude startup | Analysis kept; next experiment is default-off known-large sized-free bypass, not memo reclamation | | 2026-10-30 03:11 | Rebuilt/deployed committed clean checkpoint `f395495079b0`; verified current defaults and sampled actual per-thread CPU at 90/120 s | `run-20261030-030620`: steady median **134 presents/10 s**, last GPU busy **53.0 ms**, idle 21.6 ms; final screenshot correct. Current installed SHA `40ABE55D0C3ED708DE106789894ADDF59A0EC9F728FC7D755C451245DD42C2C9`. CPU samples: queue-0 71.2% / 63.1% of one core, unnamed tid 15232 73.8% / 74.1%, process 2.23 / 2.41 cores. Final draw interval: 227310 commits at 31.5 us, 7352 packet drains / 2520.6 ms (mainly 0x15). `Logs/current-cpu-20261030-digest.txt` confirms clean commit. Both process and junction restored after run. Next existing worker/committer stack sampling run underway | Working checkpoint verified; further CPU diagnosis, no new code change | | 2026-10-30 03:05 | **Linear storage unit shadows** (`APS5_LINEAR_BLOCK_TRACKING`, AnyPS5 `f39549507`, patch 0014). Reuse existing window/shadow path for thin aligned linear images; engine default off. Three crossover A/B pairs on identical binary; common GPU/resource profiling and flushed telemetry | `presents.py` base/test: `024702`/`024935` **129/134**, `025440`/`025208` **131/132** (test first), `025713`/`025946` **128/132** presents/10 s. Statistical medians: base 129/130.5/128 vs test 133.5/132/131.5; means +2.45%. GPU busy medians 55.9/55.5/55.7 -> 53.6/53.5/53.7 ms. First pair storage-upload 0.98 -> 0.29 ms, storage-writeback 1.59 -> 0.88, shadow-publish 0.77 -> 0.16; draws unchanged. All names `run-20261030-*`. Enabled final screenshots in all 3 checked (third `shot_0151s.png`): correct. JSON `Logs/linear-ab-20261030-024701.json`, six `smi-ab-20261030-024701-730-*.csv`, trace_digest reports `linear-ab-20261030-base1-digest.txt` / `test1-digest.txt`. Focused and 180 s validation checks above. No claim yet that every slow mode is eliminated | **Kept; launcher and benchmark defaults enabled after A/B.** Engine remains opt-in; override launcher with `APS5_LINEAR_BLOCK_TRACKING=0`. Committed checkpoint rebuild in progress, then fresh CPU profile | | 2026-10-30 02:47 | `APS5_LINEAR_BLOCK_TRACKING` experiment: allow aligned thin linear images to use existing 64 KiB unit shadows; window block geometry is one texel. Added four varied linear surface cases (padding, partial rows, multiple mips) to storage move tests | Baseline `linear-tests-baseline-20261030-023936` and enabled `linear-tests-experimental-20261030-024121`: 3/3 focused Vulkan tests passed, storage move cases 10 -> 14 (both memory modes), no VUID or missing-layer messages, REQUIRE_VULKAN/NO_SHADER_CACHE/validation on. Initial baseline attempt `023717` failed only the old tiled-only minimum move counter (linear path correctly uses 2); expectation corrected before both passing runs. Built/deployed SHA `3554291D0A4198E760ECD66B9038D45B7E8A7113B8F191C28410353E05E98CB2`. 180 s validation world map `run-20261030-024313`: no reported VUID/missing-layer errors, validation file `validation-linear-20261030-0243.txt` empty, 90/180 s screenshots correct, GPU ~54-56 ms. Validation FPS (~5.5) NOT comparable with unvalidated runs. Normal 3-round A/B now running | Experimental, off by default; no FPS claim yet | | 2026-10-30 02:37 | Added default-off `APS5_PROFILE_STORAGE_RESOURCES` (AnyPS5 `f735deec7`, patch 0013), rebuilt libs, deployed driver, 3 diagnostic world-map runs | Baseline/new focused Vulkan tests `agc_storage_upload_lifetime`, `agc_storage_write_back`, `agc_storage_writeback_blocks`: 3/3 passed, no `VUID-` or missing-layer warnings, REQUIRE_VULKAN + NO_SHADER_CACHE + validation enabled. Valid logs: `storage-tests-baseline-20261030-022418`, `storage-tests-diagnostic-20261030-022658`; `022631` diagnostic attempt reused the baseline object due a copied timestamp and is NOT a valid change test. Actual diagnostic compile confirmed before deployment (SHA `33B3CC0F006255800615D0BE28672D825BD704B39089B41DEF39CA5A0686E1E4`). `run-20261030-022754` cold-cache transition, final picture correct, last GPU ~56 ms; `023028` slow 105 presents/10 s / 73.55 ms; `023301` fast 130 / 55.85 ms. Slow resource summaries identify same-base linear 10240x320 format-71 one-layer/array views at `0x556970000`: ~50 MiB/frame write-back plus ~50 MiB/frame flushed upload; absent from fast steady top groups. Linear layout (not base misalignment) is the relevant exclusion. Summaries capped, 0 dropped. JSON `Logs/storage-resources-20261030-022753.json`, three `smi-modes-20261030-022753-934-*.csv` | Diagnostic kept off by default; test linear shadow tracking next; no performance improvement claimed | | 2026-10-30 02:24 | Finished `APS5_RECLAIM_RESULTS` crossover A/B, 3 x base/test, 150 s each; same deployed binary and GPU profiling/telemetry in both modes | Round 1: base `020809` 106 (slow storage, 73.25 ms GPU) vs test `021042` 132 (fast, 55.85 ms): invalid for a reclaim claim. Round 2 (test first): `021315` 129 vs base `021547` 131, both ~56 ms GPU. Round 3: base `021820` 131 vs test `022053` 131, both ~56 ms. All names begin `run-20261030-`. No repeatable benefit. Enabled screenshots `021042` and `022053` and slow control `020809` checked: correct. JSON `Logs/reclaim-ab-20261030-020808.json`, six matching `smi-ab-20261030-020808-727-*.csv`. Original diff saved in tracked `Source/experiments/APS5_RECLAIM_RESULTS.patch` (commit `2c1d8a8`), plus original full source in `work/Recompiler.reclaim.cpp`; source restored to HEAD only after verifying its original SHA-256. Rebuild in progress | Rejected as optimisation; original work preserved; no launcher change | | 2026-10-30 02:12 | Captured slow storage mode during reclaim A/B control (`APS5_RECLAIM_RESULTS=0`, `APS5_PROFILE_GPU=1`), same installed binary | `run-20261030-020809`: steady median 106 presents/10 s; GPU busy median 73.25 ms vs ~55.7 fast. Storage-upload **9.92 ms** and storage-writeback **10.55 ms** vs ~1.0 / 1.6 fast; draw ~21.5, staging-out ~9.83 and compute programs essentially unchanged. Storage refresh ~146.5 vs ~97.1 MiB/frame, flushed uploads ~53.4 vs ~4.0 MiB/frame. Flushed telemetry `smi-ab-20261030-020808-727-1-base.csv`: median 6138 MiB, 2715/14001 MHz, P0, 52.8 W, 49.2 C; no allocator fallback message. Final screenshot correct. Generic clock/thermal slowdown not supported by this capture; investigate image refresh/write-back paths. Reclaim paired series still underway; do not compare this slow control with a fast test as a reclaim gain | Analysis; no runtime change | | 2026-10-30 02:07 | GPU-mode baseline, 3 x 150 s, defaults + `APS5_PROFILE_GPU=1`. Repaired telemetry (unique paths, quoting, per-sample flush), added `Tests/gpu_report.py`; benchmark refuses a running game before touching the junction, uses checked native junction replacement | `run-20261030-015927`, `020201`, `020433`: `presents.py` steady medians 123 / 132 / 131 presents/10 s. GPU busy medians 55.95 / 55.70 / 55.65 ms, staging-out ~9.8 ms and draws ~21.5 ms/frame. Live telemetry ~5800-6300 MiB, SM 2700-2722 MHz, memory 14001 MHz, P0. Final screenshots checked in all three runs: correct. Historical ~80 ms GPU mode NOT reproduced; no root cause or speed-up claimed. Raw `nvidia-smi -l -f` CSVs remained empty because of buffering; flushed supplemental CSVs and `Logs/gpu-modes-20261030-015926.json` preserve observations | Tooling kept; runtime unchanged; engine reclaim diff preserved in `work/reclaim-results-original.patch` | | 00:40 | Windows block-widening of write-watch collects (`APS5_WINDOWS_BLOCK_COLLECT`, new code) | 17% fewer GetWriteWatch calls (120k → 99k per 10 s) but same total time (1.2 → 1.3 s); frame 97 ms both | No (left as off-by-default switch) | | 00:45 | Draw cache 4096 → 65536 entries, 1 GiB (`APS5_DRAW_CACHE_ENTRIES/BYTES`) | hits 15k → 26k per 10 s, but cache fills again (keys new every frame); frame 97.0 → 96.4 ms (noise) | No | | 00:50 | Worker thread pinning off (`APS5_NO_WORKER_AFFINITY`) | No-op: AnyPS5 does not pin workers on Windows by default; run stopped | — | | 01:10 | Where the frame goes now (defaults, GPU profile run-20261030-005620 and thread samples Logs/samples-20261030) | 13.0 FPS. GPU busy 55.7 ms + idle 21.8 ms per frame: draws 21.7 ms, compute programs 12.6 ms, staging-out 9.8 ms (57.5 MiB/frame at only ~5.8 GB/s), fills 1.6, staging-in 1.2. No CPU thread is saturated: queue-0 worker ~66% busy (Drain 19%), committer ~61% (commitDraw 48%, rest waiting), game main thread ~13%. ~14% of both driver threads is `SpinUntil` clock polling (waiting, not lost work). Earlier, GPU time 57 → 48 ms gave no FPS gain, so the frame is a latency chain (worker → committer → GPU → labels → game), not GPU throughput. Stage 2b (real compute overlap, ceiling ~12.6 ms GPU) postponed: shortening the chain comes first | Analysis | | 00:55 | Less buffer staging (`APS5_BDA_STAGING_MIN_THREADS=1048576`) | Same 4.8k regions / 2.66 GB per 10 s staged (indirect + atomic paths ignore it); frame 95.8 ms | No | | 01:12 | Shader writes straight to system RAM instead of copy-in/copy-back (`APS5_NO_WRITTEN_SHADOW=1`) | Copies 12 → 0.5 ms GPU/frame, but three compute passes slow down by 21 ms (scattered writes over PCIe); 10.1 → 8.8 FPS | No | | 01:25 | Written-buffer window 8 → 16 MiB (`APS5_WRITTEN_SHADOW_MAX_KIB=16384`) so the particle pass is staged | Particle pass 9.2 → 2.7 ms, but the extra 16 MiB copies in/out cost more; 10.1 → 8.4 FPS | No (motivates resident staging) | | 01:25 | New `APS5_RESIDENT_STAGING=1` (AnyPS5 tree, uncommitted): skip a staged buffer's copy-in when the write tracker shows nothing wrote it since its last copy-back (targets ~7.8 ms/frame of copy-ins) | Built, NOT yet run or checked for picture errors | ? | | 03:31 | Resident staging (`APS5_RESIDENT_STAGING=1`): skip copy-ins of staged buffers the write tracker shows unchanged (1226 skipped per 10 s) | 102.9 vs 101.2 presents/10 s, p50 96.1 vs 97.1 ms, GPU 63.8 vs 68.1 ms; final screenshot correct. Gain small (about 1-2%), one screenshot only | Opt-in only (off by default) | | 00:55 | **Async compute Stage 2a: compute lane on a second Vulkan queue** (`APS5_COMPUTE_LANE=1 APS5_COMPUTE_QUEUE=1`, patch 0012, off by default). Queue family 0 index 3; each lane switch waits on the recorder timeline for the other queue's last batch, and the present blit waits for the newest batch, so the GPU order is unchanged | Validation: 0 errors over 200 s (run-20261030-003723). Screenshots correct. A/B: defaults 120-134 (steady 132-133) presents/10 s vs second queue 121-124 in three runs (~8% slower, submits 166k → 232k per 150 s, ~90k lane switches). GPU busy 56 ms per frame, idle gaps 20 ms; compute programs ~13 ms of it, the most a real overlap could save | Kept as plumbing (off) | | 00:22 | **Async compute Stage 1: lane-separated batches** (`APS5_COMPUTE_LANE=1`, patch 0011, off by default). First try split each batch into per-lane command buffers: crashed (validation: dispatch recorded into a buffer not in the recording state). Diagnosis with the Vulkan SDK validation layer and a buffer-lifecycle trace: recording paths keep a command buffer across a submit-and-wait and rely on the batch's single buffer being reused next; also the GPU-lock thread tag is retagged by waits, so lanes are now fixed per queue worker. Final design: a lane change submits the open batch (one lane per batch, original order) | 0 validation errors over 200 s, screenshot correct. Render passes broken by interleaved compute 3075 → 602 per 10 s; submits 161k → 277k; presents ~5% lower (106-122 vs 113-130) while both lanes share one queue. Groundwork for Stage 2 (compute batches on their own VkQueue) | Kept, off by default | | 23:05 | Dynamic resolution pinned to 1080p (`AstroBot-1080p.exe`, fixed_1080p.toml) retested | 125-127 vs 124-127 presents per 10 s, same GPU time (~54 ms): pixels are not the cost in this scene. The game always presents 3840x2160 buffers (UI canvas at 4K, call at 0xc61056 → 0x737a760 with 3840x2160) even with a 1080p output status: a 4K-output patch would need deeper reverse engineering | No | | 23:10 | Barrier/batch analysis | ~830 barriers per frame (label-run 213, draw 196); label stores are already grouped per batch (almost all recorded at submit), so VK_AMD_buffer_marker (supported on the RTX 5060) would save little. ~94 GPU batches per frame, mostly forced by async-compute waits on queue-0 labels; render passes broken ~3300/10 s by interleaved compute. Main structural limit: one Vulkan stream for all queues. Next big step: a separate Vulkan compute queue for queues 0x40/0x48 with timeline semaphores | — | | 22:50 | Batch cap 256 / unlimited (`APS5_BATCH_CAP`, default 64) | 124-127 vs 128-130 presents per 10 s; render passes broken by a new batch barely change (~5600-5800 per 10 s): batches are not cap-driven. The other big breaker is `command` (~3300 per 10 s): async-compute work recorded into the same Vulkan stream between draws. Future step: a separate Vulkan compute queue for queues 0x40/0x48 | No | | 22:43 | **No heap shadow publish for address-based builds** (`APS5_BDA_NO_SHADOW_PUBLISH=1`, patch 0010): the particle build published every unit shadow in its heaps (~27 MiB each, 3.4 GiB per 10 s) before running | Published 3.95 → 0.61 GiB per 10 s, shadow-publish 5.1 → 0 ms, GPU busy 60 → 56 ms; presents 122 → 128-130 per 10 s (game counter 13.0-13.2 FPS). Two screenshots correct | **Yes** (launcher default) | | 22:35 | **16 MiB written-buffer staging** (`APS5_WRITTEN_SHADOW_MAX_KIB=16384`), retried now that copy-ins come from VRAM | GPU profile: compute programs 19.1 → 12.7 ms per frame (particle pass staged), staging-out 4.4 → 9.8 ms; presents 120-123 → 123-125 per 10 s. 32 MiB: staging-out 22.8 ms, 107-108 (worse). Screenshot correct | **Yes** (launcher default) | | 22:35 | Deferred copy-back again, superseded only by CPU stores (`CpuStoredOver`) | 0 superseded (rule fixed), but 77,875 of 77,932 deferred results were still published soon after; GPU class time 57 → 48 ms yet presents 121-123 vs 123-125 | No (code removed) | | 22:19 | Dispatches as committer items retested with write alarms (`APS5_PIPELINE_DISPATCH=1`) | Drains 2.2 → 1.5 s per 10 s but presents 120-121 vs 121-122; most dispatches have no recipe | No | | 22:13 | Skip the GPU wait before GPU-direct image flushes (`APS5_FLUSH_GPU_ORDER`; trace: ~15 aliased render-target hand-overs per frame, 75% "storage refresh", all 3830/10 s write-backs GPU-direct through unit-shadow slabs) | 117-122 vs 120-123 presents per 10 s: no gain (the waited batches were mostly finished already) | No (code removed) | | 21:14 | **Write alarms** (`APS5_WRITE_ALARMS=1`, patch 0009, libc): checked resident pages are made read-only; a collect over still-armed pages skips GetWriteWatch, a first CPU write faults once and reopens the page. Measured first: the game writes ~80 pages/frame while the driver collected ~1300 ranges/frame | 3.9M collects skipped, ~19k faults per 10 s; collect 16.7 → 9.8 s per run; commit 39.9 → 31.6 us; presents 111-114 (steady same-setting runs) → 118-119 per 10 s; GPU idle ~21 ms. Two screenshots correct | **Yes** (launcher default) | | 20:47 | Skip collect-epoch bumps on end-of-pipe labels (`APS5_NO_EOP_EPOCH`) | Collects 1.68M → 1.63M only; presents same or lower | No (code removed) | | 20:38 | **Copy-ins from VRAM shadows** (`APS5_COPY_IN_FROM_SHADOWS=1`, patch 0008) | ~3400 copy-ins per 10 s from video memory; GPU busy 64.5-65.7 → 62-63 ms per frame; presents unchanged at 113-114 (CPU-bound). Baseline rerun was unsteady (PC in use), compared with the two earlier same-setting runs. Screenshot correct | **Yes** (launcher default) | | 19:55 | Deferred copy-back (`APS5_DEFERRED_COPY_BACK`, results kept only in VRAM, published on demand through the UnitShadow hooks) | 100-111 vs 111-114: 77% of results were published right after anyway (next copy-in read them from RAM) and 15.9k were superseded by CPU-side writes (data-loss risk) | No (code removed) | | 19:46 | **Draws read VRAM shadows** (`APS5_DRAW_READ_SHADOWS=1`, patch 0007): a draw reading a range a staged dispatch produced binds that dispatch's device-local shadow instead of the host import | Same-session A/B (run-20261029-194349 vs 194621): presents 106-108 → 113-114 per 10 s, GPU idle 28 → 23 ms. Two screenshots correct | **Yes** (launcher default) | | 19:21 | **GPU-produced draw buffers in place** (`APS5_DRAW_SKIP_GPU_SNAPSHOTS=1`, patch 0006). Measured first with the new `APS5_RESIDENT_TRAP=1` (pages of staged dispatch results made no-access after copy-back, faults counted): ~45k faults per 10 s, **0 from game code**; 85% from `Recorder::refreshDrawSnapshot` (draws CPU-copying particle data the GPU just wrote into snapshot buffers), 12% `CompareSpansFrom`. The switch binds such ranges in place while the CPU has not written them since the GPU did | Same-build A/B (run-20261029-191837 vs 192109): presents 105-106 → 107-111 per 10 s, GPU idle 31 → 25 ms, commit 39.7 → 37.3 us. Screenshot correct | **Yes** (launcher default) | | 18:55 | **Plain GDS stores** (`APS5_GDS_PLAIN_STORES=1`, patch 0005). New `[cpuwrite-sync]` counter showed the compute queue's locked syncs were pending *labels*, the top one the GDS block (the 4-byte GDS stores were treated as CPU-polled fences). `WriteStoreOnGpu` records them as plain GPU stores noted as pending writes | GDS syncs ~300 → 0 per 10 s; committer GPU-lock waits ~1500 → 646 ms per 10 s; presents 101-103 → 103-104 (baseline rerun was interrupted at 44 s, earlier same-build baseline used). Screenshot correct | **Yes** (launcher default) | | 18:50 | GPU copies from GDS (`APS5_GDS_GPU_COPIES`) second A/B | 98-100 vs 101-103: slower twice | No (code removed) | | 18:45 | Benchmark no longer edits the game folder: `Build\Run\app0` is pointed at `Build\app0-bench` (junctions + hard links to the game files, own `args.txt` with `-skipIntro`) during a run, then back | Game `args.txt` stays original | Yes | | 18:26 | Dispatches as committer items (`APS5_PIPELINE_DISPATCH=1`) on top of GDS stores | 80-86 vs 105 presents/10 s: commits rise to 52 us each and the committer, already ~77% busy, becomes slower. Worker samples (run-20261029-181848) show the queue-0 worker blocked 72% of the time: 35% waiting for pipeline room, 33% in packet drains (DISPATCH_DIRECT ~4000, EVENT_WRITE ~1050, 0x2d ~640 per 10 s, 2.96 s waited). The committer is the bottleneck | No | | 18:13 | GPU copies from GDS (`APS5_GDS_GPU_COPIES=1`, uncommitted) | Hook-sync waits 510 → 19 ms per 10 s, but runs inconclusive: 103 vs 108 in one pair; the repeat landed in another scene (hub cutscene) | Undecided (off) | | 12:09 | **GDS stores on the GPU** (`APS5_GDS_GPU_STORES=1`, patch 0004). New `[drained-stores]` counter showed every device drain was a 4-byte DMA_DATA into GDS (src immediate ~810, src memory ~90 per 10 s), which `ResolveStore` refused, so the worker drained the GPU and wrote GDS on the CPU ~10 times a frame. The switch resolves those into stores at the GDS block and records them through the label store path | Same scene A/B (run-20261029-115615 vs 120317): drains ~1000 → 0 per 10 s, presents 89 → 108 per 10 s (+21%), GPU busy 81 → 64 ms, idle gaps 31 → 29 ms per frame. Screenshots match the control run (save state changed since earlier runs, so earlier presents counts are not comparable) | **Yes** (launcher default) | | 11:55 | Resident staging made the launcher default (`Run-AstroBot.bat`, `if not defined`) | Kept on for the 1-2% world-map gain; four screenshots from run-20261029-033151 (0110s, 0165s, 0220s, 0275s) match the scene. Single benchmark run, so the default can be reverted with one line | Yes (launcher default) | | 11:40 | Trim copy-backs to the shader's real store ranges (survey only, no code changed) | Copy-backs cover each writable V#'s full descriptor range (`AddWritable`), not the stored bytes. Exact store ranges would need a per-store min/max record written by the recompiler (`SpirvBdaFault`/`SpirvBda` store sites) and read back to the CPU before the copy-back is recorded, a GPU-to-CPU wait per dispatch. Expected gain is at most the ~4 ms staging-out cost, and the wait may cost more | No (not started) | | 11:15 | Resident staging + 16 MiB written window together (`APS5_RESIDENT_STAGING=1 APS5_WRITTEN_SHADOW_MAX_KIB=16384`, run-20261029-111511) | 91 presents/10 s (worse than 101 baseline and 103 resident-only); no `[gputime]` lines captured; harness hit its 330 s timeout; peak private memory 21 GB | No (defaults stay) |