RTX 3060 (NVIDIA): host device removed ~1 s after a 2560x1440 format-115 render target is refused #1952
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#1952
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?
@itxjack67 on GitHub · 2026-11-25 01:43 UTC · original
Environment
ccfb029(and earlier)What happens
thousands of "title slot past the host heap".
with DRED breadcrumbs [] (empty).
crashes entering the world (frame ~3730, 0x887A0004). A dispatch pipeline
"refused (0x80070057)" appears shortly before.
Notes
installed; Windows Update service missing), so I can't name the failing command.
@fiestorra on GitHub · 2026-11-25 01:51 UTC · original
Reproduced on a second machine, and the three symptoms have three different owners
Your sequence reproduces exactly on this one, on today's
main940d32f, so it is not your card or your driver:Machine: RTX 4090, driver
32.0.16.2124, Windows 11, session 1 (interactive desktop), release build, empty cache, 70 s:Same order as yours: cap, then the slots, then the refused 1440p format-115 target, then the removal about a second later. Which is the useful part of your report — two machines, two NVIDIA generations, same chain.
What each symptom is, and where it is being fixed:
no host texturefor the 1440p format-115 target — #1630, a ladder of descriptions tried before giving up: on this machine the texture then exists as plain memory ("made only as a fallback") and the line disappears.mainreports id 599,GetResourceAllocationInforefusing theB5G5R5A1_UNORM2560×1440 target becauseALLOW_UNORDERED_ACCESSis set on a format the driver cannot make a typed UAV of. That is #1832 (the permission is dropped inhost_desc, before any device call names the description, once per format).With the three merged, the same run here shows none of the four lines and keeps presenting frames; without them it dies at frame 64–128. The exact numbers are in #1754.
What would help me most, and what would not. You offered to test a build. The one worth your time is a build with #1779 + #1630 + #1832 merged, in that spirit: it is the combination that removes the chain, and no single one of them does (I published the per-build table because of that). If you can only run one, run that one and tell me whether the removal is gone before the menus, which is where yours dies.
I would not spend your time on WARP: your WARP run dies later, in the world, with
0x887A0004and a dispatch pipeline refused — that is a different failure, further along, and it is the one the world reports are about.No game data is involved: warnings, counts and ids.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 01:58 UTC · original
Verified on today's
main(940d32f), not on the one I measured before: two of your three symptoms are gone, the third is your heap and needs a rebaseMy last comment here was measured on an older
main, andmainhas changed since (page marking and copy-back, 20 files). So I re-ran it on940d32fwith the three fixes merged on top, release build, session 1, RTX 4090 (driver32.0.16.2124), empty cache, 70 s:main940d32falone940d32f+ #1778 + #1832 + #1630host view heap capped at 1000000title slot past the host heapno host texture … 2560x1440 format 115host texture made only as a fallbackdropping unordered access … the host cannot use this format as a typed UAVdraws=6656)So the claim holds on the new
main, and it is now split in a way that is easy to act on:GetResourceAllocationInfois no longer handed a description its format cannot carry, and the twodropping unordered accesslines are the proof it fired;main: it conflicts in four files (descriptor/host.rs,shader_cache.rs,emit/mod.rs,emit/shader.rs). So the third symptom is waiting on a rebase of that pull request, not on more analysis.That last point is the useful outcome of this run: two of your three are fixed and mergeable today, and the third is blocked on something mechanical that anyone can do — including whoever owns #1779, and the conflict list is now written down in the open.
If you do test a build on the 3060, the one worth it is
940d32f+ those three: it should reach the menus without the removal, and it will still show the cap and the slots in its log, which is expected and is not your bug.No game data is involved: warnings, counts and frame numbers.
Written with an AI assistant.
@MD5Visual on GitHub · 2026-11-25 02:00 UTC · original
The removal names itself on a third machine — it is
B5G5R5A1_UNORMwithALLOW_UNORDERED_ACCESS, i.e. #1832 — and it is separable from the heap symptomsI reported the same removal separately as #1967 before finding this thread; I am closing that one and putting the measurement here.
Machine: Windows 11 Pro 26200, Ryzen 7 5800X3D, 64 GB, driver
32.0.16.1088(610.88). Two NVIDIA adapters in the box: RTX 3090 24 GB and RTX 2070 SUPER 8 GB (the display adapter). Title 1.0.2.1, blake3b99f876b…239e93, version930.048.020-vb_sub_story. Build940d32f, diagnostics profile, no loop limit, noVICTORY_SKIP_WAVE64, no DRED except where noted, empty cache per run. One local-only patch, disclosed: the host device is created on an adapter chosen by name fromEnumAdapters1, becauseD3D12CreateDevice(None, …)takes the display adapter here and I wanted to exercise both cards. Nothing else is patched.Four runs, same binary, same failure:
So a 24 GB and an 8 GB card of two generations die within 4 s of each other, on the same frame range (before 128), which agrees with your 3060 and the 4090 here: not memory size, not architecture.
What our log does not contain. Neither the
host view heap capped at 1000000line nor anytitle slot past the host heap. Our run-up is only: frame 128 presented (192/192 draws, 64/64 dispatches), then twicea title texture was released while a list not yet reset names its host copy(3840x2160 f28 and f19),no host texture (0x80070057)for a 2560x1440 format 115 with flags 1, sevenlarge buffer copied to the host(22-50 MB), threean unordered view of a depth texture, made on its writable twin, then:That matters for triage: the removal arrives without the cap and the slots, so it is not downstream of the heap symptom — the two are independent, and #1832 is the whole of the removal.
What the debug layer says, verbatim, on the same build and title:
Same id/description as your 4090 measurement, one HAL earlier: the failing call is an allocation query on a UAV-flagged
B5G5R5A1_UNORM(console format 86), so dropping the flag before the query (#1832) is the right place, and it has to be before the query because the device is already gone when it returns.Two smaller notes from reading the tree, not from a debugger:
twin.rscannot be the creator (plane_formats()only yields R32/R16/R8 and its scratch resource is a buffer), so the two candidates areresource.rs::castable/castable_formats_share_the_element(~1080, ~1945) and the host-creation path (~1191-1262), withGetResourceAllocationInfoat 801 and 1119 on descriptions that can already carry the flag. We also see the companionno host texture … format 115(B4G4R4A4_UNORM) on every run, which lines up with #1630 in the table above.Offering the same thing as the reporter: I can run a build with #1832 on this box, on both cards, and report whether the removal goes before the menus and what the cap/slot lines look like here (we do not produce them, which is itself a data point for #1779).
No game data is involved: warnings, ids, timings and counts.
Written with an AI assistant.
@SamuelGDMG on GitHub · 2026-11-25 02:12 UTC · original
Same issue here on
940d32f. It was actually working fine for me on earlier builds (reaching the world/cutscene without crashing), and now I'm getting the exact same chain every run.Specs: Windows 11 (10.0.26200), Ryzen 5 5500, RTX 3050 8 GB, driver 610.88. Running diag build on
940d32fwith --console series-s, VICTORY_D3D12_DEBUG=1, and VICTORY_D3D12_DRED=1 (Series 1.0.2.1, 0 missing imports).I get the same three warnings in order:
With the D3D12 debug layer on, I get the exact same message:
ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as unordered access, or cast to a format that could be used as unordered access. FeatureLevel is D3D_FEATURE_LEVEL_12_2. D3D12_RESOURCE_DESC::Format is B5G5R5A1_UNORM.
Just adding another data point for an RTX 3050 in Series S mode. Happy to test #1832 + #1630 (and #1779 once rebased) too.
Written with an AI assistant.
@DesertGamer on GitHub · 2026-11-25 02:27 UTC · original
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
@Creaa on GitHub · 2026-11-25 03:15 UTC · original
RTX 4070: the same refusal and removal on
main; each of #1832, #1763 and #1926 gets past it, and every one then stalls at the first in-engine cutscene.Setup: RTX 4070 12 GB, driver 617.14, i7-13700F, 32 GB RAM, Windows 11 build 26300, release builds,
translate --cache --pipelinesdone beforehand (23 057 pipelines made, 395 refused by the host). One run per build, 150 s each, no input.On every build the same texture is refused about 26 s in:
no host texture error=0x80070057, 2560×1440, format 115, flags 1.main940d32fDXGI_ERROR_INVALID_CALL)f1e53b850d91b1644aed4merged ontomain940d32f(it is 291 commits behind)title slot past the host heap ... count=934464warnings (the 1 000 000-descriptor cap, as in #1808).The
cargo test --workspace --locked --no-fail-fastresult onmain940d32fon this card: 696 passed, 5 failed, 10 ignored; the failures are the four capped-heap ones of #1835 andemit::synthetic_tests::gathers_at_a_level_match_the_hardware.AI use: Claude Code (Claude Opus 5.5) ran the builds and the runs on my machine and drafted this comment; I checked it before posting.
@SamuelGDMG on GitHub · 2026-11-25 03:42 UTC · original
Tested #1832 locally and it's working — it resolves the 0x887A0001 (DXGI_ERROR_INVALID_CALL) device removal on B5G5R5A1_UNORM and gets past the crash cleanly.
Specs: Windows 11 (10.0.26200), Ryzen 5 5500, RTX 3050 8 GB, driver 610.88. Running diag build on 940d32f with VICTORY_D3D12_DEBUG=1, and VICTORY_D3D12_DRED=1 (Series 1.0.2.1, 0 missing imports).
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 04:05 UTC · original
The three-fix chain still holds on today's
main: 2,048 frames and 13,312 draws in 120 s, no removalUpdating the numbers I quoted here, which were measured on an older
mainbefore the page-marking and copy-back work landed. Same machine and scenario as always: session 1 (interactive desktop), RTX 4090, driver32.0.16.2124, release build, empty cache, 120 s,main940d32fplus #1630, #1832 and #1778:So on today's tree: the removal is gone, the missing texture is gone, and the cap is still there — the cap is #1779's ground and nothing of the three touches it.
Two things this measurement is good for:
What is not in these numbers, so nobody reads more into them than there is: 2,048 frames of this boot are the profile selector, the loading artwork and the legal notices, not the world. The run stops at the terms-of-service screen with the privacy box unticked, which is a title-side input matter rather than a GPU one, and I have not taken that further.
No game data is involved: counts, warnings and frame numbers.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 09:00 UTC · original
The layer names the call that removes the device: an
CreateRenderTargetViewofB4G4R4A4_UNORMon a resource withoutALLOW_RENDER_TARGETI hit this on an RTX 4090 (
32.0.16.2124) with the fixes for the format-115 texture applied (#1630 + #1832 + #1778), so the missing-1440p-texture half of this issue is gone and the removal still happens. WithVICTORY_D3D12_DEBUG=1andVICTORY_D3D12_DRED=1, three consecutive messages at the same millisecond give the order:and immediately after, the two follow-ups that look like consequences:
So the chain is not "the texture is missing, then something undefined later": the render-target view creation is the illegal operation, and D3D12 answers it by removing the device.
B4G4R4A4_UNORMis format 115, which NVIDIA does not allow as a render target at all — the same conclusion the RDNA-vs-NVIDIA thread reached from the other side (#1965's author reaches the lit world on an AMD card where that format is a target).Two things this adds to the issue:
CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)withoutRENDER_TARGET(or withoutCAST_WITHIN_BIT_LAYOUT, depending on which refusal is hit first), skip the view instead of asking for it, and let the draw find a null target. That is the shape of #1832 for typed UAVs, and it belongs in the same place;What I have not done: the guard itself. I found this while chasing the world — the run reaches the setup screens, and this removal is what ends it — and I would rather file the mechanism here with the exact call than leave a half-tested fix in a pull request. If nobody has it in hand, I will write it against
CheckFeatureSupportnext.No game data is involved: a format number, an HRESULT and debug-layer text.
Written with an AI assistant.
@JinzoR6 on GitHub · 2026-11-25 09:19 UTC · original
I used chatgpt to write up this report after giving it the details because i do not fully understand this but thought my data could help
RTX 5070: GPU device removal after format-115 texture refusal — driver 621.40
Environment
940d32fShader and pipeline preparation
The shader and pipeline translation stage completed before launching the game.
The cache was successfully generated, and the game proceeded to runtime execution.
Runtime behaviour
The game starts rendering, but eventually encounters a host GPU failure before reaching the menu or entering the world.
1. Descriptor heap warnings
The host repeatedly reports title descriptor slots exceeding its available heap:
9344641245174onward310710The warnings occur repeatedly during startup.
2. Initial rendering
The game does successfully present frames:
The first reported host frame takes approximately 10.35 seconds, with most of that time spent preparing resources and copies.
3. Texture creation failure
At approximately
22:12:55.570Z, the host refuses a texture with these properties:0x80070057— The parameter is incorrect.Both the castable-format attempt and the fallback host texture creation fail.
4. GPU device removal
At approximately
22:12:56.556Z, the GPU device is removed after a command-list submission.The reported errors are:
0x887A0004— The specified device interface or feature level is not supported.0x887A0001— The application made an invalid call.The log reports no DRED breadcrumbs and explicitly recommends enabling the D3D12 debug layer to identify the failing command.
Result
The RTX 5070 can execute the initial rendering workload and present frames, but the run consistently reaches a GPU failure before the game becomes playable.
Updating the NVIDIA driver to 621.40 did not resolve the observed failure.
The main symptoms are:
I have not yet tested a diagnostic build with
VICTORY_D3D12_DEBUG=1andVICTORY_D3D12_DRED=1, so the exact failing D3D12 command is not confirmed.I'm available to test maintainer-recommended fixes or diagnostic builds on the RTX 5070.
No game files, screenshots, shader dumps, or raw logs are attached.
@fiestorra on GitHub · 2026-11-25 09:34 UTC · original
Correction to my own suggestion:
CheckFeatureSupportsays format 115 is a render target, so a query-based guard would not have caught thisI said in my previous comment that the place for the guard is
CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT)withoutRENDER_TARGET, "the shape of #1832 for typed UAVs". I wrote that guard, it compiles, its test passes — and it does nothing for this case. Measured, on the same RTX 4090 (32.0.16.2124) that removed the device:The driver reports
D3D12_FORMAT_SUPPORT1_RENDER_TARGETforB4G4R4A4_UNORMand then refusesCreateRenderTargetViewof it anyway — the same layer that prints "cannot be used with a RenderTarget view because this particular graphics implementation doesn't support this". So the support query and the view creation disagree, and the query is the one we cannot use.I caught it before publishing it because the guard logged nothing: I had added a
null viewwarning on the fallback path, and a run with the guard came out with zero such lines. A guard that never fires while the crash is gone looks like a fix and is not one — the run simply took a path that did not ask for the 115 target that time. (That also tells me the crash is not deterministic: the same build reached 8,192 frames with the layer on, where a previous one died at 1,024.)So the design has to change, and here is what I would do instead, in order of how much I trust it:
B4G4R4A4_UNORMtoday, with the layer text as the evidence.Hostdoes not keep the vendor id yet (it is only read inwarp_adapterfor a diagnostic), so the change is: storeVendorIdonHost, and refuse by (vendor, format) inrtv;What I have not done: that change. I withdrew the branch with the query-based guard instead of opening a pull request that would not act on the case it was written for — a no-op with a green check is worse than no pull request, because it makes the issue look addressed.
If someone is already on
VendorIdinHostfor another reason, this becomes a ten-line change and I will take it; if not, I will write it next, with the run that crashed as the measurement.No game data is involved: format numbers, support masks and debug-layer text.
Written with an AI assistant.
@NuraadGit on GitHub · 2026-11-25 09:52 UTC · original
A data point for the vendor-aware design: the query's answer for format 115 differs between NVIDIA generations.
fxceless/victory-fork has a query guard of this shape (
resource::target_format): it takes 8-bit RGBA in place of B5G5R5A1 (86) and B4G4R4A4 (115) whenCheckFeatureSupportlacks eitherD3D12_FORMAT_SUPPORT1_RENDER_TARGETorD3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW. On an RTX 2080 (Turing) it fires for both formats:Your 4090 mask for 115 (
0x2e4d3f0) has both bits set (RENDER_TARGET is 0x4000, TYPED_UNORDERED_ACCESS_VIEW is 0x2000000). So the same guard would pass it there, and the query alone can't be trusted on newer cards. That supports keeping a (vendor, format) refusal next to the query, as you propose.@fiestorra on GitHub · 2026-11-25 10:27 UTC · original
Where the format comes from, in code:
pc_formathas no stand-in for 115, so the host receives it unchangedI traced the 1440p target back to the mapping that decides what the host is asked for.
host_descincrates/victory-gpu/src/resource.rsends with:and
pc_formatmaps only three console formats to a PC stand-in:Format 115 is not one of them, so
B4G4R4A4_UNORMis asked for by number, and NVIDIA answers the view creation with "this particular graphics implementation doesn't support this" — the illegal call in my previous comment. The console's 2-byte packed formats (85, 86, 115) are exactly the ones with no stand-in here, which is the same list #904 names as "missing pc_format fallbacks (85/86/115, 67)".Why this is not a one-line addition, and I would rather write it down than have someone try: a stand-in changes the element size.
element(115)is 2 bytes per texel; the obvious PC stand-ins for a packed 4-bit colour target areR8G8_UNORM(49, 2 bytes but half the channels) orR8G8B8A8_UNORM(28, twice the bytes). Either one changes the host texture's footprint and every copy between title memory and host memory for that resource, which is the same problem the texture ladder in #1630 solves for the other formats — so the fix belongs with that machinery, not as a table row.What can be done cheaply, and what my #2305 does, is keep the device alive: refuse the view of a format the driver refuses, and let the draw go to a null target. That converts a removed device into a missing target, which is progress for the run and not a fix for the picture — a 1440p render target that goes nowhere is a candidate explanation for the black world the operator reports after the intro (audio and subtitles, no image; the black-world issues #904, #1119, #850).
So the order I would land things in: (1) something that stops the device removal, so runs survive long enough to be diagnosed — #2305; (2) a real stand-in format for 115 (and probably 85/86) through the ladder, so the target exists and renders — that is the picture fix, and it needs the memory-sizing work.
I have not written (2). If someone is already in
pc_formatfor 85/86, coordinate here before I do, because the design questions (which stand-in, how the copy sizes change) are the same for all three formats.No game data is involved: format numbers and source excerpts.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 10:35 UTC · original
The support query cannot tell a good stand-in from the refused format: all five report "render target"
Before writing the stand-in for format 115, I tried to find which 2-byte format this host accepts as a target, so the stand-in could be chosen by measurement rather than by guessing. The query answers "yes" to everything:
RTX 4090,
32.0.16.2124,CheckFeatureSupport(D3D12_FEATURE_FORMAT_SUPPORT). SoCheckFeatureSupportsays 115 is a target andCreateRenderTargetViewrefuses it: the only way to know whether a stand-in works is to create the view and see, which means a GPU test that creates one — not a table populated from the query.That also decides the shape of the fix, and it is the part I would get wrong if I rushed it:
B5G5R5A1_UNORM(86) and the title's later sampling views still say 115, the mismatch has not gone away — it has moved to whichever call creates the sampling view;pc_formatneeds a mapping that is used by every path that names the format (host_desc,view_format, the descriptor tables, the pipeline's format), which is what the existing 118/119/120 mapping already does — and that is why adding 115 there is the clean change, with the element-size question: 115 and 86 are both 2 bytes per texel, so the ladder and the copies keep their sizes.R8G8B8A8_UNORM(4 bytes, the other candidate) would not: it doubles the footprint and every copy of that resource.That narrows it to
115 → 86: same element size, four channels, and a format PC takes as a target. The cost is a reinterpretation — the title writes 4-4-4-4 and reads 5-5-5-1 — so the picture can be colour-shifted, but it exists, which is the difference between a black world and a wrong-coloured one. If 86 is refused by some other vendor, 85 (B5G6R5, 3 channels) is the next candidate, and the same GPU test tells us.What I did not do yet: write it. Two things I want in place first — a GPU test that creates a committed 86 target and its view (so the choice is measured, not assumed), and a decision with whoever owns the format table about whether 85/86 need the same treatment for the reasons in #904.
No game data is involved: format numbers and support masks.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 11:03 UTC · original
With the stand-in for 115 the invalid call is gone, and what is left is a hang — a different failure, at a different place
I ran the same chain with #2332 (
pc_format(115) = 86), #1630, #1832 and #1778,--profile diag, session 1, RTX 409032.0.16.2124, empty cache, real keystrokes with the window kept in the foreground. The run reached frame 1,024 and died, but not the way the previous ones did:0x887A0004isDXGI_ERROR_UNSUPPORTEDand0x887A0006isDXGI_ERROR_DEVICE_HUNG. Against the earlier report of the same build family:no host texture(the 2560×1440 format-115 target)CreateRenderTargetViewDXGI_ERROR_INVALID_CALL)DEVICE_HUNG), after 16 listsSo the stand-in does what it says — the target exists, the illegal call is gone — and the failure has moved: it is now a hang, which is a different bug with a different next step, the debug layer on the submission of those 16 lists (and DRED for the breadcrumbs, since none were recorded).
I should also record the operator's observation from the same window, because it is the other half of the picture and it is bad news: the world still does not draw for them — after the intro it stays on the text with a black screen. That is the picture problem, and the format stand-in does not fix it: colours through a null or reinterpreted target can be black, and the world's own targets may be failing for reasons this change does not touch.
Two things I am not claiming:
Where I would go next, in order: the layer and DRED on that 16-list submission (name the hung command, or find that it is a long dispatch), then the black world with the world frames captured — the capture hook already writes a frame at every power of two, so a run that reaches the world keeps a file of it, and a mean luminance of 0 on that file is the evidence that separates "black" from "slow".
No game data is involved: HRESULTs, counts and log text.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 11:39 UTC · original
The failure follows the keyboard-driven flow, and it is a device hang right after a 5.25 s pipeline submission — the TDR budgets on this machine were unset
Three runs in a row with real keystrokes (
SendInput, window kept in the foreground) died at frame 1,024; two runs of the same build without keys reached 8,192 and 16,384 frames. Whatever this is, it is not a fixed frame number — it correlates with the title taking the interactive path.What the last of those runs says, in order:
A submission of twelve compute pipeline creations took 5,250 ms, then the GPU is hung. Three observations that go together:
TdrLevel,TdrDelay,TdrDdiDelayall absent), so Windows used its defaults: 2 s for the GPU and 5 s for a driver call;0x887A0006(DXGI_ERROR_DEVICE_HUNG) means;I set
TdrDelayandTdrDdiDelayto 60 and re-ran — and it failed at frame 1,024 again, because Windows applies these values from the driver at boot: writing them is not enough without a reboot, and I have not rebooted this machine. So the hypothesis is untested, not disproved. The next run after a reboot settles it, and I would rather leave it there than present a correlation as a cause.Two consequences for whoever reads this:
tdr.rsdescribes ("raisingTdrDelayis what gives slow frames room"). It may deserve a sentence in that module aboutTdrDdiDelayspecifically, since pipeline creation is a driver call, not a frame;And the picture, separately: the black world is still black — the operator reports it from the interactive path, and none of my runs reached the world long enough to contradict that. The two problems are now clearly different ones: a hang on pipeline creation (this note) and a world that does not draw (the capture at every power of two is the file that will say whether it is black or just slow).
No game data is involved: HRESULTs, timings, counts and log text.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 12:03 UTC · original
DRED answered, and its answer is not a hang: every listed list is marked done, and every marker is unnamed
Two runs of the same build and scenario differ only in what is enabled, and between them they settle what the failure is not:
0x887A0004/0x887A0006)So the debug layer does not help here: slowing the run down makes the failure disappear, which is the signature of a timing-sensitive fault rather than a deterministic bad call. DRED alone does not slow anything, and it produced the data:
Two things to read there, and both are useful:
done == counton every list — the GPU finished every command list in that submission. If it had been a hang inside a list (a pathological dispatch or a loop), at least one list would showdone < count. It does not, so the TDR-reading of the earlier0x887A0006is now the weaker explanation, and the "invalid operation during a completed list" reading is the stronger one — the same shape as theCreateRenderTargetViewcase, where the removal came from a call rather than from a stall;None— our breadcrumbs are set, but unnamed. That is why the report cannot say which list or which pass was in flight: DRED gives us the counters and we are not giving it the names.The next step that pays for itself: give the markers names — the command list and the passes recorded into it (draw/dispatch and the pipeline's hash) — so the breadcrumb line reads
27/27 "frame 4096 draw 3 [compute 7ec32976ba4a1227]"instead ofNone. That is a diagnostics change, not a fix, and it converts every future device removal from "twenty lists, no idea" into a named suspect. I would do that before another diagnostic run: two sessions have now ended with breadcrumbs that were collected and useless.I have not written it yet, and I am aware that this is the third measurement in a row that ends in "we need one more instrument". The instruments so far were worth it — each one ruled something out — but the pattern is clear, and the naming is the last one I would add before going back to trying fixes.
No game data is involved: counts, HRESULTs and marker text.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-25 12:05 UTC · original
Correction, and it is the useful one: DRED did name the failure — an indirect dispatch, stopped at command 53 of 64
My previous comment said "every listed list is marked done". That was wrong, and the mistake was mine in the reading, not in the tool: I quoted the head of a 5,820-character line and stopped at the first ninety entries. The tail of that same line says this:
So the device removal has a named suspect: an indirect dispatch —
indirect kind 2, max 1— of compute shaderf607780aa8e502d0, in the list that stopped at its command 53, between the barriers that bracket it. The2/2 Noneentries I quoted are the other lists of the submission (the small ones), not the failing one; several of the larger ones showSome(i)with a progress of0, which is what a list that never started looks like.That changes the state of this issue, so let me restate it cleanly:
0xd9358fe80), and the dispatch's kind and maximum;What I would do next, and it follows from the breadcrumb rather than from a hunch:
f607780aa8e502d0and the argument buffer0xd9358fe80+0x10and check what writes the dispatch arguments and what reads them (the barrier between command 52 and 54 is where the ordering is supposed to be established);max 1inindirect kind 2: a dispatch whose arguments are read from GPU memory with a bound of one — if the count is written after the dispatch reads it, the GPU runs zero or garbage groups and can fault on the address, which is the classic form of this bug and would explain both the fault and why slowing down hides it;I am sorry for the wrong reading in the previous comment: it was one line away from the answer and I stopped at the truncation. It is worth the correction because a "no list stopped" conclusion would have sent the next person looking for a fault outside the command lists.
No game data is involved: a shader hash, an address, a command index and debug-layer text.
Written with an AI assistant.
@Marvisak on GitHub · 2026-11-25 12:46 UTC · original
Automated triage for the maintainers.
Thanks, a complete report: RTX 3060, driver 32.0.16.1060, Windows 11 26200,
ccfb029, the order of the warnings and the removal codes. Several later comments reproduce it on940d32f(RTX 4090, 4070, 3090/2070 SUPER, 3050, 5070).What is in
main(940d32f):0x887A0001,DXGI_ERROR_INVALID_CALL) is the one tracked in #1753, the oldest complete report, which started with70564ae(it fits the comment that earlier builds reached the world). The debug-layer lines posted here nameB5G5R5A1_UNORMwith unordered access and a render-target view ofB4G4R4A4_UNORM(format 115).host_desc/pc_formatincrates/victory-gpu/src/resource.rspass both formats to the host unchanged (pc_formatmaps only 118, 119 and 120). Open PRs: #1763 and #1832 (unordered access), #2332 (a stand-in for 115), #1630 (texture fallbacks), #2305.title slot past the host heaplines are expected on NVIDIA (HostHeap::newincrates/victory-gpu/src/descriptor/host.rs); the cap is discussed in #747, with #1779 open (it needs a rebase onto940d32f).indirect kind 2of computef607780aa8e502d0) is the one in #1968, part of the NVIDIA world hang in #71; #1906 is the open PR that removes it in the runs reported there.If you try a build,
940d32fplus #1832 (or #1763) and #2332 is the combination the comments above measured; please post how far it gets.Generated by Claude Code
@potatoe0100 on GitHub · 2026-11-26 14:11 UTC · original
#1906, named in the triage for the later world hang (
indirect kind 2in computef607780aa8e502d0), has merged as2bba792. The format 115 render target is still unhandled onmain; #89 and #2767 are the open PRs for it.AI-assisted (Claude)