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

Open
opened 2026-11-26 06:10:34 +00:00 by github-bot · 1 comment
Owner

@⁠Trwthh on GitHub · 2026-11-22 10:19 UTC · original

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.

**@⁠Trwthh** on GitHub · 2026-11-22 10:19 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/113) ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:10:34 +00:00
Author
Owner

@⁠omonkeyz on GitHub · 2026-11-22 14:05 UTC · original

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.

**@⁠omonkeyz** on GitHub · 2026-11-22 14:05 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/113#issuecomment-7080284066) 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.