Revert #477: the first cutscene loses the device with it #480

Merged
TaynanGT merged 1 commit from upstream-pr/480 into main 2026-11-30 23:03:48 +00:00
TaynanGT commented 2026-11-30 20:56:13 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:56:13Z.


Reverts #477. With it in, the game loses the device about 20 s into the prison cutscene; with it out, the same run gets through.

A/B on this PC (4K, Series X, DLSS Quality, FG 2x, warm cache, same scripted route: Enter at the account picker, then 90 s of the cutscene):

exe runs result
main without #477 (d55a47dd8, and c2dd67283 earlier) 5 5 got through
main with #477 (6e7e78732) 4 4 lost the device (0x887A0005), one of them with 5.7 GB of RAM free

The only parts of #477 a normal build runs are the software BVH walk in intersect.rs (shared coordinate loads, no page faults for unread nodes) and the translator's cache key; everything else is behind experimental-native-dxr. So the cause is most likely in intersect.rs, but I haven't pinned it to one commit yet. The rest of #477 can come back once that's sorted.

Not fixed by this: the ~30 GB jump in private memory at that cutscene (host copies of title memory plus unnamed allocations). It happens with or without #477; on this 48 GB PC the runs that survive bottom out at 350-1,100 MB free. That's the mechanism behind the "RAM runs out at the world load" reports, so they should stay open.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5573600379 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/480). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:56:13Z. --- Reverts #477. With it in, the game loses the device about 20 s into the prison cutscene; with it out, the same run gets through. **A/B on this PC** (4K, Series X, DLSS Quality, FG 2x, warm cache, same scripted route: Enter at the account picker, then 90 s of the cutscene): | exe | runs | result | |---|---|---| | main without #477 (d55a47dd8, and c2dd67283 earlier) | 5 | 5 got through | | main with #477 (6e7e78732) | 4 | 4 lost the device (0x887A0005), one of them with 5.7 GB of RAM free | The only parts of #477 a normal build runs are the software BVH walk in `intersect.rs` (shared coordinate loads, no page faults for unread nodes) and the translator's cache key; everything else is behind `experimental-native-dxr`. So the cause is most likely in `intersect.rs`, but I haven't pinned it to one commit yet. The rest of #477 can come back once that's sorted. Not fixed by this: the ~30 GB jump in private memory at that cutscene (host copies of title memory plus unnamed allocations). It happens with or without #477; on this 48 GB PC the runs that survive bottom out at 350-1,100 MB free. That's the mechanism behind the "RAM runs out at the world load" reports, so they should stay open.
chatgpt-codex-connector[bot] commented 2026-11-30 20:56:20 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:56:20Z.


Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T20:56:18.003613Z
We couldn’t complete this review. Comment @codex review to try again.
6855370 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7291681258 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/480#issuecomment-7291681258). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:56:20Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"6855370ca6171fd932c593f7f882ad3b417cfa22","has_any_findings":true,"has_unresolved_findings":true,"status":"failed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ❌ Failed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ❌ **Failed** <relative-time datetime="2026-11-30T20:56:18.003613Z">2026-11-30T20:56:18.003613Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `6855370` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-11-30 20:56:21 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:56:21Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7291681728 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/480#issuecomment-7291681728). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:56:21Z. --- You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage).
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
TaynanGT/Vice-Tay!480
No description provided.