docs: debugging notes from a GTA V port #323

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

@⁠JeuelSosaLarocca on GitHub · 2026-11-24 02:17 UTC · original
JeuelSosaLarocca:docs/gta-v-port-debugging-notes → main · +159 −0 · 2 files · 2 commits · closed without merging

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

**@⁠JeuelSosaLarocca** on GitHub · 2026-11-24 02:17 UTC · [original](https://github.com/Marvisak/VIctory/pull/323) `JeuelSosaLarocca:docs/gta-v-port-debugging-notes` → `main` · +159 −0 · 2 files · 2 commits · closed without merging 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)
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]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:59:18 +00:00
github-bot closed this pull request 2026-11-26 03:59:18 +00:00
Author
Owner

@⁠JeuelSosaLarocca on GitHub · 2026-11-24 02:31 UTC · original

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

**@⁠JeuelSosaLarocca** on GitHub · 2026-11-24 02:31 UTC · [original](https://github.com/Marvisak/VIctory/pull/323#issuecomment-7120229946) @⁠Marvisak this is ready for review when you have time.
Author
Owner

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

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.

**@⁠Marvisak** on GitHub · 2026-11-25 00:02 UTC · [original](https://github.com/Marvisak/VIctory/pull/323#issuecomment-7148065048) 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

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!323
No description provided.