PR permission #717
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#717
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?
@draggygaggy-maker on GitHub · 2026-11-24 07:43 UTC · original
Hey Marvisak!
I'd like to contribute code to VIctory, but the New pull request button is disabled for my account.
I've already set up the Rust development environment and successfully run all 264 non-ignored workspace tests. I've also shared Windows/NVIDIA test results in #181.
Is there a process for getting permission to submit pull requests, or another preferred contribution method?
GitHub: @draggygaggy-maker
Thanks!
@ifBars on GitHub · 2026-11-24 07:46 UTC · original
@draggygaggy-maker As far as I am aware, PRs are closed for everyone at the moment due to the overwhelming amount of them. Nothing you can do but wait.
@Zilumz1 on GitHub · 2026-11-24 08:25 UTC · original
@Marvisak I'd also like PR access once you reopen it, or collaborator access if you're adding people to help with verification.
What I can offer is a hardware configuration that isn't otherwise covered: Windows 10 Pro + AMD Radeon RX 580 (Polaris / GCN4), driver 31.0.21925.1001. That's Windows 10 without shader model 6.6 by default, on pre-RDNA AMD hardware.
So far:
cargo test --workspaceon this machine. Everything passes except the eight GPUvalu_tests, which need SM 6.6 (the #84 case).Until PRs reopen, I'm glad to keep testing open PRs on this setup, especially Windows 10 and AMD ones, so you have hardware results before reviewing. I won't open duplicates of existing work.
AI-assisted; the test results I post are real runs on my machine.
@EatCodeSleep2 on GitHub · 2026-11-24 08:33 UTC · original
@Marvisak add me as a collaborator. I have RTX 5070 and 64GB DDR5 to offer
@Revens2 on GitHub · 2026-11-24 08:39 UTC · original
Same situation as above: "New pull request" is disabled for my account, so I'd like to know which route you prefer.
What I can bring:
Tested <commit> on RTX 5070 / 32.0.16.2124 / Windows 11: pass|fail.cargo test --workspacerun locally,cargo xtask policyclean, no game data in anything I post.Option (a): you re-enable PRs for my account (github.com/Revens2).
Option (b): I fork, push a branch, and link it in the relevant issue, as others are doing right now.
Either works for me. All results I post are real runs on my machine; the analysis is AI-assisted.
@undeadhuman37 on GitHub · 2026-11-24 08:54 UTC · original
Same question here. I'd like to contribute and have tested fixes ready on my fork (undeadhuman37/VIctory). @Marvisak, when PRs reopen, or is there another way you'd like fixes sent (pull a branch, patch in an issue, or a short list of approved contributors)? Happy to wait, and I will pick issues that have no open PR. My work is written with AI assistance (Claude Code) and tested locally; nothing from the game goes in the repo.
@RKouchoo on GitHub · 2026-11-24 09:28 UTC · original
i dont know if you guys realise how much work 450 PR's actually is even with AI assistance
@Revens2 on GitHub · 2026-11-24 09:42 UTC · original
All the more reason to let more people join the project so we can filter and review PRs .
@Revens2 on GitHub · 2026-11-24 10:52 UTC · original
The stand-in gamepad in
crates/victory-hle/src/modules/gameinput.rsmapsKeyState.virtual_keyto pad buttons. A virtual key is the letter the keytypes, so the table only holds on a US layout: on AZERTY the key labelled
Zsits where QWERTY hasW, andQwhere QWERTY hasA. The left sticktherefore moves on the wrong physical keys and the two triggers swap.
Scan codes name the physical key, so one table serves every layout.
What changed:
FALLBACK_BUTTONSbecomes[(u32, u32); 14], scan code to button, andfallbackmatches onKeyState.scan_codeinstead ofvirtual_key.z+qon an AZERTY board and expects the left stick, andchecks that the key labelled
Wlands on the left trigger's physical key.Test:
cargo test -p victory-hle(95 passed), including the new casethe_stand_in_pad_reads_physical_keys_not_layout_letters.Branch (based on
mainatffe310e):https://github.com/Revens2/VIctory/tree/fix/hle-keyboard-scan-codes
No game data, no title log, no local path in this report.
@Pablo-Barros on GitHub · 2026-11-24 10:55 UTC · original
@Marvisak I'd like PR access when it reopens, or to help with verification in the meantime.
What I can offer is hardware you cannot test on yourself: Windows 11 Pro 26300, RTX 3070 (Ampere, no 64-lane waves), Ryzen 7 7800X3D, 31 GB RAM, and the title (1.0.2.1,
b99f876b74d4a77f). Onmainffe310e, whole title, the 320 compute pipelines this card refuses are exactly the 320 emitted modules that declareWaveSize(64), which a Radeon runs.Ready and waiting for a PR:
victory compare, an A/B of twotranslate --listoutputs program by program: #787. One commit onmainffe310e(branch); both of CI's clippy commands clean,cargo test --workspace --locked347 passed, 0 failed.main, with that tool: 528 pipelines gained, 12 lost on a 32-lane host, 0 validations lost (report).Until PRs reopen I'll keep verifying the NVIDIA-relevant ones on the real corpus and posting counts there, and I won't open duplicates of existing work.
AI use: the reports were produced with an agent (Claude Code) at my request; the builds, runs and counts are from this machine, and nothing from the game is posted.
@slint6614-dev on GitHub · 2026-11-24 11:01 UTC · original
@Marvisak I'd like PR access when it reopens (or collaborator access for verification), in case it helps.
What I can offer is AMD hardware with 64-lane waves on both console-relevant generations: an RX 9070 (RDNA4) and a Ryzen 9600X iGPU (RDNA2, gfx1036, close to the console's GPU), on Windows 11, with the full retail shader pack for corpus runs.
What I've been doing in the meantime, without opening PRs:
translate --validate --pipelineson the full pack for about 100 open PRs, each merged with current main, with counts posted on each PR. For example: #612 cost 323 validated programs after it merged, #586 loses 591 mesh programs, and #542/#437 crash the pipeline path with 0xC0000005 on AMD.valu_testswith negative controls (fix reverted, test kept) on both GPUs, e.g. #706, #448, #284, #426 and #682. Several of these showed that a test passes without its fix, or fails for a reason other than the one being tested.No game data is ever posted, only counts.
@JFIREonFIRE on GitHub · 2026-11-24 11:01 UTC · original
@Marvisak I'd like collaborator access if you add people to help with verification and review, or PR access whenever it reopens.
What I can offer:
b99f876b74d4a77f). It boots onmainto the account picker on this card.GetModuleFileNameAin the ANSI code page.My work is AI-assisted (Claude Code) and tested locally. Nothing from the game goes in the repo.
@MartinIndra02 on GitHub · 2026-11-24 11:47 UTC · original
@Marvisak Leaving a short summary here for when PRs reopen (or if you add collaborators for review/verification):
621.24, 32-32 wave lanes), 32 GB RAM, retail 1.0.2.1 dump (local testing only; zero game data posted).main-based (ffe310e) branches onMartinIndra02/VIctory(all tested on RTX 3080 + WARP + D3D12 Debug Layer, both CI clippy configs-D warnings, andcargo xtask policy):#783—perf/gpu-copy-mapped-region-fallback(61474f6): race-safe per-regionVirtualQuery+ReadProcessMemory/WriteProcessMemoryfallback reusing partialdonebytes (in-title A/B by@rocobalt1:-29%copies,-19%frame time).#584—fix/shader-heap-bounds-clamp(05c681c): runtime host-heap bounds clamp (b0inHEAP_LIMITS_SPACE = 4) to a dedicated permanently-null guard slot covering both title and dynamic slots (following up on the AMD RDNA3 >1M heap diagnosis confirmed by@d1ll3x3).#757—feat/gpu-multi-arg-execute-indirect(94ecc4e): multi-argumentExecuteIndirectwith root constants,arg_offsetclamping, and guest root-constant cleanup after review feedback.#771—feat/gpu-uav-clears(d31c482):ClearUnorderedAccessViewUint/Floatfor buffer (raw/typed) and texture UAVs.s_*_saveexec/s_*_wrexecSCClowering with a GPU regression test.#439,#584,#688,#704,#709,#710,#772.No game data used. AI-assisted; all builds, tests, and benchmarks executed on my machine.
@bodnjenie14 on GitHub · 2026-11-24 12:21 UTC · original · edited 2026-11-24 12:23 UTC
@Marvisak I'd like PR access when it reopens (or collaborator access for verification), in case it helps.
I allready commited and got more in the pipeline
@Beeak on GitHub · 2026-11-24 13:19 UTC · original
Leaving a ready PR branch here since PR creation is currently restricted:
Beeak/VIctory@tests/pe-implib-parse(commit97c98d2on top offfe310e)Loader tests: add unit tests for ImportLibrary::parseProblem
ImportLibrary::parseincrates/victory-pe/src/implib.rshad no unit test coverage for parsing COFF import libraries (.lib), covering short-format import headers (ImportHeader), import name/ordinal forms, import kinds (Code,Data,Const), non-import archive members, or malformed archive error handling.Change
Added a
#[cfg(test)] mod testsmodule incrates/victory-pe/src/implib.rs(+152 lines, no production code modified) with small in-memory helpers to construct synthetic COFF archives (!<arch>\n) and short-format import objects (sig1 = 0x0000,sig2 = 0xFFFF):parses_name_imports_all_kinds_sorted_and_deduped: verifiesImportSymbol::Name(hint: 0normalization), all threeLibImportKindvariants (Code,Data,Const), sorting, and deduplication.parses_ordinal_imports: verifiesImportSymbol::Ordinalparsing acrossCodeandDataimports.counts_non_import_members_as_other: verifies non-import archive members incrementother_membersand tests 2-byte archive member alignment padding.rejects_malformed_archives: verifiesErron empty input, invalid archive magic, truncated member headers, and member sizes exceeding available bytes.Verification
rustc 1.98.1 (48a229cea 2026-09-01)cargo test -p victory-pe: 11 passed, 0 failed, 0 ignored (unit tests); 0 doc-testscargo clippy -p victory-pe --all-targets --locked -- -D warnings: cleancargo clippy -p victory-pe --all-targets --all-features --locked -- -D warnings: cleanrustfmt --edition 2024 --check crates/victory-pe/src/implib.rs: cleanasset-policypre-commit hook:1 files okAll input data was synthetic. No game files were used.
AI-assisted with Cline.
@DaniiL35 on GitHub · 2026-11-24 13:46 UTC · original
Leaving a ready contribution and verification record for when PR access is reopened or reviewed:
• Ready PR Branch on Fork: DaniiL35/VIctory@fix/config-xdg-data-dir (commit
5fcfd91on top offfe310e)data_dirusingXDG_DATA_HOME/$HOME/.local/sharebefore cache locations on non-Windows hosts, enforcing the invariant that persistent saves/storage are never placed inside volatile cache directories (~/.cache).crates/victory-core/src/config.rs.cargo xtask policyclean, Rust 2024 formatted, zero game data.• Independent Verification & Review:
32e7e81): WindowsMoveFileExWsharing violation analysis on concurrent cache entry publication and staging cleanup.GitHub account: @DaniiL35
AI-assisted with Antigravity.
@DaniiL35 on GitHub · 2026-11-24 13:55 UTC · original
Adding our second and third ready PR branches to the contributor record:
• Branch: DaniiL35/VIctory@fix/sgd5-checked-record-bounds (commit
7a5db56on top offfe310e)crates/victory-game/src/sgd5.rs(recordandname_before) withchecked_add/checked_suband bounds-checked.get(). Prevents panic on malformed or truncated shader archives. Added synthetic testrejects_boundary_and_malformed_records.• Branch: DaniiL35/VIctory@fix/xma-bits-shift-overflow (commit
0c38285on top offfe310e)Bits::signed(n)andBits::read(n)incrates/victory-formats/src/xma.rsagainst shift overflow / underflow whenn == 0orn >= 32(<< 32overflow panic). Added synthetic testbitstream_handles_zero_and_boundary_bit_widths.All branches comply strictly with Rule #1 (Asset Policy: text-only, synthetic tests, no game data), formatted with Rust 2024 edition, and pass
cargo xtask policy.GitHub account: @DaniiL35
AI-assisted with Antigravity.
@P2xe1 on GitHub · 2026-11-24 14:11 UTC · original
The exact text is "An owner of this repository has limited the ability to open a pull request to users that are collaborators on this repository." — one repository setting, not a per-user block, and it looks like it was turned on today.
Evidence: merges kept landing until
09:55(#566 and #307, both merged at 09:55:10), and every outside contributor has been refused since — #820, #838, #846 and this issue. A branch that compares cleanly againstmaincannot be opened either:P2xe1:shader/v-cvt-f16-from-u16-i16-testreports "Able to merge",ahead_by = 1,behind_by = 0, one file, +139/-0, and the compare page shows the restriction instead of the form.For @Marvisak: the switch is Settings → General → Features → pull request access — "restrict pull requests to collaborators" is one of the two options GitHub added in February 2026:
Setting it back to "anyone" restores PR creation for everyone at once, with no change to the collaborator list. The alternative is adding people one by one under Settings → Collaborators, which is 400+ branches of backlog at the moment.
While it is on, patches keep arriving as fork branches linked from issue comments (for example #866), which works for cherry-picking but cannot be reviewed, commented on, or updated with the PR tooling.
@DaniiL35 on GitHub · 2026-11-24 14:43 UTC · original
Summary of Contributions from @DaniiL35
While collaborator PR access is in queue, here is the consolidated record of our 3 ready-to-merge PR branches on fork and 10 independent verification reviews on current
main(ffe310e):1. Ready-to-Merge PR Branches (Clean on Fork
DaniiL35/VIctory)fix/config-xdg-data-dir(Issue #899):DaniiL35/VIctory@fix/config-xdg-data-dir(commit5fcfd91)XDG_DATA_HOME/~/.local/share. Added 3 unit tests.fix/sgd5-checked-record-bounds(Issue #905):DaniiL35/VIctory@fix/sgd5-checked-record-bounds(commit7a5db56)crates/victory-game/src/sgd5.rspreventing panic on malformed or boundary shader archives.fix/xma-bits-shift-overflow(Issue #907):DaniiL35/VIctory@fix/xma-bits-shift-overflow(commit0c38285)Bits::signed(n)andBits::read(n)against shift overflow / underflow panics in audio decoding.2. Independent Technical Verification Audits
MoveFileExWERROR_SHARING_VIOLATIONconcurrency handling during cache publication and staging cleanup.0x128-GetDeviceRemovedReason).b05bc7c(unusedfn normalizetriggering-D dead-code).victory-gpu(resolving E0425host_resource) and synthetic PE DLL fixtures for non-Windows (Linux / macOS Darwin).exp pos1.z), clip distance shift, and DXIL feature flag emission.AddRefsaturation inobject.rsto preventu32::MAX -> 0wrapping.All contributions adhere strictly to Rule #1 (Asset Policy: 100% synthetic in-memory fixtures, zero game assets, <512 KiB diffs) and Rust 2024 edition.
GitHub account: @DaniiL35
AI-assisted with Antigravity.
@pes7 on GitHub · 2026-11-24 14:55 UTC · original
**@Marvisak** - the permission question turned out to be moot: #1002 went through.
perf/shader-fx-hash, one commit onmainffe310e,MERGEABLE.emit/lower.rskeeps thirty tables keyed byValue, a register or a block index, onHashMap's default SipHash.structure.rsalready had an Fx hasher for exactly that reason ("SipHash dominated run time"); it was never applied to the lowering stage, which is the larger half. Moved it tocrate::hashand used it there and inwave::sections.#[ignore]d bench on synthetic GFX10 compute programs (no game data), ten interleaved rounds per arm, ns per instruction - lowering 593 -> 514, 529 -> 428, 514 -> 430, 543 -> 463 at 256/1k/4k/16k instructions; whole translation -8%. DXIL byte-identical on all four sizes.cargo test --workspace --locked342 passed / 0 failed / 7 ignored, both clippy configurations with-D warnings,cargo xtask policy173 files ok.Still glad to take collaborator access for verification: I can run open branches on Blackwell, which none of the #400/#776/#783 reports covered.
@pes7 on GitHub · 2026-11-24 16:08 UTC · original
Two PRs are open from
pes7, bothMERGEABLEagainstmainffe310e, both one logical change and independent of each other:perf/shader-fx-hash-emit/lower.rskept its thirty tables on SipHash whilestructure.rsalready had an Fx hasher for exactly that reason ("SipHash dominated run time"); it was never applied to the lowering stage, the larger half. Lowering -16%, whole translation -8%, DXIL byte-identical. The PR also adds the synthetic bench (#[ignore]d test, no game data) that produced the numbers.perf/ir-pairs-ir::buildbuilt every instruction's register lists twice:Vec<Reg>, then a secondVec<(Reg, Value)>with the first thrown away. Four allocations per instruction, two of them wasted. ir::build -13%, whole translation -4.7%, output unchanged. One file, +25/-25.Together about -12% per translation on synthetic programs, at 256 to 16 384 instructions.
Reproduce either one with:
Both:
cargo test --workspace --locked342 passed / 0 failed / 7 ignored, both clippy configurations with-D warnings,cargo xtask policyok.CI has not run on either - as a non-collaborator the workflows wait for "Approve and run". @Marvisak if you approve the runs, I will fix anything they flag the same day. Happy to keep verifying on RTX 5070 Ti (Blackwell) meanwhile, which none of the #400/#776/#783 reports covered.
@Marvisak on GitHub · 2026-11-25 01:47 UTC · original
Automated triage for the maintainers.
This is resolved: pull requests are open to everyone again. The collaborators-only restriction described in the comments was lifted on 2026-11-24. Pull requests from outside contributors have been opened since then (#1002 and #1024, for example), and many have been merged into
main(#1696, #1733 and #1322, among others).So the way to contribute is a normal pull request from your fork. If you posted a fork branch in an issue while PRs were closed, please open it as a pull request now and link the issue it fixes. Check the open pull requests first so you don't duplicate one that already carries the change.
Generated by Claude Code