HERO LEAD: hair strands smeared across the screen, placed texture view inside host-written memory (RTX 3070 Ti 8 GB) #4257

Open
opened 2026-11-30 17:51:33 +00:00 by ren40 · 3 comments
ren40 commented 2026-11-30 17:51:33 +00:00 (Migrated from github.com)
Contributor

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

  • Windows 10 22H2 (19045), NVIDIA driver 616.64.0
  • RTX 3070 Ti, 8 GB VRAM (vram_budget_mb=7249), 32 GB RAM
  • Display 2560x1440 SDR
  • Build: v2026.11.30.01, SHA-256 77811902a17cb8a020b717085091f33f8bd7ce843a3ebb9886f47e43b0512949
  • D3D12 Agility SDK 1.620 staged in D3D12\D3D12Core.dll beside victory.exe (asking Windows for that version)
  • Started with: victory.exe play --res 1440 --dlss performance --fps 60
  • victory-settings.txt: VICTORY_MNK=1, VICTORY_MOUSE_CAPTURE=1, VICTORY_MOUSE_WARP=1, VICTORY_DLSS=1, VICTORY_MENU_DLSS=performance
  • Preload was run on this build and completed: "2788 of 2803 in the pipeline library in 164 s". During the run being made is 0, so this is not a compile-in-flight stall.

Evidence 1: 40 x "HERO LEAD"

WARN victory_gpu::texture: HERO LEAD: a placed texture view lies in the memory of a texture the host copied into: it is filled from title memory, which the copy never reached
     view_address=0x71764c000 view_offset=311296 view_width=256 view_height=256 view_layers_levels=0x70001 view_format=71
     copied_address=0x717600000 copied_bytes=1441792 copied_width=1024 copied_height=1024 copied_layers_levels=0x90001 copied_format=98

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

WARN victory_gpu::pipeline::make: host pipeline not made: D3D12 returned E_OUTOFMEMORY; it is tried again 1000 ms later, its draws are dropped until then shaders=[compute ...]

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 is wc,coherent,cpu-only,unknown):

default UNIFIED_BACK=all
HERO LEAD warnings 40 14
E_OUTOFMEMORY 8 16
fps in that scene 8 4

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

  1. Is this the lead you are tracking with "HERO LEAD", or a second one? Nothing in the tracker mentions the marker.
  2. Is there a switch to make the placed view be filled from the host-written texture on the card instead of from title memory (i.e. to resolve the view out of the copy's own texels) that I can test?
  3. Could the 8 dropped compute pipelines be the hair simulation, i.e. is the smear a consequence of the OOM rather than of the view, or both?

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

image
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6702672042 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4257). Originally posted by [ren40](https://github.com/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 - Windows 10 22H2 (19045), NVIDIA driver 616.64.0 - RTX 3070 Ti, 8 GB VRAM (vram_budget_mb=7249), 32 GB RAM - Display 2560x1440 SDR - Build: v2026.11.30.01, SHA-256 77811902a17cb8a020b717085091f33f8bd7ce843a3ebb9886f47e43b0512949 - D3D12 Agility SDK 1.620 staged in `D3D12\D3D12Core.dll` beside victory.exe (`asking Windows for that version`) - Started with: `victory.exe play --res 1440 --dlss performance --fps 60` - victory-settings.txt: VICTORY_MNK=1, VICTORY_MOUSE_CAPTURE=1, VICTORY_MOUSE_WARP=1, VICTORY_DLSS=1, VICTORY_MENU_DLSS=performance - Preload was run on this build and completed: "2788 of 2803 in the pipeline library in 164 s". During the run `being made` is 0, so this is not a compile-in-flight stall. ## Evidence 1: 40 x "HERO LEAD" ``` WARN victory_gpu::texture: HERO LEAD: a placed texture view lies in the memory of a texture the host copied into: it is filled from title memory, which the copy never reached view_address=0x71764c000 view_offset=311296 view_width=256 view_height=256 view_layers_levels=0x70001 view_format=71 copied_address=0x717600000 copied_bytes=1441792 copied_width=1024 copied_height=1024 copied_layers_levels=0x90001 copied_format=98 ``` 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 ``` WARN victory_gpu::pipeline::make: host pipeline not made: D3D12 returned E_OUTOFMEMORY; it is tried again 1000 ms later, its draws are dropped until then shaders=[compute ...] ``` 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 is `wc,coherent,cpu-only,unknown`): | | default | UNIFIED_BACK=all | |---|---|---| | HERO LEAD warnings | 40 | 14 | | E_OUTOFMEMORY | 8 | 16 | | fps in that scene | 8 | 4 | 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 1. Is this the lead you are tracking with "HERO LEAD", or a second one? Nothing in the tracker mentions the marker. 2. Is there a switch to make the placed view be filled from the host-written texture on the card instead of from title memory (i.e. to resolve the view out of the copy's own texels) that I can test? 3. Could the 8 dropped compute pipelines be the hair simulation, i.e. is the smear a consequence of the OOM rather than of the view, or both? 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](https://github.com/user-attachments/files/35632798/victory-nvidia-play-20261130-164110-15532.log) <img width="2474" height="1393" alt="image" src="https://github.com/user-attachments/assets/229a5a90-cdb8-40c0-9e50-b097a2432bb9" />
tyr0nsur commented 2026-11-30 19:33:29 +00:00 (Migrated from github.com)
Author
Contributor

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.

  1. "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::forget notes 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.

  2. 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, or host_written_block_like + seed_later when 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.

  3. 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 the E_OUTOFMEMORY lines 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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7289586056 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4257#issuecomment-7289586056). Originally posted by [tyr0nsur](https://github.com/tyr0nsur) on 2026-11-30T19:33:29Z. --- Partial answers from the source at `main` (e1251c31). I'm a contributor, not a maintainer. 1. **"HERO LEAD"** is a diagnostic only: `texture::placed_in_host_written` ([texture.rs](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/texture.rs#L1095-L1131)) warns when the title places a texture in memory the host GPU copied into. It changes nothing by itself. `texture::forget` notes 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. 2. **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`, or `host_written_block_like` + `seed_later` when the block size matches but the format differs, [resource.rs](https://github.com/trustno1-coder/VIctory-NVIDIA/blob/e1251c3199465565147711887351d80359162bb0/crates/victory-gpu/src/resource.rs#L5985-L6060)). 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. 3. **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 the `E_OUTOFMEMORY` lines 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.
igorpappi commented 2026-12-01 02:16:31 +00:00 (Migrated from github.com)
Author
Contributor

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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7298432151 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4257#issuecomment-7298432151). Originally posted by [igorpappi](https://github.com/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.
ffaddd-ddd commented 2026-12-01 16:52:27 +00:00 (Migrated from github.com)
Author
Contributor

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

GPU        RTX 4060 Laptop 8 GB (8188 MiB), driver 621.40 (32.0.16.2140)
CPU / RAM  Ryzen 9 7945HX, 32 GB
OS         Windows 11 23H2 22631.6199
Build      v2026.11.30.03, SHA-256 d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711
Settings   series-s 1280x720, DLSS off, frame generation off, cap 30
Cache      951 MB pipeline library, preloaded
Session    11:13:44 - 16:11:42 (4 h 58 min), 232 MB of log, 689,882 lines
Crashes    0 (device removed 0 times)

The hits, broken down

188 HERO LEAD lines, all with a readable view_* / copied_* pair:

count
total 188
view size differs from the copied texture 154
view size the same 34
view larger than the copy 83
view smaller than the copy 70
view_offset = 0 57
view_offset > 0 131
size same and offset > 0 19

So on this card the majority is offset > 0 with a different size — i.e. the case host_written_like / host_written_block_like would 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 to seed_later where 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)

HERO LEAD: a placed texture view lies in the memory of a texture the host copied into: it is
  filled from title memory, which the copy never reached
  view_address=0x51f9c6000 view_offset=24576 view_width=512 view_height=512
  view_layers_levels=0x30001 view_format=72
  copied_address=0x51f9c0000 copied_bytes=90112 copied_width=256 copied_height=256
  copied_layers_levels=0x70001 copied_format=98

The distinct view sizes across the 188

1024x1024  38      1024x1   9      512x1024  6
512x512    35      13x1     8      2048x1024 5
256x256    14      512x256  8      37x1      5
                    69x1     5      1024x256 4

view_format is mostly 71 and 72 (56 and 31), with 29 at 51 and 99 at 14.

When they happen

14h   39
15h  114
16h   35

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.

Filed yesterday on the same PC: #4989 — 141,063 first texture uploads, 0 allowed for 1.5 hours, while nvidia-smi still 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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7318378353 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4257#issuecomment-7318378353). Originally posted by [ffaddd-ddd](https://github.com/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 ``` GPU RTX 4060 Laptop 8 GB (8188 MiB), driver 621.40 (32.0.16.2140) CPU / RAM Ryzen 9 7945HX, 32 GB OS Windows 11 23H2 22631.6199 Build v2026.11.30.03, SHA-256 d178c927334740e0b49fdd81f0c12a332c29fe41c938ac5f6dd8412fcfea3711 Settings series-s 1280x720, DLSS off, frame generation off, cap 30 Cache 951 MB pipeline library, preloaded Session 11:13:44 - 16:11:42 (4 h 58 min), 232 MB of log, 689,882 lines Crashes 0 (device removed 0 times) ``` ## The hits, broken down 188 `HERO LEAD` lines, all with a readable `view_*` / `copied_*` pair: | | count | |---|---| | total | **188** | | view size **differs** from the copied texture | **154** | | view size the same | 34 | | view **larger** than the copy | 83 | | view **smaller** than the copy | 70 | | `view_offset = 0` | 57 | | `view_offset > 0` | **131** | | size same **and** offset > 0 | 19 | So on this card the majority is **offset > 0 with a different size** — i.e. the case `host_written_like` / `host_written_block_like` would 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 to `seed_later` where 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) ``` HERO LEAD: a placed texture view lies in the memory of a texture the host copied into: it is filled from title memory, which the copy never reached view_address=0x51f9c6000 view_offset=24576 view_width=512 view_height=512 view_layers_levels=0x30001 view_format=72 copied_address=0x51f9c0000 copied_bytes=90112 copied_width=256 copied_height=256 copied_layers_levels=0x70001 copied_format=98 ``` ### The distinct view sizes across the 188 ``` 1024x1024 38 1024x1 9 512x1024 6 512x512 35 13x1 8 2048x1024 5 256x256 14 512x256 8 37x1 5 69x1 5 1024x256 4 ``` `view_format` is mostly 71 and 72 (56 and 31), with 29 at 51 and 99 at 14. ## When they happen ``` 14h 39 15h 114 16h 35 ``` 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-smi` still 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.
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#4257
No description provided.