Integrate AMD paging, BVH, texture and frame generation fixes #83
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!83
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-83"
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?
@lucalocastro on GitHub · 2026-12-01 17:38 UTC · original
lucalocastro:integration/amd-graphics-correctness→main· +6026 −391 · 45 files · 20 commits · merged 2026-12-01 20:55 UTCSummary
This PR integrates #31, #38, #43, #44, #45, #47, #63, #67, #68, #75 and #80 on main at
37bb30f. The source commits retain their original authors and cherry-pick references.VICTORY_NATIVE_GRAPHICS=1. Other primitive programs continue through the existing refusal path.VICTORY_SHADER_OPT=63(default) with191on the same capture.victory replay compare-xbox CAPTURE REFERENCE --out REPORTto diagnostics builds. Compare each recorded present with an aligned Xbox SDR PNG. The offline report shows RGB differences and the Victory command list, command index and pipeline for observed changes at selected output pixels. It reports whether the instrumented replay reproduced the recorded RGB output.Validation
cargo check --locked --workspace --lib --bins --testspassed with and without diagnostics on Windows.git apply --checkagainst the pinnedmesa-26.3.1tag.37bb30f. The existingguard_runsbenchmark also prevents an all-targets check because it calls the crate-privateir::build.p4_gfxharness translated both stages of the synthetic triangle and rejected its culled variant.VICTORY_SHADER_OPT=191.the_record_count_of_a_structured_buffer_read_by_index. Three failing tests and the access violation also reproduce individually on the previous PR revision (2039e43).Remaining runtime checks
Integration and verification were done with OpenAI Codex.
@lucalocastro on GitHub · 2026-12-01 18:57 UTC · original
Would anyone with an Xbox Series X be willing to test this PR in-game and try the new visual comparison? The replay tool has been tested with synthetic frames. A comparison from the game would help us check how it behaves on a real scene.
Gameplay test. Please play for a few minutes on the PR build (
eb51227) using the Series X profile. Let us know whether the game reaches gameplay and whether you see missing textures, flickering materials, or lighting differences. If something looks different frommain, the steps to reproduce it, your GPU, output resolution, and whether ray tracing was on would help. A clean run is worth reporting too.Xbox comparison. Pick a static screen you can reproduce on both systems, such as a settings menu with the same item selected. Use the same game version, language, output resolution, and SDR mode. Save an 8-bit PNG from the console at its original size. On a diagnostics build of this PR, record one Victory present at the same screen with
VICTORY_RECORD, then run:Please open
comparison/index.htmland let us know whether the highlighted differences match what you saw. If you can, attach the generatedcomparison/folder as a ZIP so the report images and links work, and paste or attachcomparison/frame-1/commands.txt. The raw Victory capture can stay on your machine.Thanks for helping test this on real hardware.
@Widget9337 on GitHub · 2026-12-01 20:54 UTC · original
Tested this on an RX 9070 XT (Ryzen 9 7950X3D, CachyOS, kernel 7.2) with the patched Mesa from this branch,
proton-cachyos-slr, Series X profile, PC FSR 4 Quality (1280x720 → 1920x1080), ray tracing on, 30 fps cap, fullscreen through gamescope. Your remaining-checks list asks for in-game runs, so here's one.The default paging pace caused uneven frame pacing here. Running in the open world, the character visibly "surged". The 5 s averages looked fine (28.4 fps), but the residency log showed each pass taking 22–55 ms (
last pass … us). With the new defaults (a pass every 400 ms, up to 32 MiB) that's longer than a whole 33 ms frame, about 2.5 times a second. Compared with the same scene before this PR: 30,682 pages moved up vs 13,589, 11,849 "down cold" vs 0, and 12.1 s spent moving vs 3.4 s.Putting
main's pace back fixed it:I haven't tried
VICTORY_PAGE_ADAPTIVE=1with the PR defaults. Maybe the defaults should stay atmain's values until adaptive budgeting is proven?Other notes from running it:
VICTORY_FSR_4Kalways outputs 4K. I merged #58 on top. Two small conflicts inrun.rs(both sides kept) and the README.apply_ui_plane(…, (3840, 2160))sizes the back buffer pool for a 4K output. I changed it to takefsr_4k::requested_output(). The pool check then logsDiffers, which is harmless because #58'sprepare_outputalready patched it.VICTORY_UI_PLANE=3840x2160at 1080p output works: the menus fit, 2 planes are presented, and the pool is 96 MiB.VICTORY_AMBIENT_RT=0.7,1.5(the old default band) by hand. That might be worth a line in the README.maininstead ofvictory.exe, which caught out mypgrep -x victory.exechecks.