RX 9060 XT: Series S launch, PC FSR at the title's sizes, ambient bound under RT, moving faces, fps log line #541
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/Belobug--VIctory-Belobug-AMD!541
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-541"
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?
@PikPakPik on GitHub · 2026-11-27 10:37 UTC · original
PikPakPik:share/rx9060xt-local→a-publier· +152 −12 · 10 files · 3 commits · openThese are the changes I use on an RX 9060 XT (see #313). Each one stays off unless you turn it on, except the faces fix.
Changes
play.ps1 -SeriesS: passes--console series-s, so you get 1080p output with the Series S menus. This fixes the UI being twice too big at 1080p with the Series X profile (#313).play.ps1 -FsrPC/VICTORY_FSR_PC=1: the PC FSR 4.1.2 (victory_hle::modules::fidelityfx::use_host_dir) handles the game's own FidelityFX calls at the render and output sizes the game picks, instead of its translated console DLL. The game itself is not patched. It needsfidelityfx_dir/VICTORY_FIDELITYFX_DIR.VICTORY_AMBIENT_RT=<multiple>(≥ 1): while the structure builder runs, the ambient stand-in stays on and caps the rays' light at that multiple of its estimate. Where the rays leave less light, the estimate fills in. This hides the white RT blotches on the RX 9060 XT. When unset, nothing changes._d16accesses now ask the view kind of typed views in descriptor tables too, not only views picked from the heap. The host writes the strides word for the dynamic slots of a newly made table (HostHeap::dynamic_word). The face network'sCS_GatherOperationused to read integer halves as f16, which gave zero blendshape translations. Full write-up indocs/findings.md.frame rate: … fps, … ms/frame, … draws/frameinfo line per meter window, so runs can be averaged from the log.Testing
cargo check -p victorypasses.-SeriesS -FsrPC. Faces were confirmed moving on an RTX 4080 SUPER, but not yet on an RX 7900 XTX.🤖 Generated with Claude Code
@Robotniq on GitHub · 2026-11-27 10:57 UTC · original
The faces fix, tested in the title on an 8 GB NVIDIA card: RTX 3070 Ti (32-lane, driver 32.0.16.2140), i7-13700F, 32 GB RAM, Windows 11 26200, game 1.0.2.1,
--console series-s. Diagnostics build ofa-publier4eb6cfdwith this PR applied whole (on top of #451 and #443'sloose/xmemhunks), thescripts\play.ps1settings (not-Safe),VICTORY_PORT_CONSTANTS/DESCRIPTORS/CBV/GUARD/JOURNAL=1,VICTORY_UPSCALER=6,VICTORY_CARD_BUFFERS_MIN_MB=1, structure builder off. Shader cache emptied and made again withvictory shadersbefore the first run, since the PR changes translations without a new translator version.VICTORY_SKIP_PIPELINES, thebvh_skinningprograms and the twoCS_Primary_GatherCopy, fxceless/victory-fork#1278): mouths still move. So thebvh_skinning:CSComputeSkinningPedBlendShapes*programs of that list are not the ones the faces on screen need.crashes.log.Only the faces part was exercised:
-SeriesS,-FsrPC,VICTORY_AMBIENT_RTand the meter line were left as they come (off), and I ran the title through a launcher of my own, not the changedplay.ps1.AI-assisted (Claude Code): the runs, the reading of the logs and this text.
@BlueCatsz on GitHub · 2026-11-27 11:56 UTC · original
First AMD RDNA4 / RADV test of the moving-faces hunk (
crates/victory-shader/src/emit/lower.rs, cherry-picked ontoa-publier4eb6cfdalongside#124and#247,diagbuild):26.3.1,proton-cachyos-slr(wine 11.0) +CachyOS/wine-cachyos#50wineserver,vkd3d-proton71cae09, Series X profile (VICTORY_LAND_ECHO=0), retail 1.0.2.1.clippy(victory-gpu,victory-shader) andvictory-shadertests passed in fork CI (run45985519235).Two findings:
victory_shader::TRANSLATOR_VERSIONbump: re-runningvictory shaderslogged:25790 of 25790 translations an earlier build of the translator had cached translated again, 65 came out different (a change of the translator's output: victory_shader::TRANSLATOR_VERSION should have been bumped)Without a
TRANSLATOR_VERSIONbump, cached translations outside the main shader archive stay stale unlessVICTORY_SHADER_FRESH=1is passed.VICTORY_SHADER_FRESH=1after refreshing all 25,790 cached shaders)VKD3D_CONFIG=descriptor_heap(re-tested withVKD3D_CONFIG="")VICTORY_RAW_VIEWS=0)VICTORY_PORT_CBV=1(re-tested withVICTORY_PORT_CBV=0)AI assistance disclosure: test notes and bisection summary were compiled with AI assistance; all builds and hardware runs were executed and verified locally.
@PikPakPik on GitHub · 2026-11-27 12:01 UTC · original
Thanks for testing this on both cards.
Translator version: you were right.
TRANSLATOR_VERSIONis now 3 (95f61948), so cached translations are made again withoutVICTORY_SHADER_FRESH=1.RTX 3070 Ti, Windows, Series S: good to see mouths moving with no change in frame rate. It is also useful to know that the skipped
bvh_skinning:CSComputeSkinningPedBlendShapes*programs are not the ones the visible faces depend on.RX 9070 XT, RADV: mouths now move, but the two leads' mouths pinch and twist. That points to the faces' path rather than the cache or the switches you already ruled out. I haven't found the cause yet. Two things would help narrow it down:
victory replay <capture> --flow --bytesof that scene, to compare the network's result buffer (theR16_UINTviewsCS_BlendshapeTranslationsHSSGraphOutputExtractreads) with what an NVIDIA run produces.@PikPakPik on GitHub · 2026-11-27 12:08 UTC · original
RDNA4 on Windows/D3D12: the mouths do not pinch here.
Setup: RX 9060 XT 16 GB (RDNA4), Windows 11, native D3D12, retail 1.0.2.1,
--console series-s, diag build of this branch at95f61948(TRANSLATOR_VERSION3). I re-translated every shader withvictory shadersbefore the run. The other settings wereVICTORY_FSR_PC=1,VICTORY_SHADER_OPT=59andVICTORY_PORT_JOURNAL/GUARD=1. The structure builder was off.I watched the opening cutscenes, including close-ups of one of the two leads (the other lead is not covered by this run):
So the same hunk looks right on RDNA4 under Windows. The distortion therefore seems specific to the RADV / vkd3d-proton path, not to RDNA4 or to the fix itself. A
--flow --bytescapture from the Linux setup would still help confirm where the result buffer goes wrong.@gut0to on GitHub · 2026-11-27 13:30 UTC · original · reviewed
AI-assisted review: I focused on the table-view path that fixes the reported stationary-face case.
@ -8206,2 +8208,4 @@/// a table too, not only of one picked from the heap.fn slot_word(&mut self, src: &Source, tables: bool) -> Result<Option<V>, Why> {let Source::Loaded { load, first } = src else {return Ok(None);@gut0to on GitHub · 2026-11-27 13:30 UTC · original
Could you add a focused lowering regression for a typed integer view loaded through
RootType::Table? The change expandsslot_wordfrom heap-selected views to table entries, but the PR notes that no table-case test exists. A synthetic table descriptor with an integer format should assert that lowering emits theVIEW_INTEGERcheck; this would guard the shader half of the fix independently of GPU hardware.@ -8206,2 +8208,4 @@/// a table too, not only of one picked from the heap.fn slot_word(&mut self, src: &Source, tables: bool) -> Result<Option<V>, Why> {let Source::Loaded { load, first } = src else {return Ok(None);@PikPakPik on GitHub · 2026-11-27 13:48 UTC · original
Added
a_tables_typed_d16_view_asks_whether_it_is_an_integer_one(valu_tests.rs,a6ae37df). It lowers abuffer_load_format_d16_xythrough aRootType::Tableview and asserts the strides root view, which holds the VIEW_INTEGER/VIEW_SIGNED word, is bound. A 32-bit format load and a tbuffer d16 load (whose format is in the instruction) don't bind it. It fails with the table arm ofslot_wordremoved and needs no GPU.@MamaLeVrai on GitHub · 2026-11-27 15:56 UTC · original
Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At
a6ae37d:victory-gpu396 passed,victory-shader304 passed,victorybins 25 passed; 0 failed in each.AI-assisted (Claude Code); no game data.
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.