fxceless/victory-gta6 might have things valuable to merge back in #1645
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1645
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?
@SleepinDevil on GitHub · 2026-11-24 20:21 UTC · original
This other project seems to be based on this one and the claims made on it sound interesting. Might be worth running a merge via Claude potentially?
I am just observing, no idea how well the other project works. https://github.com/fxceless/victory-gta6
@meeyao on GitHub · 2026-11-24 20:28 UTC · original
One concrete set from the Linux/Proton side: fxceless/victory-gta6#28 carries three fixes that were the difference between a black frame and a rendering world on Proton Experimental + vkd3d-proton + RTX 3070.
indirect::makeusesD3DCompile; Wine'sd3dcompiler_47refuses the source (InterlockedMax, stores to a raw buffer), sobound()fails and every indirect execution is dropped. The PR falls back to DXC (dxcompiler.dllbeside the exe) ascs_6_0. On Windows the system compiler still wins.+0x23cf683after 6–8 minutes in the world; upstream #454'sVICTORY_NO_WATCHDOGpatches (build hash + exact bytes, jump over the call and NOP the deliberate fault) stop that. Patching the watchdog thread's entry instead stops the kills but the title never draws.thread 'victory-pipelines-2' has overflowed its stack. The worker dies, the pipeline never appears, and the title waits forever — the log goes silent for ~10 minutes with CPU still busy.stack_size(32 << 20)fixes it.With those: world geometry renders,
frame=4096 draws=28708 drawn=25391,3,389 indirect commands bounded, no stack overflow and no watchdog kill. The remaining wall is speed (0.1–0.5 fps; host-side copies and watches, GPU ~12% busy).Reproduction notes, environment sets, expected warnings and a stall-skipping supervisor: https://github.com/meeyao/VIctory/tree/linux-findings — no game data, patches only.
@Luislariosss on GitHub · 2026-11-24 20:42 UTC · original
A review of fxceless/victory-gta6 against current main (
ffe310eb), in answer to this issue's question. Short version: several pieces look worth taking, one is blocked by licensing, and much of the rest duplicates open PRs. Nothing can be merged wholesale — the repo is standalone (not a GitHub fork), 9 commits ahead, and nearly all of the work sits in one squashed commit (578d459c, 68 files), so every piece would need to be split out, rebased and given its own tests and attribution.What is in it, grouped (memberships from the compare's file list, the fork's README and commit messages; the large GPU/shader diffs were not read line by line):
emit/bitcode/opt.rs,emit/bitcode/census.rs, selected byVICTORY_SHADER_OPTbits): dead-code removal, folding, reuse, branch facts, block-local loads. The fork's README claims about 43% fewer host instructions and about 20 ms less GPU time per frame, measured on one machine. I found no open PR covering this. New, self-contained, and the most interesting claim — worth splitting out and re-measuring on other GPUs. The bit-mask switch is part of the shader cache key and needs a correctness review there.image_bvh(64)_intersect_ray, DXIL lowering, raw 40-bit title-memory reads,docs/fork-ray-tracing.md): overlaps open #1198 (and #702 for a native DXR path); better compared with that author's work than merged on top of it.emit/wave.rs,wave64_tests.rs,threading.rs, behindVICTORY_WAVE_WIDE=1): overlaps #189/#1589/#1618.d279e69a): overlaps #254/#275/#1551.clzeroand other Zen 2 instructions the title zeroes memory with,crates/victory-loader/src/console_insn.rs): genuinely new and valuable for Intel hosts — but blocked as it stands: the file states it is ported from XCL (GPL-2.0-only) with the decoder copied unchanged. GPL-2.0-only code cannot be relicensed into this repository's GPL-3.0-or-later. It would need a clean-room rewrite from AMD's published documentation.The Proton fixes meeyao points at below (the fork's PR #28) are already upstream: the DXC fallback is #178, the watchdog hooks #454, the 32 MiB worker stacks #1257.
Asset policy: I found nothing game-derived in the tree — the largest files are all source, and the only binary is the allowed
bcpack-tables.bin. The license is GPL-3.0. Two caveats for a maintainer's eye:lower.rsthere is about 488 KB, near the policy's 512 KiB per-file limit, anddocs/fork-ray-tracing.mdnames the title'sXboxBvhBuilder.dlland counts its compute programs — descriptive prose, but it deserves one read under the "derived from the game" rule.Facts only; no verdicts on anyone's approach. The fork's own README is honest about its state (one RTX 4070, several off-by-default switches,
shortcut:-marked paths, "not playable yet").AI use: this review was gathered and written with opencode — HY4 Flash Free collected the repo, issue and compare facts; the review itself is by Sonnet. Nothing from the game appears here.
@Marvisak on GitHub · 2026-11-25 12:52 UTC · original
Automated triage for the maintainers.
A request to bring work from a separate repository back here. It fits the project's scope (Windows hosts, this title), but nothing can be merged wholesale: as the review in the comments notes, it is a standalone repository with most changes in one squashed commit, so any piece would have to come as its own pull request, rebased on
main, with tests and attribution. Pull requests are open to everyone, including the original authors.From that review, for the maintainers: many pieces overlap open PRs (wave64 forms with #189/#1589/#1618, ray tracing with #1198/#702, pipeline waits with #254/#275/#1551), the Proton fixes mentioned are already upstream or in PRs (#178, #454, #1257), and the shader clean-up passes appear to have no upstream counterpart. The console-instruction emulation there states it is ported from GPL-2.0-only code, which cannot be taken into this GPL-3.0-or-later repository as is.
Generated by Claude Code