[pr-docs][MULDER][NVIDIA][audio][startup] S2: larp's crash offsets and fixes that apply to Darner #707

Open
tupacfan04 wants to merge 1 commit from tupacfan04/Darner:task-s2-larp-crash-notes into Main
First-time contributor

Task: S2

Research

  • What larp does: reference/larp/docs/troubleshooting-and-crashes.md (155 lines) has an exit-code table (section 1), fixes by error (section 2), a table of 0x80000003 crash offsets with their causes (section 3) and quirks (section 4).
  • What Darner has: docs/crash-addresses.md lists 7 offsets (+0x2219650, +0x2237178/+0x2237320, +0x1ce6e13, +0x29defb1, +0x2215c35/+0x23cf683, +0x3e42541, +0x1dac734); docs/troubleshooting.md has no entry for 0x887A0005 or for choosing the card.
  • The difference, checked against the code, not copied:
    • +0x3e42541: Darner's entry said "cause not known". larp names the missing data\ttdb\graphics\ttdb_graphics.ttpf (34,411,776 bytes). Darner already knows this: crates/darner-game/src/lib.rs:233-243 (required_files) and the start's check with DARNER_SKIP_FILE_CHECK (apps/darner/src/run.rs, test at line 1721). The entry now says so, and keeps #345's "a damaged copy may do it too" as not shown.
    • +0x4dcbc9d (no audio output, spatial audio): not in Darner's file. Darner's start checks for a playback device and for the spatial stream (crates/darner-hle/src/modules/audio/output.rs, NO_OUTPUT_NOTICE, #305, #256). Added as an entry from larp's guide; Darner's own address for it has not been looked up, and the entry says that.
    • +0x247af2d (changed picture size): not in Darner's file, no Darner report has it, and Darner patches the game for its own 1440p picture, so it is added as "from larp, not seen in Darner".
    • 0x887A0005 on NVIDIA: apps/darner/src/main.rs:464-479 and apps/darner/src/nvprofile.rs (darner.exe nv-profile --mb 1024|2048, --status, --remove, --exe) exist, but nothing in docs/ told players. Added to docs/troubleshooting.md. The Resizable BAR and HAGS advice from larp is given as larp's, not as something Darner measured.
    • Wrong card on laptops: larp's WaterTarget message does not exist in Darner (grep finds none); Darner has DARNER_ADAPTER (README) instead. Added as a short entry pointing to it.
    • Left out because Darner already covers them or they don't apply: +0x2219650, +0x2237178, +0x29defb1, +0x2215c35 (all already listed, with more), the AMD amdxc64 crash (Darner leaves out cad3ecfdcdcf2a7d by default, apps/darner/src/play.rs:1953), larp's launcher errors (configure.cmd, options.ini, series-x.cmd), and LARP_* switches.
  • Plan: edit only docs/crash-addresses.md and docs/troubleshooting.md; every claim from larp is marked as larp's, and nothing is stated as measured.

What it changes

  • The problem on main: read from the code only. docs/crash-addresses.md says the cause of +0x3e42541 is not known although the start checks for it; two offsets and the NVIDIA nv-profile fix of larp's guide are missing from the docs.
  • docs/crash-addresses.md: +0x3e42541 updated; new +0x4dcbc9d and +0x247af2d.
  • docs/troubleshooting.md: new sections for 0x887A0005 on NVIDIA and the wrong card on laptops.

How it was tested

  • Tested revision: ed3499db (branch task-s2-larp-crash-notes, from Main 33ff92cc).
  • Commands and results: documentation only. Read the two docs' text against the code paths named above; no build, no cargo test, nothing run in the game.
  • Changes a default: no.
  • A/B result: not applicable (docs).
  • Gates run on that revision: none (docs only).
  • Gameplay, when relevant: not run.
  • Hardware dependence: none; the entries say which come from larp's guide and were not seen in Darner.
  • Coverage gaps: the +0x4dcbc9d and +0x247af2d addresses are from larp's build of the game; nobody has checked that they are the same addresses in Darner's. The Resizable BAR / HAGS advice is not measured.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only): docs only.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md: no game data, no links to or sources for the game.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches (all 283 open pull requests' file lists, for docs/crash-addresses.md and docs/troubleshooting.md).
  • Related PRs: #419 (edits other sections of docs/troubleshooting.md; may need a small merge), #164 (an older, opt-in NVIDIA shader heap profile with its own docs/troubleshooting.md section "NVIDIA device removal during play"; Main already has darner.exe nv-profile, which this PR documents).
  • Replaces or overlaps: none found.

🤖 Generated with Claude Code

Task: S2 ## Research - **What larp does:** `reference/larp/docs/troubleshooting-and-crashes.md` (155 lines) has an exit-code table (section 1), fixes by error (section 2), a table of `0x80000003` crash offsets with their causes (section 3) and quirks (section 4). - **What Darner has:** `docs/crash-addresses.md` lists 7 offsets (`+0x2219650`, `+0x2237178`/`+0x2237320`, `+0x1ce6e13`, `+0x29defb1`, `+0x2215c35`/`+0x23cf683`, `+0x3e42541`, `+0x1dac734`); `docs/troubleshooting.md` has no entry for `0x887A0005` or for choosing the card. - **The difference, checked against the code, not copied:** - `+0x3e42541`: Darner's entry said "cause not known". larp names the missing `data\ttdb\graphics\ttdb_graphics.ttpf` (34,411,776 bytes). Darner already knows this: `crates/darner-game/src/lib.rs:233-243` (`required_files`) and the start's check with `DARNER_SKIP_FILE_CHECK` (`apps/darner/src/run.rs`, test at line 1721). The entry now says so, and keeps #345's "a damaged copy may do it too" as not shown. - `+0x4dcbc9d` (no audio output, spatial audio): not in Darner's file. Darner's start checks for a playback device and for the spatial stream (`crates/darner-hle/src/modules/audio/output.rs`, `NO_OUTPUT_NOTICE`, #305, #256). Added as an entry from larp's guide; Darner's own address for it has not been looked up, and the entry says that. - `+0x247af2d` (changed picture size): not in Darner's file, no Darner report has it, and Darner patches the game for its own 1440p picture, so it is added as "from larp, not seen in Darner". - `0x887A0005` on NVIDIA: `apps/darner/src/main.rs:464-479` and `apps/darner/src/nvprofile.rs` (`darner.exe nv-profile --mb 1024|2048`, `--status`, `--remove`, `--exe`) exist, but nothing in `docs/` told players. Added to `docs/troubleshooting.md`. The Resizable BAR and HAGS advice from larp is given as larp's, not as something Darner measured. - Wrong card on laptops: larp's `WaterTarget` message does not exist in Darner (`grep` finds none); Darner has `DARNER_ADAPTER` (README) instead. Added as a short entry pointing to it. - Left out because Darner already covers them or they don't apply: `+0x2219650`, `+0x2237178`, `+0x29defb1`, `+0x2215c35` (all already listed, with more), the AMD `amdxc64` crash (Darner leaves out `cad3ecfdcdcf2a7d` by default, `apps/darner/src/play.rs:1953`), larp's launcher errors (`configure.cmd`, `options.ini`, `series-x.cmd`), and `LARP_*` switches. - **Plan:** edit only `docs/crash-addresses.md` and `docs/troubleshooting.md`; every claim from larp is marked as larp's, and nothing is stated as measured. ## What it changes - The problem on main: read from the code only. `docs/crash-addresses.md` says the cause of `+0x3e42541` is not known although the start checks for it; two offsets and the NVIDIA `nv-profile` fix of larp's guide are missing from the docs. - `docs/crash-addresses.md`: `+0x3e42541` updated; new `+0x4dcbc9d` and `+0x247af2d`. - `docs/troubleshooting.md`: new sections for `0x887A0005` on NVIDIA and the wrong card on laptops. ## How it was tested - Tested revision: ed3499db (branch `task-s2-larp-crash-notes`, from `Main` 33ff92cc). - Commands and results: documentation only. Read the two docs' text against the code paths named above; no build, no `cargo test`, nothing run in the game. - Changes a default: no. - A/B result: not applicable (docs). - Gates run on that revision: none (docs only). - Gameplay, when relevant: not run. - Hardware dependence: none; the entries say which come from larp's guide and were not seen in Darner. - Coverage gaps: the `+0x4dcbc9d` and `+0x247af2d` addresses are from larp's build of the game; nobody has checked that they are the same addresses in Darner's. The Resizable BAR / HAGS advice is not measured. ## Checklist - [x] I ran this change in the game, or say below why it can't be (docs, tests only): docs only. - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`: no game data, no links to or sources for the game. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches (all 283 open pull requests' file lists, for `docs/crash-addresses.md` and `docs/troubleshooting.md`). - Related PRs: #419 (edits other sections of `docs/troubleshooting.md`; may need a small merge), #164 (an older, opt-in NVIDIA shader heap profile with its own `docs/troubleshooting.md` section "NVIDIA device removal during play"; Main already has `darner.exe nv-profile`, which this PR documents). - Replaces or overlaps: none found. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
crash-addresses.md: +0x3e42541 now names its cause (missing ttdb_graphics.ttpf, which the start already
checks); new entries +0x4dcbc9d (no audio output) and +0x247af2d (changed picture size), both marked as
from larp's guide and not yet seen in a Darner report.
troubleshooting.md: 0x887A0005 on NVIDIA with `darner.exe nv-profile`, and the wrong card on laptops.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner

Next task for @tupacfan04: T1d — Small card: today's Darner Main on an 8 GB card (Series X profile, then Series S) and on a PC without Resizable BAR: private bytes, commit, card memory, fps and crash records over 30+ minutes (needs: 8 GB card or no-ReBAR PC, game)

Next task for @tupacfan04: T1d — Small card: today's Darner `Main` on an 8 GB card (Series X profile, then Series S) and on a PC without Resizable BAR: private bytes, commit, card memory, fps and crash records over 30+ minutes (needs: 8 GB card or no-ReBAR PC, game)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'task-s2-larp-crash-notes:tupacfan04-task-s2-larp-crash-notes'
git switch 'tupacfan04-task-s2-larp-crash-notes'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'Main'
git merge --no-ff 'tupacfan04-task-s2-larp-crash-notes'
git switch 'tupacfan04-task-s2-larp-crash-notes'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'tupacfan04-task-s2-larp-crash-notes'
git switch 'tupacfan04-task-s2-larp-crash-notes'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'tupacfan04-task-s2-larp-crash-notes'
git switch 'Main'
git merge --squash 'tupacfan04-task-s2-larp-crash-notes'
git switch 'Main'
git merge --ff-only 'tupacfan04-task-s2-larp-crash-notes'
git switch 'Main'
git merge 'tupacfan04-task-s2-larp-crash-notes'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner!707
No description provided.