Americas - First dialogue - Black screen 1 fps, audio works - ffe310eb20 #1671
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1671
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?
@rubensegarravlc-prog on GitHub · 2026-11-24 20:39 UTC · original
PC:
Build:
ffe310eb20Result:
Notes:
victory-warn-error.txt
@fiestorra on GitHub · 2026-11-25 00:29 UTC · original
Measured instead of guessed: the frames the title presents on this machine, captured and counted
I have a reproducing setup for the black screen now (session 1, real window 3840×2160,
main70564aeplus the four fixes that stop the device removal: the UAV-format rule, the texture ladder, the sampler heap and the capped view heap; RTX 4090, driver32.0.16.2124,diagbuild,VICTORY_CAPTURE=<folder>,VICTORY_KEYSpressingEnterevery 6 s from 25 s). Frames are saved as PNG at half size; the numbers below are mean luminance, non-black pixels and distinct colours over a 4-pixel grid, and whether the file is byte-identical to the previous one.Three things that matter for this report:
VICTORY_KEYSmy earlier runs never left the profile selector: 2,048 frames of 13,312 draws was one screen drawn again and again. That is worth knowing before reading any fps number here as "the world runs at N".What this does not settle: whether the 3D world draws, because reaching it needs the menu sequence driven further than
Enterevery 6 s, and that is the part I cannot yet script past. If someone can say which keys take the profile selector to the world on 1.0.2.1, I will script that and report the world frames the same way — that is the measurement this issue needs, and it is now cheap to produce.The capture facility is
VICTORY_CAPTUREincrates/victory-gpu/src/capture.rs, present in diagnostics builds; power-of-two frames are saved, andVICTORY_CAPTURE_FRAMESlists others. No game data is attached or uploaded: these are counts and statistics of my own run, and the one frame I described above is named by what it shows, not shared.Written with an AI assistant.
@CruxRiajuu on GitHub · 2026-11-25 11:42 UTC · original · edited 2026-11-25 17:02 UTC
Run report: update 10 tree, NVIDIA RTX 4080 SUPER,
VICTORY_ROOT_SRV_MB=0A first run of the
integration/testerstree (update 10,4744af93d98a) with theleaked retail executable, on an NVIDIA card. Two results: the root-SRV cap is the
single biggest lever on this hardware, and the world draws.
Machine
r4tedx/VIctoryintegration/testers@4744af93d98a(update 10)cargo build --profile diag -p victory --features diagnosticsVariables set
VICTORY_NO_WATCHDOGwas not set for this run.The root-SRV cap is the lever (the
VICTORY_ROOT_SRV_MB=0comparison)Two runs of the same tree on the same machine, the only difference the cap:
VICTORY_ROOT_SRV_MB=0a root SRV cut to its refresh capwarningsAt the default the log carries
a root SRV cut to its refresh cap left=182190208 cap=4194304- a 182 MB root SRVtruncated to 4 MB, so the world's shaders read zeros past the cap. With the cap
lifted the world draws and the dropped-draw rate falls by 3.2x.
The runs are of different lengths and reach different depths, so the per-frame
mean is the comparable figure, not the totals: 65.7 dropped draws per frame at the
default, 20.6 at
VICTORY_ROOT_SRV_MB=0over a run eight times longer, and 11.3over a still longer run. The default run never reached the world at all - it was
still on the loading screen when it was stopped.
Cost: with the cap lifted every frame refreshes ~175-220 MB of root SRV
(
refreshes 177.9 MB,watches 171.4 MB checked), which dominates the frame.A middle value (
VICTORY_ROOT_SRV_MB=64etc.) may be worth measuring; the switchaccepts any MiB value and the tree only documents 0 and the 4 MB default.
The root-SRV cap: a middle value is not a free win
A third and fourth run with
VICTORY_ROOT_SRV_MB=64and=128(the treedocuments only 0 and the 4 MB default; the switch accepts any MiB value):
a root SRV cut to its refresh capThe cap bites at 64 MB and at 128 MB too -
a root SRV cut to its refresh cap left=182190208 cap=134217728- so the world's reads reach past 128 MB of the182 MB root SRV as well as past 4 MB. Only 0 avoids the cut, and only 0 renders
the world in full: the capped runs submit 1,800 fewer draws a frame and drop
twice to three times as many.
The copy volume stops growing once the cap is above what the title touches in a
frame (~480 MB either way at 64 and 128 MB, against 865 MB unbounded), so the
extra copy at 0 is what buys the correctness.
Caveat on the frame-time column: the runs are not camera-matched - each one
reaches a different point of the world - so the frame times and draw counts are
indicative rather than a controlled comparison. The cap-warning count and the
direction of the draw counts are not affected by that.
The cost is not the cap itself but the copy: with the cap lifted every frame
refreshes the whole 182 MB root SRV. The fix upstream is to copy only the
dirty pages of a host copy rather than all of it per bind, which is the
direction of #1993, #1978 and #1934. With that, a capped run would keep the
geometry and lose the copy cost.
Offline shader counts
victory translate --host-lanes 32-32 --validate --pipelines --listover thewhole package (update 10):
0 pipelines refused by the driver. On
mainthe same measurement refuses114-319 compute pipelines on this class of card; the wave64 stack in this tree
removes them.
Runtime: what does not translate
Dropped draws at runtime
0ae69044bfd150354e69dc8770bf27fcdf68734027b2d0c3f09b1760a72a26afa73284b60aa303ed36e010b53acffd77f018c205b5199d39398971d1222d8f95098fc28e44347a000a5d4f9047b3dce4a63e2dfc25ba3155190fbf0ebe0401697bb5b1b91d283a28a197f50cd8481541c85822de2e41cfaa093c64546c55554eef5409053e14aa82a63e2dfc25ba3155190fbf0ebe0401697bb5b1b91d283a28The world
[removed: description of the title's on-screen content]
Memory
The title's resident set grows as the world streams in: the run ended at ~23 GB
resident with the 2,333-shader cache warm. On a 63 GB machine with a 64 GB
pagefile the commit limit is ~127 GB, so this is comfortable, but a machine
running the port alongside other work can be pushed into commit limit - the
README's error 1455 case.
The texture content
Every texture in the world frame comes out as multicoloured banding - the
signature of an uninitialised or mis-swizzled texture buffer rather than a wrong
image. Geometry, silhouettes, depth and the lighting gradients are all correct, so
the geometry path works and the texture path does not.
The fault is localised
The 2D and streamed textures on the same run decode correctly: the menus
(
[removed],[removed],[removed] (Y) [removed]) and the[removed] artwork at 3840x2160 both come out with the right colours, gradients
and text. Only the 3D world's textures are garbage.
That narrows it: general texture decoding works, and the fault is in the 3D
tiled-texture path - the GFX10 swizzle and the BCPack blocks the world is built
from - rather than in texture decoding as a whole.
victory-formatscarriesthe BCPack decoder (
crates/victory-formats/src/bcpack.rs) and the swizzletables (
bcpack-tables.bin); both are in scope for this.There are 115 open texture issues on
mainat the time of writing, and thetexture path is where this looks least finished.
victory-formatscarries theBCPack decoder and
bcpack-tables.bin; strict BCPack decoding is the defaultand this tree ships no local calibration file.
integration/play: the upstream-main tree, on an NVIDIA cardr4tedx/VIctoryintegration/playat08c1d3541- "a playable candidate forNVIDIA". Base: upstream
mainat940d32f. It replacesintegration/testers(update 10,
4744af93d), which was based onffe310ebefore the maintainer'slarge drop of 2026-11-24 and is now frozen.
integration/playEvery translation failure except wave64 is gone
On update 10 the failures were spread over seven reasons - "an address not from
a root parameter", "a scalar memory read as data", "a lane mask read as data",
"an address from a phi" and so on. On this tree the compute failures are
all one reason:
That is the hardware limit, not a translator gap: the console is 64-lane and this
card is 32-lane. 45 programs still do not translate; 36 of them are wave64 compute
programs, the rest are three pixel programs (
barycentrics read directly, twoa descriptor read of the first lane of computed VGPRs).The wave64 stack (#223, #233, #320, #439) is not in this tree yet - the
branch's own note says it "goes in with the next check round". So this tree is
the best NVIDIA configuration available, and it is still not the whole port.
A reproducible device hang
This tree removes the device on an NVIDIA card. The breadcrumb names the draw:
caa78b8ca62bc3d6is not one of the programs that fail to translate - ittranslated, and it hung the GPU. The branch's own risk list names the likely
cause:
The dispatch's descriptor tables reference placed resources in several heaps, which
matches that description.
TdrDelay=60andTdrDdiDelay=60were set and thedevice still hung, so this is a hang rather than a slow frame.
The heap-index evidence
The title's own log names the fault -
title slot past the host heap, one of thelines INTEGRATION.md asks reporters for:
title slot past the host heapwarningscount=)for_drawa root SRV without a bound view heapa draw or dispatch dropped: no dynamic slots for its tablesa root SRV not on 16 bytes reads zerosThe host heap fell back to 934,464 descriptors - under NVIDIA's 1,000,000 cap - and
the clamp lets indices run from exactly the heap's end up to 1,086,453, past both
the heap's end and the cap. That is #1777's failure mode, with the highest index
for the report.
Relation to #1671
#1671 ("Americas - First dialogue - Black screen 1 fps, audio works") reports the
same symptom on an RTX 3080. That report used the software renderer from the
README, so the CPU did the work and the 3D world was never drawn.
This run is on the real GPU with
VICTORY_ROOT_SRV_MB=0, and the world doesdraw: 1,183-1,448 draws/frame late in the run, at 0.2-0.3 fps. The frame time is
dominated by the root-SRV refresh (1.6 s of a 4 s frame is
copies), not by theGPU (330 ms). On the software renderer of #1671 the same scene would be far slower
still, and the world would not appear at all.
If the black screen at the first dialogue is the 4 MB root-SRV cap truncating a
182 MB root SRV,
VICTORY_ROOT_SRV_MB=0is the switch that lifts it. On thiscard it also cuts the dropped draws per frame from 65.7 to 20.6.
The descriptor-heap half of the black screen (#1620, #1627) is still present and
unfixed here: the title asks for 1,572,865 shader-visible descriptors and D3D12
caps that at 1,000,000, so the host view heap is capped and the excess is
dropped.
Other log lines worth reporting
host view heap capped at 1000000over the 1000000 shader-visible limita root SRV not on 16 bytes reads zerosa root SRV without a bound view heaptitle slot past the host heapa draw or dispatch dropped: no dynamic slots for its tablesthe host has no 64-lane wavespipeline refusalfirst-chance exceptionPRs left out or added
None. The tree is
integration/testersas published, at4744af93d98a.@Marvisak on GitHub · 2026-11-25 12:52 UTC · original
Automated triage for the maintainers.
Run report: RTX 3080, Windows 11,
ffe310edebug build withVICTORY_D3D12_WARP=1(the software adapter); menus at 27 fps, then a black world at 1 fps with audio. That is expected for that mode: the README notes WARP is far too slow to show the world, and the black NVIDIA world on the hardware adapter is tracked in #71. Please post a run on the hardware adapter (noVICTORY_D3D12_WARP) with currentmainthere, with the driver version and Windows build.On the comments:
main; its findings belong with that branch or in the PRs it names (for example #1777 for heap indices past the capped view heap). It also names where its copy of the title came from. Nothing about where copies come from, and no screenshots or other content from the title, may be posted here.Generated by Claude Code