Repository navigation
Description
On the Series S profile the retail game reaches the world, but everything except the UI renders black (a yellow dotted horizon line is all that shows). The title gives the GPU addresses of GPU views of its CPU memory (0xc_…/0xd_…, the CPU address + 0x4_0000_0000; "reservation … is the GPU view of …" in the log). Shaders reach those only through the view windows, which gpu/uma.rs makes only for the 16-window layout. With the default 4 windows, Uma::view_reserve returns None, kernelx.rs (~line 934) falls back to a plain reservation without a warning, and every shader read there returns 0. So the meshlet lists and V#s the mesh programs read are zero, and the console's null fallback (1 vertex / 1 primitive) draws nothing.
Main already warns "GPU views of the title's memory stay outside the windows and shaders read 0 there (an empty 3D world)", but only when XCL_UMA_WINDOWS=16 is asked for and cannot be reserved (uma.rs ~line 1217), not with the default 4.
Evidence (RTX 2070 SUPER 8 GB, wave32 only; Windows 11 26300; release; a local integration tree on main 9dfbe3ea with open PRs and local experiments merged, plus two local readback diagnostics; not plain main):
- Local two-pass readback diagnostic, 4 windows: every world mesh record had nv=np=1. The mesh program's io had the table at s16/s17 and the root descriptor at s19:s20 pointing into the GPU view (
0xc_/0xd_); the CPU copy at those addresses held real meshlet descriptors. - Same build with
XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1: "+ 6 view window(s) for GPU views"; in the first world frame, 6129 mesh-stage views were served from them; 59–65 % of sampled G-buffer texels were non-zero (0 % with 4 windows). The world is visible: buildings, people, lighting. - 5 runs with 16 windows:
- 4 reached the world. 3 of them ran 500–1700 s of world with no crash. The 4th crashed in title code 23 s in; it was the only one with the local readback diagnostic on, and the crash did not come back.
- 1 lost the device at 240 s, before the world: a DRED page fault at VA 0. A retry with identical settings was clean.
Cost: the window count is in the shader cache key, so switching to 16 windows starts a cold cache. On this 8 GB card the first cold run stalled at world load, compiling very large compute pipelines one after another (13–16 s each).
Asks / options (not a conclusion):
- Should a title that reserves GPU views get the 16-window layout automatically? Or should XCL at least WARN once when a GPU view is reserved with no view windows ("the GPU will read zeros from it; set XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1")?
- Contributors who run the title on the Series S profile: does
XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1draw the world for you (AMD, other NVIDIA)? Please give the commit, GPU, driver, and whether the world renders.
Related: #697 (more than 4 memory windows), #2867 (title crashes on the Series S profile with sparse GPU heaps).
Not tested: AMD, the Series X profile, plain main without the local diagnostics and merged PRs (the env switch alone is what changes the result here).
Still wrong with 16 windows (separate issues, not investigated to a cause):
- an ~8 px sawtooth / hatched pattern over lit surfaces: it is in the lighting result, not in albedo, and
XCL_X64_ALL_MASKS=1does not change it; - one triangle of the cell window missing in the velocity target;
- ~1 FPS in the world.
AI use: Claude Code (Claude Opus 5.5) ran the diagnostics and runs and wrote this report.
Activity
brainhay5 commentedon Dec 1, 2026
Confirmed on a second title and card, with a number for what the missing view windows cost.
Setup. RTX 5070 Ti 16 GB, driver 610.88, Ryzen 7 5800X3D, 64 GB, Windows 11 22631;
main493dbd3d, release build;XCL_PREPARE=0 XCL_NETWORK=0 XCL_ACTIVITY=1, 300 s, scripted presses.xcl.exehas a 2048 MB driver shader heap (#2590), so no run here is removed and the difference below is not a removal effect.The line you describe, in our logs. With the default 4 UMA windows, every run this evening printed:
With
XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1the same line reads... and 6 for GPU views of it, and the startup line reports6 view window(s) for GPU views at 0x1000000000instead of none.What it changes here. Same tree, same title, same settings apart from the two variables:
XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1So ~26 % less time to the same frame, and the world draws. Worth noting for anyone diagnosing this: our runs did present frames with 0 view windows (30 fps early on), so the failure is not always the black-except-UI shape — a title can keep presenting while every GPU-view read returns zero, which makes this look like a performance problem rather than a rendering one.
Separate from this issue, and unchanged by it: presenting still stops after the world loads — here at 92.1 s for 184 s — which is the stall reported in #3541. So the view windows fix load time, not that.
AI use: an agent ran the builds and the runs and wrote this comment.
brainhay5 commentedon Dec 1, 2026
One follow-up measurement, since it changes what I would recommend as a config.
Adding the Series S profile to the same run moves the memory picture a long way, at a small cost in load time:
XCL_UMA_WINDOWS=16 XCL_HEAP_WINDOWS=1XCL_DEVICE_TYPE=lockhartSo the two window variables fix the missing views and speed the load, and
lockhartthen brings the process to within 353 MB of its budget instead of 2.5 GB over — on a 16 GB card where the title's texture pages alone want ~19 GB, that is the difference between constant paging and almost fitting.If anyone is weighing the profile, that is the trade: ~5 s more to load, 2.2 GB less overshoot. Presenting still becomes intermittent after ~95 s in every one of these configs, so none of it touches the stall in #3541.
AI use: an agent ran the runs and wrote this comment.
D3D12.X: XCL_WINDOW_STATS logs each memory window's traffic