Draft: reproduce RTX 5080 world-transition GPU hang on combined renderer patches #1520

Closed
github-bot wants to merge 53 commits from gh-pr/1520/head into gh-pr/1520/base
Owner

@⁠alladeen321123 on GitHub · 2026-11-24 18:43 UTC · original
alladeen321123:test/rtx5080-world-transition → main · +5579 −340 · 37 files · 53 commits · closed without merging

This draft shares the exact source used for a Windows RTX 5080 comparison against main at ffe310e. It is an integration branch for cross-machine testing. The included work comes from #175, #994, #302, #193, #704, #309, #1067, #953, #1260, #1267, #1254 and #334. Their original commits are preserved. Local changes reconcile the branches, skip redundant COPY_SOURCE presentation barriers and add optional frame recording.

Reproduce on Windows

  1. Check out the PR head and follow the repository README for prerequisites and game configuration.
  2. Run cargo build --release -p victory --features diagnostics and cargo xtask agility. Verify the matching runtime is under target\release\D3D12.
  3. In PowerShell set $env:VICTORY_D3D12_DEBUG='1' and $env:VICTORY_D3D12_DRED='1'. Use the default hardware adapter. Start with the normal presentation path and no optional capture settings.
  4. Run target\release\victory.exe run "<path to title executable>" --execute, select Player and let the loading transition finish. For a separate debug geometry comparison, use the intermediate-target and debug pixel shader options documented in docs/linux-proton.md.

RTX 5080 observations

Debug geometry stayed visible past loading. Adding #334 reduced the observed debug-layer ID 527 and ID 538 counts from 213 and 135 to zero in the matched debug-target runs. The normal-output run presented intro text. Both modes eventually reported DXGI_ERROR_DEVICE_HUNG. The only partially completed breadcrumb list in each showed 6/12, with DISPATCH next. The shader and cause remain unknown.

Please report your GPU, driver, operating system, commit, presentation mode and whether the run advances past loading. For a hang, include the device removal reason and a short breadcrumb summary. A text report is enough.

**@⁠alladeen321123** on GitHub · 2026-11-24 18:43 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520) `alladeen321123:test/rtx5080-world-transition` → `main` · +5579 −340 · 37 files · 53 commits · closed without merging This draft shares the exact source used for a Windows RTX 5080 comparison against main at `ffe310e`. It is an integration branch for cross-machine testing. The included work comes from #175, #994, #302, #193, #704, #309, #1067, #953, #1260, #1267, #1254 and #334. Their original commits are preserved. Local changes reconcile the branches, skip redundant COPY_SOURCE presentation barriers and add optional frame recording. ### Reproduce on Windows 1. Check out the PR head and follow the repository README for prerequisites and game configuration. 2. Run `cargo build --release -p victory --features diagnostics` and `cargo xtask agility`. Verify the matching runtime is under `target\release\D3D12`. 3. In PowerShell set `$env:VICTORY_D3D12_DEBUG='1'` and `$env:VICTORY_D3D12_DRED='1'`. Use the default hardware adapter. Start with the normal presentation path and no optional capture settings. 4. Run `target\release\victory.exe run "<path to title executable>" --execute`, select Player and let the loading transition finish. For a separate debug geometry comparison, use the intermediate-target and debug pixel shader options documented in `docs/linux-proton.md`. ### RTX 5080 observations Debug geometry stayed visible past loading. Adding #334 reduced the observed debug-layer ID 527 and ID 538 counts from 213 and 135 to zero in the matched debug-target runs. The normal-output run presented intro text. Both modes eventually reported DXGI_ERROR_DEVICE_HUNG. The only partially completed breadcrumb list in each showed 6/12, with DISPATCH next. The shader and cause remain unknown. Please report your GPU, driver, operating system, commit, presentation mode and whether the run advances past loading. For a hang, include the device removal reason and a short breadcrumb summary. A text report is enough.
Windows 10's in-box D3D12 stops at shader model 6.5 and refuses root
signatures with the directly indexed heap flags (c01), so every
translated pipeline was refused and nothing drew (#84).

victory.exe now exports D3D12SDKVersion (620) and D3D12SDKPath
(.\D3D12\), and `cargo xtask agility` fetches Microsoft.Direct3D.D3D12
1.620.2 from nuget.org, checks its published SHA-512, and puts
D3D12Core.dll and d3d12SDKLayers.dll in target\<profile>\D3D12\. The
DLLs never enter the repository. Windows 11, or a missing folder, keeps
the in-box runtime.

`victory config` reports whether the runtime is in place, and the SM 6.5
error names the command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Short of SGPRs, the console compiler spills a dword into one lane of a
VGPR (v_writelane_b32) and reloads it later with v_readlane_b32 at the
same constant lane. Lane masks are spilled like this too, and the reload
is used as a mask again (s_andn2_b64 vcc, exec, sM; s_and_saveexec;
EXEC restores; s_and + s_cselect(exec, 0) + s_cbranch_vccnz). The spill
read the mask as a number (failing with "a lane mask holding lanes
elsewhere read as data" for an else-mask), and the reload was an opaque
cross-lane read the lane-mask analysis no longer knew as that mask.

New pass sgpr_spill::forward, run right after the IR is built (in
translation and in `victory translate`): every read of a
reload whose VGPR lane provably holds one scalar value (through other
lanes' writes and agreeing joins, lane bits masked to the wave size, the
value available wherever the reload runs) reads that value directly, so
structure tracks the reloaded mask as the same mask. sgpr_spill::dead
names the reloads and spills nothing reads any more; lowering leaves
them out (and out of the console-lane and whole-wave-section scans).

Also:
- SCC of a scalar mask operation read as data (s_cselect on it) is
  "some lane is set": the mask's ballot is not zero, where masks may be
  read as data (compute). Was "a lane mask read as data".
- A whole-wave section ends at the EXEC write reading the saved mask
  from any register, so a forwarded reload of a spilled saved EXEC
  closes it.

Based on the spill resolution in #54 by alessiodeia.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AZ9pSB4ZoXYUifuXg8gm66
A compute program whose root signature does not fit the 16 user SGPRs
finds its arguments through a spill table: s[0:1] holds a pointer (high
dword masked to 40 bits, usually copied to s2/s3 first) to a table of
the user data, and the program s_loads descriptors and constants from
it. Table dword k is user SGPR 16 + k. The translator only knew
addresses that come from the declared root layout, so every such
program failed with "an address in an SGPR that is no root parameter".

For compute programs whose root layout lies entirely at user SGPR 16 and
above, loads from that pointer with a constant offset become s_mov_b32
copies of the user SGPRs the dwords stand for, before the SSA is built,
so resource tracking and lowering see what they see for ordinary root
arguments. Only straight-line code from the pointer's set-up is
rewritten (tags are dropped at branch targets and on any overwrite of
the pointer registers); other loads stay loads.

On the title's world shaders this took the "SGPR that is no root
parameter" failures from 34 programs to 4 in one run. Other failures
that were hidden behind it now show (address not from a root parameter,
root UAV or typed root view, an address from a phi...). Whether the
translated programs render correctly has not been checked beyond that.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A buffer read whose element stride is not known at translation takes a
raw handle and a byte offset from the runtime stride table. The handle
was of the slot the title's view is in, and a raw handle over a
structured or typed view is undefined in D3D12: for the load of
[index 2, offset 4] an RTX 5070 reads dword 21 of a structured view of
12 bytes (dword 7 asked for) and dword 36 of one of 16 bytes or a typed
RGBA32F one (dword 9 asked for), where a Radeon and WARP read the bytes
asked for. No handle of another kind is right everywhere either: with a
structured handle whose declared stride differs from the view's, the RTX
5070 addresses by the view's stride and the Radeon and WARP by the
declared one.

The table's entry per slot is now a StrideEntry of two dwords: the
stride, and the heap slot holding a raw view of the bytes the slot's
view reads (none: the slot's own view is raw), with the bytes from that
raw view's start to the view's first byte (raw views start on 16 bytes
on the host). The shader reads, stores and runs atomics through a raw
handle of the slot named, so the handle's kind always matches the view.
RawWindow gives the host the raw view for a byte range.

The GPU side writes the new entries without raw slots yet, which reads
as before.

The test binds raw, structured (12, 16, 20 bytes) and typed (RGBA32F,
R32_UINT) views, as shader views for the load and as unordered access
views for the store and the atomics, with their raw views beside them,
on the hardware adapter and WARP; a second one takes the descriptor
from a join of two loads.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The programs that read a buffer without a known stride pick its heap
slot at run time, so the runtime stride table has to be looked up by the
slot the shader computes, and the view in it can differ from one thread
group to the next.

A new test loads the heap slot from a buffer per thread group (a scalar
load whose offset is the loaded value), with a structured view of 12
bytes in one slot and one of 16 bytes in the other: the four lanes of
each group read the bytes of the view their group chose, in one dispatch
and again with the choice swapped. A lane reading past the three
elements of the first view reads zero, not the buffer's next bytes.

The test host's raw views now cover a window of the buffer (as
RawWindow gives the host for a view's elements) rather than all of it,
which is what ends the read there; the view kinds test takes its raw
views and entries from the same function, with views starting 4 and 12
bytes into their raw views.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A shader that reads a buffer without knowing its stride takes a raw
handle of the slot the runtime stride table names. The host heap now
makes that slot: when it makes a structured or typed buffer view (for a
shader or for unordered access), it also makes a raw view of the same
bytes of the same host copy in a pool of 65,536 slots after the dynamic
ones, and writes the slot, the stride and the bytes from the raw view's
start to the view's first byte (raw views start on 16 bytes) into the
slot's entry. A raw view keeps its own slot. The raw view ends with the
view's last element, so reads past it give zeros.

The entry and the raw view are written wherever the slot's descriptor
is (tables made for a draw, title slots a draw reads through a table,
slots made null), so they are as current as the descriptor; a slot made
again reuses its raw view slot, and one made null, raw or constant, or
a dynamic slot given back, returns it to the pool. Views the host
cannot make raw (starting off a dword of the copy, or with the pool
full) point at a null raw view and are logged once.

The test makes placed structured, typed and raw views in a host heap
and runs the translated program of victory-shader's run-time slot test
on it: each thread group reads the bytes of the view in the slot it
chose, zeros past the view's end, and the new view's bytes after the
slots are made again.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
main moved under #193 and this branch. One conflict, in
HostHeap::new (descriptor/host.rs): #336 tries the heap with DYNAMIC
dynamic slots, then with MIN_DYNAMIC, then capped, and records the range it
got in `dynamic`; this branch puts ALIASES raw-view slots after the dynamic
ones. Both kept: each attempt asks for the alias slots too, the capped
count leaves room for them, the lease bitmap has `extra` entries as on
main, and `alias_base` stays `count + extra`. A merge rather than a rebase
so #193's commits keep their ids.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
main now has CI (clippy with -D warnings, then the workspace's tests). No
conflict; both of CI's clippy commands are clean on the result.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
#193 moved: buffer views are clamped to what is left of the host copy, a
shader that reads the stride table without a host view heap is not run,
and a known stride that is no multiple of four is refused. Conflicts were
with main, not with this branch's change: `bind` already returns whether
the draw may run (#336), with its doc comment and the dropped counter, and
main already renamed the second test module in host.rs. main's side kept
in all three; #193's `return false` in the stride-table branch is in.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Under Wine, D3DCompile is vkd3d-shader's HLSL compiler, which has no
RWByteAddressBuffer methods ("Method 'Load' is not defined") and does not
embed a [RootSignature] in the blob. The clamp did not build, so every
indirect execution was dropped under Proton.

The clamp now uses structured buffers of words (a root UAV takes either)
and its root signature is built in code. Same behaviour on Windows. A new
GPU test checks the clamped values, also with descriptor heaps bound.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The windows crate passes a dangling non-null pointer for an empty slice;
vkd3d-proton rejects that with E_INVALIDARG, so under Proton there was no
host pipeline library and pipelines were never kept on disk.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Wine's ws2_32 exports neither; a title calling them panicked in the host!
lookup and aborted. The overrides now fail the call (WSAEOPNOTSUPP, or the
name is not found), and the export test skips them where they are missing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
vkd3d-proton does not check DXIL container hashes, so pipelines with a
zero or wrong digest are accepted there; the rest of the test still runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every s_endpgm (and the loop-limit abort) now branches to one shared ret
block, as DXC's output always has. A loop left by both a break and a
return could not be structured by dxil-spirv (vkd3d-proton): it emitted
invalid SPIR-V ("exits the loop ... but not via a structured exit"),
on which RADV segfaulted in vkCreateGraphicsPipelines (exit code 3).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Grand Theft Auto VI places its descriptor heaps in its own memory and
copies whole slots there itself; no create or copy call reports those
writes, so the host slot kept what it was mirrored from before. Slots a
shader reads directly by index (not through a table) are only made from
what was mirrored: in the world a mesh shader read a slot as a constant
buffer while the host slot still held a texture view, whose upper half
it took for a buffer at address 0 (a GPU page fault and a lost device;
likely the "world's low-address page faults" noted at null_view).

Before each submission, the 64 KiB blocks of every shader-visible heap
written since the last one (watch::writes) are mirrored again; mirror()
skips slots whose record did not change.

Found with umr wave dumps under Proton (RX 9070 XT): the faulting waves
held s[8:11] = {0, 0x00400000, 0x00248000, 0}, the second half of an image
descriptor, loaded from heap slot ~1,061,522. Before, the world lost the
device after 5-90 s; with this, 90 s, then a different fault (next commit).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A root SRV is a raw address the GPU reads without bounds. The console's
reads past the title buffer land in other title memory; ours past its host
copy land in unmapped memory: in the world a compute shader read 32 MB
past a root SRV's copy (umr: TCP fault at s[10:11] + 0x1f0e000) and the
device was lost.

Root SRVs (ByteAddressBuffer t<slot> in ROOT_CBV_SPACE) are now a table of
one raw view sized to the rest of the host copy, in a dynamic slot of the
bound view heap, reused within a list for the same address. Reads past the
copy return zeros. The shaders' bindings do not change.

With this and the previous commit, the world runs without a device loss
for as long as tested (8 minutes, twice, under Proton).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Wine emulates write watching page by page under one lock (about 1 ms an
asking), and the world's copies ask about the same big buffers dozens of
times per submission: 3,500 askings and 17 GB checked per frame, 3 s of a
frame. Under Wine, a range the kernel already answered for in this
submission is now answered from the journal; a write in between keeps its
dirty bit and shows in the next submission. Windows is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
VIctory builds on Linux with cargo-xwin and runs under Proton Experimental,
getting as far as on Windows (tested: CachyOS, RX 9070 XT, Mesa 26.3.1).
docs/linux-proton.md covers building, running, tests and the known
differences; scripts/proton-run.sh runs victory.exe (and serves as cargo's
test runner) with Proton's Wine, vkd3d-proton and DXVK.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Host copies of title buffers start in the common state and relied on
implicit promotion, which allows a buffer to be written (unordered access)
or read in a list, not both. The world's 174 MB heap is both: the argument
clamp and title passes write it, draws read vertices and indices from it.
indirect.rs also moved the argument buffer from unordered access to
indirect arguments and back after every execution, whatever state the
buffer was really in.

Each list now tracks the state of every host copy it uses (BufferStates):
reads (vertex, index, constant, shader resource, arguments) in GENERIC_READ,
shader writes in UNORDERED_ACCESS, with a transition where the use changes.
The list's prelude moves each buffer from common to its first state and the
list moves it back before closing, so state never leaks into the next list
of a submission. indirect::execute replaces the fixed UAV <-> INDIRECT_ARGUMENT
barriers.

Refs #199, #264.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review of #334 (r4tedx, QemmHD): buffer_state kept whatever state was asked
for last, so a dispatch writing a copy through a table UAV and reading the
same copy through an SRV or root view listed after it ran its writes in
GENERIC_READ, and nothing then separated those writes from a later vertex
or index read. One host copy backs most of the title's buffers, so this is
likely.

BufferStates now counts commands (State::bind and the argument clamp start
one) and remembers which command last wrote each copy: a read asked for in
that command leaves the copy in UNORDERED_ACCESS, in either binding order.
The next command's read transitions it as before.

The debug-layer test's child process unsets VICTORY_D3D12_DEBUG: with it
set in a diagnostics build, Host::execute drained the message queue before
the test read it (Hiiva). With the closing return to COMMON disabled, the
test now fails with id 527 in that configuration too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The three tests in emit/mod.rs that dispatch through `hosts()` ran
without `valu_tests::ONE_AT_A_TIME`, so with WARP they could dispatch
at the same time as another module's GPU test. Two GPU tests at once on
WARP can end the test process with an access violation; that is how
the shader test process died with 0xc0000005 on CI for 505d5b1.

Locally, `VICTORY_WARP=1 cargo test -p victory-shader --lib` at the
default thread count crashed 2 of 4 runs without this change, and
passed 6 of 6 with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The black-frame trace kept a frame's first 256 draws. A world frame runs thousands, so the trace stopped in the geometry passes and never showed the lighting, composite and full-screen draws that end the frame, which is what a black picture is about.

It now keeps the first and the last half of the limit and says how many draws in between were left out. VICTORY_BLACK_FRAME_DRAWS sets the limit (default 256, as before). The drop mark still goes on the draw traced last when it was kept. Diagnostics builds only.
Under Wine each GetWriteWatch takes about 1 ms in the world (contention
on Wine's virtual-memory lock with the title's write faults), not the
size of the range: 70 us for 256 MB in isolation, 180 us per asking in
the world, 190,000 askings in 3 minutes. VirtualQuery takes the same lock.

Under Wine now:
- the first asking in a submission asks about the whole title allocation
  (up to 4 GiB), so the other buffers in it are answered from the journal;
- allocations are found from a cache by address, VirtualQuery only on a
  miss (a long region walk is capped and remembered as far as it went);
- views of physical pages go straight to their guards (no failed
  GetWriteWatch first, no second VirtualQuery in guard()).

Profiled on an RX 9070 XT: kernel time in watch::writes went from 34 s to
about 8 s over the same 4-minute run. Windows is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
VICTORY_SHOW_TARGET=<w>x<h>-f<format>[-<n>] presents, each frame, the
n-th texture of that size and format the frame renders to or writes
(first-use order, names as in VICTORY_DUMP_TARGETS files) instead of the
title's frame. While the world's final image is still dark, its G-buffer
shows the geometry: 2560x1440-f28-3 on a Series X profile showed the first
mission's street (poles, wires, bollards, roofs) and let a player walk it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
victory_shader::emit::debug_ps(n) is a DXIL pixel shader of our own: it
reads SV_Position only, colours each pixel by its surface's slope (from
the screen-space derivatives of depth) and writes n colour targets. It
needs nothing of the title's, so a draw's geometry shows whether or not
its pixel shader translates.

- VICTORY_DEBUG_PS=1 (diagnostics view): pipelines that draw depth-tested
  geometry use it instead of the title's pixel shader; flat layers
  (interface, full-screen passes) keep theirs, so menus stay usable.
- Fallback: a geometry pipeline whose pixel shader does not translate, or
  that the host refuses, is made with the debug shader instead of having
  its draws dropped; in the debug view, one the host refuses with ours is
  made with the title's. VICTORY_PS_FALLBACK=0 turns the fallback off.

With the debug view on, the world drew 3,600-4,100 draws per frame
instead of about 1,700. A test makes a pipeline from the debug shader and
a stand-in vertex shader.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The title's threads wait up to 500 ms per frame for pipelines being made
before draws are dropped. VICTORY_PIPELINE_WAIT_MS changes that budget
(0: never wait; pipelines then appear a few frames later and one-off
passes may be lost). The default is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
From RDNA2/RDNA3/RDNA 3.5 reports on #844: what a system Wine needs
instead of Proton (vkd3d-proton 3.2+, DXVK's dxgi.dll, no Microsoft
d3dcompiler_47 any more), and VICTORY_SHOW_TARGET, VICTORY_DEBUG_PS,
VICTORY_PS_FALLBACK and VICTORY_PIPELINE_WAIT_MS.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Placed structured buffer SRVs sub-allocated inside a larger title buffer can land at shadow offsets not divisible by StructureByteStride (e.g. offset % 56 != 0 in GTA VI hit detection). buffer_srv() rejected these views, leaving null_buffer_view (zeros) in the host descriptor slot. Detect unaligned buffer SRVs, promote their descriptor table to fresh dynamic slots, copy their bytes at submission into an element-aligned upload scratch slice, and bind an SRV with FirstElement = at / element.
The guest queue started a new watch submission and refreshed heap slots
the title wrote before `Host::execute` took the submission mutex. A
second queue caller could then rewrite a host heap while the first
caller's GPU work, already submitted and being waited on, still read it.

`Host::execute_title` now takes the lock first, then starts the watch
submission and refreshes the heaps, then prepares and runs the lists.
Internal submissions (indirect clamp, captures, copy-backs) keep using
`execute`, which doesn't refresh.

Reported by MichaelSmithAI in Marvisak/VIctory#994.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
An s_load_dword* of a descriptor whose dwords the code reads as numbers
(an image's width and levels) but never samples was refused with "a
descriptor read only as data": the view's kind came only from a use. Now
the table's range names it, and an entry in the resource heap that no
range names (a run-time index reaches it) is an image if it is eight
dwords, taken for 2D (shortcut noted in the code).

Offline over the whole corpus, programs refused: 4123 -> 3749; "a
descriptor read only as data" 395 -> 18; compute programs emitted
1441 -> 1743 (validated 1417 -> 1647). Tested with a hand-assembled
waterfall program that reads two textures' sizes, on the host GPU and
WARP; it fails with the old refusal without the change.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The snapshot that tells what the GPU wrote covered a buffer copy from the
first declared range to the last, in buffers the submission grew, copied
and freed. Each declared byte is now kept once, in one block of memory
that is reused: in a looped world frame this saves about 270 ms of
submission work. A copy dropped with a range not copied back gives its
part up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR #986 copied an unaligned buffer SRV's bytes into fresh scratch memory
for every draw reading it: 286k copies (35 GB) in a few minutes of the
world, GTT filled to 15 GB and RADV refused submissions (not enough
memory, device removed). Draws of one list reading the same range now
share one copy, kept until the list is reset. GTT stays at ~4.6 GB.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	apps/victory/src/main.rs
# Conflicts:
#	crates/victory-shader/src/emit/mod.rs
# Conflicts:
#	crates/victory-gpu/src/descriptor/host.rs
#	crates/victory-gpu/src/draw.rs
#	crates/victory-gpu/src/host.rs
#	crates/victory-gpu/src/pipeline/host.rs
#	crates/victory-shader/src/emit/lower.rs
# Conflicts:
#	crates/victory-gpu/src/descriptor/host.rs
#	crates/victory-gpu/src/draw.rs
#	crates/victory-shader/src/emit/lower.rs
# Conflicts:
#	crates/victory-shader/src/emit/lower.rs
#	crates/victory-shader/src/emit/mod.rs
# Conflicts:
#	crates/victory-shader/src/emit/lower.rs
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:34:55 +00:00
github-bot closed this pull request 2026-11-26 04:34:55 +00:00
Author
Owner

@⁠alladeen321123 on GitHub · 2026-11-24 18:59 UTC · original

RTX 5080 follow-up on the PR head with local command-list naming instrumentation. With DRED enabled and the D3D12 debug layer disabled, normal presentation still ended in DXGI_ERROR_DEVICE_HUNG. The partially completed list was run 21, breadcrumb 6/12. The next recorded operation maps to a 12x1x1 dispatch of compute shader eeed82b877b44b5f. The preceding dispatch used the same shader and dimensions. With the debug layer enabled, the same list index and breadcrumb position were observed. This identifies where progress stopped; it does not establish whether the shader, its inputs, or earlier GPU work caused the hang. Reports from another GPU at this transition would help.

**@⁠alladeen321123** on GitHub · 2026-11-24 18:59 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7141439964) RTX 5080 follow-up on the PR head with local command-list naming instrumentation. With DRED enabled and the D3D12 debug layer disabled, normal presentation still ended in DXGI_ERROR_DEVICE_HUNG. The partially completed list was run 21, breadcrumb 6/12. The next recorded operation maps to a 12x1x1 dispatch of compute shader `eeed82b877b44b5f`. The preceding dispatch used the same shader and dimensions. With the debug layer enabled, the same list index and breadcrumb position were observed. This identifies where progress stopped; it does not establish whether the shader, its inputs, or earlier GPU work caused the hang. Reports from another GPU at this transition would help.
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 19:29 UTC · original

Possibly related to the hang mechanism here: on our machine (RTX 3080), with #1388 applied and a counter added where it defers a list tail, command-list 64-bit memory waits held queue work back 32+ times in ~5 minutes of a Series S world run (queue-level fence waits: 0). Without #1388 those consumers run before their producers. A long-running world shader that loops on a bound its producer has not written yet would then never finish. We saw that pattern in a lighting pixel shader whose outer loop exits on an equality test. It may be worth trying this branch with #1388 to see whether the hang at run 21 / breadcrumb 6 moves or disappears. Notes in #1317 (H-6.7, H-6.14) and on #1388.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 19:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142159871) Possibly related to the hang mechanism here: on our machine (RTX 3080), with #1388 applied and a counter added where it defers a list tail, command-list 64-bit memory waits held queue work back **32+ times in ~5 minutes** of a Series S world run (queue-level fence waits: 0). Without #1388 those consumers run before their producers. A long-running world shader that loops on a bound its producer has not written yet would then never finish. We saw that pattern in a lighting pixel shader whose outer loop exits on an equality test. It may be worth trying this branch with #1388 to see whether the hang at run 21 / breadcrumb 6 moves or disappears. Notes in #1317 (H-6.7, H-6.14) and on #1388. AI-assisted (Claude Code)
Author
Owner

@⁠Bullet18x on GitHub · 2026-11-24 19:34 UTC · original

RTX 5090 run of this branch, following the steps in the description. (Plain main on the same machine: #1586 .)

Machine: RTX 5090 32 GB, driver 621.40 (32.0.16.2114), Ryzen 9 9950X3D, 64 GB, Windows 11 Pro 10.0.28000.
Build: head 2190efe, cargo build --release -p victory --features diagnostics, cargo xtask agility (1.620.2, files under target\release\D3D12).
Run: VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, default adapter, normal presentation path, VICTORY_KEYS=8:Enter,20:Enter,35:Enter, victory.exe run <dump>\game_scarlett_master.exe --execute. Pipeline cache warm from an earlier main run.

Result: advances past loading, then DXGI_ERROR_DEVICE_HUNG.

  • Menus at 30 fps; the world from ~70 s at 1.0–1.4 fps (632–2,015 draws/frame; 827–2,440 dropped without a host pipeline and 1,460–3,364 indirect per frame).
  • ~100 s in the world: a submission of 1 list took 5,071 ms, then device removed ... 0x887A0006. Breadcrumbs: that list stopped at 204/478.
  • On main ffe310e the same machine hung after ~60 s in the world (a submission of 11 lists, 4,839 ms; list 1 at 222/710). So this branch ran ~40 s longer before the hang, on a warm cache; one run each, so not conclusive.

In that first run the debug layer did not start (0x887A002D): this Windows build's in-box D3D12 (10.0.28000.3365) is newer than 1.620.2, so the in-box runtime was used, and Graphics Tools was not installed.

Rerun with the debug layer working (Graphics Tools installed):

  • Same end: world at 1.1–1.8 fps, then a 1-list submission (93 commands, dispatches) took 5,096 ms and DXGI_ERROR_DEVICE_HUNG (~45 s in the world). The debug layer reports the removal (id=232) but no validation error for the hung list, so it does not name a bad command: this looks like a GPU timeout, not invalid API use.
  • IDs 527 and 538: 0, as described for #334.
  • What the debug layer did report (counts):
    • id=622 ×135: CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32. On a 32-lane GPU these wave64 compute pipelines are refused (matches the ~118–135 host pipeline refused ... 0x80070057 per run), so their dispatches are dropped on NVIDIA.
    • id=645 ×2: CreateDescriptorHeap: NumDescriptors 1572864 and 1376256, but the limit for shader visible view heaps is 1000000. Both runs also log host view heap capped at 1000000 ... count=1245184, and this branch logs 376,256 title slot past the host heap warnings during boot; no dynamic slots for its tables reached dropped=262144. #1496 and #1508 hit the same limit.
    • id=970/972 ×401 each, id=971 ×180: ID3D12PipelineLibrary::StorePipeline: A pipeline with name … already exists / Load*Pipeline: The pipeline state desc provided does not match the one used to create the PSO stored with name … / … does not have a pipeline stored with name …. Several different pipeline descs are stored under the same library name, so loads miss and stores fail (cache thrash; no wrong PSO is loaded since D3D12 refuses the mismatch).
    • id=679 ×6, id=974 ×4: a pixel shader writes a render target slot the PSO does not bind.

Not tested: the debug-geometry comparison from docs/linux-proton.md, a cold cache on this branch, a wave64 emulation mode (not on this branch).

No game data, title-content log lines or screenshots attached. AI use: Claude Code (Claude Opus 5.5) built, ran and summarised the logs; I checked it.

**@⁠Bullet18x** on GitHub · 2026-11-24 19:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142286795) RTX 5090 run of this branch, following the steps in the description. (Plain `main` on the same machine: #1586 .) **Machine**: RTX 5090 32 GB, driver 621.40 (32.0.16.2114), Ryzen 9 9950X3D, 64 GB, Windows 11 Pro 10.0.28000. **Build**: head `2190efe`, `cargo build --release -p victory --features diagnostics`, `cargo xtask agility` (1.620.2, files under `target\release\D3D12`). **Run**: `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, default adapter, normal presentation path, `VICTORY_KEYS=8:Enter,20:Enter,35:Enter`, `victory.exe run <dump>\game_scarlett_master.exe --execute`. Pipeline cache warm from an earlier `main` run. **Result: advances past loading, then DXGI_ERROR_DEVICE_HUNG.** - Menus at 30 fps; the world from ~70 s at 1.0–1.4 fps (632–2,015 draws/frame; 827–2,440 dropped without a host pipeline and 1,460–3,364 indirect per frame). - ~100 s in the world: a submission of **1 list took 5,071 ms**, then `device removed ... 0x887A0006`. Breadcrumbs: that list stopped at **204/478**. - On `main` `ffe310e` the same machine hung after ~60 s in the world (a submission of 11 lists, 4,839 ms; list 1 at 222/710). So this branch ran ~40 s longer before the hang, on a warm cache; one run each, so not conclusive. In that first run the debug layer did not start (`0x887A002D`): this Windows build's in-box D3D12 (10.0.28000.3365) is newer than 1.620.2, so the in-box runtime was used, and Graphics Tools was not installed. **Rerun with the debug layer working** (Graphics Tools installed): - Same end: world at 1.1–1.8 fps, then a 1-list submission (93 commands, dispatches) took **5,096 ms** and `DXGI_ERROR_DEVICE_HUNG` (~45 s in the world). The debug layer reports the removal (id=232) but no validation error for the hung list, so it does not name a bad command: this looks like a GPU timeout, not invalid API use. - **IDs 527 and 538: 0**, as described for #334. - What the debug layer did report (counts): - **id=622 ×135**: `CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32`. On a 32-lane GPU these wave64 compute pipelines are refused (matches the ~118–135 `host pipeline refused ... 0x80070057` per run), so their dispatches are dropped on NVIDIA. - **id=645 ×2**: `CreateDescriptorHeap: NumDescriptors 1572864` and `1376256`, `but the limit for shader visible view heaps is 1000000`. Both runs also log `host view heap capped at 1000000 ... count=1245184`, and this branch logs **376,256** `title slot past the host heap` warnings during boot; `no dynamic slots for its tables` reached `dropped=262144`. #1496 and #1508 hit the same limit. - **id=970/972 ×401 each, id=971 ×180**: `ID3D12PipelineLibrary::StorePipeline: A pipeline with name … already exists` / `Load*Pipeline: The pipeline state desc provided does not match the one used to create the PSO stored with name …` / `… does not have a pipeline stored with name …`. Several different pipeline descs are stored under the same library name, so loads miss and stores fail (cache thrash; no wrong PSO is loaded since D3D12 refuses the mismatch). - id=679 ×6, id=974 ×4: a pixel shader writes a render target slot the PSO does not bind. **Not tested**: the debug-geometry comparison from `docs/linux-proton.md`, a cold cache on this branch, a wave64 emulation mode (not on this branch). No game data, title-content log lines or screenshots attached. AI use: Claude Code (Claude Opus 5.5) built, ran and summarised the logs; I checked it.
Author
Owner

@⁠adnanoos on GitHub · 2026-11-24 19:39 UTC · original

RTX 5060 Laptop GPU (Blackwell): no GPU hang in two runs; the world runs ~7.5 min, then the title's own breakpoint at +0x63966f (#698)

Setup. NVIDIA GeForce RTX 5060 Laptop GPU (32-lane waves), driver 32.0.16.2124, Intel Core 7 240H + Intel iGPU (dGPU forced with GpuPreference=2), 32 GB, Windows 11 Pro 26200. This PR at 2190efe, cargo build --release -p victory --features diagnostics, cargo xtask agility (1.620.2; the in-box runtime is newer here, so it is used, and the debug layer comes from Graphics Tools). VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_DRED=1, default (normal) presentation, no capture options, Series X mode, title 1.0.2.1 (b99f876b…). Input: VICTORY_KEYS sending Enter every 5 s for 4 min.

run 1 run 2
debug layer not loaded (Graphics Tools missing, 0x887A002D) loaded
past loading yes, world at ~2m50s yes, world at ~3m
device removal / DRED none none
slow host submissions 57, avg 440 ms, max 1,448 ms 171, avg 386 ms, max 2,685 ms
black frames logged 4 9
end window closed at 4m47s title breakpoint 0x80000003 at +0x63966f after ~7.5 min in the world (3 threads)

The run 2 stop matches #698 (same address, NVIDIA, no device removal, ~6.7 min there). So on this machine the PR gets past loading, and nothing hangs the GPU for as long as the title keeps running.

Debug-layer messages (run 2), by ID:

ID count message
971 / 970 / 972 944 / 410 / 400 pipeline library: not stored / already exists / desc mismatch
622 157 CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32
679 / 680 14 / 7 PSO expects an RTV / a DSV that is not bound (benign)
820 11 ClearRenderTargetView clear value mismatch
645 2 CreateDescriptorHeap: NumDescriptors 1572864 (and 1376256), limit for shader-visible view heaps 1000000
974, 989, 1477, 599, 677 6, 4, 4, 2, 1
527 / 538 0 / 0

So 527 and 538 are at zero here too, as in your #334 run. The ID 622 messages are the wave64 compute pipelines tracked in #71 (see my listing there). The ID 645 heap sizes go with the host heap capped at 868,928 descriptors; the title addresses slots up to 1,245,183 (title slot past the host heap, about 376k of those lines, all for_draw=false).

Logs (390k lines, mostly the heap warning) are available if useful.

**@⁠adnanoos** on GitHub · 2026-11-24 19:39 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142416525) **RTX 5060 Laptop GPU (Blackwell): no GPU hang in two runs; the world runs ~7.5 min, then the title's own breakpoint at `+0x63966f` (#698)** **Setup.** NVIDIA GeForce RTX 5060 Laptop GPU (32-lane waves), driver 32.0.16.2124, Intel Core 7 240H + Intel iGPU (dGPU forced with `GpuPreference=2`), 32 GB, Windows 11 Pro 26200. This PR at `2190efe`, `cargo build --release -p victory --features diagnostics`, `cargo xtask agility` (1.620.2; the in-box runtime is newer here, so it is used, and the debug layer comes from Graphics Tools). `VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_DRED=1`, default (normal) presentation, no capture options, Series X mode, title 1.0.2.1 (`b99f876b…`). Input: `VICTORY_KEYS` sending Enter every 5 s for 4 min. | | run 1 | run 2 | |---|---|---| | debug layer | not loaded (Graphics Tools missing, `0x887A002D`) | **loaded** | | past loading | yes, world at ~2m50s | yes, world at ~3m | | device removal / DRED | none | **none** | | slow host submissions | 57, avg 440 ms, max 1,448 ms | 171, avg 386 ms, max 2,685 ms | | black frames logged | 4 | 9 | | end | window closed at 4m47s | **title breakpoint `0x80000003` at `+0x63966f`** after ~7.5 min in the world (3 threads) | The run 2 stop matches #698 (same address, NVIDIA, no device removal, ~6.7 min there). So on this machine the PR gets past loading, and nothing hangs the GPU for as long as the title keeps running. **Debug-layer messages (run 2), by ID:** | ID | count | message | |---:|---:|---| | 971 / 970 / 972 | 944 / 410 / 400 | pipeline library: not stored / already exists / desc mismatch | | **622** | **157** | `CreateComputeShader: Shader wants wave lane count of 64 but maximum wave lane count for device is 32` | | 679 / 680 | 14 / 7 | PSO expects an RTV / a DSV that is not bound (benign) | | 820 | 11 | ClearRenderTargetView clear value mismatch | | 645 | 2 | `CreateDescriptorHeap: NumDescriptors 1572864` (and `1376256`), limit for shader-visible view heaps 1000000 | | 974, 989, 1477, 599, 677 | 6, 4, 4, 2, 1 | | | **527 / 538** | **0 / 0** | | So 527 and 538 are at zero here too, as in your #334 run. The ID 622 messages are the wave64 compute pipelines tracked in #71 (see my listing there). The ID 645 heap sizes go with the host heap capped at 868,928 descriptors; the title addresses slots up to 1,245,183 (`title slot past the host heap`, about 376k of those lines, all `for_draw=false`). Logs (390k lines, mostly the heap warning) are available if useful.
Author
Owner

@⁠adnanoos on GitHub · 2026-11-24 20:01 UTC · original

Follow-up: with the boot delay gone, this PR reproduces a DEVICE_HUNG on the RTX 5060 Laptop GPU, stopped at a draw, not a dispatch

My runs above spent about two minutes at boot logging title slot past the host heap. That comes from #994's resync_title_writes walking slots past NVIDIA's capped heap; I posted the cause and a fix on #994. With that warning muted (VICTORY_LOG=info,victory_gpu::descriptor::host=error), the same build (2190efe, --features diagnostics, VICTORY_D3D12_DRED=1, no debug layer, normal presentation) reached the world 1 min after launch and then:

  • DXGI_ERROR_DEVICE_HUNG (0x887A0006) about 2m50s into the world, after a submission of 26 lists.
  • Slow submissions just before it: 339, 308, 338, then 2,312 ms.
  • DRED: list 21 stopped at command 197 of 763 (op 3), commands 196..220 between its barriers. The lists after it are at 0 of their breadcrumbs.
    • command 197: draw 4x391 [vertex cb47fdb3b37b7880, pixel b335d5633b1ed53f]
    • the draws after it in that section use vertex 65511934598e485c / pixel 5e69b507ec27b789
  • No page fault reported.

Your RTX 5080 run stopped at 6/12 with a DISPATCH next, so this may be a second stop rather than the same one. Neither hash appears in any issue or PR so far. A 3-minute run with the #994 fix applied (no muting) did not hang, but it only had about 1m20s in the world. The full DRED line is available if useful.

**@⁠adnanoos** on GitHub · 2026-11-24 20:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7142930639) **Follow-up: with the boot delay gone, this PR reproduces a `DEVICE_HUNG` on the RTX 5060 Laptop GPU, stopped at a draw, not a dispatch** My runs above spent about two minutes at boot logging `title slot past the host heap`. That comes from #994's `resync_title_writes` walking slots past NVIDIA's capped heap; I posted the cause and a fix on #994. With that warning muted (`VICTORY_LOG=info,victory_gpu::descriptor::host=error`), the same build (`2190efe`, `--features diagnostics`, `VICTORY_D3D12_DRED=1`, no debug layer, normal presentation) reached the world 1 min after launch and then: - **`DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`)** about 2m50s into the world, after a submission of 26 lists. - Slow submissions just before it: 339, 308, 338, then **2,312 ms**. - **DRED:** list 21 stopped at **command 197 of 763 (op 3)**, commands 196..220 between its barriers. The lists after it are at 0 of their breadcrumbs. - command 197: `draw 4x391 [vertex cb47fdb3b37b7880, pixel b335d5633b1ed53f]` - the draws after it in that section use vertex `65511934598e485c` / pixel `5e69b507ec27b789` - No page fault reported. Your RTX 5080 run stopped at 6/12 with a DISPATCH next, so this may be a second stop rather than the same one. Neither hash appears in any issue or PR so far. A 3-minute run with the #994 fix applied (no muting) did not hang, but it only had about 1m20s in the world. The full DRED line is available if useful.
Author
Owner

@⁠alladeen321123 on GitHub · 2026-11-24 20:24 UTC · original

Follow-up RTX 5080 comparison is available at 0e900e5. Build and launch as in the PR description. This branch adds #984 and both heap-layout and guard commits described in #747 to the original PR head. With #984, two normal-output runs were manually closed without the prior device-hung report. In the debug geometry comparison, the #984-only run reported dropped work due to exhausted dynamic slots, while the combined run showed geometry and logged no such warning through manual close. Normal output remains largely dark. Workspace tests and both CI Clippy profiles passed. If comparing, please include the commit, adapter, presentation mode, any slot-exhaustion warnings, and whether you closed the run yourself.

**@⁠alladeen321123** on GitHub · 2026-11-24 20:24 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7143488646) Follow-up RTX 5080 comparison is available at [0e900e5](https://github.com/alladeen321123/VIctory/tree/test/rtx5080-984-747). Build and launch as in the PR description. This branch adds #984 and both heap-layout and guard commits described in #747 to the original PR head. With #984, two normal-output runs were manually closed without the prior device-hung report. In the debug geometry comparison, the #984-only run reported dropped work due to exhausted dynamic slots, while the combined run showed geometry and logged no such warning through manual close. Normal output remains largely dark. Workspace tests and both CI Clippy profiles passed. If comparing, please include the commit, adapter, presentation mode, any slot-exhaustion warnings, and whether you closed the run yourself.
Author
Owner

@⁠adnanoos on GitHub · 2026-11-24 20:30 UTC · original

Follow-up on the DEVICE_HUNG at the draw of vertex cb47fdb3b37b7880 / pixel b335d5633b1ed53f above: it reproduced (3m16s into the world, same command 197), and it does not happen with #452 merged (no device removal in 7m45s, longest submission 1.57 s) or with VICTORY_SHADER_LOOP_LIMIT=4096. So it is a translated loop running to the 2^20 limit. Details and the table are on #452. #452 merges into this branch with two keep-both conflicts in emit/lower.rs.

Separately, cargo test -p victory-shader --lib does not compile on this branch (2190efe) by itself: sgpr_spill.rs:340 calls the function at resource.rs:147 with 3 arguments where it takes 4 (E0061). The release build is unaffected.

**@⁠adnanoos** on GitHub · 2026-11-24 20:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7143664586) Follow-up on the `DEVICE_HUNG` at the draw of vertex `cb47fdb3b37b7880` / pixel `b335d5633b1ed53f` above: it reproduced (3m16s into the world, same command 197), and it does not happen with #452 merged (no device removal in 7m45s, longest submission 1.57 s) or with `VICTORY_SHADER_LOOP_LIMIT=4096`. So it is a translated loop running to the 2^20 limit. Details and the table are on #452. #452 merges into this branch with two keep-both conflicts in `emit/lower.rs`. Separately, `cargo test -p victory-shader --lib` does not compile on this branch (`2190efe`) by itself: `sgpr_spill.rs:340` calls the function at `resource.rs:147` with 3 arguments where it takes 4 (`E0061`). The release build is unaffected.
Author
Owner

@⁠adnanoos on GitHub · 2026-11-24 20:47 UTC · original

One more for this branch (2190efe): cargo test -p victory-gpu --lib does not compile either. indirect.rs:326 calls transition and indirect.rs:335 calls done, and neither is in scope there (E0425). Together with the victory-shader one above, the unit tests of both crates need a fix before this branch's tests can run; the release build is fine.

Also, on top of this branch with the #994 bound and #452, #1010 takes world frames on the RTX 5060 Laptop GPU from ~3.0 s to ~1.7 s, and the run outlasts the +0x5149aec stop (details on #1010).

**@⁠adnanoos** on GitHub · 2026-11-24 20:47 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7144060219) One more for this branch (`2190efe`): `cargo test -p victory-gpu --lib` does not compile either. `indirect.rs:326` calls `transition` and `indirect.rs:335` calls `done`, and neither is in scope there (`E0425`). Together with the `victory-shader` one above, the unit tests of both crates need a fix before this branch's tests can run; the release build is fine. Also, on top of this branch with the #994 bound and #452, #1010 takes world frames on the RTX 5060 Laptop GPU from ~3.0 s to ~1.7 s, and the run outlasts the `+0x5149aec` stop (details on #1010).
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:41 UTC · original

Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:41 UTC · [original](https://github.com/Marvisak/VIctory/pull/1520#issuecomment-7148783026) Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1520
No description provided.