NVIDIA RTX 4060 Ti 16 GB: menus and loading art render, the world loads and runs (no crash), but every in-world frame is black - and the view heap is 310,720 slots short #15

Open
opened 2026-11-26 03:33:08 +00:00 by github-bot · 10 comments
Owner

@⁠WuDiXiaoBo on GitHub · 2026-11-25 11:58 UTC · original

NVIDIA RTX 4060 Ti 16 GB: menus and loading art render, the world loads and runs (no crash), but every in-world frame is black - and the view heap is 310,720 slots short

Second NVIDIA report (after #9, RTX 5060 8 GB, which stops on the loading spinner). Here the world does load - the card has 16 GB - and then presents black. Long report, because it may be the same root cause as #9 seen one step further along, and one number below looks like the reason for the black image.

Environment

OS Windows 11 Pro, build 26300
CPU / RAM Intel Core i5-12400, 6C/12T / 31.8 GB, paging file 32 GB (commit limit 63.8 GB)
GPU NVIDIA GeForce RTX 4060 Ti 16 GB, driver 32.0.16.2114, Ada, 32-lane waves, mesh shaders present
Console profile Series X
Build 4cbe9d7, cargo build --profile diag -p victory --features diagnostics (release builds the same), fresh shader cache
Settings nothing but VICTORY_LOG=info and VICTORY_KEYS pressing Enter; no other VICTORY_* variable unless the section below says so
Save the prologue checkpoint the title made on this machine earlier
Build time 56 s release, 60 s diag

What works

  • Boot and menus render: 30 fps steady (175 fps on the first screens, 59-101 fps on the second menu).
  • The loading screen and its art render correctly, with audio.
  • The world loads, about 70 s after the menu: draws go to 200-1,800 a frame, private commit 23.2 GB, and the run continues for 8 minutes without a crash, without a device removal, and without the driver resetting.
  • No host pipeline refused lines at all: every refusal here happens at translation, with a named reason (see below). That is a much nicer failure than a refused PSO.

What does not: the picture

The world is black. The HUD text and the subtitles draw over it, music and voices play, and nothing else is there. Same run, three captures written by VICTORY_CAPTURE, two pixel checks each (every 7th pixel of a 1920x1080 image):

captured frame what it should be file size mean R+G+B max R+G+B non-black pixels
frame-2048 (before the world) loading art 3.82 MB 235.9 737 100 %
frame-3072 (in the world, second run) loading art 1.76 MB 391.2 725 100 %
frame-4096 (in the world, first run) the world 6 KB 0.00 0 0 %
frame-4096 (in the world, recipe run) the world 6 KB 0.00 0 0 %

So the presented image is not "dark" or "mostly black": every sampled pixel of it is exactly zero. The present path itself works, because the loading art and the subtitles arrive at the window.

The number that looks like the cause: the view heap is short

In the same run, before the first world frame:

WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=... (0x80070057) wanted=1245184 made=934464 lost=310720
INFO victory_gpu::descriptor::host: host descriptor heap count=933440 extra=65536 sampler=false
WARN victory_gpu::descriptor::host: a view heap shorter than shaders keep their indices in total=1000000

The fork's doubled dynamic descriptor slots want 1,245,184 views; this host caps the heap at 1,000,000; 934,464 are made and 310,720 are lost. If the title's (or the shaders') indices reach into the lost 25 %, whatever they sample is not there - and sampling nothing reads as zero, which is what the captured frames are. #9 reports the same two lines on the RTX 5060, where they come with the spinner that never finishes.

Is the doubled capacity expected to fit in one heap on every host? If not, a fallback to the heap's own size (and translating the shaders' index space to that) would be worth more than the doubling on cards where it does not fit. That is the first thing I would try, and I cannot test it myself without patching the fork.

119 compute programs do not translate (same set as #9)

All 119 are compute, by stage. By reason:

count reason
61 console wave64 lanes on a host without 64-lane waves is not supported
29 an address in an SGPR that is no root parameter is not supported
29 a wave64 group sharing LDS without barriers on a host without 64-lane waves is not supported

#9 counts 59 / 30 / 31 = 120 for the same title on the 5060, so this is the same set, three programs fewer. Their dispatches are dropped; the log prints, per frame, one line per program (dropped 1.0/frame without a host pipeline: compute <hash>), 1-2 a frame for most of them. If it helps, I can paste the 119 hashes with their reason.

Frame times (default run, host's own frame line)

frame draws preparing of it copies of it textures of it bindless plans on the GPU copying back
4,962 ms 12,206 4,544 ms 1,733 ms / 322 MB 339 ms / 467 MB 2,358 ms 328 ms 82 ms / 11 MB
745 ms 560 180 ms 97 ms / 67 MB 16 ms / 30 MB 27 ms 311 ms 84 ms / 11 MB
767 ms 556 101 ms 8 ms / 7 MB 8 ms / 18 MB 21 ms 339 ms 68 ms / 2 MB
809 ms 552 120 ms 31 ms / 17 MB 7 ms / 12 MB 19 ms 341 ms 73 ms / 2 MB
2,496 ms 845 251 ms 136 ms / 67 MB 23 ms / 31 MB 30 ms 456 ms 61 ms / 2 MB
718 ms 728 99 ms 28 ms / 17 MB 2 ms / 2 MB 22 ms 280 ms 51 ms / 5 MB

Note the shape: unlike the fxceless fork on this same machine (where the card sits at 43-265 ms of a multi-second frame while the CPU waits for title memory), here the card is busy 280-456 ms and the CPU side is comparatively small. That is at least consistent with the shaders being handed a broken descriptor space and the card chewing through work that produces nothing.

Your README recipe, run as written

VICTORY_PRESENT_TARGET=1x1:1, VICTORY_HAIR=1, and the eight skipped tree pipelines, same save and build, fresh cache:

  • menus and loading behave the same (175 fps first screens, 30 fps menus, loading art renders);
  • the world still does not show, and the frame rate is unchanged: 0.4-2 fps, 606-2,493 ms a frame;
  • VICTORY_PRESENT_TARGET=1x1:1 shows horizontally stretched colour bands across the window (white/grey with curved red-green and blue arcs), not the colour of that 1x1 pixel, and the same in the capture of that run. On this host the override appears to read past a 1x1 resource instead of stretching it, so it cannot be used as a "is the present path alive" check here. It may well be a solid colour on AMD; that difference alone may be worth a look.

What I have not tried

  • AMD hardware, obviously.
  • The moving-vehicle bug, or anything else about how the world looks: there is nothing on screen to see.
  • Patching the heap fallback myself (I can build and run, but I would rather not guess at your index-space translation).
  • VICTORY_AMBIENT was left at its default; it logs nothing here, and the picture is black rather than magenta.

Why I think it is this fork and not the machine or the save

The same checkpoint, the same dump, the same machine renders lit geometry (sunlit surfaces, with the known black shadows) in fxceless/victory-fork at a26859f, 2-4 fps, with the card at 43-265 ms a frame. So the data, the save and the card are fine; the difference is in this tree. That fork also has no view-heap line like the one above.

I can attach the run's full log (1.95 MB, bc.err.log-style) and the captures (loading art 3.8 MB, black world 6 KB, the bands 2.5 MB) to this issue if you want them, or run any switch you name.

AI-assisted: the runs, the captures, the pixel counts and this text were produced with DeepSeek Harness (DeepSeek-V4-Flash) on my machine, at my request. No game data is included; the captures are of the title's own presented frames and stay out of the repository.

The 119 compute programs, by hash and reason (click to expand)
hash reason
03e3e26783a5799b wave64+LDS
196bf6114ff3a131 wave64+LDS
1c4b3c0547e3e6fa wave64+LDS
2fa2f94f560faf39 wave64+LDS
339d476c267c03c7 wave64+LDS
34d88edf583f3778 wave64+LDS
369cbe906ea72764 wave64+LDS
3d002bca51069e01 wave64+LDS
488b12f581b37bfc wave64+LDS
6336cb3769fc53d7 wave64+LDS
647443e8b7b68415 wave64+LDS
78c04f8d197a2904 wave64+LDS
7c4002c5baa28f33 wave64+LDS
9e096a1111c6faaa wave64+LDS
a25ed0e3d4d521ba wave64+LDS
b2b1ea29bc3987db wave64+LDS
b96880482a17f632 wave64+LDS
c7d7a6283fad3cd6 wave64+LDS
dd411d22d78b3625 wave64+LDS
df3cf10a274e26ca wave64+LDS
e24dff38794241ab wave64+LDS
e535cfd7baac93b8 wave64+LDS
e798cc38df9dabc0 wave64+LDS
f41afb810c1e29c6 wave64+LDS
f753697c1c03772b wave64+LDS
f8f50ab85e7b10bb wave64+LDS
fa0c0819dc86ca60 wave64+LDS
fd46520032208bed wave64+LDS
fea2b7d3f17b504f wave64+LDS
14394a322f6dd5c2 sgpr-address
162216b9cfd91aaf sgpr-address
190fbf0ebe040169 sgpr-address
198f6dfd2b81bcea sgpr-address
28918b7150a7aad5 sgpr-address
35e51bb27a463294 sgpr-address
3b90165a77d95cdf sgpr-address
3cea4534bbc15632 sgpr-address
3df629ffc3d0a2a6 sgpr-address
4b5aedc0e96b0770 sgpr-address
4ddd6f9702fab2a7 sgpr-address
5552dac6a2b7a1fd sgpr-address
5c09eb42b7a3c362 sgpr-address
5e68767498c57eb6 sgpr-address
6f6a359d1166bb27 sgpr-address
7bb5b1b91d283a28 sgpr-address
a197f50cd8481541 sgpr-address
a63e2dfc25ba3155 sgpr-address
bb55c842c391589f sgpr-address
c85822de2e41cfaa sgpr-address
caa78b8ca62bc3d6 sgpr-address
cb9647e77864cb3a sgpr-address
e63d22c4def9ba6a sgpr-address
e95858837a9aa22d sgpr-address
f28a33a89eaa2caa sgpr-address
f6e47efa50226beb sgpr-address
f6eb6498409ca974 sgpr-address
f94e5d8bf4e1cf05 sgpr-address
ffd93c8a029ff016 sgpr-address
00bcbbf278ee3d9d wave64
02384a60fda6f2d0 wave64
0a5d4f9047b3dce4 wave64
0c028454b58543f0 wave64
119ee96f602f1668 wave64
136986812880cead wave64
14264103296aa43a wave64
17af15c4015cb4b6 wave64
191ecaed66eea3b1 wave64
1d44a723bdebbf27 wave64
1f1fbd86759b3da2 wave64
20b78ee12ecdb57d wave64
227a043578e42fd8 wave64
240cb516c1af0bc3 wave64
2809db6c31de483d wave64
2b17036bf3a1d615 wave64
2cc4c197ee29e291 wave64
2da4beb386509b77 wave64
2f03a2df10503cef wave64
31d703207b51549a wave64
3c196d81eca7ff15 wave64
466ec41d3f9d24c0 wave64
55679a0547649d0b wave64
56f3bf2d9388e5a7 wave64
5b2ce592c3a5dd09 wave64
5c6224a6bc3a4066 wave64
65de113e23fa4fdd wave64
660814153af43185 wave64
7168dd781ca7efb9 wave64
804b342cb4b9d1e9 wave64
8dd8d739047fe557 wave64
922e1d0ee1e19a85 wave64
9d1d228b02e56a96 wave64
a14c1da4be7b9837 wave64
a1bf269d5b19f025 wave64
a53a7977fe762268 wave64
ab5455fc6abb804f wave64
abd7a22106898c66 wave64
acf14a70f37fb012 wave64
b22a16a178976e1b wave64
b4b0427232707598 wave64
b7953a05b189dfc1 wave64
b8f3f7979d6bbc50 wave64
bad01f53f53248e5 wave64
be14e72d86362031 wave64
be6ce5d849d51127 wave64
c5cb8ef6e18af21a wave64
c9da71da40af2e28 wave64
ce2378e5e8711aad wave64
ce79e9eba7ae0348 wave64
d2b169b82f67ec5b wave64
d7db57731ada919b wave64
e07a678d3f79d4cd wave64
e18931c72af42e46 wave64
eae3498e6553afa8 wave64
f0aa2b1e79275592 wave64
f133e35efed2a48a wave64
f79824724d8e2daf wave64
f8a6133bfedc5759 wave64
fa0bd10a35bfef3c wave64
fdd56d97a806bcca wave64

belobug-4060ti-run.log

capture-loading-art capture-world-frame-black capture-present-target-1x1-bands
**@⁠WuDiXiaoBo** on GitHub · 2026-11-25 11:58 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15) NVIDIA RTX 4060 Ti 16 GB: menus and loading art render, the world loads and runs (no crash), but every in-world frame is black - and the view heap is 310,720 slots short Second NVIDIA report (after #9, RTX 5060 8 GB, which stops on the loading spinner). Here the world does load - the card has 16 GB - and then presents black. Long report, because it may be the same root cause as #9 seen one step further along, and one number below looks like the reason for the black image. ## Environment | | | |---|---| | OS | Windows 11 Pro, build 26300 | | CPU / RAM | Intel Core i5-12400, 6C/12T / 31.8 GB, paging file 32 GB (commit limit 63.8 GB) | | GPU | NVIDIA GeForce RTX 4060 Ti 16 GB, driver 32.0.16.2114, Ada, 32-lane waves, mesh shaders present | | Console profile | Series X | | Build | `4cbe9d7`, `cargo build --profile diag -p victory --features diagnostics` (release builds the same), fresh shader cache | | Settings | nothing but `VICTORY_LOG=info` and `VICTORY_KEYS` pressing Enter; no other `VICTORY_*` variable unless the section below says so | | Save | the prologue checkpoint the title made on this machine earlier | | Build time | 56 s release, 60 s diag | ## What works - Boot and menus render: 30 fps steady (175 fps on the first screens, 59-101 fps on the second menu). - The loading screen and its art render correctly, with audio. - **The world loads**, about 70 s after the menu: draws go to 200-1,800 a frame, private commit 23.2 GB, and the run continues for 8 minutes without a crash, without a device removal, and without the driver resetting. - No `host pipeline refused` lines at all: every refusal here happens at translation, with a named reason (see below). That is a much nicer failure than a refused PSO. ## What does not: the picture The world is black. The HUD text and the subtitles draw over it, music and voices play, and nothing else is there. Same run, three captures written by `VICTORY_CAPTURE`, two pixel checks each (every 7th pixel of a 1920x1080 image): | captured frame | what it should be | file size | mean R+G+B | max R+G+B | non-black pixels | |---|---|---|---|---|---| | `frame-2048` (before the world) | loading art | 3.82 MB | 235.9 | 737 | 100 % | | `frame-3072` (in the world, second run) | loading art | 1.76 MB | 391.2 | 725 | 100 % | | `frame-4096` (in the world, first run) | the world | 6 KB | **0.00** | **0** | **0 %** | | `frame-4096` (in the world, recipe run) | the world | 6 KB | **0.00** | **0** | **0 %** | So the presented image is not "dark" or "mostly black": every sampled pixel of it is exactly zero. The present path itself works, because the loading art and the subtitles arrive at the window. ## The number that looks like the cause: the view heap is short In the same run, before the first world frame: ``` WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=... (0x80070057) wanted=1245184 made=934464 lost=310720 INFO victory_gpu::descriptor::host: host descriptor heap count=933440 extra=65536 sampler=false WARN victory_gpu::descriptor::host: a view heap shorter than shaders keep their indices in total=1000000 ``` The fork's doubled dynamic descriptor slots want **1,245,184** views; this host caps the heap at 1,000,000; 934,464 are made and **310,720 are lost**. If the title's (or the shaders') indices reach into the lost 25 %, whatever they sample is not there - and sampling nothing reads as zero, which is what the captured frames are. `#9` reports the same two lines on the RTX 5060, where they come with the spinner that never finishes. Is the doubled capacity expected to fit in one heap on every host? If not, a fallback to the heap's own size (and translating the shaders' index space to that) would be worth more than the doubling on cards where it does not fit. That is the first thing I would try, and I cannot test it myself without patching the fork. ## 119 compute programs do not translate (same set as #9) All 119 are compute, by stage. By reason: | count | reason | |---|---| | 61 | `console wave64 lanes on a host without 64-lane waves is not supported` | | 29 | `an address in an SGPR that is no root parameter is not supported` | | 29 | `a wave64 group sharing LDS without barriers on a host without 64-lane waves is not supported` | `#9` counts 59 / 30 / 31 = 120 for the same title on the 5060, so this is the same set, three programs fewer. Their dispatches are dropped; the log prints, per frame, one line per program (`dropped 1.0/frame without a host pipeline: compute <hash>`), 1-2 a frame for most of them. If it helps, I can paste the 119 hashes with their reason. ## Frame times (default run, host's own frame line) | frame | draws | preparing | of it copies | of it textures | of it bindless plans | on the GPU | copying back | |---|---|---|---|---|---|---|---| | 4,962 ms | 12,206 | 4,544 ms | 1,733 ms / 322 MB | 339 ms / 467 MB | 2,358 ms | 328 ms | 82 ms / 11 MB | | 745 ms | 560 | 180 ms | 97 ms / 67 MB | 16 ms / 30 MB | 27 ms | 311 ms | 84 ms / 11 MB | | 767 ms | 556 | 101 ms | 8 ms / 7 MB | 8 ms / 18 MB | 21 ms | 339 ms | 68 ms / 2 MB | | 809 ms | 552 | 120 ms | 31 ms / 17 MB | 7 ms / 12 MB | 19 ms | 341 ms | 73 ms / 2 MB | | 2,496 ms | 845 | 251 ms | 136 ms / 67 MB | 23 ms / 31 MB | 30 ms | 456 ms | 61 ms / 2 MB | | 718 ms | 728 | 99 ms | 28 ms / 17 MB | 2 ms / 2 MB | 22 ms | 280 ms | 51 ms / 5 MB | Note the shape: unlike the fxceless fork on this same machine (where the card sits at 43-265 ms of a multi-second frame while the CPU waits for title memory), here the **card is busy 280-456 ms** and the CPU side is comparatively small. That is at least consistent with the shaders being handed a broken descriptor space and the card chewing through work that produces nothing. ## Your README recipe, run as written `VICTORY_PRESENT_TARGET=1x1:1`, `VICTORY_HAIR=1`, and the eight skipped tree pipelines, same save and build, fresh cache: - menus and loading behave the same (175 fps first screens, 30 fps menus, loading art renders); - the world still does not show, and the frame rate is unchanged: 0.4-2 fps, 606-2,493 ms a frame; - `VICTORY_PRESENT_TARGET=1x1:1` shows **horizontally stretched colour bands** across the window (white/grey with curved red-green and blue arcs), not the colour of that 1x1 pixel, and the same in the capture of that run. On this host the override appears to read past a 1x1 resource instead of stretching it, so it cannot be used as a "is the present path alive" check here. It may well be a solid colour on AMD; that difference alone may be worth a look. ## What I have not tried - AMD hardware, obviously. - The moving-vehicle bug, or anything else about how the world looks: there is nothing on screen to see. - Patching the heap fallback myself (I can build and run, but I would rather not guess at your index-space translation). - `VICTORY_AMBIENT` was left at its default; it logs nothing here, and the picture is black rather than magenta. ## Why I think it is this fork and not the machine or the save The same checkpoint, the same dump, the same machine renders lit geometry (sunlit surfaces, with the known black shadows) in `fxceless/victory-fork` at `a26859f`, 2-4 fps, with the card at 43-265 ms a frame. So the data, the save and the card are fine; the difference is in this tree. That fork also has no view-heap line like the one above. I can attach the run's full log (1.95 MB, `bc.err.log`-style) and the captures (loading art 3.8 MB, black world 6 KB, the bands 2.5 MB) to this issue if you want them, or run any switch you name. *AI-assisted: the runs, the captures, the pixel counts and this text were produced with DeepSeek Harness (DeepSeek-V4-Flash) on my machine, at my request. No game data is included; the captures are of the title's own presented frames and stay out of the repository.* <details><summary>The 119 compute programs, by hash and reason (click to expand)</summary> | hash | reason | |---|---| | `03e3e26783a5799b` | wave64+LDS | | `196bf6114ff3a131` | wave64+LDS | | `1c4b3c0547e3e6fa` | wave64+LDS | | `2fa2f94f560faf39` | wave64+LDS | | `339d476c267c03c7` | wave64+LDS | | `34d88edf583f3778` | wave64+LDS | | `369cbe906ea72764` | wave64+LDS | | `3d002bca51069e01` | wave64+LDS | | `488b12f581b37bfc` | wave64+LDS | | `6336cb3769fc53d7` | wave64+LDS | | `647443e8b7b68415` | wave64+LDS | | `78c04f8d197a2904` | wave64+LDS | | `7c4002c5baa28f33` | wave64+LDS | | `9e096a1111c6faaa` | wave64+LDS | | `a25ed0e3d4d521ba` | wave64+LDS | | `b2b1ea29bc3987db` | wave64+LDS | | `b96880482a17f632` | wave64+LDS | | `c7d7a6283fad3cd6` | wave64+LDS | | `dd411d22d78b3625` | wave64+LDS | | `df3cf10a274e26ca` | wave64+LDS | | `e24dff38794241ab` | wave64+LDS | | `e535cfd7baac93b8` | wave64+LDS | | `e798cc38df9dabc0` | wave64+LDS | | `f41afb810c1e29c6` | wave64+LDS | | `f753697c1c03772b` | wave64+LDS | | `f8f50ab85e7b10bb` | wave64+LDS | | `fa0c0819dc86ca60` | wave64+LDS | | `fd46520032208bed` | wave64+LDS | | `fea2b7d3f17b504f` | wave64+LDS | | `14394a322f6dd5c2` | sgpr-address | | `162216b9cfd91aaf` | sgpr-address | | `190fbf0ebe040169` | sgpr-address | | `198f6dfd2b81bcea` | sgpr-address | | `28918b7150a7aad5` | sgpr-address | | `35e51bb27a463294` | sgpr-address | | `3b90165a77d95cdf` | sgpr-address | | `3cea4534bbc15632` | sgpr-address | | `3df629ffc3d0a2a6` | sgpr-address | | `4b5aedc0e96b0770` | sgpr-address | | `4ddd6f9702fab2a7` | sgpr-address | | `5552dac6a2b7a1fd` | sgpr-address | | `5c09eb42b7a3c362` | sgpr-address | | `5e68767498c57eb6` | sgpr-address | | `6f6a359d1166bb27` | sgpr-address | | `7bb5b1b91d283a28` | sgpr-address | | `a197f50cd8481541` | sgpr-address | | `a63e2dfc25ba3155` | sgpr-address | | `bb55c842c391589f` | sgpr-address | | `c85822de2e41cfaa` | sgpr-address | | `caa78b8ca62bc3d6` | sgpr-address | | `cb9647e77864cb3a` | sgpr-address | | `e63d22c4def9ba6a` | sgpr-address | | `e95858837a9aa22d` | sgpr-address | | `f28a33a89eaa2caa` | sgpr-address | | `f6e47efa50226beb` | sgpr-address | | `f6eb6498409ca974` | sgpr-address | | `f94e5d8bf4e1cf05` | sgpr-address | | `ffd93c8a029ff016` | sgpr-address | | `00bcbbf278ee3d9d` | wave64 | | `02384a60fda6f2d0` | wave64 | | `0a5d4f9047b3dce4` | wave64 | | `0c028454b58543f0` | wave64 | | `119ee96f602f1668` | wave64 | | `136986812880cead` | wave64 | | `14264103296aa43a` | wave64 | | `17af15c4015cb4b6` | wave64 | | `191ecaed66eea3b1` | wave64 | | `1d44a723bdebbf27` | wave64 | | `1f1fbd86759b3da2` | wave64 | | `20b78ee12ecdb57d` | wave64 | | `227a043578e42fd8` | wave64 | | `240cb516c1af0bc3` | wave64 | | `2809db6c31de483d` | wave64 | | `2b17036bf3a1d615` | wave64 | | `2cc4c197ee29e291` | wave64 | | `2da4beb386509b77` | wave64 | | `2f03a2df10503cef` | wave64 | | `31d703207b51549a` | wave64 | | `3c196d81eca7ff15` | wave64 | | `466ec41d3f9d24c0` | wave64 | | `55679a0547649d0b` | wave64 | | `56f3bf2d9388e5a7` | wave64 | | `5b2ce592c3a5dd09` | wave64 | | `5c6224a6bc3a4066` | wave64 | | `65de113e23fa4fdd` | wave64 | | `660814153af43185` | wave64 | | `7168dd781ca7efb9` | wave64 | | `804b342cb4b9d1e9` | wave64 | | `8dd8d739047fe557` | wave64 | | `922e1d0ee1e19a85` | wave64 | | `9d1d228b02e56a96` | wave64 | | `a14c1da4be7b9837` | wave64 | | `a1bf269d5b19f025` | wave64 | | `a53a7977fe762268` | wave64 | | `ab5455fc6abb804f` | wave64 | | `abd7a22106898c66` | wave64 | | `acf14a70f37fb012` | wave64 | | `b22a16a178976e1b` | wave64 | | `b4b0427232707598` | wave64 | | `b7953a05b189dfc1` | wave64 | | `b8f3f7979d6bbc50` | wave64 | | `bad01f53f53248e5` | wave64 | | `be14e72d86362031` | wave64 | | `be6ce5d849d51127` | wave64 | | `c5cb8ef6e18af21a` | wave64 | | `c9da71da40af2e28` | wave64 | | `ce2378e5e8711aad` | wave64 | | `ce79e9eba7ae0348` | wave64 | | `d2b169b82f67ec5b` | wave64 | | `d7db57731ada919b` | wave64 | | `e07a678d3f79d4cd` | wave64 | | `e18931c72af42e46` | wave64 | | `eae3498e6553afa8` | wave64 | | `f0aa2b1e79275592` | wave64 | | `f133e35efed2a48a` | wave64 | | `f79824724d8e2daf` | wave64 | | `f8a6133bfedc5759` | wave64 | | `fa0bd10a35bfef3c` | wave64 | | `fdd56d97a806bcca` | wave64 | </details> [belobug-4060ti-run.log](https://github.com/user-attachments/files/35410074/belobug-4060ti-run.log) <img width="1920" height="1080" alt="capture-loading-art" src="https://github.com/user-attachments/assets/ab1b9c92-848f-4af1-be4e-47c4627e2fc4" /> <img width="1920" height="1080" alt="capture-world-frame-black" src="https://github.com/user-attachments/assets/f169cdde-f24d-458d-943e-8d4f2ba20943" /> <img width="2560" height="1440" alt="capture-present-target-1x1-bands" src="https://github.com/user-attachments/assets/3840744c-50a9-4e1f-94e9-67133b20e9e9" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:33:08 +00:00
Author
Owner

@⁠yunsuwan79-blip on GitHub · 2026-11-25 12:18 UTC · original

The same thing is happening

**@⁠yunsuwan79-blip** on GitHub · 2026-11-25 12:18 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7162190117) The same thing is happening
Author
Owner

@⁠WuDiXiaoBo on GitHub · 2026-11-25 12:33 UTC · original

Applied the legal_state patch from #13 on this machine: the black image is gone — geometry and sky are visible now (screenshot and log in #13), the colour is still overexposed.

**@⁠WuDiXiaoBo** on GitHub · 2026-11-25 12:33 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7162526606) Applied the `legal_state` patch from #13 on this machine: the black image is gone — geometry and sky are visible now (screenshot and log in #13), the colour is still overexposed.
Author
Owner

@⁠WuDiXiaoBo on GitHub · 2026-11-25 12:40 UTC · original

@⁠yunsuwan79-blip thanks for confirming — could you add a few details so this is useful rather than a "+1"?

  • GPU and driver version (dxdiag shows it)
  • the build you ran (git rev-parse --short HEAD of the fork, or which release you downloaded)
  • whether the legal_state patch from #13 changes anything for you: in crates/victory-gpu/src/list.rs, host_barrier(), send both sides of the transition through legal_state and skip transitions whose legal states match (the snippet in #13 applies to that function)

On my card (RTX 4060 Ti 16 GB, Ada, 32-lane) that patch turns a fully black image into visible geometry — the character's silhouette against a sky with red clouds, the ground blown out white — so the colour is still wrong, but the scene is composed at all. If it does nothing on yours, then your failure is upstream of that barrier path, and that would be worth knowing here.

**@⁠WuDiXiaoBo** on GitHub · 2026-11-25 12:40 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7162706827) @⁠yunsuwan79-blip thanks for confirming — could you add a few details so this is useful rather than a "+1"? - GPU and driver version (dxdiag shows it) - the build you ran (`git rev-parse --short HEAD` of the fork, or which release you downloaded) - whether the `legal_state` patch from #13 changes anything for you: in `crates/victory-gpu/src/list.rs`, `host_barrier()`, send both sides of the transition through `legal_state` and skip transitions whose legal states match (the snippet in #13 applies to that function) On my card (RTX 4060 Ti 16 GB, Ada, 32-lane) that patch turns a fully black image into visible geometry — the character's silhouette against a sky with red clouds, the ground blown out white — so the colour is still wrong, but the scene is composed at all. If it does nothing on yours, then your failure is upstream of that barrier path, and that would be worth knowing here.
Author
Owner

@⁠yunsuwan79-blip on GitHub · 2026-11-25 13:22 UTC · original

I am using an RTX 4060. This issue occurs only in this specific project; in other projects, the sky renders exactly as you described.
Following the method you suggested has led to an improvement.

**@⁠yunsuwan79-blip** on GitHub · 2026-11-25 13:22 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7163693557) I am using an RTX 4060. This issue occurs only in this specific project; in other projects, the sky renders exactly as you described. Following the method you suggested has led to an improvement.
Author
Owner

@⁠yunsuwan79-blip on GitHub · 2026-11-25 13:26 UTC · original

I applied the host_barrier change described here: both the before and after states are normalized with legal_state, and the barrier is skipped when the normalized states are identical.
I built the release version successfully on my RTX 4060 (driver 32.0.16.2124). I have not tested the patched build in-game yet, so I can’t confirm whether it fixes the rendering issue on my system.
cargo test --workspace reported 108 passed and 1 failed. The failing test was descriptor::host::tests::dynamic_slots_are_held_until_released; it concerns descriptor slots, not host_barrier.
I’ll report back after testing the patched build.

**@⁠yunsuwan79-blip** on GitHub · 2026-11-25 13:26 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7163784000) I applied the host_barrier change described here: both the before and after states are normalized with legal_state, and the barrier is skipped when the normalized states are identical. I built the release version successfully on my RTX 4060 (driver 32.0.16.2124). I have not tested the patched build in-game yet, so I can’t confirm whether it fixes the rendering issue on my system. cargo test --workspace reported 108 passed and 1 failed. The failing test was descriptor::host::tests::dynamic_slots_are_held_until_released; it concerns descriptor slots, not host_barrier. I’ll report back after testing the patched build.
Author
Owner

@⁠yunsuwan79-blip on GitHub · 2026-11-25 13:29 UTC · original

image
**@⁠yunsuwan79-blip** on GitHub · 2026-11-25 13:29 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7163848644) <img width="1913" height="968" alt="image" src="https://github.com/user-attachments/assets/429acab6-f227-4f07-8672-ef40a5fd1769" />
Author
Owner

@⁠yunsuwan79-blip on GitHub · 2026-11-25 13:31 UTC · original

I tested the host_barrier change from #13 on an RTX 4060. The world is no longer completely black, but I still can’t see any world geometry—the screen is a flat light blue. The window reports 2 FPS (637.5 ms/frame) and 331 draws/frame. I’ve attached a screenshot.
I haven’t tested other settings or captured diagnostic logs yet. Let me know if either would help investigate this further.

**@⁠yunsuwan79-blip** on GitHub · 2026-11-25 13:31 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7163892721) I tested the host_barrier change from #13 on an RTX 4060. The world is no longer completely black, but I still can’t see any world geometry—the screen is a flat light blue. The window reports 2 FPS (637.5 ms/frame) and 331 draws/frame. I’ve attached a screenshot. I haven’t tested other settings or captured diagnostic logs yet. Let me know if either would help investigate this further.
Author
Owner

@⁠Yoshi-233 on GitHub · 2026-11-25 14:22 UTC · original

I reproduced a separate lighting pipeline failure on a 4070 Ti SUPER, driver 32.0.16.1742, on a locally modified Belobug build based on 71652a2. Four indirect-lighting compute shaders passed DXIL validation but failed in the game with 0x80004005. After the game exited I created a standalone D3D12 debug device on the same GPU. All four root signatures succeeded, then CreateComputePipelineState returned 0x8007000E for hashes 39f0e9aeb156a61c, 4a1a6cda9de2974b, 6bb493a39685ddcc, and b58eb3ca6ee46427. Four control shaders created pipelines on that device. The in-game test still showed a corrupted world and ended in DXGI_ERROR_DEVICE_HUNG. The failing call is reproducible independently; the cause of the final image and hang remains open.

**@⁠Yoshi-233** on GitHub · 2026-11-25 14:22 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7165184524) I reproduced a separate lighting pipeline failure on a 4070 Ti SUPER, driver 32.0.16.1742, on a locally modified Belobug build based on `71652a2`. Four indirect-lighting compute shaders passed DXIL validation but failed in the game with `0x80004005`. After the game exited I created a standalone D3D12 debug device on the same GPU. All four root signatures succeeded, then `CreateComputePipelineState` returned `0x8007000E` for hashes `39f0e9aeb156a61c`, `4a1a6cda9de2974b`, `6bb493a39685ddcc`, and `b58eb3ca6ee46427`. Four control shaders created pipelines on that device. The in-game test still showed a corrupted world and ended in `DXGI_ERROR_DEVICE_HUNG`. The failing call is reproducible independently; the cause of the final image and hang remains open.
Author
Owner

@⁠pjanes22 on GitHub · 2026-11-25 17:56 UTC · original

Data from an RTX 5080 (16 GB) on the same problem: which slots of the title's
1,245,184-slot view heap the title writes (counted at every descriptor write,
~3.5 min in the world, standing still):

  • 0 - 115k: nearly full (114,930 slots)
  • 115k - 327k: never written (212,750 slots)
  • 327k - 1,245k: sparse, ~6 % of each 64k block, up to slot 1,245,182

So the slots lost past the 1,000,000 cap are ~20k written ones (about 10 % of
all written slots), and the unwritten gap is too small to shift the top range
into it. A remap of the slots past the cap (table in the shader, slots handed
out from the gap) would cover them.

With #144 applied (clamp to a sentinel inside the capped heap) the GPU
timeouts during world load stopped on this card (no submission over 1 s in a
7-minute run; before: 4.7-6.5 s submissions and DXGI_ERROR_DEVICE_HUNG).

**@⁠pjanes22** on GitHub · 2026-11-25 17:56 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7170222160) Data from an RTX 5080 (16 GB) on the same problem: which slots of the title's 1,245,184-slot view heap the title writes (counted at every descriptor write, ~3.5 min in the world, standing still): - 0 - 115k: nearly full (114,930 slots) - 115k - 327k: never written (212,750 slots) - 327k - 1,245k: sparse, ~6 % of each 64k block, up to slot 1,245,182 So the slots lost past the 1,000,000 cap are ~20k written ones (about 10 % of all written slots), and the unwritten gap is too small to shift the top range into it. A remap of the slots past the cap (table in the shader, slots handed out from the gap) would cover them. With #144 applied (clamp to a sentinel inside the capped heap) the GPU timeouts during world load stopped on this card (no submission over 1 s in a 7-minute run; before: 4.7-6.5 s submissions and DXGI_ERROR_DEVICE_HUNG).
Author
Owner

@⁠MrBiscuit921 on GitHub · 2026-11-25 22:08 UTC · original

Adding another NVIDIA GeForce RTX 4060 (8 GB) baseline data point (unpatched build, i5-13400F / 32 GB DDR5 / Win11 Build 26200 / Driver 621.35):

  • Descriptor heap: Same host view heap capped at 1000000 (wanted=1245184 made=934464 lost=310720).
  • Behavior (with VICTORY_FPS=0): Menus run at 240 FPS and loading screens at 30 FPS, then every in-world frame renders completely black at ~1 FPS while audio continues playing.
  • Progression / Crash: Audio progressed through the intro car theft into the prison cafeteria flashback (Lucia checking her phone / asking for ice water) before exiting with -1073741819 (0xC0000005 Access Violation), no crashes.log written.
**@⁠MrBiscuit921** on GitHub · 2026-11-25 22:08 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/15#issuecomment-7175997242) Adding another **NVIDIA GeForce RTX 4060 (8 GB)** baseline data point (unpatched build, i5-13400F / 32 GB DDR5 / Win11 Build 26200 / Driver `621.35`): - **Descriptor heap:** Same `host view heap capped at 1000000` (`wanted=1245184 made=934464 lost=310720`). - **Behavior (with `VICTORY_FPS=0`):** Menus run at 240 FPS and loading screens at 30 FPS, then every in-world frame renders completely black at ~1 FPS while audio continues playing. - **Progression / Crash:** Audio progressed through the intro car theft into the prison cafeteria flashback (Lucia checking her phone / asking for ice water) before exiting with `-1073741819` (`0xC0000005` Access Violation), no `crashes.log` written.
This discussion has been locked. Commenting is limited to contributors.
No description provided.