Objects and foliage blink out for a frame, near and far, after all pipelines are made (RX 9070 XT, Windows) #463

Open
opened 2026-12-04 13:14:52 +00:00 by github-bot · 3 comments
Owner

@⁠Spaghetto784 on GitHub · 2026-12-04 13:12 UTC · original

What happens

Props, foliage and other geometry disappear for a single frame and come back, close to the camera as well as far away. It keeps happening once shader/pipeline compilation is finished (0 pipelines in flight), so it is not only draws skipped while their pipeline is being made. I have an OBS recording if useful.

What we measured

  • A per-frame readback of each pipeline's indirect work (mesh groups, vertex instances, dispatch groups) over 34,774 frames: frames where a pipeline ran far less work than the frames before and after were logged. None was a vegetation pipeline: the flagged ones were lens flares (VS_FlareMaskSingleStar), CS_Primary_GenerateShaderBins / CS_Primary_SpatialFilter, and direct draws the title itself left out for one frame (hair strands, cables, skinned shadow cascades). So the blinking does not show up as indirect work going to zero on the GPU side.
  • Steadily 100–230 draws/dispatches per frame are dropped even with no pipeline pending (release build, so no reason is logged; probably the ray-tracing builder's stages with RT off, not confirmed).
  • The wave32 lane fix (e5243e48) is in: the window glass bands are gone, the blinking is not.

Setup

  • AMD Radeon RX 9070 XT 16 GB (host wave lanes 32–64), Ryzen 7 9700X, 32 GB RAM, Windows 11, no RT, FSR 4.1.2 + FSR FG 4.0.2 at 2560x1440
  • VICTORY_NO_NEUTRAL=2, VICTORY_KEEP_SHOWN=1, VICTORY_RECHECK_FRAMES=1,2,4,8,16,40,120,400, VICTORY_INDIRECT_CLAMP=1, VICTORY_OCCLUSION_FAR and VICTORY_SNAPSHOT_UAV_TABLES on

Build

Same as in the interior haze issue: a ReVIctory-based fork with ports from xmem, Darner and ReVIctory, not a stock xmem build.

Question

Is there a capture or switch you would like me to run to narrow it down (texture side vs. culling side)? I can run diagnostics builds.

**@⁠Spaghetto784** on GitHub · 2026-12-04 13:12 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/463) ### What happens Props, foliage and other geometry disappear for a single frame and come back, close to the camera as well as far away. It keeps happening once shader/pipeline compilation is finished (0 pipelines in flight), so it is not only draws skipped while their pipeline is being made. I have an OBS recording if useful. ### What we measured - A per-frame readback of each pipeline's indirect work (mesh groups, vertex instances, dispatch groups) over **34,774 frames**: frames where a pipeline ran far less work than the frames before and after were logged. **None was a vegetation pipeline**: the flagged ones were lens flares (`VS_FlareMaskSingleStar`), `CS_Primary_GenerateShaderBins` / `CS_Primary_SpatialFilter`, and direct draws the title itself left out for one frame (hair strands, cables, skinned shadow cascades). So the blinking does not show up as indirect work going to zero on the GPU side. - Steadily **100–230 draws/dispatches per frame are dropped** even with no pipeline pending (release build, so no reason is logged; probably the ray-tracing builder's stages with RT off, not confirmed). - The wave32 lane fix (e5243e48) is in: the window glass bands are gone, the blinking is not. ### Setup - AMD Radeon RX 9070 XT 16 GB (host wave lanes 32–64), Ryzen 7 9700X, 32 GB RAM, Windows 11, no RT, FSR 4.1.2 + FSR FG 4.0.2 at 2560x1440 - `VICTORY_NO_NEUTRAL=2`, `VICTORY_KEEP_SHOWN=1`, `VICTORY_RECHECK_FRAMES=1,2,4,8,16,40,120,400`, `VICTORY_INDIRECT_CLAMP=1`, `VICTORY_OCCLUSION_FAR` and `VICTORY_SNAPSHOT_UAV_TABLES` on ### Build Same as in the interior haze issue: a ReVIctory-based fork with ports from xmem, Darner and ReVIctory, not a stock xmem build. ### Question Is there a capture or switch you would like me to run to narrow it down (texture side vs. culling side)? I can run diagnostics builds.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 13:14:52 +00:00
Author
Owner

@⁠turboheadcrab on GitHub · 2026-12-04 18:48 UTC · original

Same on Linux, stock xmem, and it's triggered by camera cuts. Measured with popwatch.

Setup: RX 9070 XT 16 GB, Ryzen 7 5800X3D, 32 GB; Bazzite (Fedora 45), kernel 7.3.5, Mesa/RADV 26.3.1, GE-Proton11-15. Stock xmem 0fd7614 (one run also on 2382b4c), diagnostics profile (PROFILE=diag), Series X, 2560x1440 output, no frame generation, no UI plane (popwatch skips composed frames). Standing idle on a save on a house deck, letting the idle cinematic camera run. VICTORY_POP_WATCH=120-600, so 8 minutes per run.

Run Frames Frames with blips (all) Frames with 20+ blipped blocks (16x16 in 640x360)
FSR 4 Quality (960p → 1440p), RT off (VICTORY_BVH_BUILDER=0) 10,829 14 4
FSR 4 Quality, RT off, again (daylight) 10,727 34 16 (9 events)
FSR 4 Quality, RT on 11,572 23 14
FSR 4 Quality, RT on, on 2382b4c (with 51704b2's tight texture alignment) 11,306 41 15
Title's own upscaler, RT on 10,816 276 (most of the 262 small ones are a separate, steady flicker of one object, not cut-related) 14
FSR 4 Quality, RT on, VICTORY_PLACED_COPIED=1 11,144 49 13 (9 events), larger: up to 191 blocks

What blinks: for one frame, objects are drawn black or unlit, or are missing: an umbrella canopy and deck chairs go black, a towel and a stepladder disappear or turn to silhouettes, a house wall loses its lighting. With VICTORY_PLACED_COPIED=1 it was most of the house and deck at once. The frames before and after agree, with the camera standing still.

When: right after camera cuts. The blinks came on a steady 20 s beat, which is the idle camera's shot length. A run with VICTORY_POP_ALL=1 (every frame saved) confirmed it: of 27 cuts, 21 were followed by a blink within 30 frames, and 32 of the 39 blink frames came 3 to 17 frames after a cut (most at 3-7). The other 7 were 1-2 blocks. The same goes for normal play: any fast turn or teleport shows new objects for the first time.

So it's not: ray tracing (two runs with it off had 4 and 16 frames of 20+ blocks, against 14 with it on: no clear difference either way, where #396 found it worse with RT off), FSR 4 (the title's own upscaler blinks the same), frame generation (off), the reporter's fork or Windows (stock xmem on Linux), VICTORY_PLACED_COPIED.

A lead, not proof:

  • Popwatch's "[made null, kept, neutral, stale]" counts for the two frames before each blink: with FSR 4 and RT on, the median stale count was 114 on blink frames against 9 on other logged frames (RT off: 20 against 1.5). With the title's own upscaler, the difference was gone, so this one is shaky.
  • The slots shown after their texture's upload line: over the RT-on session (about 34 minutes), 515,000 slots, 0.85 frames on average after they were asked for, the longest 6 frames, and 299,000 (58%) showed the neutral texture meanwhile. The card was not out of room (about 12 GB free, title paged memory well inside its budget), unlike #396. A new shot asks for many textures at once, and the blink comes within the frames those uploads take. Your fork's VICTORY_NO_NEUTRAL=2 and VICTORY_KEEP_SHOWN=1 sound like they target exactly this, and you still see it, so the placeholder may not be the whole story.

Still the same on 2382b4c: 15 frames of 20+ blocks, right after cuts again, and the neutral texture in 58% of uploaded slots (the longest 4 frames now, from 6), so the tight alignment doesn't change it.

To reproduce: the diagnostics build, an idle save with a cinematic camera, and VICTORY_POP_WATCH=120-600. Count the frames with 20+ blips; with VICTORY_POP_ALL=1 for a minute, each blink can be matched to the cut before it.

**@⁠turboheadcrab** on GitHub · 2026-12-04 18:48 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/463#issuecomment-7420955592) **Same on Linux, stock xmem, and it's triggered by camera cuts.** Measured with popwatch. **Setup:** RX 9070 XT 16 GB, Ryzen 7 5800X3D, 32 GB; Bazzite (Fedora 45), kernel 7.3.5, Mesa/RADV 26.3.1, GE-Proton11-15. Stock xmem `0fd7614` (one run also on `2382b4c`), diagnostics profile (`PROFILE=diag`), Series X, 2560x1440 output, no frame generation, no UI plane (popwatch skips composed frames). Standing idle on a save on a house deck, letting the idle cinematic camera run. `VICTORY_POP_WATCH=120-600`, so 8 minutes per run. | Run | Frames | Frames with blips (all) | Frames with 20+ blipped blocks (16x16 in 640x360) | |---|---|---|---| | FSR 4 Quality (960p → 1440p), RT off (`VICTORY_BVH_BUILDER=0`) | 10,829 | 14 | 4 | | FSR 4 Quality, RT off, again (daylight) | 10,727 | 34 | 16 (9 events) | | FSR 4 Quality, RT on | 11,572 | 23 | 14 | | FSR 4 Quality, RT on, on `2382b4c` (with `51704b2`'s tight texture alignment) | 11,306 | 41 | 15 | | Title's own upscaler, RT on | 10,816 | 276 (most of the 262 small ones are a separate, steady flicker of one object, not cut-related) | 14 | | FSR 4 Quality, RT on, `VICTORY_PLACED_COPIED=1` | 11,144 | 49 | 13 (9 events), larger: up to 191 blocks | **What blinks:** for one frame, objects are drawn black or unlit, or are missing: an umbrella canopy and deck chairs go black, a towel and a stepladder disappear or turn to silhouettes, a house wall loses its lighting. With `VICTORY_PLACED_COPIED=1` it was most of the house and deck at once. The frames before and after agree, with the camera standing still. **When:** right after camera cuts. The blinks came on a steady 20 s beat, which is the idle camera's shot length. A run with `VICTORY_POP_ALL=1` (every frame saved) confirmed it: of 27 cuts, 21 were followed by a blink within 30 frames, and 32 of the 39 blink frames came 3 to 17 frames after a cut (most at 3-7). The other 7 were 1-2 blocks. The same goes for normal play: any fast turn or teleport shows new objects for the first time. **So it's not:** ray tracing (two runs with it off had 4 and 16 frames of 20+ blocks, against 14 with it on: no clear difference either way, where #396 found it worse with RT off), FSR 4 (the title's own upscaler blinks the same), frame generation (off), the reporter's fork or Windows (stock xmem on Linux), `VICTORY_PLACED_COPIED`. **A lead, not proof:** - Popwatch's "[made null, kept, neutral, stale]" counts for the two frames before each blink: with FSR 4 and RT on, the median stale count was 114 on blink frames against 9 on other logged frames (RT off: 20 against 1.5). With the title's own upscaler, the difference was gone, so this one is shaky. - The `slots shown after their texture's upload` line: over the RT-on session (about 34 minutes), 515,000 slots, 0.85 frames on average after they were asked for, the longest 6 frames, and 299,000 (58%) showed the neutral texture meanwhile. The card was not out of room (about 12 GB free, title paged memory well inside its budget), unlike #396. A new shot asks for many textures at once, and the blink comes within the frames those uploads take. Your fork's `VICTORY_NO_NEUTRAL=2` and `VICTORY_KEEP_SHOWN=1` sound like they target exactly this, and you still see it, so the placeholder may not be the whole story. Still the same on `2382b4c`: 15 frames of 20+ blocks, right after cuts again, and the neutral texture in 58% of uploaded slots (the longest 4 frames now, from 6), so the tight alignment doesn't change it. **To reproduce:** the diagnostics build, an idle save with a cinematic camera, and `VICTORY_POP_WATCH=120-600`. Count the frames with 20+ blips; with `VICTORY_POP_ALL=1` for a minute, each blink can be matched to the cut before it.
Author
Owner

@⁠ai-joe-git on GitHub · 2026-12-04 23:54 UTC · original

Strix Halo (Ryzen AI Max+ 395 / Radeon 8060S, gfx1151): same blinking, plus foliage distortion and wrong backlit shadows

Build: stock xmem 0fd7614 + PR #455 (APU Opus async) + PR #483 (RADV APU carve-out), Mesa 26.3.1 rebuilt via setup.sh mesa, GE-Proton 11-16, Ubuntu 26.04, kernel 7.0.0-44.
Hardware: Ryzen AI Max+ 395, Radeon 8060S (40 CU, RDNA 3.5), 128 GB unified LPDDR5X, gttsize auto (~114 GB GTT), 512 MB BIOS carve-out.
Title/settings: Xbox build 1.0.2.1, Series X profile, VICTORY_OUTPUT=1920x1080, VICTORY_UI_PLANE=3840x2160, FSR balanced or performance, frame interval 30 fps, RT off (BVH builder off), fullscreen.

What happens

  • Props and foliage blink out for a single frame, near and far, long after start with 0 pipelines to make (same as reported above).
  • Tree and foliage geometry distorts, and trees pop in when driving.
  • Foliage alpha edges shimmer.
  • Shadow cascades look wrong when the sun is behind the geometry (backlit).

Measured over a 32-minute session (preset low, FSR performance, 1080p output): avg 27.6 fps, min 15.8, 2096 frames over 50 ms; draws 3617–7176 depending on area (gpu_wait 11–30 ms); texture_late after_memory mean 16.8 s, p90 <16 s, p99 >32 s, with 0 pipelines in flight. No device removed since applying #483 (before that, a run died at 0x887A0005 after 2 h 15).

Presets do not change it: potato, low and medium all show the blinking (21–30 fps). FSR quality does not change it either.

Not measured: VICTORY_POP_WATCH. A PROFILE=diag run is too slow to play on this APU (the instrumentation alone drops it below playable), so I could not get a clean popwatch window. If there is a cheaper way to count blips — release build plus a short window, or a lower readback rate — I can run it and report numbers.

**@⁠ai-joe-git** on GitHub · 2026-12-04 23:54 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/463#issuecomment-7427613987) **Strix Halo (Ryzen AI Max+ 395 / Radeon 8060S, gfx1151): same blinking, plus foliage distortion and wrong backlit shadows** **Build:** stock xmem `0fd7614` + PR #455 (APU Opus async) + PR #483 (RADV APU carve-out), Mesa 26.3.1 rebuilt via `setup.sh mesa`, GE-Proton 11-16, Ubuntu 26.04, kernel 7.0.0-44. **Hardware:** Ryzen AI Max+ 395, Radeon 8060S (40 CU, RDNA 3.5), 128 GB unified LPDDR5X, gttsize auto (~114 GB GTT), 512 MB BIOS carve-out. **Title/settings:** Xbox build 1.0.2.1, Series X profile, `VICTORY_OUTPUT=1920x1080`, `VICTORY_UI_PLANE=3840x2160`, FSR balanced or performance, frame interval 30 fps, RT off (BVH builder off), fullscreen. **What happens** - Props and foliage blink out for a single frame, near and far, long after start with 0 pipelines to make (same as reported above). - Tree and foliage geometry distorts, and trees pop in when driving. - Foliage alpha edges shimmer. - Shadow cascades look wrong when the sun is behind the geometry (backlit). **Measured over a 32-minute session** (preset `low`, FSR performance, 1080p output): avg 27.6 fps, min 15.8, **2096 frames over 50 ms**; draws 3617–7176 depending on area (gpu_wait 11–30 ms); `texture_late after_memory` mean 16.8 s, p90 <16 s, p99 >32 s, with 0 pipelines in flight. No `device removed` since applying #483 (before that, a run died at 0x887A0005 after 2 h 15). **Presets do not change it:** potato, low and medium all show the blinking (21–30 fps). FSR quality does not change it either. **Not measured:** `VICTORY_POP_WATCH`. A `PROFILE=diag` run is too slow to play on this APU (the instrumentation alone drops it below playable), so I could not get a clean popwatch window. If there is a cheaper way to count blips — release build plus a short window, or a lower readback rate — I can run it and report numbers.
Author
Owner

@⁠Widget9337 on GitHub · 2026-12-05 00:19 UTC · original

A test of the neutral texture lead from @⁠turboheadcrab's comment: on my setup the blinks are not the stand-in.

Setup: RX 9070 XT 16 GB, Ryzen 9 7950X3D, 64 GB RAM, CachyOS (kernel 7.2), this repo's Mesa and vkd3d-proton, Series X, 1080p with FSR 4 Balanced, ray tracing on. Build: main b581f7e (so #503's keep shown is in) with #428 and #445 on top, release build. The blinks here are the same kind as in #69: a material goes black or bright for one frame, cut sharply along its edges, mostly while moving.

How I tested. A local switch colors the 1x1 stand-in magenta instead of gray, in neutral() in descriptor/host.rs, right after the buffer is filled with 0x80:

if std::env::var_os("VICTORY_NEUTRAL_MAGENTA").is_some_and(|v| v == "1") {
    std::ptr::copy_nonoverlapping([0xffu8, 0x00, 0xff, 0xff].as_ptr(), data, 4);
    tracing::info!("descriptor: the neutral texture is magenta (VICTORY_NEUTRAL_MAGENTA=1)");
}

Result. The log confirmed it (the neutral texture is magenta), and the stand-in was in use about as often as in your runs:

slots shown after their texture's upload, since the start: 90000, 1.16 frames after they were asked for, the longest 9; the neutral texture meanwhile in 45384

Over the usual route (on foot through the alley where blinks are frequent, then driving), the blinks looked exactly as before, black or bright, and I never saw magenta anywhere, not in a blink and not on anything else. So with #503 in, the slots still given the stand-in (new slots) don't explain the blinks here, and the stand-in itself doesn't seem to show up visibly at all, maybe because it mostly lands in masks or normal maps for about a frame.

That leaves your timing result (blinks 3 to 7 frames after a cut, when many new objects are shown at once) as the useful part, and it fits what I see: blinks while moving, not while standing still. Whatever it is, it comes with new content on screen but isn't the placeholder texture. The switch is a cheap check if anyone else wants to rule it out on their card.

**@⁠Widget9337** on GitHub · 2026-12-05 00:19 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/463#issuecomment-7428129014) A test of the neutral texture lead from @⁠turboheadcrab's comment: on my setup the blinks are not the stand-in. Setup: RX 9070 XT 16 GB, Ryzen 9 7950X3D, 64 GB RAM, CachyOS (kernel 7.2), this repo's Mesa and vkd3d-proton, Series X, 1080p with FSR 4 Balanced, ray tracing on. Build: `main` `b581f7e` (so #503's keep shown is in) with #428 and #445 on top, release build. The blinks here are the same kind as in #69: a material goes black or bright for one frame, cut sharply along its edges, mostly while moving. **How I tested.** A local switch colors the 1x1 stand-in magenta instead of gray, in `neutral()` in `descriptor/host.rs`, right after the buffer is filled with `0x80`: ```rust if std::env::var_os("VICTORY_NEUTRAL_MAGENTA").is_some_and(|v| v == "1") { std::ptr::copy_nonoverlapping([0xffu8, 0x00, 0xff, 0xff].as_ptr(), data, 4); tracing::info!("descriptor: the neutral texture is magenta (VICTORY_NEUTRAL_MAGENTA=1)"); } ``` **Result.** The log confirmed it (`the neutral texture is magenta`), and the stand-in was in use about as often as in your runs: ``` slots shown after their texture's upload, since the start: 90000, 1.16 frames after they were asked for, the longest 9; the neutral texture meanwhile in 45384 ``` Over the usual route (on foot through the alley where blinks are frequent, then driving), the blinks looked exactly as before, black or bright, and I never saw magenta anywhere, not in a blink and not on anything else. So with #503 in, the slots still given the stand-in (new slots) don't explain the blinks here, and the stand-in itself doesn't seem to show up visibly at all, maybe because it mostly lands in masks or normal maps for about a frame. That leaves your timing result (blinks 3 to 7 frames after a cut, when many new objects are shown at once) as the useful part, and it fits what I see: blinks while moving, not while standing still. Whatever it is, it comes with new content on screen but isn't the placeholder texture. The switch is a cheap check if anyone else wants to rule it out on their card.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#463
No description provided.