RTX 2060 stuck mesh problem #808
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#808
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?
@02dgokberk on GitHub · 2026-11-24 11:21 UTC · original
Mesh shaders hang the GPU until TDR on NVIDIA (RTX 2060) – DRED shows null u9/u10 descriptors
Commit:
ffe310e(main), diag build. GPU: NVIDIA GeForce RTX 2060 (wave32), Windows 11, 16 GB RAM.TdrDelay raised to 60 s,
VICTORY_SHADER_LOOP_LIMIT=256,VICTORY_D3D12_DRED=1.The world loads and runs at ~0.5–2 fps (HUD/minimap visible), then a single submission
never finishes and the device is removed. The hang always lasts exactly the TDR delay
(2 s → ~20 s submissions earlier, 60 s → 63 s), so it is infinite, not slow. Lowering
the loop limit from the default to 4096 and 256 does not change it.
DRED stops in a mesh draw every time, a different mesh shader each run:
Skipping one with
VICTORY_SKIP_PIPELINESonly moves the hang to the next one.Guess: a lane that hits the loop limit returns early (
abort_block→Ret) while therest of the mesh group waits at a barrier, which deadlocks on hardware that does not
count exited lanes. Mesh programs keep the console's wave64 layout, which wave32
hardware cannot declare. Full DRED dumps in the attached crashes.log.
Also needed on this setup: the title's hang watchdog (fn at title+0x2215a60) kills it
when world frames stall the main loop for ~30 s; I nop'd its three branches to the kill.
@02dgokberk on GitHub · 2026-11-24 11:21 UTC · original
crashes.log
@NuraadGit on GitHub · 2026-11-24 11:24 UTC · original
This matches what I took apart on an RTX 2080 in #71. Two other Turing cards (RTX 2070 SUPER, RTX 2080) and an RTX 4080 now stay up in the world on the same three open PRs on top of main:
c48b240, root SRVs as bounded one-view tables): this fixed the mesh hang at857b2e13c9cc107f, the first row of your table.04b9be37….With all three merged, the 2080 ran 3 of 3 seven-minute runs and one 21-minute run with no device removal. That held at the default loop limit too.
VICTORY_SHADER_LOOP_LIMIT=32makes frames about 40% faster. The ablation, with what each PR fixes, is in #71. In my runs, skipping a pipeline also just moved the hang, as you saw. The cause was the descriptors (your nullu8–u10), not one program.Two more things that helped on the same card:
MIN_DYNAMIC = 1 << 18stops the "no dynamic slots" drops. On the 2080 it took the world from ~430 to ~2,400 draws per frame and put the first real geometry into the colour G-buffer.AI-assisted (Claude Code). The hardware, title copy and runs are the user's.
@02dgokberk on GitHub · 2026-11-24 13:36 UTC · original
Series S mode (--console series-s) ran ~19 minutes on 16 GB RAM to gameplay without the pool assertion. The window was black because the title presents 2 planes there (plane 0: 1920×1080 f28, plane 1: 3840×2160 f28; plane descriptions 72 bytes apart) and present shows plane 0. Showing the largest plane brings back the intro and the menus. In the world it is still black: 521 untranslated compute shaders, ~1,160 draws and ~1,430 indirect draws dropped per frame.
@NuraadGit on GitHub · 2026-11-24 16:27 UTC · original
@02dgokberk Your counts (521 untranslated, ~1,160 draws and ~1,430 indirect dropped) look like what the RTX 2080 drops before the translation PRs. This is what moved them here (Series X, #189 in Wave32 mode, medians over the second half of each world run):
d2a4bae+ #493 + #189 + #206v_readfirstlanefallback (now in #189)With the last row, ground, walls and buildings reach the 2560x1440 G-buffer targets. The picture is still black here: the final composite and the 4K upscale run, but the scene colour they read is all zero (see #841). So on that stack the next thing to chase is the lighting passes, not the hang.
AI-assisted (Claude Code). The hardware, title copy and runs are the user's.
@Marvisak on GitHub · 2026-11-25 03:54 UTC · original
Automated triage for the maintainers.
Run report: RTX 2060, Windows 11,
ffe310ediagnostics build. The device is removed in the world with the DRED stop on a different mesh draw each run, and skipping a pipeline only moves it. This is the NVIDIA world hang tracked in #71, where the open wave64 and descriptor PRs and their test results are collected. The Series S black-world counts in the comments match the untranslated and dropped work discussed there.If you post again, please include the NVIDIA driver version and Windows build, and add new runs to #71.
Generated by Claude Code