Regression after the frame-generation merge: pipeline library load fails with 0x80070057, then device removed (0x887A0006) at boot #187
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay#187
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?
@HabibUrRehmanBhattii on GitHub · 2026-11-27 07:16 UTC · original
Summary
After the frame-generation merge (
b088755) and everything since, the layer fails to start on this machine: it cannot build or load the host pipeline library, then the GPU device is removed.a84244druns fine on the same hardware and config.Environment
7952987a(b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)-Console series-s -Build diag -Windowed -Machine 4070VICTORY_WAVE_WIDE=1 VICTORY_OUTPUT=1280x720 VICTORY_UPSCALER=6 VICTORY_CARD_BUFFERS_MIN_KB=1 VICTORY_READBACK_POOL=1 VICTORY_RAM_FLOOR_MB=2048 VICTORY_WINDOWS_BAR_PERCENT=95 VICTORY_RAM_KEEP_ALIVE=1What happens
Boot reaches ~1,900 frames / a few hundred draws, then:
The
0x80070057repeats many times before the device goes.Bisect
a84244d0c352c9(main93f3b5fmerged)4a5458f(main, incl. #166/#169/#171)4a5458f+ #1756594538(latest main tested)So the regression arrived somewhere between
a84244dand93f3b5f— i.e. with the frame-generation mergeb088755and/or the batch after it.Things already ruled out
cache-vice4070/{pipelines,shaders,ngx}(785 MB, 11,327 files) does not help. It fails while starting an empty library.VICTORY_READBACK_POOL: reproduces with it unset.VICTORY_LIBRARY_MAP=0,VICTORY_LIBRARY_HANDLE=0— same0x80070057.Guess at the cause
Something in
crates/victory-gpu/src/pipeline/library.rsbetweena84244dandb088755.host.rsnotes that "without [the mesh shader] the pipeline library refuses to load a stored [library]", so a mesh-shader/pipeline-description change around the frame-generation work is worth checking — an incompatible library description would surface exactly asE_INVALIDARGon load.Possibly related
7952987a, RTX 3080. Also a pipeline-path crash at boot; that one ends in a0x80000003breakpoint atvictory-image+0x1dac734.Happy to run any diagnostic build or specific commit the maintainer wants (e.g.
VICTORY_D3D12_DEBUG=1, or a bisect betweena84244dandb088755) — the machine reproduces it every run.@mint17 on GitHub · 2026-11-27 11:29 UTC · original
We traced this through the commit range in your bisect (84244d ->
93f3b5f):93f3b5f/ PR #161) removed $settings.VICTORY_WAVE_WIDE_ONLY from scripts/play.ps1 after moving the 4 verified hashes into DEFAULT_WAVE_WIDE_HASHES. Because your launch still passes VICTORY_WAVE_WIDE=1 without VICTORY_WAVE_WIDE_ONLY, emit/mod.rs now treats that as unrestricted wave-wide barriers on every wave64 compute shader, which can deadlock 32-lane NVIDIA warps and trigger DXGI_ERROR_DEVICE_HUNG (␀x887A0006).Could you try launching on latest main without VICTORY_WAVE_WIDE=1 (the 4 safe shaders are now enabled by default when VICTORY_WAVE_WIDE is unset)? Opened #236 to clarify the empty-library E_INVALIDARG trail message and warn in play.ps1 when VICTORY_WAVE_WIDE=1 is passed without VICTORY_WAVE_WIDE_ONLY on NVIDIA.
@TaynanGT on GitHub · 2026-11-27 11:42 UTC · original
@mint17 The built-in allow-list covers the tested shaders when the legacy override is removed. That gives us one useful check on the bisect with the rest of the launch settings held fixed. The cold-library lookup and later device status should stay separate in #236.