ztrx (the NVIDIA-oriented derivative) is no longer online: what it contained, how it measured on a GTX 1660, and whether any of it should come upstream #2833
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Impre-visible on 2026-11-25T21:46:39Z.
The GitHub repository of ztrx, a GPL-3.0 derivative of VIctory (13 commits on top of
ffe310e, about 37,500 inserted lines in 93 files), and its owner's account return 404 since today. Its last state (90b529f) survives in clones. Its authors, by commit: fxceless (most of the work), ZazaJr24, oddiums, cxccxc and Zettrox.What it adds, by subsystem (inserted lines):
lower.rs), clean-up passes over the emitted module (about 2,300 lines, 11 unit tests), ray/box and ray/triangle tests, lowering additions.mainalready has its own equivalent.A whole merge is not realistic: it conflicts with current
mainin 46 files, wheremainoften has a different design.Measured on Linux, Wine + vkd3d-proton, GTX 1660 (32-lane waves). Not tested: Windows, AMD.
mainof this morning plus a few open PRs: 153 compute pipelines refused by the host (wave64), 149–189 draws dropped for lack of dynamic descriptor slots per run, 1.0–9.8 s per frame.90b529f: 4 compute pipelines refused, 893–979 made; 510–536 ms per frame in steady state; 20-minute runs, no GPU fault in 7 runs. Its relay and late-wait switches gave no gain on this card.Frame times are not comparable: the two trees do not draw the same work.
Question for the maintainers: do you want any of this upstream? If so, which pieces should come first, and in what form: single-purpose PRs re-done against
mainwith the original authors credited, or the wave64 tests and measurements handed to the authors of the open wave64 PRs?I can provide the measurements in more detail, or prepare a first single-purpose PR for whichever piece you name. No game files, shader names or hashes are attached here.
🤖 Generated with Claude Code
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T00:44:16Z.
Automated triage for the maintainers.
Labelled as a request; the question of what to take upstream, and in what form, is left to the maintainers. Pull requests are open to everyone, so single-purpose PRs against current
main(crediting the original authors, and leaving out the two files ported from a GPL-2.0-only project) are the form that can be reviewed. Wave64 on 32-lane hosts is already being worked in several open shader pull requests, which is where its tests and measurements would help most.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by roon9e on 2026-11-26T10:04:11Z.
Related data point, in case it narrows the Windows question. Same title package/hash.
On Windows 11 (build 26300) + a GTX 1660 SUPER (TU116, driver 621.40), ztrx
90b529fhits the identical0x80000003at+0x1330a44— the same streaming-codec stop reported in #1063 — at the same point (the LEGAL NOTICES screen shows the Copyright row locked, "Next" greyed, spinner). Skipping the trap (VICTORY_PATCH=0x1330970:909090909090,0x1330a34:9090) lets it run on, but the decode source stays zero and it spins at the world load: LEGAL NOTICES never unlocks and the world never draws.I saw the same on two other trees on this exact card/OS:
ffe310e);cool_fox(codec-d) build from the DoubleGhosty mirror, which reportsmesh shader support mesh=trueand translates the title's mesh shaders, then hits+0x1330a44too.What does get past it: the software adapter (
VICTORY_D3D12_WARP=1) — the LEGAL NOTICES screen then loads fully (no lock, "Next" enabled). So the codec's code is fine; the GPU path is what fails, and only on this Windows/NVIDIA/Turing combination.This matters because #2835's own measurement of ztrx was on a GTX 1660 under Linux/Wine + vkd3d-proton, where it works (20-minute runs, no fault). So on the same card the result depends on the D3D12 implementation: vkd3d-proton OK, WARP OK, NVIDIA's Windows driver broken.
Question: is ztrx expected to run on Windows with a 32-lane Turing card (GTX 16 / RTX 20), or is the Windows/NVIDIA wave64-compute path known to still need work? If the latter, the failing piece is the one to describe for a single-purpose PR.
AI-assisted; measured on the physical GTX 1660 SUPER, Windows 11. No game files, shader names or hashes attached.
Imported from Marvisak/VIctory. Originally posted by Impre-visible on 2026-11-26T10:05:16Z.
Thanks, that is a useful data point, and I cannot answer the Windows question from measurements: everything I reported was under Linux (Wine + vkd3d-proton), on a GTX 1660 (non-SUPER, same TU116 family, 32-lane waves). I have not run any tree on Windows.
What I can add, same card, same Linux setup, measured today:
90b529f+ small fixesf4b48ad, built from source, its launcher's settingsSo under vkd3d-proton neither tree stops at the start screens on this card class, which agrees with your reading that the difference is the D3D12 implementation rather than the title-side code. The patches and settings of the last row, with the method, are at https://github.com/Impre-visible/victory-gtx1660 (no game files; I have added a note there that Windows on Turing cards is reported not to get past the start screens, linking your comment).
I have nothing measured on why NVIDIA's Windows driver fails where WARP and vkd3d-proton do not; if a specific check under Linux would help narrow it (a count, a refused pipeline list by stage, timings), tell me which and I will run it.
🤖 Generated with Claude Code
Imported from Marvisak/VIctory. Originally posted by roon9e on 2026-11-27T05:01:32Z.
Thanks — I applied your patches to the same base you did, on Windows, and can report what they change and what they do not.
Setup:
codec-d/cool_foxatf4b48ad,git amofpatches/0001+patches/0002(both applied cleanly),cargo build --release --locked -p victory --features diagnostics. Ran on a GTX 1660 SUPER (TU116, 32-lane), Windows 11, own 1.0.2.1 copy, with your measured settings (VICTORY_CARD_BUFFERS_MB=1024,VICTORY_CARD_WINDOWS_MB=256,VICTORY_TEXTURE_MIP_DROP=1,VICTORY_LEVELS_ON_DEMAND=0),Down+Enterscripted from 60 s.What changed: the memory settings do take effect on Windows — the log's
host copies in the card's memoryline reports2 copies 178 MB, so on this 6 GB card the Windows budget grants far fewer card-side copies than your ~1,000 MB under Linux (expected: the desktop and other processes share the budget).What did not change: the run still stops at the identical
0x80000003at+0x1330a44during the menu asset stream — before any menu screen renders. So patch 0001 does not move this stop on Windows, which fits your own diagnosis: it fixed a vkd3d-proton DXIL-to-SPIR-V recurrence (the stack overflow in the pipeline workers), and that converter is not the one running under Windows here. On this card/OS the decode never gets its source, so the start screens never advance — the same wall as our #1063.Your offer is welcome and, I think, well aimed: if you can measure anything Linux-side on the same card class, the useful comparison is why the decode succeeds under vkd3d and not on Windows. Concretely, a run of the unmodified
cool_fox f4b48ad(no patches) under Wine + vkd3d-proton, on the same package, loggingVICTORY_LOG=info:If the decode path is the same under vkd3d and only the readback differs, that points at the runtime's Windows D3D12 copy/readback, which is where I'd file the single-purpose PR.
AI-assisted; measured on the physical GTX 1660 SUPER, Windows 11. No game files, shader names or hashes attached.
Imported from Marvisak/VIctory. Originally posted by Impre-visible on 2026-11-27T05:10:59Z.
Already done: unmodified cool_fox
f4b48adbuilt from source with diagnostics, GE-Proton11-6, Proton Experimental's vkd3d-proton, GTX 1660 (TU116, 32-lane waves), NVIDIA 620.73.04,VICTORY_LOG=info, Series S with cool_fox's launcher settings, cold caches. First present at 1.2 s; menus at 30 fps for 83 s; world at about 3 min; 15 min without a GPU fault.In this tree DirectStorage decodes on the CPU (zlib, then BCPack) and writes straight into title memory, through a file read under a kernel-write lease or into physical pages. No GPU buffer and no card→CPU copy are involved. Under vkd3d the menus show no copy-back and no streaming errors, so D3D12 readback looks unlikely; the file read or kernel write into guarded memory is the better candidate (inferred from the source; this log does not prove it). Not in this log: per-request DirectStorage counts (debug level) and lease counts (never counted).
If useful, I can run once more with
VICTORY_LOG=info,victory_hle::modules::dstorage=debug,VICTORY_DSTORAGE_TRACE=1andVICTORY_DSTORAGE_LOG=<file>. With the same switches on Windows, we could compare request by request.🤖 Generated with Claude Code