Skip to content

Fix #721, #722, #726: copy-back only changed bytes; mark pages current conditionally; NaN-safe v_med3_f32 - #2000

Closed
tharun-37 wants to merge 1 commit into
Marvisak:mainfrom
tharun-37:fix/shadow-copyback-and-med3-nan
Closed

tharun-37 wants to merge 1 commit into
Marvisak:mainfrom
tharun-37:fix/shadow-copyback-and-med3-nan

Conversation

@tharun-37

Copy link
Copy Markdown

Three small, localized fixes:

Builds clean; victory-gpu shadow tests and v_med3_f32 nan test pass. Other failures in the suite are pre-existing (hardware/validator dependent, reproduce on unmodified main).

@DesertGamer

Copy link
Copy Markdown

VIctory V2: community PRs, merged and tested

Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.

Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).

⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.

Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2

Unofficial community fork of Marvisak/VIctory, GPL-3.0.

…hanged bytes; mark pages current only if title matches; NaN-safe v_med3_f32
@tharun-37
tharun-37 force-pushed the fix/shadow-copyback-and-med3-nan branch from 6318f84 to 6f4a0fd Compare November 25, 2026 02:40

@catminou4 catminou4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed PR: victory-gpu copy-back path is Windows-only (nothing compiles on macOS); the victory-shader part is covered by the macOS test queue separately.

Copy-back writes only changed bytes + pages marked current conditionally — fixes #721/#722/#726 (dirty-page tracking correctness). Pairs with the #1986/#1998/#2004 cluster; significant memory-traffic win if correct.

@tharun-37

Copy link
Copy Markdown
Author

Split into #2009 (gpu) and #2010 (shader) per review feedback.

@tharun-37 tharun-37 closed this Nov 25, 2026
@upipibi

upipibi commented Nov 25, 2026

Copy link
Copy Markdown

Ran on Windows 11 with an RTX 3070 (Ampere, driver 616.56), debug build, at 6f4a0fd. victory-shader: 244 passed, 3 failed, 3 ignored. The 3 are #1744's NVIDIA failures on main (the two stride_tests heap-buffer reads and gathers_at_a_level_match_the_hardware). victory-gpu: 141 passed, 2 failed, with only the two NVIDIA heap-cap failures main also has (dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views). Same as main on this hardware. Not run: a title.

AI-assisted (Claude Code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants