d3d12: Multi-second pipeline compile freezes followed by device suspended (0x887A0005) on RTX 3060 (Series S, DLSS Quality) #3255
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?
Imported from ubiquitarianism/leonida. Originally posted by maleksn on 2026-12-02T22:45:52Z.
What happens
Multi-second freezes during live pipeline creation (up to 4.88 s on compute pipelines), ending with host GPU failure: device removed: The GPU device instance has been suspended. (0x887A0005).
Commit
f3865cae8System
Windows 11 Pro (10.0.26300.9974), Intel Core i5-12400F, 16 GB DDR4-3200 (+ 32 GB fixed pagefile on NVMe), NVIDIA GeForce RTX 3060 12 GB (Driver 621.47, Resizable BAR ON), Python 3.14.10, Rust 1.98.1 (built with diagnostics,dlss,mimalloc)
Where
pipelines
Command and steps
Command:
powershell -ExecutionPolicy Bypass -File "D:\GTA 6\mandy\scripts\play-d3d12.ps1" -Game "C:\Games\GTA6" -SeriesS -Dlss quality -PrecompileUsed -Log
Steps:
f3865cae8.play-1203-002258.log
Output
Imported from ubiquitarianism/leonida. Originally posted by maleksn on 2026-12-03T00:04:19Z.
Update (Commit
ef35d683e+ TdrDelay=15 / TdrDdiDelay=15):I rebuilt from commit
ef35d683e(including #3178, #2965, and #3154) and raised Windows TDR delays (TdrDelay=15, TdrDdiDelay=15, keeping TdrLevel=default).What changed:
The session lasted ~44.5 minutes (493,576 GPU submissions) instead of ~10 minutes.
However, multi-second freezes (~4s) still happened during live pipeline creation (e.g. 4047.1 ms on compute 9211a9c1bb57341b, 3871.2 ms on compute 46dc6c870454c7a6).
It still ended with 0x887A0005 (The GPU device instance has been suspended), even though TdrDelay=15 was active (delay=15 ddi_delay=15 confirmed in log) and the active pipeline compile (compute c1c7f6c2e8d5d2a5) had only been running for 341.6 ms.
Command used: powershell -ExecutionPolicy Bypass -File "D:\GTA 6\mandy\scripts\play-d3d12.ps1" -Game "C:\Games\GTA6" -SeriesS -Dlss quality -PrecompileUsed -Log
Relevant log tail (full compressed log attached):
17527.6 ms before, thread 7660: pipeline library: made [compute 9211a9c1bb57341b] in 4047.1 ms (the library did not load it: The parameter is incorrect. (0x80070057))
13631.5 ms before, thread 1528: pipeline library: made [compute 46dc6c870454c7a6] in 3871.2 ms (the library did not load it: The parameter is incorrect. (0x80070057))
743.0 ms before, thread 6632: pipeline library: made [mesh 4f1f30b048242939, pixel e1bccd62af945062] in 1441.3 ms (the library did not load it: The parameter is incorrect. (0x80070057))
45.3 ms before, thread 3220: pipeline library: made [compute 05d0579c2cacd393] in 308.8 ms (the library did not load it: The parameter is incorrect. (0x80070057))
20.8 ms before, thread 6632: pipeline library: made [mesh 47290dd65198197a, pixel 713a8abbfa3441e2] in 409.8 ms (the library did not load it: The parameter is incorrect. (0x80070057))
2026-12-02T23:56:28.184922Z ERROR leonida_gpu::host: when the host device went: the submitting thread was preparing a submission (2 submissions of ours started and not yet seen finished), of 3 lists, for 0.9 ms; pipeline library: make of b7ac3072381e3c1197f6c0b78a40d53f [compute c1c7f6c2e8d5d2a5] running for 341.6 ms on thread 4156; its file is mapped (310062562 bytes) ... submissions started 493576 finished 493574
2026-12-02T23:56:28.186357Z ERROR leonida_gpu::host: device-removed data; none
2026-12-02T23:56:28.186498Z ERROR leonida_gpu::host: relay: the fence reports the device removed; device removed: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action. (0x887A0005); a diagnostics build with LEONIDA_D3D12_DEBUG=1 names the command
Imported from ubiquitarianism/leonida. Originally posted by timh8127 on 2026-12-03T13:43:52Z.
The same freezes on an RTX 5070 (Series X,
-PrecompileAll), without a device removalMain at
b053a1813(the diag runtime built atd9b618f10; nod3d12/crateschanges between them), started fromLauncher.batwith its defaults (Series X, 2560×1440 output, DLSS and DLSS frame generation 2×,-PrecompileAll,LEONIDA_PIPELINE_WAIT_MS=10000). Windows 11 26300, Ryzen 9 9950X3D, 32 GB RAM + 32 GB fixed page file, RTX 5070 12 GB, driver 621.14, NVIDIA shader cache size Unlimited, no TDR keys set. From the runs' own log lines:slow-pipelines.txton this PC (every run so far, warm-ups included): 2,904 pipelines took 1 s or more to make; median 1.75 s, p90 4.5 s, longest 21.2 s, 844 over 3 s.No log attached, since it names the title's shaders.
Numbers collected from the logs with Claude Opus 5.5 (AI-assisted); reviewed by me before posting.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:31:28Z.
The reports show multi-second live pipeline compilations and
0x887A0005on an RTX 3060, including a later 44-minute run with increased TDR delays; a separate RTX 5070 report describes similar long frames without device removal. The captured evidence distinguishes this from a simple OOM, but the reports do not yet establish one shared cause. Maintainers should decide whether to track this separately from the broader live-pipeline stalls in #3103, since #3103 has its own active follow-up work.