docs: debugging notes from a GTA V port #323

Closed
JeuelSosaLarocca wants to merge 2 commits from upstream-pr/323 into main
JeuelSosaLarocca commented 2026-11-24 02:17:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by JeuelSosaLarocca on 2026-11-24T02:17:12Z.


Adds docs/debugging-notes-from-a-gta-v-port.md and a link to it from the README's Debugging section.

The note collects what got a native ARM64 port of GTA V (RAGE, D3D11 over DXVK and Vulkan on an Adreno 740) past the stage VIctory is at now: the world loads, but the game does not start. It is written as things to try, not as a diagnosis of GTA VI. It covers:

  • Finding what the title waits for. The dumps that named each cause: script threads with their state and program counter, the streaming queue's head request, all threads' stacks, and any prompt the title opens.

  • The causes that turned up, in the order they turned up:

    • a prompt that could not be seen or answered;
    • the signed-in user query;
    • a service callback that never answered;
    • missing data, and data in a form the title did not expect;
    • the startup script faulting;
    • budgets and pools from the platform config;
    • a platform query returning garbage;
    • a render/main thread deadlock;
    • streaming reads that never complete.

    Each one maps to the VIctory layer where the equivalent would live.

  • Slow frames vs. a stall. At 0.5–1.8 s per frame, scripted transitions take minutes.

  • Shorter sections on a dark scene after loading and on GPU hangs.

  • What does not carry over, since VIctory runs the title's x86-64 code unchanged.

Documentation only: no code changes, and nothing from either game (no code, names or data). cargo xtask policy --staged passes.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6573102799 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/323). Originally posted by [JeuelSosaLarocca](https://github.com/JeuelSosaLarocca) on 2026-11-24T02:17:12Z. --- Adds `docs/debugging-notes-from-a-gta-v-port.md` and a link to it from the README's Debugging section. The note collects what got a native ARM64 port of GTA V (RAGE, D3D11 over DXVK and Vulkan on an Adreno 740) past the stage VIctory is at now: **the world loads, but the game does not start**. It is written as things to try, not as a diagnosis of GTA VI. It covers: - **Finding what the title waits for.** The dumps that named each cause: script threads with their state and program counter, the streaming queue's head request, all threads' stacks, and any prompt the title opens. - **The causes that turned up, in the order they turned up:** - a prompt that could not be seen or answered; - the signed-in user query; - a service callback that never answered; - missing data, and data in a form the title did not expect; - the startup script faulting; - budgets and pools from the platform config; - a platform query returning garbage; - a render/main thread deadlock; - streaming reads that never complete. Each one maps to the VIctory layer where the equivalent would live. - **Slow frames vs. a stall.** At 0.5–1.8 s per frame, scripted transitions take minutes. - **Shorter sections** on a dark scene after loading and on GPU hangs. - **What does not carry over,** since VIctory runs the title's x86-64 code unchanged. Documentation only: no code changes, and nothing from either game (no code, names or data). `cargo xtask policy --staged` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
JeuelSosaLarocca commented 2026-11-24 06:55:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by JeuelSosaLarocca on 2026-11-24T02:31:36Z.


@Marvisak this is ready for review when you have time.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7120229946 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/323#issuecomment-7120229946). Originally posted by [JeuelSosaLarocca](https://github.com/JeuelSosaLarocca) on 2026-11-24T02:31:36Z. --- @Marvisak this is ready for review when you have time.
mercuryVM commented 2026-11-24 13:03:22 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T13:03:22Z.

Review: COMMENTED


Read only, not built: docs only, a new docs/debugging-notes-from-a-gta-v-port.md plus a README link.

  • Content check: the note carries no addresses, hashes, code or game strings. It describes techniques (dumping script thread states and the streaming queue, all-thread stacks, telling slow frames from stalls, dark-scene and GPU-hang triage) and says plainly that none of it was checked against GTA VI.
  • The one switch it names, VICTORY_STACKS, exists on main.
  • Placement is a maintainer call. Because it's another title's port on a different API (D3D11 over DXVK), it might sit better as a short "general triage" section, with the GTA V specifics as background, so readers don't take its numbers (for example the loader's 30-request limit) as facts about this title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:review:6039668062 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/323#pullrequestreview-6039668062). Originally posted by [mercuryVM](https://github.com/mercuryVM) on 2026-11-24T13:03:22Z. **Review:** COMMENTED --- Read only, not built: docs only, a new `docs/debugging-notes-from-a-gta-v-port.md` plus a README link. - Content check: the note carries no addresses, hashes, code or game strings. It describes techniques (dumping script thread states and the streaming queue, all-thread stacks, telling slow frames from stalls, dark-scene and GPU-hang triage) and says plainly that none of it was checked against GTA VI. - The one switch it names, `VICTORY_STACKS`, exists on main. - Placement is a maintainer call. Because it's another title's port on a different API (D3D11 over DXVK), it might sit better as a short "general triage" section, with the GTA V specifics as background, so readers don't take its numbers (for example the loader's 30-request limit) as facts about this title. AI-assisted (Claude Code).
upstream-sync closed this pull request 2026-11-25 00:05:23 +00:00
Marvisak commented 2026-11-25 00:06:56 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:02:09Z.


Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).

A 155-line document of debugging notes from an unrelated GTA V port to Android, linked from the README; by its own words none of it was checked against this title. Long notes do not go into the repo (rule 3).

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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7148065048 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/323#issuecomment-7148065048). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T00:02:09Z. --- Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current). A 155-line document of debugging notes from an unrelated GTA V port to Android, linked from the README; by its own words none of it was checked against this title. Long notes do not go into the repo (rule 3). 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

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!323
No description provided.