Skip to content

Glyph-cache menu text loses letters; black blocks on the brightness HUD (newer retail title) #1049

Backlog

Description

@AallynReed

Game and package version

Newer retail title – <package id> 1.0.2.1

What happens

Menu text drawn from the title's glyph caches loses letters, and parts of some HUD elements show black square blocks. The picture is otherwise right and the title runs at a steady 30 fps.

Seen on every run, at these screens:

  • Brightness calibration (first-run setup): the panel reads "Bright ess Level" and "barely v.s.ble"; black 4–8 px squares sit over the label and the slider bar.
  • Legal notices → Photosensitivity Health Warning: about 1 letter in 10 is missing from the body text ("epileptic s izure", "consult your phy i i", "eye o muscle t it h"). The heading and the left-hand list are intact.
  • The B button glyph in the bottom-right prompt is partly blank on the brightness screen.

Expected: whole letters, as on the screens around them (UI text size, subtitles, "Finish setup?", the copyright page all render cleanly).

The log shows the glyph-cache path is taken for these targets:

D3D12.X: a small render target at 0x7ad7b2000 (2 planes) is kept in step with the title's memory – a glyph cache the CPU fills (1 so far)
... (64 so far) within the first 9 s

Ruled out: XCL_TEXTURE_SKIP_UNCHANGED=0 (the content-hash skip, #504) gives the same broken text on the same screens, so it is not that skip.

Related, possibly: #504, #475.

XCL version

67a3735 (main), release build

GPU and driver version

AMD Radeon RX 9070 XT, 32.0.32029.2010

Windows version

Windows 11 25H2 (26200.9974); no Agility SDK next to xcl.exe. CPU: Intel Core i7-14700, 32 GB RAM.

report.json and xcl.log

Not attached here; I can attach them on request. Shader caches were filled with xcl shaders … --precompile beforehand; DXC 1.9.2609.5.

Console output

XCL 0.1.0 – starting '<package id>'
  MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A
  console: imports d3d12_xs.dll
xcl: DXC: dxcompiler 1.9.2609.5 (01b62ad4), dxil 1.9.2609.5

Report written by Claude Code (Claude Opus 5.5) from a real run on the hardware above; the screens were checked by screenshot.

Activity

  1. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    More data from the same machine, at 67a3735:

    Written by Claude Code (Claude Opus 5.5) from these runs.

  2. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Further narrowing, same machine and commit:

    • The damage changes from run to run. Same screens, but different letters drop out each launch ("Brigh ess" / "Brigh⸗ess" / "Bright ess"), and once the "E" of the CONTINUE prompt. That looks like a race or stale-data problem, not missing state.
    • Not the shared VRAM pages. XCL_VRAM_ARENAS=1 gives the same corruption.
    • List slot Recompiler: OMOD / CLAMP on f64 results, conversions and integer ops … #126 is a stencil setter, but it isn't the cause. At the call site (exe+0x32638, call [rax+0x3f0]) the title passes (list, ref, &[read mask, write mask]), with the ref, read mask and write mask taken from bits 0–7, 8–15 and 16–23 of its stencil state word. It calls it only when one of the three changed. I wired it to OMSetStencilRef on a branch (logging the masks): 15 calls up to the brightness screen, all ref 0, masks [0, 0], and no visible change. The branch is at https://github.com/AallynReed/xcl/tree/glyph-cache-gpu-writes if it is useful.
    • Slot Pr/newer title startup #142 (exe+0x329e3, call [rax+0x470]) takes one 64-bit value from the title's state (cached at +0x12360, re-sent only when it changes), about once per frame. I haven't identified it.
    • On the brightness screen the holes cluster in the left third of the panel's bar and its text, plus single button glyphs; the right part of the same bar is clean. So a UI texture region is bad, rather than per-draw stencil or depth state.

    Written by Claude Code (Claude Opus 5.5) from these runs.

  3. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Correction to my last comment: the damage doesn't change from run to run. It flickers frame to frame within one run. 24 captures of the brightness panel 80 ms apart all differ (23 of 23 consecutive pairs). The black blocks and missing letter pieces move every frame but stay inside the same region: the left third of the panel's bar and the left part of its two text lines, plus single button glyphs. The right part of the bar is always clean.

    So it looks like a per-frame GPU hazard, for example a UI texture or target sampled while something else is writing it, or a missing barrier or queue wait between two passes, rather than state that is set wrong once.

    I also tried a GPU capture with PIX 2611.19: WinPixGpuCapturer.dll loaded at startup, then its CaptureNextFrame export. The process fail-fasts inside the capturer (0xc0000409) as soon as the capture starts, so no capture came out of it. The log shows XCL patching the capturer's wrapper vtables ("PC vtable WinPixGpuCapturer.dll+…"), which is probably the conflict.

    Written by Claude Code (Claude Opus 5.5).

  4. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Two more experiments. Neither stops the flicker. 12 frames of the brightness panel 80 ms apart differ every time in both runs.

    1. Every submit serialized. After each ExecuteCommandLists of the title (the three places that call alloc_pool::executed), signal a fence on that queue and wait for it on the CPU. That removes any cross-queue or CPU/GPU race. The flicker is unchanged.
    2. A UAV barrier on every resource (pResource = NULL) before each draw and dispatch (bind::draw_instanced, draw_indexed_instanced, dispatch). The flicker is unchanged.

    So it doesn't look like a missing wait or barrier. Something produces different output from the same input every frame. The holes are about 4×4 to 8×8 px blocks (at 1280×720 of a 3840×2160 UI target, so roughly 12–24 px in the target), which would fit a wave's worth of pixels. My guess is a translated shader reading something undefined (LDS or a register without a write on some path), but I haven't identified the draw.

    Claude Code (Claude Opus 5.5), same machine (RX 9070 XT, 32.0.32029.2010), commit 67a3735 plus the debug patches.

  5. srcamarda commented on Nov 24, 2026

    @srcamarda
    Contributor

    Does not reproduce on RDNA3 (RX 7800 XT), at 67a3735 or at main 47efa2e

    • GPU: AMD Radeon RX 7800 XT 16 GB, driver 32.0.32029.2010 (the same driver as the report); CPU: Ryzen 5 5600G, 32 GB; Windows 11 Pro 26300. Release build, XCL_NETWORK=0.
    • A fresh title data folder (XCL_DATA_ROOT), so the first-run setup ran. The title's presented image was captured with XCL_FRAME_DUMP=30 XCL_FRAME_DUMP_FULL=1 (3840×2160).
    • Brightness calibration: text and slider intact, no black blocks, at both commits. Across 3–5 frames 1–2 s apart, the panel region has 0 pixels differing by more than 40: no flicker.
    • Photosensitivity Health Warning (main only): body text complete, 0 differing pixels between frames.
    • The game runs in pt-BR here, so the glyphs differ from the report's English ones.

    Same driver version, same commit, clean output. That points to something specific to RDNA4 (or to the host: an Intel hybrid CPU, Windows 26200) rather than to an XCL change between the two commits. A report from another RDNA4 card, and one from an RDNA3/NVIDIA card in English, would separate GPU from locale.

    Claude Code (Claude Opus 5.5), from runs on the hardware above.

  6. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Narrowed further with a live per-pipeline skip switch (reads a skip list every 15 presents) and a one-frame draw log:

    The frame. The brightness screen is 33 draws and 1 compute dispatch, all into one 3840×2160 R8G8B8A8 UI target with a DSV bound. Nothing clears that DSV in the frame; the only clears are two ClearRenderTargetViews.

    Every UI draw is damaged, not one shader. With the panel's pipeline skipped (vs cc7a1fd71cd7f6b2 / ps 5306d4e7f6e2ca6e), the panel goes away and all the text and the slider break into fragments over the whole width. The white panel just hides most of the damage. The text pipeline is vs 28d887aa04ffa15a / ps b40d9ca24fe3d23d, 20 draws.

    More ruled out (12 frames each, flicker unchanged):

    • the frame's compute dispatch skipped
    • the DSV cleared (stencil, then depth + stencil) before the first draw that binds it on each list
    • no DSV bound at all for the draws
    • XCL_COHERENT_MB=4096 (the title then puts ~4 GB of heaps in the coherent window)
    • the problem is not in XCL's present: an XCL_FRAME_DUMP_FULL=1 dump of the title's own 4K frame already has the holes (clean rectangles of about 16–32 px, mostly in the left quarter of the screen)

    Inputs that do not change. A content hash of the first 1 KB of each bound vertex buffer and of the index buffer is identical across two consecutive frames for 31 of the 32 UI draws (the odd one is a pre-UI draw, ps 47ee3e08b61101df). No buffer is mirrored ("outside unified memory" never logged).

    Where it points. All four UI vertex shaders start with s_swappc_b64 s[4:5], s[4:5], a fetch subroutine. The text VS then turns attribute v10 into an index (v10 * 1020.04 + 2.1, cvt_i32) and loads four dwordx4 rows of a transform through the buffer descriptor at s[8:9]+0. The panel and slider VSs s_buffer_load constants. Since identical vertex/index bytes give different pixels every frame, my best guess is the translated fetch subroutine, or the transform/constant buffers those shaders read through descriptors, returning undefined or stale data. I haven't proven which yet.

    Side note: the panel PS adds a per-frame dither from a 64×64 texture-array slice chosen by s_buffer_load_dword & 31, after the colour is clamped. Garbage texels there would also give black/white blocks, but the text shader has no such load and breaks the same way.

    Claude Code (Claude Opus 5.5), RX 9070 XT, 67a3735 plus debug patches.

  7. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Thanks @srcamarda, that's a clean split. Follow-ups on the RDNA4 machine (RX 9070 XT, i7-14700, Windows 11 26200), rebased on main 47efa2e:

    • Not the hybrid CPU. The whole process tree pinned to the P-cores (start /affinity FFFF, confirmed on both xcl processes): still flickers, 5 of 5 frames differ.
    • Not the present path. XCL_FRAME_DUMP_FULL=1 dumps of the title's own 4K frame already have the holes.
    • Not depth/stencil. Still flickers with no DSV bound for any draw.
    • Compression (DCC). I added D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS to single-sample colour targets in pc_resource_desc (that flag keeps AMD from compressing them). No change, but I haven't confirmed the UI target is created through that path rather than as a reserved resource on its own path.

    Since the same driver is clean on RDNA3, a report from another RDNA4 card would settle whether this is RDNA4-wide. My debug patches (live per-pipeline skip via a file, a one-frame draw log with vertex/index content hashes, a DSV clear/drop switch, submit serialization, a UAV barrier per draw, XCL_DUMP_ONLY=<hashes>, and XCL_PIX=<WinPixGpuCapturer.dll> + XCL_PIX_TRIGGER=<file> for CaptureNextFrame) are local. I can push them to a branch if any of them would help.

    Claude Code (Claude Opus 5.5).

  8. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    One more on the RX 9070 XT: every program compiled with DXC -Od (a local XCL_DXC_OPT override, with a fresh empty XCL_DXIL_CACHE so all 29 programs on that screen were really recompiled). It still flickers, 5 of 5 frames differ. So DXC's optimiser doesn't trigger it, though the driver still compiles the DXIL its own way. The device is the RX 9070 XT ("backend 'real' – AMD Radeon RX 9070 XT"), not the Intel iGPU in the same PC.

    Claude Code (Claude Opus 5.5).

  9. IvyNotFound commented on Nov 24, 2026

    @IvyNotFound

    Does not reproduce on NVIDIA (RTX 5080) at main 47efa2e: the brightness panel is whole and steady

    • NVIDIA GeForce RTX 5080 16 GB, driver 621.24; Ryzen 7 7800X3D; Windows 11 25H2 (26200.9974); release build of main 47efa2e, XCL_NETWORK=0. The title runs in French.
    • Retail 1.0.2.1, fresh XCL_DATA_ROOT so the first-run setup runs, XCL_PRESS_A_AT=25,35,…,110, XCL_FRAME_DUMP=20 XCL_FRAME_DUMP_FULL=1 (3840×2160, every 20th present).
    • Brightness calibration ("Luminosité"): 13 captures, 20 presents apart. "Niveau de luminosité", the value, the slider bar and both lines of the hint ("Ajustez la valeur de façon à ce que le symbole soit à peine visible.") are whole, with no black blocks. Between consecutive captures, no pixel of the panel changes by more than 24 / 255 (the mean change is 0.6 / 255). The "RETOUR (B)" prompt is whole and identical in all of them.
    • The other setup screens (navigation, interface size, subtitles, "Terminer la configuration ?", "Mentions légales / Copyright") look clean too.
    • Not reached in this run: the photosensitivity warning page.

    So with @srcamarda's RX 7800 XT that is two non-RDNA4 GPUs without it, which keeps it on the RDNA4 side.

    AI use

    • Claude Code, Claude Opus 5.5: ran the run, compared the captures and wrote this comment.
  10. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Still reproduces on main 930e8b4 (RX 9070 XT, 32.0.32029.2010).

    I checked a known RDNA4 driver miscompile in a similar project, R0Y00/Xbox2Windows#1024: constant QuadReadLaneAt reads chosen through nested ternaries come back 0 and non-uniform on gfx1200/1201, and integer masks fix it there. xcl's rla() prelude has that exact shape, and the panel PS (5306d4e7f6e2ca6e) calls it. Tested locally, 12 frames each, fresh XCL_DXIL_CACHE so the programs were recompiled:

    • XCL_SPLIT_WAVE64=1: still flickers (11 of 11 frame pairs differ)
    • rla()'s two four-way selects rewritten as bit masks: still flickers
    • plus lanebit() and ballot() selects rewritten as masks: still flickers

    So it doesn't look like that driver bug. The text PS (b40d9ca24fe3d23d) uses no quad or lane reads, only ballot/lanebit, and breaks the same way.

    Claude Code (Claude Opus 5.5).

  11. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Where the holes fall on screen. Every pixel that changed at least once across 40 window captures of the brightness screen (60 ms apart, 930e8b4), in orange:

    damage map, 40 frames

    The same panel in 12 consecutive captures:

    panel, 12 frames

    • A hole drops the whole UI layer in that tile (panel, text and slider together) and shows what is under it. The glyphs themselves aren't damaged.
    • In the white panel the holes stop at a sharp vertical edge about 10% of the screen width in (roughly x = 380 of the 3840 target). Below the panel they reach further right, so the boundary slopes down and to the right.
    • The bottom-right button icons (Adjust, Restore Default) and part of "CONTINUE" lose tiles too. The centre logo, the "15", the right of the panel, and the ADJUST and BACK labels never do.
    • Most of the screen is flat background, where a missing UI tile wouldn't show, so the damaged area may be larger than this.

    To me this looks less like a shader computing wrong values and more like tiles of the UI target being lost or overwritten after drawing (compression metadata, aliasing with another resource, or the composite), in a screen region that may follow a diagonal.

    Claude Code (Claude Opus 5.5).

  12. Chrysana commented on Nov 24, 2026

    @Chrysana

    Reproduces on a second RDNA4 machine (RX 9070 XT, AMD CPU, older driver). The holes are exact 16×16 tiles on a 16-px grid.

    Setup

    • AMD Radeon RX 9070 XT 16 GB, driver 32.0.32015.2008 (older than the report's 32029). AMD Ryzen 7 9800X3D, not a hybrid CPU. 31 GB RAM, Windows 11 26200.9974.
    • main 47efa2e, release build, DXC 1.9.2602.17. Retail 1.0.2.1, English.
    • One 160 s run with a fresh XCL_DATA_ROOT, so the first-run setup shows. XCL_NETWORK=0, XCL_PRESS_A_AT=25,35,…,145, XCL_FRAME_DUMP=20 XCL_FRAME_DUMP_FULL=1 (3840×2160, every 20th present). Exit 0x0.
    • Damage is counted against the per-pixel median of a screen's captures: a pixel is bad when it differs from the median by more than 40.

    What it looks like here

    • Brightness calibration: damaged in all 13 captures (frames 1459–1699), with 4.5k–12k bad pixels each. The damage moves every capture. As in the report, it covers the left part of the panel and slider (x 96 to about 1000), and also the button prompts at the bottom right (x 3330–3760).
    • Legal → Copyright: the right-hand text block flickers too (x 2826–3749, y 537–1114). Pieces of letters are missing in 10 of 10 captures. The photosensitivity page wasn't reached in this run.
    • "Finish setup?": 8 captures, all identical (0 bad pixels).

    Hole geometry (brightness screen, all 13 captures)

    • Inside the pink slider bar, a hole shows the white panel beneath. 744 of 757 hole runs along a row start at x ≡ 0 (mod 16). Their lengths are 16 (496 runs), 32 (195), 48 (13) or 64 (21).
    • Inside the white panel, a hole shows the dark background. Vertical runs start at y ≡ 0 (mod 16) and are 16 tall (1039 runs) or 32. Horizontal runs start at x ≡ 0 (mod 16) and are 16 or 32 long. The shorter runs are letter strokes inside a hole.
    • So each hole is one or more whole 16×16-pixel tiles of the 3840×2160 target, aligned to the target's 16-px grid. That's 1 KiB at 32 bpp. Each tile shows what earlier draws of the same frame left there: the background shows through the panel, and the panel through the bar. A later draw's pixels are missing in whole tiles, rather than drawn in the wrong colour.

    Not tested

    • No changes or fixes tried; this is main only. One run.
    • Another RDNA4 model (9060 XT). The photosensitivity page.

    AI use

    • Claude Code (Claude Opus 5.5) ran the run, measured the captures and drafted this comment. I checked it before posting.
  13. AallynReed commented on Nov 24, 2026

    @AallynReed
    Author

    Thanks @Chrysana, that's a really useful report. A second RX 9070 XT with an AMD CPU and an older driver rules out the Intel hybrid CPU and this one driver version, and leaves RDNA4 itself. The 16×16 tile measurement is also much more precise than what I had: whole tiles losing a later draw's writes points at the render target's tile handling rather than at the shaders.

    Claude Code (Claude Opus 5.5).

  14. RodrigoTorreao commented on Nov 24, 2026

    @RodrigoTorreao
    Contributor

    Does not reproduce on RDNA2 (RX 6750 XT) at main 47efa2e. The brightness panel and the photosensitivity warning are whole and steady.

    With @srcamarda's RDNA3 and @IvyNotFound's NVIDIA results, RDNA4 (two RX 9070 XT) is so far the only place it reproduces.

    Setup

    • AMD Radeon RX 6750 XT 12 GB (RDNA2, native wave64), driver 32.0.21045.29003. That is an older driver branch than the 32.0.32029 / 32015 of the RDNA4 reports.
    • Intel i5-14600KF, 16 GB RAM, Windows 11 25H2 (26200.9974).
    • main 47efa2e, release build, DXC 1.9.2609.5 (XCL_DXC_DIR). Retail 1.0.2.1. The title runs in Brazilian Portuguese here.
    • Method as in @Chrysana's report:
      • a fresh XCL_DATA_ROOT so the first-run setup shows, and XCL_NETWORK=0;
      • XCL_PRESS_A_AT=25,35,…,145, plus XCL_PRESS_AT=165:DOWN in run 2 to open the photosensitivity warning;
      • XCL_FRAME_DUMP=20 XCL_FRAME_DUMP_FULL=1 (3840×2160, every 20th present).
      • Run 1 lasted 160 s and run 2 190 s. Both exited 0x0 with no device removal.
    • Damage is counted against the per-pixel median of a screen's captures: a pixel is bad when it differs from the median by more than 40 in any channel.

    Results

    • Brightness calibration ("Brilho" / "Nível de brilho"):
      • Run 1: 6 captures (frames 879–979), 0 bad pixels in every capture.
      • Run 2: 9 captures (frames 1079–1239). The first is the panel fading in. The other 8 have 0 bad pixels in the panel region.
      • The label, the value, the slider bar and both lines of the hint are whole, and there are no black blocks.
      • The bottom-right prompts (Adjust, Restore Default, Continue (A), Back (B)) are whole.
    • Photosensitivity Health Warning ("Advertência sobre fotossensibilidade", run 2):
      • 22 captures (frames 2499–2919). The body text is whole, including the words that lose letters on RDNA4 ("epilépticas", "convulsões", "médico", "musculares").
      • It does not change between captures. The only pixels that differ are the list item's lock icon, the "Avançar" button's enabled state and the Back/countdown prompt, which are real UI changes.
    • The copyright page and the other first-run screens ("Terminar de configurar?", navigation and text-size options) render cleanly too.

    Not tested

    • The English glyphs. Here the title renders the pt-BR text, so the strings differ from the report's.
    • A newer AMD driver (32.0.32xxx) on this card.
    • Any of the RDNA4 experiments from this thread (XCL_SPLIT_WAVE64, -Od, the DCC flag). With nothing to reproduce, there is nothing to compare.

    AI use

    • Claude Code (Claude Opus 5.5) ran the runs on my machine, measured the frames with a small script (median and per-pixel threshold, as above), checked the screens by viewing full-resolution crops, and wrote this report.
  15. Saksukella commented on Nov 29, 2026

    @Saksukella
    Contributor

    Sharing a controlled negative A/B result on RDNA4 to help narrow down the 16x16 tile-hole / DCC aliasing hypothesis.

    Environment: AMD Radeon RX 9070 XT (driver 32.0.32029.2010), DXC 1.9.2609.5, TitleID 7952987A.

    Baseline observations:

    • D3D12_FEATURE_DATA_D3D12_OPTIONS::StandardSwizzle64KBSupported reports 0 on RX 9070 XT.
    • ID3D12GraphicsCommandList::DiscardResource is called 0 times in this title.

    Controlled D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS (0x20) A/B tests:

    • Test A (RTV-only 0x20 on vram::Pages): Accepted cleanly (0 D3D12 errors, 0 TDR), but darkened overall frame luminance (mean_luma 34.82 -> 4.44) without removing the 16x16 tile holes.
    • Test B (uniform 0x20 on all eligible vram::Pages + ARENAS textures, plus extra UAV/aliasing barrier flushes): All 32,768 CreateReservedResource calls were accepted with 0 creation errors, 0 D3D12 Debug Layer errors, and 0 TDR over 150s (1,576 frames). Bright sky/horizon scenes stayed bright (luma 204.4), ruling out mixed-DCC RTV/SRV mismatch as the sole cause, yet mid-scene luminance still dropped (mean_luma 29.07 -> 11.41) and early-scene 16x16 tile holes remained.

    Takeaway: Uniform ALLOW_SIMULTANEOUS_ACCESS (as a DCC-disable attempt on tiled/reserved resources) does not cure the RDNA4 16x16 tile holes and regresses luminance on roughly half of frames. This narrows #1049 toward RDNA4 reserved/tiled-resource aliasing or HiZ/CB compression behavior beyond 0x20.

  16. throny commented on Nov 29, 2026

    @throny
    Collaborator

    A likely cause on NVIDIA too, and a local fix I am testing (not pushed yet; RTX 4080 16 GB, 621.40, main 0fe06eb0). In the world the control-hint box showed only a few letters per line, with XCL_UMA_DRIVER=mixed:1536:1792.

    • 4 of the 7 glyph-cache textures the log names ("small render target … glyph cache the CPU fills") lie in the GPU_UPLOAD part of the mixed UMA window, which is not write-watched (only the CUSTOM parts are).
    • For such a texture title_textures.rs has a fallback re-check: 4, 12, 40, 120 and 400 frames after its last whole upload it hashes three 16 KiB slices (start, middle, end), and after five unchanged checks it drops the texture from the schedule for good. A glyph the title draws later, or outside those slices, is never uploaded. The run log had 0 "streamed unwatched re-uploads triggered" lines.
    • The local change: a CPU-filled render target or UAV texture of up to 4 MiB in unwatched memory is never dropped; after an unchanged check it is checked again every 16 frames, and up to 512 KiB the whole texture is hashed. Worst case with the title's 7 such textures about 224 KiB hashed per frame on average. Its unit test fails without the change.

    Not yet shown: that the letters come back in the title (the one run so far ended with the hint box off screen). That run is next on my list; I post it here with the PR. This may not be the RDNA4 cause in the first post (flicker frame to frame), which looks different.

    AI use: Claude Code; Claude Opus 5.5 found the cause, wrote the change and this comment.

  17. throny commented on Dec 1, 2026

    @throny
    Collaborator

    A clean A/B for the missing letters in the in-world control hints (left side, right after loading), RTX 4080 16 GB (621.40), main 6bfb5c51 + #2987 (switch unset), same save and inputs, XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16 XCL_RESIDENCY_PRIORITY=1, watched live:

    run XCL_UMA_DRIVER hint text presents/s after 240 s
    399 custom (one CUSTOM L0 heap, all write-watched) complete 1.65
    400 mixed:1536:1792 (a 1792 MB GPU_UPLOAD range, not write-watched) letters missing 3.05

    So with the window's middle range as GPU_UPLOAD (video memory the CPU writes through the BAR, which cannot be write-watched), the title's CPU writes into its glyph-cache textures there do not reach the GPU copy; with every page watched they do. #3537 (re-checking small unwatched targets) did not fix it, so the glyph textures are probably not render targets but sampled textures the CPU fills in that range. Two ways out I can see: keep the glyph cache's pages out of the GPU_UPLOAD range (it is placed by address, mixed:<start>:<size>), or have title texture reads of a GPU_UPLOAD range always go through read_vram_bytes instead of the cached copy. The cost side matters: custom alone is about half the frame rate of mixed here.

    AI use: Claude Code (Claude Opus 5.5) ran the A/B; the user confirmed the text on screen in both runs.

  18. throny commented on Dec 1, 2026

    @throny
    Collaborator

    Follow-up with a fix that works: the title's glyph textures are copies uploaded from its memory, and in the GPU_UPLOAD part of XCL_UMA_DRIVER=mixed there is no write watch, so after the first upload only the stream re-check looks again — three 16 KiB slices at 4/12/40/120/400 frames, then never. A local switch that keeps re-checking small textures (≤ 4 MiB) in that range every 16 frames by a full hash read through the GPU (within 8 MiB per frame) brings the hint text back: run 402 without it shows letters missing, run 404 with it shows the hint complete, the same as the fully watched custom run 399; presents/s 3.10 vs 3.07 (RTX 4080, same save and inputs). The textures that change there are small sampled (non-target) textures, which is why #3537 (targets only) did not help. PR coming after the suite and a smoke pair; one caveat: 1 of 2 runs with the switch lost the device at +95 s with the same page fault plain main showed once (run 344), so that needs more runs.

    AI use: Claude Code (Claude Opus 5.5); cause and fix by a Claude Fable 5.2 sub-agent.

  19. throny commented on Dec 1, 2026

    @throny
    Collaborator

    PR for the missing glyph letters: #3617 (XCL_UNWATCHED_RECHECK=1, default off). It also limits the checks to 64 textures / 8 MiB a frame, spread over 16 frames, after an independent review. Merge checks and in-world reports welcome, especially on AMD and with Series S.

    AI use: Claude Code (Claude Opus 5.5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions