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

Open
opened 2026-11-24 23:05:16 +00:00 by Asenje · 1 comment
Asenje commented 2026-11-24 23:05:16 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by Asenje on 2026-11-24T23:05:16Z.


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?

<!-- greyfinch-sync:fxceless/victory-fork:issue:6593201157 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/268). Originally posted by [Asenje](https://github.com/Asenje) on 2026-11-24T23:05:16Z. --- 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?
Yorivel commented 2026-11-25 01:11:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Yorivel on 2026-11-25T00:28:16Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7148543242 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/268#issuecomment-7148543242). Originally posted by [Yorivel](https://github.com/Yorivel) on 2026-11-25T00:28:16Z. --- 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.
Sign in to join this conversation.
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
fxceless/victory-fork#268
No description provided.