d3d12_xs: texture streaming never commits high mips — environment appears flat/untextured #113

Open
opened 2026-11-22 10:19:16 +00:00 by Trwthh · 1 comment
Trwthh commented 2026-11-22 10:19:16 +00:00 (Migrated from github.com)

Imported from omonkeyz/xbox-emulator. Originally posted by Trwthh on 2026-11-22T10:19:16Z.


Bug

Texture streaming never loads high-resolution mip levels for environment objects. Only the first 64 KB (low mips and mip tail) is committed; mips 0-3 sit in MEM_RESERVE pages and the title never commits or loads them.

Evidence (from run 35 capture 10)

  • GBufferC (base colour) and GBufferA (normals) show full detail on characters but one flat value per environment object
  • Material PS sampling checks out (SampleBias operands correct, 257 PSOs translated, 0 failures)
  • 400+ "upload unreadable placed texture" log lines covering 179+ BC1/BC3/BC5 textures
  • The title reads XMemGetWorkingSetStatistics to decide streaming budget — previously this returned PC total/free RAM which made the game think it had 12.4 GB "used" at boot (against a 13.5 GiB console budget), so it never streamed in more

Partial fix applied (target-shade7)

XMemGetWorkingSetStatistics now reports correct 13.5 GiB limit with used = process private bytes + live physical pages. But texture streaming still doesn't load high mips.

Remaining blockers

  • IoDispatcher bulk reads
  • xmem commit/map of reserved texture VA
  • Streamer budget/visibility inputs
  • The backdrop agent was investigating

Impact

High. All environment surfaces in the Fortnite lobby are flat and untextured, big screens are blank, and the challenge holotable map is a smeared blob. Only character textures show full detail because they bypass the streaming system.

<!-- greyfinch-sync:omonkeyz/xbox-emulator:issue:6541207139 --> Imported from [omonkeyz/xbox-emulator](https://github.com/omonkeyz/xbox-emulator/issues/113). Originally posted by [Trwthh](https://github.com/Trwthh) on 2026-11-22T10:19:16Z. --- ## Bug Texture streaming never loads high-resolution mip levels for environment objects. Only the first 64 KB (low mips and mip tail) is committed; mips 0-3 sit in MEM_RESERVE pages and the title never commits or loads them. ### Evidence (from run 35 capture 10) - GBufferC (base colour) and GBufferA (normals) show full detail on **characters** but one flat value per **environment object** - Material PS sampling checks out (SampleBias operands correct, 257 PSOs translated, 0 failures) - **400+ "upload unreadable placed texture" log lines** covering 179+ BC1/BC3/BC5 textures - The title reads XMemGetWorkingSetStatistics to decide streaming budget — previously this returned PC total/free RAM which made the game think it had 12.4 GB "used" at boot (against a 13.5 GiB console budget), so it never streamed in more ### Partial fix applied (target-shade7) XMemGetWorkingSetStatistics now reports correct 13.5 GiB limit with used = process private bytes + live physical pages. But texture streaming still doesn't load high mips. ### Remaining blockers - IoDispatcher bulk reads - xmem commit/map of reserved texture VA - Streamer budget/visibility inputs - The backdrop agent was investigating ### Impact **High.** All environment surfaces in the Fortnite lobby are flat and untextured, big screens are blank, and the challenge holotable map is a smeared blob. Only character textures show full detail because they bypass the streaming system.
omonkeyz commented 2026-11-22 14:05:28 +00:00 (Migrated from github.com)
Author

Imported from omonkeyz/xbox-emulator. Originally posted by omonkeyz on 2026-11-22T14:05:28Z.


This is the existing docs/BLOCKERS.md entry 'Fortnite 3D scenes low detail'. The remaining causes are on the memory/IO side (IoDispatcher bulk reads, xmem commit/map of the reserved texture VA, the streamer budget inputs), not in d3d12_xs. Leaving this open. No d3d12_xs change for it this round.

<!-- greyfinch-sync:omonkeyz/xbox-emulator:comment:7080284066 --> Imported from [omonkeyz/xbox-emulator](https://github.com/omonkeyz/xbox-emulator/issues/113#issuecomment-7080284066). Originally posted by [omonkeyz](https://github.com/omonkeyz) on 2026-11-22T14:05:28Z. --- This is the existing docs/BLOCKERS.md entry 'Fortnite 3D scenes low detail'. The remaining causes are on the memory/IO side (IoDispatcher bulk reads, xmem commit/map of the reserved texture VA, the streamer budget inputs), not in d3d12_xs. Leaving this open. No d3d12_xs change for it this round.
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
omonkeyz/xbox-emulator#113
No description provided.