Repository navigation
diagnostics: say why a DirectStorage destination could not be written, and why each indirect execution is dropped - #14
Closed
Skyfrye wants to merge 1 commit into
Conversation
…d a reason for every dropped indirect execution dstorage: the warning "a destination's physical pages could not be written" now says why (a page freed, never handed out, known but not mapped by the host, or the page list ending early) with the request's options and name; View::map logs the OS error when MapViewOfFile fails; XMemFreePhysicalPages has a debug line. draw: every drop inside execute_indirect is noted as "indirect kind N: <reason>" (the builder path and the missing host pipeline path included), so the per-reason lines add up to the frame line's indirect figure. Labels and log lines only: nothing about what runs changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Author
|
Closing: AnyXboxX Marvisak#199 moved the engine into the main repository ( AI use: Claude Code (Claude Fable 5.2). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Log lines and labels only; nothing about what runs changes.
victory-hle/src/modules/dstorage.rs,xmem.rs): the warning "a destination's physical pages could not be written" now carrieswhy=(a page number that was freed, one never handed out, every page known but the host failed to map one, or the page list ending early) plus the request'soptionsandname.View::maplogs the OS error whenMapViewOfFilefails.XMemFreePhysicalPagesgets a debug line. New unit testunwritten_destinations_name_the_page_and_why.victory-gpu/src/draw.rs,pipeline.rs): every drop insideState::execute_indirectis noted as "indirect kind N: " through a newpipeline::note_drop_as, so the per-reason lines add up to the frame line's indirect figure.What it already showed (RTX 5080, pin
80d58f8+ #12, own copy of 1.0.2.1)why="page 0x0 never handed out (pages handed out below 0x2bdb00)"(options=0x200001, once0x200002). So the page list the request points at holds 0 when the request runs: not a freed page, not a mapping failure. The list is read at execution time, not copied when the request is queued (dstorage.rs around line 963); whether the title reuses that memory before the request runs, or passes something other than a page list with these options, is the open question.indirect kind 2: compute 5dc3b25986622949and6f225b641c5b0708(water shaders that do not translate), 1.0 a frame each. No gap in indirect support itself shows up in any of our logs.Tests
cargo test -p victory-hle --lib -- modules::dstorage: 13 passed.cargo check -p victory-gpu -p victory-hle --features victory-gpu/diagnosticspasses.AI use: Claude Code (Claude Opus 5.5 for the investigation and change, Claude Fable 5.2 for the runs and this description), on my machine with my own copy.
🤖 Generated with Claude Code