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

Open
opened 2026-11-26 04:41:48 +00:00 by github-bot · 14 comments
Owner

@⁠AallynReed on GitHub · 2026-11-24 10:52 UTC · original

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.

**@⁠AallynReed** on GitHub · 2026-11-24 10:52 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049) ### 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 ```text 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._
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:41:48 +00:00
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 10:57 UTC · original

More data from the same machine, at 67a3735:

  • Not the glyph-cache sync. With XCL_SYNC_SMALL_TARGETS=0 the text is broken the same way (same black blocks on the brightness panel, a few different letters gone), so most of the text reaches the GPU some other way than the CPU-filled small targets.
  • Not GPU writes into the kept textures. A probe in cl_om_set_render_targets / cl_clear_rtv for resources with title_textures::address(r).is_some() never fired up to the brightness screen: none of the 64+ kept glyph caches is bound as a render target or cleared on the PC list.
  • Not the content-hash skip (XCL_TEXTURE_SKIP_UNCHANGED=0, as before).
  • No BCPack refusals or failed DirectStorage requests in the run; BC1 / BC5 / BC7 requests unpack.
  • The holes are roughly 4×4 px at 1280×720, which fits BC blocks or a tile-sized region.
  • Stubs called in the same run (the last one is new compared with #616): ID3D12GraphicsCommandList10 #126, #131, #132, #142 (not on PC), #75 (console extension); ID3D12CommandAllocator #9; ID3D12CommandQueue #31 (newer layout). If one of these writes or decompresses the UI targets on the console, it would explain the holes.

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

**@⁠AallynReed** on GitHub · 2026-11-24 10:57 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7129474961) More data from the same machine, at `67a3735`: - **Not the glyph-cache sync.** With `XCL_SYNC_SMALL_TARGETS=0` the text is broken the same way (same black blocks on the brightness panel, a few different letters gone), so most of the text reaches the GPU some other way than the CPU-filled small targets. - **Not GPU writes into the kept textures.** A probe in `cl_om_set_render_targets` / `cl_clear_rtv` for resources with `title_textures::address(r).is_some()` never fired up to the brightness screen: none of the 64+ kept glyph caches is bound as a render target or cleared on the PC list. - **Not the content-hash skip** (`XCL_TEXTURE_SKIP_UNCHANGED=0`, as before). - No BCPack refusals or failed DirectStorage requests in the run; BC1 / BC5 / BC7 requests unpack. - The holes are roughly 4×4 px at 1280×720, which fits BC blocks or a tile-sized region. - Stubs called in the same run (the last one is new compared with #616): `ID3D12GraphicsCommandList10` #126, #131, #132, #142 (not on PC), #75 (console extension); `ID3D12CommandAllocator` #9; `ID3D12CommandQueue` #31 (newer layout). If one of these writes or decompresses the UI targets on the console, it would explain the holes. _Written by Claude Code (Claude Opus 5.5) from these runs._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 11:04 UTC · original

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 #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 #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.

**@⁠AallynReed** on GitHub · 2026-11-24 11:04 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7129631585) 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 #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 #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._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 11:13 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 11:13 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7129828574) 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)._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 11:20 UTC · original

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.

**@⁠AallynReed** on GitHub · 2026-11-24 11:20 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7129963918) 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._
Author
Owner

@⁠srcamarda on GitHub · 2026-11-24 12:08 UTC · original

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.

**@⁠srcamarda** on GitHub · 2026-11-24 12:08 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7131024052) **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._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 12:10 UTC · original

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.

**@⁠AallynReed** on GitHub · 2026-11-24 12:10 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7131066493) 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 `ClearRenderTargetView`s. **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._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 12:22 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 12:22 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7131355580) 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)._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 12:27 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 12:27 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7131459365) 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)._
Author
Owner

@⁠IvyNotFound on GitHub · 2026-11-24 13:37 UTC · original

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.
**@⁠IvyNotFound** on GitHub · 2026-11-24 13:37 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7133096433) **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.
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 14:18 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 14:18 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7134170368) 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)._
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 14:25 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 14:25 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7134358791) 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](https://cdn.foxhearth.com/00632c33-6160-4875-863b-555145433383) The same panel in 12 consecutive captures: ![panel, 12 frames](https://cdn.foxhearth.com/ab9ee4ae-e8ae-4a1e-9447-5a322c0f7cbd) - 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)._
Author
Owner

@⁠Chrysana on GitHub · 2026-11-24 14:48 UTC · original

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.
**@⁠Chrysana** on GitHub · 2026-11-24 14:48 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7134982274) **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.
Author
Owner

@⁠AallynReed on GitHub · 2026-11-24 15:15 UTC · original

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).

**@⁠AallynReed** on GitHub · 2026-11-24 15:15 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7135731455) 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)._
Author
Owner

@⁠RodrigoTorreao on GitHub · 2026-11-24 17:27 UTC · original

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.
**@⁠RodrigoTorreao** on GitHub · 2026-11-24 17:27 UTC · [original](https://github.com/xcl-dev/xcl/issues/1049#issuecomment-7139223121) **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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.