dstorage: "physical pages could not be written" at load; the opening cutscene then renders black or stale #268

Open
opened 2026-11-26 03:39:33 +00:00 by github-bot · 1 comment
Owner

@⁠Asenje on GitHub · 2026-11-24 23:05 UTC · original

RTX 3060 12 GB, i7-7700K, 32 GB, Windows 11; fork 4e17478 + #159-equivalent, RELAY off, LATE_WAIT=3 set.

In 3 of 4 runs the log has bursts of

WARN dstorage: a destination's physical pages could not be written (unknown page or a host failure); its request fails offset=0 len=65536 pages=1

(4, 9 and 6 times, all 64 KiB single-page requests, within one second while loading; 0 in the fourth run).

Two of those runs lost the opening car cutscene: once a black screen with subtitles only for ~70 s, once the loading artwork with a pulsing veil for 2+ minutes; the run without the warning and one run with it played normally. Reproduced right after a reboot (7-22 GB commit left), so not memory pressure. Possibly related: #231 (persistent section view in write_physical), #115.

As the comment in into_destination says, the title never sees the failure, so the destination keeps whatever its pages held. Could the single-page case fall back to the windowed path, or could the "unknown page" be logged with its page number so it can be traced?

**@⁠Asenje** on GitHub · 2026-11-24 23:05 UTC · [original](https://github.com/fxceless/victory-fork/issues/268) RTX 3060 12 GB, i7-7700K, 32 GB, Windows 11; fork 4e17478 + #159-equivalent, RELAY off, LATE_WAIT=3 set. In 3 of 4 runs the log has bursts of ``` WARN dstorage: a destination's physical pages could not be written (unknown page or a host failure); its request fails offset=0 len=65536 pages=1 ``` (4, 9 and 6 times, all 64 KiB single-page requests, within one second while loading; 0 in the fourth run). Two of those runs lost the opening car cutscene: once a black screen with subtitles only for ~70 s, once the loading artwork with a pulsing veil for 2+ minutes; the run without the warning and one run with it played normally. Reproduced right after a reboot (7-22 GB commit left), so not memory pressure. Possibly related: #231 (persistent section view in write_physical), #115. As the comment in into_destination says, the title never sees the failure, so the destination keeps whatever its pages held. Could the single-page case fall back to the windowed path, or could the "unknown page" be logged with its page number so it can be traced?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:39:33 +00:00
Author
Owner

@⁠Yorivel on GitHub · 2026-11-25 00:28 UTC · original

Possibly related, from #62: physical-page destinations (page_window / write_physical) are written around the title's mapping, so the GPU side's guards and write watch never see them, and host copies of that memory keep their old bytes. Raw destinations already call kernel_will_write; page destinations didn't. A fix that notifies every title address a view maps the written pages to brought back the first room's missing walls in 3 runs out of 3 on an RTX 4090: https://github.com/Yorivel/victory-fork/tree/fix/dstorage-page-destinations-notify. That's a different symptom from the failing writes you log here, but a stale cutscene could be the same thing. It might be worth a run with VICTORY_DSTORAGE_NOTIFY=1 on that branch.

AI-assisted.

**@⁠Yorivel** on GitHub · 2026-11-25 00:28 UTC · [original](https://github.com/fxceless/victory-fork/issues/268#issuecomment-7148543242) Possibly related, from #62: physical-page destinations (`page_window` / `write_physical`) are written around the title's mapping, so the GPU side's guards and write watch never see them, and host copies of that memory keep their old bytes. Raw destinations already call `kernel_will_write`; page destinations didn't. A fix that notifies every title address a view maps the written pages to brought back the first room's missing walls in 3 runs out of 3 on an RTX 4090: https://github.com/Yorivel/victory-fork/tree/fix/dstorage-page-destinations-notify. That's a different symptom from the failing writes you log here, but a stale cutscene could be the same thing. It might be worth a run with `VICTORY_DSTORAGE_NOTIFY=1` on that branch. AI-assisted.
This discussion has been locked. Commenting is limited to contributors.
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/fxceless--victory-fork#268
No description provided.