GPU: give pipeline workers room for NVIDIA's shader compiler #1129
No reviewers
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!1129
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1129"
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?
@divyeshganta on GitHub · 2026-11-24 16:02 UTC · original
divyeshganta:fix/nvidia-pipeline-worker-stack→main· +8 −0 · 1 files · 1 commits · openFixes #966.
Pipeline workers now use a 64 MiB stack so NVIDIA's recursively compiling shader compiler cannot overflow Rust's default 2 MiB worker stack and have the pipeline rejected as
E_OUTOFMEMORY. The stack reserves address space and commits pages as they are used.Patch by Peppacodes (
d09c31b4c14481155e7d0b33b0aea30d9333f152), carried with its original authorship. The report reproduces the failure on an RTX 5080 and confirms the same world shader creates a pipeline with the larger stack. A separate RTX 4090/Wine check verified the worker reservation change with a small shader, not the reported title shader.The contributor reports Windows 11 workspace tests passing (342 passed, 0 failed, 6 ignored), all-target/all-feature Clippy clean, and
cargo xtask policypassing. I have not rerun tests locally.@Ctrl-Alt-Haze on GitHub · 2026-11-24 16:51 UTC · original
Independent verification of
d09c31bon Windows 11, RTX 5070 Ti (driver32.0.16.2135) + WARP (VICTORY_D3D12_DEBUG=1), dxil.dll1.8.2502.11, Rust1.98.1againstupstream/main(ffe310eb):ffe310eb;cargo xtask policy:154 files ok; bothclippychecks pass.cargo test --workspace --locked: 342 passed, 0 failed, 6 ignored.victory-shader --features host(VICTORY_D3D12_DEBUG=1, RTX 5070 Ti &VICTORY_WARP=1): 120 passed, 0 failed, 1 ignored (0 D3D12 debug errors/warnings).victory-gpu --features diagnostics(VICTORY_D3D12_DEBUG=1, RTX 5070 Ti &VICTORY_D3D12_WARP=1): 53 passed, 0 failed, 1 ignored (pipeline::make::tests::first_use_is_made_by_a_workercreates a 64 MiB worker stack cleanly on RTX 5070 Ti & WARP; 0 D3D12 errors/warnings).PIPELINE_STACK = 64 << 20), zerounsafeadded. Ready to merge.AI-assisted verification on local RTX 5070 Ti + WARP; no game data.
@Zipettte on GitHub · 2026-11-24 18:01 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
d09c31b:cargo test -p victory-gpupasses, 50 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@Marvisak on GitHub · 2026-11-25 00:36 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:crates/victory-gpu/src/pipeline/make.rs.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
maincan take merges more often #3347View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.