HERO LEAD: hair strands smeared across the screen, placed texture view inside host-written memory (RTX 3070 Ti 8 GB) #4257
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ren40 on 2026-11-30T17:51:33Z.
What happens
Hair renders as one huge smear that covers half the screen (screenshot attached). The character's strands get garbage positions. In the same frame the window/mirror on the right shows blocky rectangles. Frame rate at that moment: 8 fps, 125.1 ms/frame, 6016 draws/frame.
This is an indoor scene (interrogation room, subtitle visible), reached from the normal start, DLSS performance, 1440p output.
Environment
D3D12\D3D12Core.dllbeside victory.exe (asking Windows for that version)victory.exe play --res 1440 --dlss performance --fps 60being madeis 0, so this is not a compile-in-flight stall.Evidence 1: 40 x "HERO LEAD"
It repeats with different views (different offsets and sizes) through the session; 40 hits in one run.
Evidence 2: compute pipelines refused for want of memory
8 of these in the same run. The card's own memory is over the reported budget in this build:
the card's own 7877 MB in use of a budget of 7223 MB.What I tried
Setting
VICTORY_UNIFIED_BACK=all(play's default iswc,coherent,cpu-only,unknown):So it reduces the warning but makes memory pressure worse, and the hair is still wrong. I reverted it.
I also tried (on earlier builds, no effect on this): forcing VICTORY_CARD_BUFFERS_MB=2048 (on .01 it made frames 4x slower: 310 ms vs 78), VICTORY_KEEP_SNAPSHOTS, VICTORY_WC_NO_BACK, VICTORY_TEXTURE_ROOM_PERCENT=86.
Questions
I can run any build or any switch you want and report back with logs; the machine reproduces this in the indoor scene within about a minute of play.
Attachments: screenshot (the smear), full log (4.0 MB,
victory-nvidia-play-20261130-164110-15532.log).victory-nvidia-play-20261130-164110-15532.log
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T19:33:29Z.
Partial answers from the source at
main(e1251c31). I'm a contributor, not a maintainer."HERO LEAD" is a diagnostic only:
texture::placed_in_host_written(texture.rs) warns when the title places a texture in memory the host GPU copied into. It changes nothing by itself.texture::forgetnotes that in run 177 most of these lines were views in memory that a released texture had held, and it now drops those addresses on release.Filling the view from the copy: the code does this only for a view that starts at the same address as the copied texture, with the same width, height and layers (
host_written_like, orhost_written_block_like+seed_laterwhen the block size matches but the format differs, resource.rs). Your views sit inside the copied texture (offset 311296 of a 1024x1024 BC7 one), at another size (256x256) and block size (BC1, 8 bytes per block, against BC7's 16). Neither path takes those, and I found no switch that does. With the tiled layouts of both, the texels at that offset would not map to a plain sub-rectangle anyway, so this looks like the title reusing the memory for another texture rather than a view of the same one.The 8 compute pipelines refused with E_OUTOFMEMORY: in
pipeline/make.rs(Pending::defer) a refused pipeline is retried after 1000 ms, and its draws and dispatches are dropped until then. If one of them is the hair's simulation or skinning compute pass, its output buffer would keep stale or uninitialised positions for that time, which fits a strand smear better than a texture problem. The card was over its budget then (7877 of 7223 MB). One way to tell the two apart: repeat the scene with less memory pressure (Series S profile, a lower resolution, or DLSS ultra performance). If theE_OUTOFMEMORYlines go and the smear goes with them, it's the dropped compute. If the smear stays with no refused pipeline, it's the views.AI-assisted with Claude Code.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by igorpappi on 2026-12-01T02:16:31Z.
Same hair smear on an RTX 3070 8 GB (driver 617.42, Windows 11, 32 GB RAM, Series S, DLSS Performance, frame generation off). Same PC, same scene:
v2026.11.29.05: hair is correct.
v2026.11.30.03: hair strands smear across the screen.
On .30.03 the same compute pipelines are repeatedly refused with E_OUTOFMEMORY: 8080af82aaac33df, 5b6eed17c131f881, 9aa4a785e0800cda, 45b8c316ec2f3e8c, b3e7781d53ff8326. On .29.05 the first three are created without error on this PC (I did not check the other two).
It may not be real memory exhaustion: in one run the first refusals came about 12 s after start, with ~13 GB RAM free and plenty of commit left. Another run had refusals at the menu, and its VRAM use at the end was 1.2 of 7.2 GB.
VICTORY_CARD_ALL=0 and VICTORY_WC_NO_BACK off: no change. HERO LEAD was higher on .29.05 (200 in 32 min) than on .30.03 (30 in ~3.5 min), although hair was fine there.
Could the .30.x translation of these shaders be what the driver rejects? I have not confirmed that they are the hair simulation. Logs available.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ffaddd-ddd on 2026-12-01T16:52:27Z.
Adding 188 hits from an 8 GB RTX 4060 Laptop on v2026.11.30.03, in case the shape of them is useful. Same warning, but the mix on this card is different from the 3070 Ti run in the opening post.
AI use: DeepSeek (deepseek-v4.1-flash) prepared this from the reporter's log; every figure is quoted from it.
Session
The hits, broken down
188
HERO LEADlines, all with a readableview_*/copied_*pair:view_offset = 0view_offset > 0So on this card the majority is offset > 0 with a different size — i.e. the case
host_written_like/host_written_block_likewould not fill, exactly as tyr0nsur described for the 3070 Ti. But a third of the hits (57) start at offset 0, which is the case the code is supposed to be able to fill (subject to the same width/height/layers, and toseed_laterwhere the block size matches but the format differs). Worth a look whether those 57 are genuinely a different width/height/layers, or the same and still not filled.A representative line (offset 0, 512x512 view into a 256x256 copy)
The distinct view sizes across the 188
view_formatis mostly 71 and 72 (56 and 31), with 29 at 51 and 99 at 14.When they happen
They start with the open world (the session's first 3 hours are menus/loading on this PC) and stay concentrated in the middle of play. No crash in the session, so on this card the symptom is not a crash — it is textures that never arrive.
Related, possibly the same accounting
Filed yesterday on the same PC: #4989 — 141,063 first texture uploads, 0 allowed for 1.5 hours, while
nvidia-smistill showed ~1.5 GB of the 8,188 MiB unused. If the view/copy mismatch and the upload refusal share a cause, the upload counters in #4989 may say something about it.Logs
victory-nvidia-play-20261201-105533-61704.log(232 MB, gzipped to 22.1 MB) is attached to #4989 and I can attach it here too, or cut a window around any of these lines — tell me which and I will.