Offline RX 5700 XT launcher, diagnostics, and guarded texture profiles #3745
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3745"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by blkph0x on 2026-11-28T14:15:16Z.
Scope
This is the complete source-only RX 5700 XT/offline-launch work from this branch. It adds a guarded Windows launch and diagnosis flow, an opt-in cooked-texture path, and renderer fixes found while tracing the first world frames. It does not establish a playable or 30 fps RX 5700 XT build.
Launch, isolation, and local diagnostics
victory.tomlcannot redirect writes.Graphics and texture handling
One-time cooked profiles
Upstream PR review and decisions
I inventoried the titles and bodies of all 1,816 open PRs in the final review snapshot and inspected the renderer, capture, shader, streaming, and CLI candidates relevant to this branch. New #3737–#3743 candidates were reviewed separately as the inventory changed.
Please retain credit for the adapted upstream contributions: #3170 by fuzeofficlal, #3542/#3652/#3689 by andrewpozdnakov7-jpg, and #3736 by Ingenioeren.
Verification
cargo test --offline --workspace --locked: pass (including GPU, shader, runtime, and asset-policy tests; the repository's declared ignored benchmarks/reference-data tests remain ignored).cargo clippy --offline --workspace --all-targets --locked -- -D warningsand the same command with--all-features.cargo check --offline --manifest-path apps/victory-native-runtime/Cargo.toml: pass.git diff --check, andcargo xtask policy: pass. The GUI form was constructed and validated programmatically; a full visual click-through of its Windows form was not available through the computer-use surface.first_host_dropped=0). Strict graphics gate failed: median 1.3 fps, 3,069 shader-used valid texture-null events (all host-copy-unavailable), and 721 used buffer Budget nulls. Texture retry ran 5,018 times and recovered 697 views, but the combined 9 GB stream admission cap remained under pressure. Socket sampling is diagnostic; WFP verification is the isolation gate. These filters apply to the title/loader executable, not arbitrary preparation/debugger processes. The raw C first-run helper requires its protected PowerShell wrapper; direct invocation is not an isolation gate.Follow-up diagnosis on this branch
0x23cf683and exited0xc0000005before the cap closed. The title's Breakpad upload was blocked by the HLE network layer; WFP and the socket monitor observed no endpoints. This run cannot diagnose placement pressure.cargo test --offline --workspace --locked, both strict workspace Clippy modes, the diagnostic analyzer tests, PowerShell syntax,git diff --check, andcargo xtask policypass oncd52b2b. The PR stays draft because the live graphics gate fails.uiOverlay=true/falsetest held the 720p launch and loader binary fixed. Both arms set the secondary title dimensions to 3840x2160, enabled the secondary flag, listed a 4K PresentX plane, and created 17 4K textures; neither reached the world. The original settings were restored byte for byte, and each arm saw 0/0 TCP/UDP endpoints under verified WFP blocks. This rules outuiOverlayalone as the switch for the extra 4K path. Seedocs/shader-audit.mdfor the observed addresses and limits.memmoveof display state into the prepared image globals. The copied state already held 3840x2160. The title copy site is image RVA0x19f4e15, called via0x5804379; the original object-state producer remains unidentified. The harness now accepts a local custom CDB command file with-TraceExitwhile retaining the exact-loader WFP preflight. PowerShell syntax, its negative option gate, andgit diff --checkpass. Seedocs/shader-audit.mdfor the stack, limitations, and raw-run identity.0x43a48de. The adjacent source fields then hold 2160 and flag one. The earlier zero-valued initialization pass and later 4K copy show multiple settings passes; the operation selecting 4K is still not identified.OPENEDcounter for every page opening. This branch's run-batchedopen_guardedremoves pages without such a counter; importing #3754 unchanged would permit stale saved bytes. It also has a reported rare unresolved test failure and no RX 5700 XT world measurement. I have not imported it. Any combined implementation must bump each page's counter before the batchedVirtualProtectand pass concurrent saved-byte tests and a controlled game run.mainhas not advanced past63bcca4.Launcher persistence and local file discovery
cargo xtask policypassed (245 files).Open work / review focus
The latest change makes bounded texture eviction keep scanning after an oversized candidate, so smaller old textures can release reusable heap ranges within the same per-frame allowance. Targeted idle and budget-driven regression tests pass; the RX 5700 XT world effect remains unmeasured. The 4K source trace now reaches the title display callback's alternate width/height fields; their earlier setter is still under investigation. The diagnostic build now logs up to 24 distinct closed-cap placement misses with each texture's shape, allocation size, and alignment. This can be compared against the existing reusable-range census in the next guarded run. All 344 active diagnostics GPU library tests pass when run serially.
The PR is a draft because the strict world graphics gate still fails and the change set spans launcher, native runtime, shader translation, texture handling, and GPU diagnostics. Review can be divided by the sections above.
Verified title-side 720p follow-up (
b25cd15)uiResolutionobject before readingsettings.xml. The loader now patches only that exact reflected field in the derived image when 1280x720 is selected, and pairs it with a measured 16 MiB UI work-area reserve. Exact original-byte and build-hash checks fail closed; the title EXE and archives remain untouched. A standalone launch previously hit the title's own unused-work-area INT3 with its fixed 82 MiB reserve; the paired patch passed that check without a debugger.rx5700-offline-20261129-023716Z: 1280x720 PresentX planes and title viewport, first world frame 6,950, 1,786/1,786 bound shaders translated, 231,461 texture view materializations with zero failed paths, zero reported GPU removal, and TCP/UDP monitor maxima 0/0 under verified inbound/outbound blocks. The world was still dark/tiled: median 1.4 fps, 7,675 shader-used Budget null buffer events, and 15 unexpected drop categories. A separate one-minute run without an opt-in environment flag verified automatic launch behavior.-RootReuseOnly -RootPressureTrimMB 768 -RootSystemMB 4750reached the world without GPU removal, reduced Budget null buffer events to 96 and unexpected drop categories to zero, but still showed dark/tiled graphics and 0.9 fps median with more draws. These settings remain experimental; the runs are not matched-scene performance comparisons.cargo test --offline -p victoryandcargo clippy --offline --workspace --all-targets --locked -- -D warningspass. The first CI run after the initial push caught a collapsibleif;b25cd15corrects it. The strict graphics gate remains failed, so this PR remains draft.True 720p render-scale and packed sky follow-up (
e507f3f)shared_exp=true, separate=falseand visible blocks before the composite.separate=true, a 430,080-byte row-major repack, and a smooth captured 731 input/output and next presented frame. A later uncaptured 30-second world run still had block artifacts, despite no GPU removal or observed connections and a 3.75 fps median. Capture readback or later writers may affect the result; the visual problem is not closed. The user-facingfsrSharpenand general sharpening are already off. The title's 853x480 input means FidelityFX is not inherently required for 720p output, but replacing it requires a complete host upscale route.docs/graphics-probe.md. Keep this PR draft until the uncaptured world image is usable and frame rate improves.Follow-up controls (
cbf50fb)fsrQuality=1settings probe still created the title's FidelityFX context at 853x480 render and 1280x720 output. The original settings XML was restored byte for byte. Sharpening is already disabled in the low profile; this does not prove FFX alone causes the grain because the captured pre-upscale scene is grainy too.docs/graphics-probe.mdfor run identities and limits.--test-threads=1; CI now uses that mode and passed at24d5e74. The PR remains draft.720p packed output fix and distributed contribution guide (
88589b7)rx5700-offline-20261129-045813Z) also showed no large tile grid. All 1,650 bound shader paths translated; valid missing texture descriptors were zero, Budget-null buffer uses were 24, no GPU removal was reported, and the guarded test observed 0/0 TCP/UDP endpoints under verified exact-loader inbound/outbound WFP blocks. The scene remains very dark and the median was only 1.3 fps over five samples. This is evidence for the block fix in the tested scene, not a playable or 30 fps build. Raw frames and metrics are in the ignored local run folder; the stage comparison and limits are indocs/graphics-probe.md.ai-pr-workflow-starter.zipintoAGENTS.md,CONTRIBUTING.md,.github/copilot-instructions.md,.github/PULL_REQUEST_TEMPLATE.md, anddocs/contribution-integration.md. These keep one evolving task PR and this single cumulative draft for the RX 5700 XT goal. Because the integration branch currently exists in the blkph0x fork, task PRs intended for this cumulative build must targetblkph0x/VIctory:feat/offline-launch-debug-rx5700; upstreammainPRs do not automatically join it. The guide records review, dependency revision, CI, attribution, and remaining-blocker expectations. No branch protection or custom policy controller is claimed as installed.88589b7:cargo test --offline --workspace --locked -- --test-threads=1passed; both strict workspace Clippy modes (default and--all-features) passed;git diff --checkpassed. The full hardware run passed its isolation and world-completion gates but failed the visual brightness and performance goals. Keep this PR draft.Related documentation PRs and workflow scope (
4098be1)db84ddceab5d21b462ee68428309e56241fe5462, proposes broader agent, contribution, compliance, interoperability, and README guidance. Its CI passed, but it has no review decision and targets upstreammain; it is pending, not included here.AGENTS.md,CONTRIBUTING.md, andREADME.mdoverlap this branch. The proposed resolution is to preserve #3820's author and general guidance if accepted, append this branch's task-PR/fork routing rules, resolve README explicitly, and rerun combined CI. Seedocs/contribution-integration.md.d2c9a469e7ae77db0e393def1d593a7a460f07fc, has useful agent guidance, but maintainer triage says its process requirements need a maintainer decision. It is not a prerequisite. #3087, reviewed at163befa989f7083106c59610b1adb37773e1557c, was identified in its discussion as guidance for a different project and is excluded.4098be1,cargo xtask policyandgit diff --checkpass. CI passed both strict Clippy modes and serial workspace tests; the preceding code commit88589b7also passed CI.2026-11-29 indirect-light and buffer diagnosis (head
a18b6db)Base reviewed: upstream main
63bcca43c6. This update adds a paired R9G9B9E5 interpretation of the screen-probe UAV before and after the optional ambient pass, plus an opt-in light floor gated to the selected hardware AMD adapter when its D3D12 ray-tracing tier is unsupported. NVIDIA and ray-capable adapters compile the original 13-constant ambient shader and use its original write path. The RX 5700 XT harness exposes CaptureAmbient and AmbientFill with validation for incompatible capture options. Docs record the exact runs and limitations.Evidence:
Related PR revisions reviewed and deferred: #3414
2a6a8c6122(source of the already-ported opt-in ambient pass), #352914dd3b8fd2(overlaps bounded buffer retry already in this branch), #34573d4460a939(cannot free descriptor-held copies), #343613d205c179(shared sRGB UAV change does not match this packed-light target), and #3378ca937383da(all bound shaders translated in the measured baseline). No code from these revisions was merged in this update. See docs/graphics-probe.md for capture details and other reviewed PRs.Verification on
a18b6db: serial offline workspace tests passed; focused diagnostics ambient tests passed, including host compilation of both shader variants; strict default and all-features Clippy passed; asset policy and git diff --check passed. That verification applied only to the older head. This PR remains draft because dark areas, later valid resource misses, and frame time are unresolved.2026-11-29 shader and lighting follow-up (head
4769a6a)Base reviewed: upstream
63bcca43c6a00a758510398fa43096ce7e4f7df0. The cumulative branch now includes #3587 at733f9e8584e2a35cbf0f1e066a2077ad3502f039with its original commits and authors. Its permlane lowering passed nine focused tests in an isolated merge, then the dumped title shadera929109552ce1e84validated and created a D3D12 pipeline on the RX 5700 XT. The two remaining dumped shader failures are pixel barycentrics (5067d502a1b4ffb4) and whole-wave f64 work (6871d6e4b3ac9a10). #3588 at6f3244873ab2b7689b4e726f936acb3c0a0bad3euses native barycentrics that this GPU reports unsupported; #2348 atfd010350951e4731580a20ab896c65fe8f83c3edadvances the exact f64 shader only to a whole-wave lowering failure and has red CI. Both are deferred. #3663 overlaps the included permlane change and was not merged. No NVIDIA or hardware ray-tracing path was changed for these diagnostics.A misconfigured guarded test pointed
-FidelityFXat the game folder rather than the host SDKsignedbindirectory. The fallback console DLL left the title's jitter-phase-count query output zero, and the title divided by it. The saved minidump and first-chance CDB capture identify the title RVA and object field;docs/graphics-probe.mdhas the evidence. The test harness now requires both host DX12 FidelityFX DLLs before launch, and the analyzer reports abnormal title exits. A corrected-path 420-second high-draw test reached 3D frames and completed without that crash or GPU removal, under verified exact-loader inbound/outbound WFP blocks with 0/0 observed TCP/UDP endpoints. This does not resolve the lighting issue.That corrected-path run still showed almost white outdoor frames, a near-black interior, 38,696 shader-used Budget-null buffer events, 8,993 valid missing texture uses, root-view draw failures, and a 1.7 fps heavy-window median. An opt-in 4,750 MB root-copy/reuse/trim trial reduced Budget-null events to 3,833 over its 180-second window, but the scene was still too dark and its median was 0.9 fps; scene timing differed, so these are not matched-frame performance figures. The GUI already exposes these experimental memory controls.
New one-shot diagnostics capture the packed screen-probe light before and after the optional AMD fallback, the color input before FidelityFX, and selected source textures of the temporal resolve. The dark silhouette is present before FidelityFX. Compute
34fb51b8a0312e82(CS_ScreenProbes_TemporalResolve_ReflectiveCaustics) received materialized descriptors but produced near-zero packed light in the sampled scene. ItsR11G11B10_FLOATsource ats1+24was zero, while depth, normals and masks held scene detail. The trace maps that source to the UAV output of twoCS_FinalGathervariants (2dc364df5d3278b8,940c2635dc1312f4). Their local native dumps have no BVH instruction, so the cause of their zero output remains open; earlier suppressed ray passes are a candidate, not a demonstrated dependency. Raw title shader containers and frames remain in ignored local test folders and are not in this PR. The newinspect_nativeexample prints resource declarations and reachable instructions for a local container.Validation at
4769a6a: guarded RX 5700 XT runs recorded no observed TCP/UDP endpoints or GPU removal in the stated windows; focused GPU library tests passed (346 passed, 3 ignored); serial offline all-features workspace tests passed; strict all-targets/all-features Clippy passed;git diff --checkpassed. Upstream CI run 46256201682 passed Clippy, diagnostics Clippy, and tests at this head. The PR stays draft: the legacy AMD path is still dark in parts, has valid resource misses and two shader gaps, and is far below 30 fps. Reproduce the exact stage and resource identities fromdocs/graphics-probe.mdbefore implementing a software light source or changing memory admission again.Suppressed-ray trace and controlled fallback review (head
48a75e5)The diagnostics-only trace now records the title bindings of a deliberately suppressed ray shader before host descriptor admission. A null host slot at that point is expected and is not counted as a descriptor-materialization fault.
-TraceShaderHashaccepts comma-separated exact hashes for a single guarded run. The native programs ofCS_RaytraceShadows_Mixed(0873f80dd84a3c5c) andCS_Primary_GatherVBuffer_WithFar(3592426e3e9142d8) containimage_bvh64_intersect_ray; their relationship to the zero FinalGather output is still unproven.Reviewed #3398 at
846362d02355852ff7955ed73545df4863fa88b7in an isolated worktree based on4769a6a. Its root-miss BVH mode passed translation and DXIL validation for the captured primary-gather shader. An isolated RX 5700 XT test used a temporary legacy-AMD-only host gate. It removed suppressed-ray drops and produced limited nonzero screen-probe light, but the world still had a black foreground and broken geometry at 1.7 fps. A same-build, same-offset switch-off control had zero packed-light output, also showed the broken world, and ran at 1.5 fps. The scenes and number of bound shaders differed; aggregate misses are not a matched comparison. #3398 remains deferred and is not in this branch. Ray-capable and NVIDIA paths were not changed.An isolated guarded
VICTORY_STREAM_PRISTINE_MB=16trial consumed about 16 MB of already allocated texture-heap tail without GPU removal. It still recorded 1,972 valid missing texture uses, 3,389 Budget-null buffer uses, and 0.9 fps median in a different scene. The allowance is not a new default. That later scene exposed a compute translation failureceb5eb68cd99cb07(descriptor read only as data) and an unclassified bound compute shaderd7ad7fcacbe52893; their exact local containers are being captured for inspection. All three guarded runs verified exact-loader inbound/outbound blocks and observed 0/0 TCP/UDP endpoints. Details and limits are indocs/graphics-probe.md.Validation for
48a75e5: strict all-targets/all-features GPU Clippy passed; serial GPU library tests passed (346 passed, 3 ignored);git diff --checkpassed. A parallel run hit the existing global-cachetable_union_preseed_prevents_small_view_overlaptest, which then passed alone and in the serial suite. Upstream CI run 46259593187 passed. This PR remains draft because the world is not yet usable and is far below 30 fps.Screen-probe producer trace (head
63a24cb)Base reviewed: upstream
main63bcca43c6a00a758510398fa43096ce7e4f7df0. This commit adds opt-in one-shot captures for FinalGather sources, packed screen-probe producers, and Inject sources, plus a bounded writer-binding trace and corresponding guarded-harness switches. These diagnostics do not change normal rendering or NVIDIA/ray-capable paths.docs/graphics-probe.mdrecords the exact runs, command flags, frames, and limits.In the same-process guarded world trace
rx5700-offline-20261129-132546Z, the deliberately suppressedCS_Primary_GatherVBuffer_WithFarbound a 2304x576 R16_FLOAT UAV at title address0xa63e40000(s1+120).CS_ScreenProbes_Injectsampled the same address (s0+456) with a materialized descriptor and a nonzero direct dispatch. Its full source readback was zero. An R16_UNORM scene-mask source was populated, but Inject's packed R32 output and the Spatial Filter and Prefilter outputs were all zero in that frame. The downstream FinalGather R9 input was also zero in the earlier paired readback. The PNGs are half-size previews; logged statistics cover every readback texel. The diagnostic decoder now uses the bound sampled-view format for the typeless R16 source, correcting a misleading first preview.The same-run offline test ended without GPU removal and observed 0/0 TCP/UDP endpoints under verified exact-loader inbound/outbound rules. It recorded 160 valid missing sampled-texture uses and 20 Budget-null buffer uses. Its 0.15 fps median includes trace/readback overhead; an uncaptured 30 fps world is not verified. This identifies one broken light-data chain, not all dark geometry. The isolated #3398 root-miss review remains deferred: its AMD-only trial allowed the ray path to dispatch but still showed a dark/broken world at 1.7 fps. No root-miss code was merged into this branch. The additional texture and buffer misses remain open.
Validation for
63a24cb: strict GPU all-targets/all-features Clippy passed, serial GPU library suite passed (346 passed, 3 ignored), PowerShell test-script parsing passed,cargo xtask policypassed (254 files), andgit diff --checkpassed. Upstream CI run 46268014650 passed strict Clippy in both configurations and workspace tests. The PR remains draft because the RX 5700 XT world is not yet reliably usable or at 30 fps.AMD render-path and title LOD review (head
e7f3e20)Base reviewed: upstream
main63bcca43c6a00a758510398fa43096ce7e4f7df0. This commit adds saved display controls with neutral FidelityFX exposure, a bounded highlight knee, and an AMD-only legacy ambient/display gate by default. It also integrates the byte-verified, opt-in title LOD, small-object cull, and vehicle LOD switches from #3817 at5611a48cf9547ecfe723d224d8bc8eb873f80875, with source credit retained. Zero leaves each title setting alone. The three LOD switches are off by default, including on NVIDIA and ray-capable adapters. The launcher and guarded offline harness can reproduce the tested 0.35 / 2.5 / 0.5 profile. Low volumetrics remain off because prior testing produced black floors.The guarded ray-off run with AMD-only ambient/display fallbacks produced a recognizable but dark world, with no GPU removal or observed TCP/UDP endpoints under verified exact-loader rules. The isolated LOD run applied all three expected title sites and measured 2.8 fps median over 45 seconds, with 1,642 valid missing texture uses and 498 Budget-null buffer uses. Some settled intervals reached about 5 fps, but the ground and interior remained too dark. The isolated software-BVH plus LOD comparison, using #3806 at
98cd1e341f191c57101631d37dc770c01f5a088f, drew more scene detail at 2.3 fps median, with 516 valid missing texture uses and 446 Budget-null buffer uses. It did not remove the GPU and observed 0/0 TCP/UDP endpoints. #3806 and the root-miss experiment #3398 remain deferred; neither shader change is merged here. These are different scenes and cannot support a matched FPS claim. FidelityFX frame generation is not active; only the host upscaler is used.Validation at
e7f3e20: launcher menu persistence/validation passed; strict all-targets/all-features Clippy passed forvictory,victory-loader, andvictory-gpu; serial loader and GPU library tests passed, including the exact title-byte golden test;cargo xtask policypassed (256 files);git diff --checkpassed. The render-path findings and run IDs are indocs/graphics-probe.md. The PR remains draft: neither path is reliably playable or near 30 fps, dark areas and real texture/buffer admission failures remain, and the next code work is targeted light-source correctness plus resource refresh/admission cost. Repository-widecargo fmt --checkstill reports extensive unrelated formatting differences. Upstream CI run 46323326755 passed Clippy, diagnostics Clippy, and workspace tests ate7f3e20.30 November diagnostic follow-up (
ad204e8)The analyzer now reports valid missing textures and Budget-null buffers for the last three complete five-second world intervals separately from cumulative startup totals. Missing or unclassified tail rows remain unavailable rather than appearing as zero. The 12 analyzer tests,
cargo xtask policy(256 files), andgit diff --checkpassed. This is diagnostic and documentation work; no experimental renderer or GPU-specific optimization from this round was merged.Guarded RX 5700 XT runs found that the 720p fast-LOD control had 1,165 Budget-null buffer uses but zero valid missing texture uses in its last three intervals. Isolated descriptor-copy batching based on #3265 at
6c8fc754719e5da3a076d14aef9ae593d279b867had 261 and zero, with different scene/shader coverage and no defensible FPS gain (3.45 vs 3.15 fps median). The longer 360p ultra-LOD cutscene run reached zero for both tail counters yet remained dark at 3.75 fps median and ended in GPU removal (0x887A0007, process0x887A0005) as the local DXGI budget fell. All guarded runs observed zero TCP/UDP endpoints. An ambient level 0.6 test made the light buffer uniform and washed out the image. An isolated GI-only software-BVH run was recognizable but measured 1.25 fps. Details and run IDs are indocs/graphics-probe.md.#3265 and the GI-only changes remain deferred. The next concrete targets are the actual indirect-light source, bounded root/descriptor retention and refresh cost, and stable comparable hardware runs. The PR remains draft; gameplay and 30 fps are unverified.
CI run 46328649008 passed Clippy, diagnostics Clippy, and workspace tests at
ad204e8.Depth-light and cinematic check (
aa200b2)An isolated depth-normal directional fill, gated to AMD adapters without hardware ray traversal, compiled and ran under the exact-loader offline block at an 8,000 MB stream cap. It changed the packed indirect-light target and lit the character, but the presented ground stayed dark, including after correcting the Y-up light direction. A same-settings control showed the same dark ground and bright sky. Different frame numbers and shader sets prevent a matched FPS claim. The shader and harness switch remain isolated and are not part of this PR.
A 120-second main-branch control with longer scripted Enter presses still captured cinematic shots at high-draw offsets 0, 30, 60 and 90 frames. It did not verify gameplay or a successful skip. It measured 1.0 fps median, with 567 Budget-null buffer and 223 valid missing texture uses in the last three intervals. The 8,000 MB run completed without GPU removal or observed TCP/UDP endpoints; its shorter duration does not resolve prior longer-run device removals. Details and exact run IDs are in
docs/graphics-probe.md. The PR remains draft.CI run 46332078942 passed Clippy, diagnostics Clippy, and workspace tests at
aa200b2.The follow-up mapped X-button control (
rx5700-offline-20261130-010242Z) also remained in cutscene frames through offsets 0/30/60/90. It completed a 120-second guarded window without GPU removal or observed connections, but measured 1.55 fps median and still had 1,359 Budget-null buffer and 276 valid missing texture uses in its last three intervals. Its different scene/shader coverage prevents an Enter-versus-X FPS claim. No skip method or gameplay state is verified. LocalPlayerandSARC0015save containers exist, but their checkpoint position is unknown. This result is documented at4548719; the PR stays draft.CI run 46333337966 passed Clippy, diagnostics Clippy, and workspace tests at
4548719.A follow-up guarded control held mapped X for 20 seconds at five points (
rx5700-offline-20261130-011410Z). Its captured high-draw frames remained letterboxed cinematic shots; no skip, menu or controllable world was verified. It completed a 120-second window without GPU removal or observed TCP/UDP endpoints, but measured 1.35 fps median and still had 4,608 Budget-null buffer and 76 valid missing texture uses in its last three intervals. This result is documented ate9babdb. The scene and resource sets differ from earlier runs, so it is not an FPS comparison. The draft remains incomplete.CI run 46334365602 passed Clippy, diagnostics Clippy, and workspace tests at
e9babdb.Wide table resource diagnosis (
3d8e144)Two guarded RX 5700 XT runs kept the exact-loader inbound/outbound WFP block active, observed 0/0 TCP/UDP endpoints, and completed without GPU removal. The 90-second run (
rx5700-offline-20261130-013025Z) recovered zero wide table slots with the new read-only coherent-copy reuse fallback; it still counted 54,418 Budget-null buffer and 4,084 valid missing texture uses across 17 high-draw intervals. The 35-second diagnostic run (rx5700-offline-20261130-013752Z) showed that a 727,040-byte table view crosses two older, still active 1 MiB host copies. Creating another overlapping copy would split GPU writes, so the overlap denial is correct. It counted 1,270 Budget-null buffer and 1,656 valid missing texture uses across eight intervals. Different scenes and durations prevent a direct rate comparison.The closed-cap texture pool deferred 807 of 1,206 sampled placement attempts in one interval for lack of a fitting existing heap range; after eviction, a later interval admitted all 137 attempts. The commit adds a bounded diagnostic for the top three wide buffer misses per five-second report, a safe reuse fallback when a coherent copy already covers a wide view, and a regression test. It does not resolve active overlapping copies or texture residency, and gameplay and 30 fps remain unverified. Full details are in
docs/graphics-probe.md.CI run 46336903929 passed Clippy, diagnostics Clippy, and workspace tests at
3d8e144. Local diagnostics GPU tests: 347 passed, three ignored. Related open PRs #3529 (14dd3b8fd2) and #3457 (3d4460a939) remain deferred; neither solves a view spanning active host copies.Closed-cap resource recovery follow-up (
a7fb298,5663c46)On legacy AMD adapters without hardware ray traversal, recycled sampled textures now take the tightest previously used free range in an existing heap. This preserves larger holes for later mip chains; it creates no new heap and does not change other adapter paths. A regression test covers fragmentation. The guarded 60-second run
rx5700-offline-20261130-020028Zobserved hundreds of alternate placements, but still had 738 valid missing texture and 1,237 Budget-null buffer uses. With the GUI's existing 512-pixel texture edge limit,rx5700-offline-20261130-020718Zhad 224 valid missing texture uses overall and zero in the last three intervals. The two runs reached different scenes and shaders, so their counts are not a controlled A/B improvement claim. Both completed without GPU removal or observed TCP/UDP endpoints. CI at a7fb298 passed.A separate bug in buffer-copy eviction left a nulled host slot marked as already made.
5663c46marks evicted title slots unmade so the next draw or observed heap read rebuilds the unchanged descriptor. It leaves dynamic slots outside the title record array alone. The focused regression and full diagnostics GPU suite passed (349 passed, three ignored). The guarded 60-second runrx5700-offline-20261130-023722Zcompleted without GPU removal or observed TCP/UDP endpoints; it still had 362 Budget-null buffer and 43 valid missing texture uses across 11 high-draw intervals, 2.05 fps median. Different scene coverage prevents a before/after performance claim. CI at 5663c46 passed standard and diagnostics Clippy plus workspace tests.An isolated priority-copy reap experiment was not merged: it reclaimed zero copies when the 64 MiB cap filled because those copies were still held. Its 120-second run
rx5700-offline-20261130-022856Zlater hitDXGI_ERROR_DEVICE_HUNGnear 9.07 GB combined DXGI usage; it did not establish a safe cap increase. The active-copy overlap (a wide view crossing two live copies), priority-cap denials, long-run GPU stability, gameplay and 30 fps remain unresolved. PR #1405 (ad2025a433) is a GPU-side cut-view copy design reference but is stacked and conflicting; it was not integrated. Full evidence is indocs/graphics-probe.md. The PR remains draft.Texture pressure trials (
83c4dc7)Two isolated eviction variants were tested and excluded from this PR. A two-frame recent-use window fired once, reclaimed 48.5 MB, then the GPU was removed near 9 GB combined DXGI use (
rx5700-offline-20261130-025358Z); a previous unmodified long run also failed near that point. A narrower variant kept ten-frame protection and bypassed the quiet pause only after closed-cap placement misses. Its DRED run completed but still had 1,334 valid missing texture and 1,073 Budget-null buffer uses (rx5700-offline-20261130-030909Z). The same-settings main-branch DRED control had 409 and 1,410 respectively (rx5700-offline-20261130-030122Z). They bound different shader sets, so no performance or visual improvement is established. Both DRED runs observed 0/0 TCP/UDP endpoints and no device removal. The code variants are not merged;docs/graphics-probe.mdrecords the counters and remaining coherent-copy and shader gaps. The PR stays draft.RX 5700 XT loading-plane alpha fix (
91e67ec)The loading-screen red flash was reproduced in the final swap chain and traced back to PresentX plane 1. In the guarded baseline, frame 4120 had red RGB over 229,979/230,400 preview pixels, while 14,373/14,400 sampled source alpha values were zero; plane 0 was transparent black. The premultiplied compositor previously added that source RGB even under zero alpha. The new overlay pixel shader clamps RGB to alpha on hardware AMD adapters without ray traversal; other adapter paths retain their existing shader. This does not modify the title archives or video decoder.
In an isolated guarded repeat with the clamp enabled, the source-red trigger captured frame 3262 with
source_red=true, final_red=false: its source plane remained red and the final image was mostly black. The two runs had verified exact-loader inbound/outbound WFP rules, 0/0 observed TCP/UDP sockets, and no GPU removal. The integration branch then passed 349 active diagnostics GPU tests (three ignored), strict diagnostics Clippy, a no-default build check, and a short guarded RX 5700 XT launch withclamp_overlay=true; the user saw the intro video on that launch. Earlier black-video reports are intermittent and not yet explained. Loading artwork can still be incomplete on some frames, and the world graphics/resource/FPS gate remains failed. The separate GPU-stitch experiment and its diagnostic capture code were not merged.Follow-up integrated guarded loading run
rx5700-offline-20261130-045938Zlasted 4.5 minutes. The live window showed two successive illustrated loading images clearly at 29 and 26 fps; no full-screen red or purple flash was seen in those sampled views. The run completed without GPU removal and with 0/0 observed TCP/UDP endpoints under verified exact-loader inbound/outbound WFP blocks. It did not reach the world, so world resource coverage and playable frame rate remain unverified. CI at 91e67ec passed.Windows launcher startup fix (
fad5757)The double-click
Launch VIctory.cmdentry point uses Windows PowerShell 5.1. Its UI plan validation called[double]::IsFinite, which is unavailable on that runtime, so the launcher failed before the form was usable. The three LOD checks now use the supportedIsNaN/IsInfinitymethods. The launcher test suite now exercises-ValidateUiunder Windows PowerShell in addition to PowerShell 7; both passed locally, including saved-settings validation. This does not change game rendering or the offline firewall gate.Launcher title identity gate (
7a57e78)Two user launcher sessions selected
E:\GTA6.Xbox.v1.0.2.1-CYBERLEEK-native-stage\game_scarlett_master.exe, reported by the loader as unknown BLAKE3385bffaa595207ef57b4a15310924c31668c136894f351bac5969f71ab8d9aef, and terminated on the same title-side0x80000003breakpoint at image RVA0x1330a44shortly after menu input. A guarded 60-second reproduction with that executable and cooked textures disabled produced the same exit, no GPU removal, and 0/0 observed sockets. A matched guarded 60-second run with the original recognized Series 1.0.2.1 executable remained up with no GPU removal or observed sockets. These tests isolate the modified executable as the material difference; they do not prove the internal reason for its title assertion.The
inspectCLI now prints the known-build label from the same identity table used byrun. The GUI launcher checks that identity after the optional build and before starting the game, giving a clear path-specific error for unknown builds. This preserves the original title files and leaves direct CLI experimentation available. Windows PowerShell launcher validation and 30victorytests passed locally; strict Clippy passed. The repository-wide rustfmt check still reports pre-existing formatting differences outside this change.CI at 7a57e78 passed Clippy, diagnostics Clippy, and workspace tests.
RX 5700 XT FSR 3.1.6 dispatch coverage (
aca2758)The existing host bridge already selects FidelityFX upscaler 3.1.6 on this RX 5700 XT. The guarded 1080p run
rx5700-offline-20261130-081956Zreached the high-draw world and returned success on its first 1280x720 to 1920x1080 host dispatch. Context creation alone had previously been easy to mistake for a working upscaled frame. The bridge now logs dispatch attempts and failures at bounded intervals, and the diagnostic analyzer records provider, dimensions, first result and reported counts. Its regression test distinguishes context-only from actual dispatch. The guarded instrumented repeatrx5700-offline-20261130-082900Zreported four host dispatch attempts and zero failures. It translated 1,316/1,316 bound shader paths, observed zero unexpected dropped-command reasons and no GPU removal or TCP/UDP endpoints under exact-loader inbound/outbound blocks.The earlier 45-second world window translated 1,265/1,265 bound shader paths but measured 0.9 fps median, 797 valid null texture uses and 166 Budget-null buffer uses. The closed-cap texture allocator mostly lacked reusable heap ranges (4,067 deferred sampled textures in one interval, zero driver placement rejections). The shorter instrumented window hit a 13.5-second transition frame, so its 0.1 fps median is not a comparable steady-state result. Two unbound shader translation failures and intentionally suppressed ray traversal remain. The host bridge covers upscaling, not frame generation or software ray traversal; this change does not claim full GPU command coverage, 30 fps, or playability. Full run details and limits are in
docs/graphics-probe.md.Local checks:
cargo test -p victory-hle --features diagnostics --offline(153 unit, one FidelityFX integration, one DLL planting integration passed),cargo clippy -p victory-hle --features diagnostics --all-targets --offline -- -D warnings, 13 analyzer tests, andgit diff --checkpassed. The PR stays draft while resource admission, ray fallback and frame time remain open.Follow-up allocator audit (
ee2bd23)The suggested 3 GB render-target reserve comes from a different fork. This branch has no
VICTORY_CARD_ROOM_FOR_TARGETS_MBreserve; it admits streamed textures under 85% of the current DXGI local budget and an 8 GB local-plus-system guard in the guarded test. At a late world sample it used 4,827 MB local plus 4,174 MB system, already over that combined guard. Its existing census measured 2,519 MB of GPU-written host textures; 1,368 MB were held only through heap views and had no known-use stamp in 30 frames. Those are a useful lifetime investigation target, but releasing them directly would lose GPU-generated contents that a future bindless read may require.docs/graphics-probe.mdrecords the exact evidence and the slot-invalidation/replay requirement. No untested reserve or target-eviction change was merged.Related RX 5700 XT fork reviewed
Reviewed Ajamix/victory-rdna1 at
f511bead42(base snapshotf347e33fc6). It reports 6.6 fps median on an RX 5700 XT with Series S, usingVICTORY_LOOKUP_CACHE=1,VICTORY_HEAP_SYNC_CUT=1and the plain upscaler. Its ray path remains off by default. This integration branch has a substantially different descriptor sync and shadow-copy allocator, and its current FSR 3.1.6 host dispatch succeeds. The fork's heap sync cut concerns host heaps with fewer title slots than the title heap; it is not evidence of a benefit for this AMD run. Our measured world costs include 1,900–2,200 draws/frame, ~100 ms GPU time, and ~100 ms/frame in probe callbacks in one interval. No source was merged from the fork without a controlled compatibility and performance comparison. Its lookup cache is a candidate for a separately gated, measured adaptation after checking copy lifetime and concurrent invalidation.Pending task PR: registered-buffer lookup cache (blkph0x/VIctory#1)
blkph0x/VIctory#1 (
task/rdna1-lookup-cache, commit2577335on baseee2bd23) adapts the fork'sVICTORY_LOOKUP_CACHEas an opt-in, registered-buffer-only cache with weak handles. Its lookup epoch is counted under the buffer table's lock: after a registration is inserted, and before an unregistration or copy eviction removes an entry. The first draft of this port counted eviction before taking the lock, which could keep returning an evicted copy. Unit tests cover both orderings and fail when the order is reverted. Local workspace Clippy (both feature sets), serial workspace tests and the asset policy pass. Status: pending, not included in this build. Fork Actions are not enabled, so the task PR has no CI run yet, and no RX 5700 XT world run has measured the cache on this branch. Upstream #3535 atc0786ef57coverlaps but was not adopted (strong handles, registration counted after the lock is released, eviction not counted).Pending task PR: launcher title check under Windows PowerShell 5.1 (blkph0x/VIctory#2)
blkph0x/VIctory#2 (
fix/launcher-ps51-stderr, commit8fb484aon baseee2bd23) fixes the launcher identity check added in7a57e78.Assert-SupportedTitleranvictory.exe inspectwith stderr redirected while$ErrorActionPreferencewas'Stop'. Under Windows PowerShell 5.1, the double-click launcher's runtime, an ordinary INFO tracing line on stderr (for example copystat's large-heap-allocation message for files over 32 MB) became a fatalNativeCommandErrorbefore the exit code was checked. The check now runs inspect with a local'Continue'preference andNO_COLOR=1, and decides failure only by the exit code, which it reports together with the captured output. A new launcher-suite regression check runs the real function underpowershell.exewith a stand-in loader that writes INFO to stderr. It fails onee2bd23and passes with the fix. Status: pending, not included in this build. Fork Actions are not enabled, so there is no CI run, and repository CI does not exercise PowerShell scripts. The unmodified launcher suite under PowerShell 7 and a real recognized-title launch are still pending on the user's machine. No open upstream PR touchesscripts/launch-victory.ps1. #2227 (5aebbc493b) and #2670 (09d847e669) change loader stderr logging, but neither removes the need for this fix.Pending task PR: constant
Dot4AddI8Packedoperands on RDNA1 (blkph0x/VIctory#3)blkph0x/VIctory#3 (
task/rdna1-dot4-constant, headc82ad06on baseee2bd23) carries upstream #2408 at23d9be485bunchanged (KainanP's two commits) and adds an RDNA1 test and note. victory-rdna1 and upstream #1782 found that the RX 5700 XT driver zero-extends the bytes of a constant multiplicand; victory-rdna1 saw its FidelityFX upscaler go white. This branch passed constants straight todot4AddPacked.i32. #2408 sums a multiplicand known before run time by hand, including constants moved throughv_mov/s_mov, which victory-rdna1's operand-only check misses. On this RX 5700 XT, both dot4 constant tests fail on the hardware device with the constant detection disabled and pass with it; WARP passes either way. Local workspace Clippy (both feature sets) and serial workspace tests pass. Status: pending, not included in this build. There is no CI run (fork Actions are not enabled). In-game effect is expected only with the title's own upscaler (VICTORY_FIDELITYFX_DIRunset), not the default host-FidelityFX path. #2536 ata3a18d63b5duplicates #2408 and was not taken.Pending task PR: opt-in mouse look for the keyboard stand-in pad (blkph0x/VIctory#4)
blkph0x/VIctory#4 (
task/rdna1-mouse-look, head2a1c483on baseee2bd23) carries upstream #2182 atab06200612(denkencar-sketch's two commits; the conflict with this branch's ungatedVICTORY_KEYSwas resolved). It is opt-in throughVICTORY_MOUSE_LOOK=<sensitivity>and never samples the mouse while a host pad is active. Two parts of victory-rdna1'sVICTORY_MOUSEare added on top. Movement is averaged overVICTORY_MOUSE_WINDOW_MS(default 100 ms), so a title at a few fps still reads a short movement. LMB/RMB pull RT/LT, and the click that focuses the window is ignored until released. Unit and mutation tests pass, and so do local workspace Clippy (both feature sets) and serial workspace tests. Status: pending, not included in this build. There is no CI run, and camera control has not been tried in the title. #1157 (d67e37dcd9, needs rebase), #3494 (58c114e73a, captures the mouse with a pad connected) and #3345 (470bc2df60, full GTA-style remapping) overlap and were not taken.Pending task PR: pixel-shader barycentrics via #3588 + VICTORY_BARY_EMULATE geometry-stage fallback (blkph0x/VIctory#5)
blkph0x/VIctory#5 (
port/rdna1-bary-emulate-2, head4f2940bon baseee2bd23) merges upstream #3588 at6f3244873a(preserving all 12 upstream commits and authors: Claude,jaschinski97-ops,zed6000) and adds geometry-shader barycentric emulation (VICTORYBARY+barycentric_gs) adapted frommichi-feny(01a77ea/319eb4ain #3588's discussion) andAjamix/victory-rdna1(f511bea, GPL-3.0-or-later) behindVICTORY_BARY_EMULATE. Emulation is off by default when the host supports nativeSV_Barycentrics, on by default when the host lacks it (RX 5700 XT / RDNA1),=0forces native-only, and=1forces emulation; emulated shader-cache entries are keyed separately from native entries, and logs report whether each barycentric pixel shader is emulated, natively supported, or dropped. Synthetic GPU tests on the RX 5700 XT confirm nativeSV_Barycentricspipeline creation fails while the emulatedVICTORYBARY+barycentric_gspipeline validates withdxil.dll, builds, and renders unequal-w(1, 2, 4) perspective-center and screen-linear-center(I, J)weights within1e-3on both RX 5700 XT and WARP. Local workspace Clippy (both feature sets) and serial workspace tests (1,019 passed, 0 failed, 12 ignored, including asset policy) pass. Status: pending, not included in this build. Fork Actions are not enabled, so there is no CI run, and in-game hair/head/transparent rendering has not been verified on the RX 5700 XT yet. Upstream #3335 (e495d2dd, openCHANGES_REQUESTEDwith mojibake inlower.rs) and #3553 (1101cd9d, stacked on #3335 without #1738) overlap and were not taken.Pending task PR: mesh compute fallback batching past 64 groups and overflow diagnostics (blkph0x/VIctory#6)
blkph0x/VIctory#6 (
fix/mesh-fallback-groups-2, headb6e2659on baseee2bd23) removes the silent 64-group direct truncation and 8-record / 64-group indirect truncation in the RDNA1 mesh compute-to-vertex fallback (crates/victory-gpu/src/mesh_draw.rs) without adding permanent VRAM overhead. Inrx5700-offline-20261130-011410Z, 910 pipelines ran on the mesh fallback (including[mesh 005fe88ec1bdc0c7, pixel 93667197d3d05e1c]) and 61 mesh buffer sets already held 135 MB atGROUPS = 64. Rather than allocating a large ring buffer, the compute producer now takes a 1-dwordbase_grouproot constant (b0in space 3) added toSV_GroupID.xforInput::MeshGroupand culls fallback primitives naming vertices>= max_vertices.min(threads)(informed byAjamix/victory-rdna1f511bea, credited in the commit trailer). Direct dispatches split into batches ofVICTORY_MESH_FALLBACK_GROUPS(default 64); indirect dispatches expand up toVICTORY_MESH_FALLBACK_RECORDS(default 64) records acrossVICTORY_MESH_FALLBACK_INDIRECT_PASSES(default 4, up to 256 groups/record) with GPU-side overflow counters drained inHostList::end_flight. Once-per-shader warnings (naming mesh and pixel shader hashes) and per-intervalmesh fallback capacity (interval)logs report batched and truncated work. Synthetic GPU tests forbase_group+ out-of-range index culling (RX 5700 XT, DXIL validated), >64-group batched rendering (RX 5700 XT + WARP), and multi-pass indirect splitting/overflow readback (RX 5700 XT + WARP) pass. Local workspace Clippy (both feature sets) and serial workspace tests pass. Status: pending, not included in this build. Fork Actions are not enabled, so there is no CI run, and in-game verification on the RX 5700 XT (to confirm whether missing hair/body parts/clothing are caused by 64-group truncation) remains pending. Overlapping upstream proposals #1648 (d62ba28c) and #961 (31568ced), plus related 3D-grid PRs #2996 (5385cc62) and #2624 (22f5207f), were reviewed and left independent.Pending task PR: opt-in bound-draw texture priority, keep-views, and RT cap (blkph0x/VIctory#7)
blkph0x/VIctory#7 (
fix/texture-admission-null-views, headc6a2aaaon baseee2bd23) addresses missing hair/body/clothing/transparent textures under closed-cap 8 GB RDNA1 memory pressure without raising DXGI or combined memory caps. Quantitative log analysis ofrx5700-offline-20261130-081956Z(797 null texture uses; 7,963 recycled attempts, 276 admitted / 3.5%, 7,687 deferred / 96.5%, 8,405no_existing_range) and-082900Z(1,443 null uses; 4,769 attempts, 82 admitted / 1.7%) confirms 100% of shader-used null texture views arehost_copy_unavailable: backgroundretry_observed_textures()consumed 63/63 (100%) and 125/126 (99.2%) of recycled admissions in intervals 4–5 ahead of bound table draws, nine live3840x21601-mip 16:9 RT/DSV targets occupied 296 MB during 1080p runs, andHostHeap::mirror_withnulled valid views across same-texture rewrites before replacements existed. Three opt-in (off by default) A/B switches are added:VICTORY_STREAM_BOUND_PRIORITY=1(prioritises bound-draw table misses ahead of observed-heap retries hottest/freshest/smallest first, defers speculative unmadeView::Shadersyncs under closed cap, and ordersmake_readsmallest-first under closed cap),VICTORY_KEEP_VIEWS=1(preserves valid host views across same-texture rewrites until replacements exist; adapted fromAjamix/victory-rdna1f511bead42, GPL-3.0-or-later), andVICTORY_RT_CAP=<W>x<H>/VICTORY_RT_CAP_KEEP=<fmt,...>(caps oversized 1-mip 2D ~16:9 render/depth targets with aCopyTextureRegiondimension clamp guard; adapted fromAjamix/victory-rdna1f511bead42), plus an always-on per-intervaltexture admission intervallog. High-riskVICTORY_LEVELS_ON_DEMANDtiled mips (upstream #2389, #3647,victory-rdna1tiles.rs) are deferred with a staged adoption plan indocs/graphics-probe.md. Targeted unit and live GPU tests (9/9) pass withVICTORY_D3D12_DEBUG=1on both RX 5700 XT and WARP; local workspace Clippy (both feature sets), serial workspace tests (999 passed, 0 failed, 12 ignored),xtask policy(256 files ok), andgit diff --checkpass. Status: pending, not included in this build. Fork Actions are not enabled, so there is no CI run, and in-game A/B verification on the RX 5700 XT remains pending. Overlapping upstream PRs #3848 (856f653557), #3875 (e7d14ae788), #2389 (6b91df4a74), #3647 (5a99fb539d), #2872 (f5497882ca), #3276 (ddc621b904), and #3444 (c52a07494b) were reviewed and left independent.victory-rdna1 candidates not ported (
f511bead42)VICTORY_IDLE_LISTS: not applicable as is. victory-rdna1 detaches a host list from the title's list at every submission (about 100 a frame) into a global idle pool that defaults to 512. With 512 idle lists plus those in use, it hit "Kernel memory failure";VICTORY_IDLE_LISTS=32caps that pool. This branch keeps host lists per title list and only replaces one when a list is reset while a queue still holds it. Those go to a spare pool capped at 64 (list.rsrecycle). This branch's documented ID 834 "Kernel memory failure" resets occurred under texture-streaming and nonlocal-memory pressure (about 4.75-4.84 GB nonlocal); none was attributed to host-list memory. No change was made. A spare-pool count and its kept scratch bytes in the frame line would be needed first to justify a cap.VICTORY_BARY_EMULATE: the problem is present, but the port is deferred. Pixel shaders that read barycentrics directly are refused at translation (lower.rsVal::Missing("barycentrics read directly")), so their draws are dropped (for example pixel5067d502a1b4ffb4; victory-rdna1 reports missing heads and hair). The emulation, a geometry stage that writes one-hot corner weights as a noperspective interpolant, needs native pixel-barycentric lowering underneath it. Only the competing unmerged upstream #3588 (6f3244873a, +1,462/−192) and #3335/#3553 (e495d2dd4d/1101cd9d6a) provide it. The emulation itself is michi-feny's cool_fox01a77ea/319eb4a, proposed in #3588's discussion, and is what victory-rdna1 carries. The next step is a separate task PR: adopt #3588 (or #3335) here, then add the emulation behindVICTORY_BARY_EMULATE. victory-rdna1's README pairs it with an "RT cap", but no matching switch exists in its code.Imported from Marvisak/VIctory. Originally posted by reallyvibe on 2026-11-28T19:12:03Z.
Thanks for checking #3754 against this branch. Your diagnosis is right: here the batched
open_guardedtakes pages out ofprotectedwithout movingOPENED, so a fault's unlocked read can keep stale bytes.Bumping each page's count before the batched
VirtualProtectfixes it if:pagesleavesprotected, whether or not itsVirtualProtect(batched or the per-page retry) succeeds;openlist, one bump per page: counts are shared bypage % 4096, so one bump per run is not enough.Note that the two PRs merge with no textual conflict, and the merged code drops the bumps silently. #3754 now has a deterministic test for this,
opening_guarded_pages_moves_each_ones_opened_count(5c4bdd6d).What I ran is a
watch.rs-only simulation, not a full integration test: #3754's tree with the mergedwatch.rs, none of this branch's other files. Merged as is, the new test fails 20 of 20 runs in debug and release. With this at the top ofopen_guarded, allwatch::testspass:I have not built or tested your full branch with #3754.
AI-assisted (Claude Code).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.