RTX 3080: DXGI_ERROR_INVALID_CALL (0x887A0001) entering world due to title slot past host descriptor heap #2550
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#2550
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?
@demetresharaba1313-cpu on GitHub · 2026-11-25 15:39 UTC · original
Summary
Entering the world crashes immediately with
DXGI_ERROR_INVALID_CALL(0x887A0001) on an NVIDIA RTX 3080 (commit940d32f).The diagnostics log shows the title indexing descriptor slots around
1240801+, exceeding NVIDIA's D3D12 shader-visible descriptor heap limit (count=934464), immediately beforehost GPU device removed.System Specs
940d32fRelevant Log Output
@guanaco0403 on GitHub · 2026-11-25 15:43 UTC · original · edited 2026-11-25 15:46 UTC
same issue here with rtx3050 and commit
da82e44@Venom2054 on GitHub · 2026-11-25 15:55 UTC · original
On an RTX 5070 Ti (driver 621.01, Windows 11), I compared stock
da82e44with the same revision plus only93c4e181, the typed-UAV format check from #1926. Each run started from its own copy of the same save and cache, with the same scripted input.DXGI_ERROR_INVALID_CALLat 8.9 s, before the first world frame.B5G5R5A1_UNORMtyped UAV atCreateUnorderedAccessView(message 342), immediately followed byRemoveDevice(232). It also reported a separateB4G4R4A4_UNORMrender-target error.DXGI_ERROR_DEVICE_HUNG(0x887A0006).Both debug-layer runs logged exactly the same 310,720 out-of-range descriptor indices, 934,464 through 1,245,183, all with
for_draw=false. Those warnings persisted even when the early removal stopped. On another card showing0x887A0001, the debug-layer message immediately preceding removal would help distinguish these cases. The cause of the later hang on my card is still open.Tested locally with OpenAI Codex assistance.
@Olliee96 on GitHub · 2026-11-25 15:58 UTC · original
A correção que impede o erro está no código do worktree atual, em crates/victory-gpu/src/descriptor/host.rs:1502-1513.
Causa: o jogo pede vistas de escrita (UAV) em texturas de formatos de 16 bits como B5G5R5A1, que é o caso do issue #1753, e B4G4R4A4. Essas vistas são tipadas, ou seja, o shader grava direto naquele formato. Nas placas NVIDIA, o hardware não grava nesses formatos. Criar a vista mesmo assim fazia o driver remover o dispositivo com DXGI_ERROR_INVALID_CALL (0x887A0001), poucos segundos depois de o jogo abrir.
Solução: antes de criar cada UAV, o VIctory pergunta à placa, com CheckFormatSupport, se ela grava naquele formato (typed_store, linha 1390).
Se grava, cria a vista normalmente.
Se não grava, põe uma vista vazia no lugar e registra uma vez no log: "an unordered view in a format the host cannot store".
Mesmo quando o jogo pede para ver a textura em outro formato, a regra da linha 1362 recusa o formato de vista que a placa não grava.
@Marvisak on GitHub · 2026-11-25 18:44 UTC · original
Automated triage for the maintainers.
Run report: NVIDIA (RTX 3080, RTX 3050, RTX 5070 Ti in the comments), device removed with
DXGI_ERROR_INVALID_CALL(0x887A0001) on the way into the world. Thanks for the details.title slot past the host heapwarnings are a diagnostic incrates/victory-gpu/src/descriptor/host.rs(HostHeap::mirror): slots past the NVIDIA view-heap cap are skipped, not the removal itself. As the 5070 Ti comparison shows, they persist even when the removal stops.B5G5R5A1_UNORM, which NVIDIA cannot store). In main,typed_storein the same file is only checked for a cast view of another format family (infits), so a UAV in the texture's own 16-bit format is still made. #1753 is where the cause is tracked. Open PRs #1763 and #1926 address it; neither is merged.DXGI_ERROR_DEVICE_HUNGseen with the format check applied is a separate failure. A debug-layer log of that run would help if it persists after the fix lands.Please retry current main once one of those PRs is merged.
Generated by Claude Code