[BUNDLE] Docs: README and docs additions, 10 PRs, #280 #323 #354 #424 #532 #686 #1091 #1161 #1278 #1299 #1454

Closed
github-bot wants to merge 24 commits from gh-pr/1454/head into gh-pr/1454/base
Owner

@⁠MamaLeVrai on GitHub · 2026-11-24 18:07 UTC · original
MamaLeVrai:bundle/docs → main · +469 −2 · 5 files · 24 commits · closed without merging

One PR in place of 10. Ten documentation PRs: README fixes (hard-drive first screen, quoted launch path, installing Rust, the shader-test validator prerequisite, archive integrity), Series S render profile notes, and new pages for testing, Arch/Proton rendering and debugging notes from another port. Every head is merged unchanged onto main (70564ae, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#280 curnpoo 7ecc6209b README: a hard drive keeps the first screen black for ~90 s
#323 JeuelSosaLarocca e08ac6a9d docs: debugging notes from a GTA V port
#354 ToxicmaggotRP 9f28f6b98 docs: explain Series S render profile and memory limits
#424 TurGangS 5b9a9b37e README: quote the executable path in the PowerShell launch example
#532 NiHuShu aa50c7d64 Document the Arch MSVC build and Proton rendering on an RTX 4080
#686 TomEageer 741d675c9 docs: check archive integrity after an early boot breakpoint
#1091 EduBertozzi 098a26aad README: how to install Rust on Windows (#1087)
#1161 geiyiliyabumo aaacc2dcf docs(architecture): list BCPack as implemented in victory-formats
#1278 DrummingBird1 d464b0468 Docs: add testing.md
#1299 omeyasawant 32eb93495 docs: explain Windows shader-test validator prerequisite

Changes made while bundling

No PR was edited.

Rebuilt on the new main. main moved (28 commits by the maintainer); the branch is the previous one with main merged in. One conflict, in README.md: main's new run commands (translate --cache --pipelines, the FidelityFX paragraph) stay, and the bundle's "Selecting the Series S profile" section follows them.

Left out, and why

  • #572, #1064 (README) and #1252 (docs/architecture.md): conflict with the PRs above in the same files.
  • The GitHub issue and PR templates (#9, #113, #380, #543), the extra CI workflows (#17, #481, #540, #549) and the xtask changes (#377, #545, #665) are not in this bundle: they change how the project runs, which is the maintainer's call, not a verification question.

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 476 passed, 0 failed, 7 ignored (two runs; the same as main: docs only)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/docs
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

**@⁠MamaLeVrai** on GitHub · 2026-11-24 18:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/1454) `MamaLeVrai:bundle/docs` → `main` · +469 −2 · 5 files · 24 commits · closed without merging **One PR in place of 10.** Ten documentation PRs: README fixes (hard-drive first screen, quoted launch path, installing Rust, the shader-test validator prerequisite, archive integrity), Series S render profile notes, and new pages for testing, Arch/Proton rendering and debugging notes from another port. Every head is merged unchanged onto `main` (`70564ae`, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #280 | curnpoo | `7ecc6209b` | README: a hard drive keeps the first screen black for ~90 s | | #323 | JeuelSosaLarocca | `e08ac6a9d` | docs: debugging notes from a GTA V port | | #354 | ToxicmaggotRP | `9f28f6b98` | docs: explain Series S render profile and memory limits | | #424 | TurGangS | `5b9a9b37e` | README: quote the executable path in the PowerShell launch example | | #532 | NiHuShu | `aa50c7d64` | Document the Arch MSVC build and Proton rendering on an RTX 4080 | | #686 | TomEageer | `741d675c9` | docs: check archive integrity after an early boot breakpoint | | #1091 | EduBertozzi | `098a26aad` | README: how to install Rust on Windows (#1087) | | #1161 | geiyiliyabumo | `aaacc2dcf` | docs(architecture): list BCPack as implemented in victory-formats | | #1278 | DrummingBird1 | `d464b0468` | Docs: add testing.md | | #1299 | omeyasawant | `32eb93495` | docs: explain Windows shader-test validator prerequisite | ## Changes made while bundling No PR was edited. **Rebuilt on the new `main`.** `main` moved (28 commits by the maintainer); the branch is the previous one with `main` merged in. One conflict, in `README.md`: main's new run commands (`translate --cache --pipelines`, the FidelityFX paragraph) stay, and the bundle's "Selecting the Series S profile" section follows them. ## Left out, and why - **#572**, **#1064** (README) and **#1252** (`docs/architecture.md`): conflict with the PRs above in the same files. - The GitHub issue and PR templates (#9, #113, #380, #543), the extra CI workflows (#17, #481, #540, #549) and the xtask changes (#377, #545, #665) are not in this bundle: they change how the project runs, which is the maintainer's call, not a verification question. ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 476 passed, 0 failed, 7 ignored (two runs; the same as `main`: docs only) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/docs git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Measured on Windows 11, RTX 2070 Super, Ryzen 5 3600, game folder on a
7200 rpm SATA hard drive: about 90 s at 30 fps and 3 draws/frame with the
drive 100% busy (100-350 reads/s, often under 1 MB/s) before the menus
appear. Runs closed earlier than that look like a hang.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A note on what found the causes of a dark scene after loading, GPU hangs
and load stalls in a native ARM64 port of GTA V (RAGE over DXVK), written
as things to try at the stage VIctory is at: the world loads, the scene
stays dark and the GPU can hang. It refers to the existing VICTORY_*
switches where they already cover a step, and says which lessons do not
carry over because VIctory runs the title's x86-64 code unchanged.

No game code, names or data; cargo xtask policy passes. The README's
Debugging section links to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
That is the stage VIctory is at, so the note now leads with how the port got
past it: the state dumps that named each wait (script threads, streaming
queue, stacks, prompts) and the causes they found (an unseen prompt waiting
for input, the signed-in user, services that never answer, missing or
unconverted data, a faulting startup script, config budgets, out-of-range
platform answers, a render/main thread deadlock, reads that never complete),
plus how to tell slow frames from a stall. Dark scene and GPU hang points
stay, shortened.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Getting started names Rust (pinned in rust-toolchain.toml) without saying
how to get it. Add rustup through winget or rustup.rs, that the pinned
toolchain then comes on the first cargo command, and the MSVC C++ build
tools the Windows target needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Merges #280 #323 #354 #424 #532 #686 #1091 #1161 #1278 #1299 onto main
(ffe310e), each head unchanged, no conflicts, no changes of mine. Docs only:
cargo clippy --workspace --all-targets --locked -- -D warnings, with and
without --all-features, is clean and cargo test --workspace --locked passes
(342 passed, 6 ignored, the same as main).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
README: main's new run commands (translate --cache, FidelityFX) stay; the Series S section of the
bundle's PRs follows them.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:32:30 +00:00
github-bot closed this pull request 2026-11-26 04:32:30 +00:00
Author
Owner

@⁠pfhandler on GitHub · 2026-11-24 20:51 UTC · original

Local patches for two issues hit while running GTA VI 1.0.2.1 through VIctory on Linux (GE-Proton 11-14, vkd3d-proton 3.2.0, RTX 4060 Ti 8 GB):

  • VICTORY_NO_HOST_PAD=1 — a connected host pad (e.g. DualShock appearing as XInput pad 0) keeps the keyboard stand-in pad from being enumerated. Hiding the host pad lets VICTORY_KEYS drive the title again.
  • VICTORY_MODE=1920x1080 — the DXGI output mode list is fixed at the console's 3840x2160. Reporting 1920x1080 instead keeps the title's render targets and VRAM use down on smaller hosts (Series S profile + 1080p settled around 3.5 GB VRAM here).

Both are local uncommitted diffs, posted here for reuse. Tested only on the configuration above.

diff --git a/crates/victory-gpu/src/dxgi.rs b/crates/victory-gpu/src/dxgi.rs
index c7f7c45..2535b68 100644
--- a/crates/victory-gpu/src/dxgi.rs
+++ b/crates/victory-gpu/src/dxgi.rs
@@ -219,6 +219,19 @@ struct Mode {
 }
 const _: () = assert!(size_of::<Mode>() == 32);
 
+/// The console's fixed output mode, overridable for hosts smaller than the
+/// console's 4K target: `VICTORY_MODE=1920x1080` reports that instead.
+fn mode_size() -> (u32, u32) {
+    const DEFAULT: (u32, u32) = (3840, 2160);
+    let Some(text) = std::env::var_os("VICTORY_MODE") else {
+        return DEFAULT;
+    };
+    let text = text.to_string_lossy();
+    text.split_once('x')
+        .and_then(|(w, h)| Some((w.trim().parse().ok()?, h.trim().parse().ok()?)))
+        .unwrap_or(DEFAULT)
+}
+
 /// The console's mode list: one 4K mode at 60 Hz (Grand Theft Auto VI looks
 /// for a 120 Hz one to allow 120 Hz frame intervals).
 /// shortcut: fixed mode, not the host display's; report the host's rates if
@@ -242,9 +255,10 @@ extern "system" fn modes(
         return MORE_DATA;
     }
     *count = 1;
+    let (width, height) = mode_size();
     let mode = Mode {
-        width: 3840,
-        height: 2160,
+        width,
+        height,
         refresh: [60, 1],
         format: 0,
         scanlines: 1, // progressive
diff --git a/crates/victory-hle/src/modules/gameinput.rs b/crates/victory-hle/src/modules/gameinput.rs
index a411bd0..da8d66c 100644
--- a/crates/victory-hle/src/modules/gameinput.rs
+++ b/crates/victory-hle/src/modules/gameinput.rs
@@ -1134,6 +1134,11 @@ mod host {
 
     impl Source for Host {
         fn pad(&mut self, slot: usize) -> Option<PadState> {
+            // The keyboard stand-in pad only exists while no host pad is
+            // connected; this hides a host pad the title mis-handles.
+            if std::env::var_os("VICTORY_NO_HOST_PAD").is_some() {
+                return None;
+            }
             if self.empty_until[slot].is_some_and(|until| Instant::now() < until) {
                 return None;
             }
**@⁠pfhandler** on GitHub · 2026-11-24 20:51 UTC · [original](https://github.com/Marvisak/VIctory/pull/1454#issuecomment-7144147449) Local patches for two issues hit while running GTA VI 1.0.2.1 through VIctory on Linux (GE-Proton 11-14, vkd3d-proton 3.2.0, RTX 4060 Ti 8 GB): - `VICTORY_NO_HOST_PAD=1` — a connected host pad (e.g. DualShock appearing as XInput pad 0) keeps the keyboard stand-in pad from being enumerated. Hiding the host pad lets `VICTORY_KEYS` drive the title again. - `VICTORY_MODE=1920x1080` — the DXGI output mode list is fixed at the console's 3840x2160. Reporting 1920x1080 instead keeps the title's render targets and VRAM use down on smaller hosts (Series S profile + 1080p settled around 3.5 GB VRAM here). Both are local uncommitted diffs, posted here for reuse. Tested only on the configuration above. ```diff diff --git a/crates/victory-gpu/src/dxgi.rs b/crates/victory-gpu/src/dxgi.rs index c7f7c45..2535b68 100644 --- a/crates/victory-gpu/src/dxgi.rs +++ b/crates/victory-gpu/src/dxgi.rs @@ -219,6 +219,19 @@ struct Mode { } const _: () = assert!(size_of::<Mode>() == 32); +/// The console's fixed output mode, overridable for hosts smaller than the +/// console's 4K target: `VICTORY_MODE=1920x1080` reports that instead. +fn mode_size() -> (u32, u32) { + const DEFAULT: (u32, u32) = (3840, 2160); + let Some(text) = std::env::var_os("VICTORY_MODE") else { + return DEFAULT; + }; + let text = text.to_string_lossy(); + text.split_once('x') + .and_then(|(w, h)| Some((w.trim().parse().ok()?, h.trim().parse().ok()?))) + .unwrap_or(DEFAULT) +} + /// The console's mode list: one 4K mode at 60 Hz (Grand Theft Auto VI looks /// for a 120 Hz one to allow 120 Hz frame intervals). /// shortcut: fixed mode, not the host display's; report the host's rates if @@ -242,9 +255,10 @@ extern "system" fn modes( return MORE_DATA; } *count = 1; + let (width, height) = mode_size(); let mode = Mode { - width: 3840, - height: 2160, + width, + height, refresh: [60, 1], format: 0, scanlines: 1, // progressive diff --git a/crates/victory-hle/src/modules/gameinput.rs b/crates/victory-hle/src/modules/gameinput.rs index a411bd0..da8d66c 100644 --- a/crates/victory-hle/src/modules/gameinput.rs +++ b/crates/victory-hle/src/modules/gameinput.rs @@ -1134,6 +1134,11 @@ mod host { impl Source for Host { fn pad(&mut self, slot: usize) -> Option<PadState> { + // The keyboard stand-in pad only exists while no host pad is + // connected; this hides a host pad the title mis-handles. + if std::env::var_os("VICTORY_NO_HOST_PAD").is_some() { + return None; + } if self.empty_until[slot].is_some_and(|until| Instant::now() < until) { return None; } ```
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:40 UTC · original

Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/1454#issuecomment-7148761605) Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1454
No description provided.