Objects and foliage blink out for a frame, near and far, after all pipelines are made (RX 9070 XT, Windows) #463
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#463
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
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.e5243e48) is in: the window glass bands are gone, the blinking is not.Setup
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_FARandVICTORY_SNAPSHOT_UAV_TABLESonBuild
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.
@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 on2382b4c), 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.VICTORY_BVH_BUILDER=0)2382b4c(with51704b2's tight texture alignment)VICTORY_PLACED_COPIED=1What 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=1it 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:
slots shown after their texture's uploadline: 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'sVICTORY_NO_NEUTRAL=2andVICTORY_KEEP_SHOWN=1sound 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; withVICTORY_POP_ALL=1for a minute, each blink can be matched to the cut before it.@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 viasetup.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
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_memorymean 16.8 s, p90 <16 s, p99 >32 s, with 0 pipelines in flight. Nodevice removedsince 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. APROFILE=diagrun 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.@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:
mainb581f7e(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()indescriptor/host.rs, right after the buffer is filled with0x80:Result. The log confirmed it (
the neutral texture is magenta), and the stand-in was in use about as often as in your runs: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.