thread 'pipeline::host::tests::a_mesh_pipeline_loads_from_the_library' (79552) panicked at crates\victory-gpu\src\pipeline\host.rs:912:79 #4

Closed
opened 2026-11-26 03:34:28 +00:00 by github-bot · 5 comments
Owner

@⁠domints on GitHub · 2026-11-24 19:25 UTC · original

i9-12900KF, RTX5080, Driver version is 32.0.16.2102 - Game Ready driver 621.01

error in tests:

---- pipeline::host::tests::a_mesh_pipeline_loads_from_the_library stdout ----

thread 'pipeline::host::tests::a_mesh_pipeline_loads_from_the_library' (79552) panicked at crates\victory-gpu\src\pipeline\host.rs:912:79:
called Result::unwrap() on an Err value: Error { code: HRESULT(0x80070057), message: "Parametr jest niepoprawny." }
stack backtrace:
0: std::panicking::panic_handler
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\std\src\panicking.rs:679
1: core::panicking::panic_fmt
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\panicking.rs:80
2: core::result::unwrap_failed
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\result.rs:1870
3: enum2$<core::result::Result<tuple$<windows::Win32::Graphics::Direct3D12::ID3D12RootSignature,alloc::vec::Vec<u8,alloc::alloc::Global> >,windows_result::error::Error> >::unwrap
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\result.rs:1231
4: victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library
at .\src\pipeline\host.rs:912
5: victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library::closure$0
at .\src\pipeline\host.rs:901
6: core::ops::function::FnOnce::call_once<victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library::closure_env$0,tuple$<> >
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\ops\function.rs:250
7: core::ops::function::FnOnce::call_once
at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\ops\function.rs:250
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

failures:
pipeline::host::tests::a_mesh_pipeline_loads_from_the_library

**@⁠domints** on GitHub · 2026-11-24 19:25 UTC · [original](https://github.com/fxceless/victory-fork/issues/4) i9-12900KF, RTX5080, Driver version is 32.0.16.2102 - Game Ready driver 621.01 error in tests: ---- pipeline::host::tests::a_mesh_pipeline_loads_from_the_library stdout ---- thread 'pipeline::host::tests::a_mesh_pipeline_loads_from_the_library' (79552) panicked at crates\victory-gpu\src\pipeline\host.rs:912:79: called `Result::unwrap()` on an `Err` value: Error { code: HRESULT(0x80070057), message: "Parametr jest niepoprawny." } stack backtrace: 0: std::panicking::panic_handler at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\std\src\panicking.rs:679 1: core::panicking::panic_fmt at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\panicking.rs:80 2: core::result::unwrap_failed at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\result.rs:1870 3: enum2$<core::result::Result<tuple$<windows::Win32::Graphics::Direct3D12::ID3D12RootSignature,alloc::vec::Vec<u8,alloc::alloc::Global> >,windows_result::error::Error> >::unwrap at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\result.rs:1231 4: victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library at .\src\pipeline\host.rs:912 5: victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library::closure$0 at .\src\pipeline\host.rs:901 6: core::ops::function::FnOnce::call_once<victory_gpu::pipeline::host::tests::a_mesh_pipeline_loads_from_the_library::closure_env$0,tuple$<> > at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\ops\function.rs:250 7: core::ops::function::FnOnce::call_once at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\core\src\ops\function.rs:250 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. failures: pipeline::host::tests::a_mesh_pipeline_loads_from_the_library
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:28 +00:00
Author
Owner

@⁠leonardo-silva-pinheiro on GitHub · 2026-11-24 20:20 UTC · original

#14 fixes a failure in this same test (E_INVALIDARG on a GPU without mesh shaders), but it probably does not fix this one, so linking them with a caveat:

  • Line 912 in the backtrace, on 7b0f736, is root_signature(&host.device, &[], &[], false).unwrap(): the E_INVALIDARG here comes from creating the root signature, before any pipeline is made.
  • #14 adds a skip when host.mesh_shaders() is false (an RTX 5080 has mesh shaders, so it would not skip) and turns off depth testing for the pipeline, which runs after line 912.

The root signature the test asks for is empty apart from its flags (ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED). The two directly-indexed flags need shader model 6.6 on the device, so that is one place to look.

@⁠domints, two things would help: does the test still fail on the #14 branch, and is there a root signature: warning or a D3D12 debug-layer message just before the panic (RUST_LOG=warn cargo test -p victory-gpu --lib a_mesh_pipeline -- --nocapture)?

AI-assisted: Claude Code read the issue and the PR diff and drafted this comment; posted at my request.

**@⁠leonardo-silva-pinheiro** on GitHub · 2026-11-24 20:20 UTC · [original](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7143399217) #14 fixes a failure in this same test (`E_INVALIDARG` on a GPU without mesh shaders), but it probably does not fix this one, so linking them with a caveat: - Line 912 in the backtrace, on `7b0f736`, is `root_signature(&host.device, &[], &[], false).unwrap()`: the `E_INVALIDARG` here comes from creating the root signature, before any pipeline is made. - #14 adds a skip when `host.mesh_shaders()` is false (an RTX 5080 has mesh shaders, so it would not skip) and turns off depth testing for the pipeline, which runs after line 912. The root signature the test asks for is empty apart from its flags (`ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED`). The two directly-indexed flags need shader model 6.6 on the device, so that is one place to look. @⁠domints, two things would help: does the test still fail on the #14 branch, and is there a `root signature:` warning or a D3D12 debug-layer message just before the panic (`RUST_LOG=warn cargo test -p victory-gpu --lib a_mesh_pipeline -- --nocapture`)? *AI-assisted: Claude Code read the issue and the PR diff and drafted this comment; posted at my request.*
Author
Owner

@⁠Revens2 on GitHub · 2026-11-24 21:58 UTC · original

Checked on a fresh main (4e17478, which includes #14), Windows 11, RTX 5070 12 GB, driver 32.0.16.2124:

cargo test -p victory-gpu --locked --lib a_mesh_pipeline -- --nocapture
test pipeline::host::tests::a_mesh_pipeline_loads_from_the_library ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 110 filtered out
  • This GPU has mesh shaders, so the test ran for real (it was not skipped by the #14 guard) and the root_signature(...) call that panicked in the report succeeded here.
  • So the panic is not reproduced on this machine. It was reported on an RTX 5080 with driver 32.0.16.2102; I could not test that card or driver, so whether it still fails there is not verified.
  • The earlier comment's hypothesis (the two directly-indexed flags needing shader model 6.6) is untested here. If it still fails for the reporter, the output of RUST_LOG=warn cargo test -p victory-gpu --lib a_mesh_pipeline -- --nocapture on current main would help.

AI use: Claude Code, Claude Sonnet 5.5 ran the test and wrote this comment.

**@⁠Revens2** on GitHub · 2026-11-24 21:58 UTC · [original](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145636802) Checked on a fresh `main` (`4e17478`, which includes #14), Windows 11, RTX 5070 12 GB, driver 32.0.16.2124: ``` cargo test -p victory-gpu --locked --lib a_mesh_pipeline -- --nocapture test pipeline::host::tests::a_mesh_pipeline_loads_from_the_library ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 110 filtered out ``` - This GPU has mesh shaders, so the test ran for real (it was not skipped by the #14 guard) and the `root_signature(...)` call that panicked in the report succeeded here. - So the panic is not reproduced on this machine. It was reported on an RTX 5080 with driver 32.0.16.2102; I could not test that card or driver, so whether it still fails there is `not verified`. - The earlier comment's hypothesis (the two directly-indexed flags needing shader model 6.6) is untested here. If it still fails for the reporter, the output of `RUST_LOG=warn cargo test -p victory-gpu --lib a_mesh_pipeline -- --nocapture` on current `main` would help. **AI use:** Claude Code, Claude Sonnet 5.5 ran the test and wrote this comment.
Author
Owner

@⁠kiyoushii on GitHub · 2026-11-24 22:11 UTC · original

Passes on RTX 3060 12 GB (Ampere), driver 621.01, commit 4e17478 — full results in #157.

**@⁠kiyoushii** on GitHub · 2026-11-24 22:11 UTC · [original](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145927600) Passes on RTX 3060 12 GB (Ampere), driver 621.01, commit 4e17478 — full results in #157.
Author
Owner

@⁠domints on GitHub · 2026-11-24 22:14 UTC · original

@⁠leonardo-silva-pinheiro it passes now, thank you!

**@⁠domints** on GitHub · 2026-11-24 22:14 UTC · [original](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145993219) @⁠leonardo-silva-pinheiro it passes now, thank you!
Author
Owner

@⁠VertofChest on GitHub · 2026-11-25 07:15 UTC · original

I've got a similar issue and also have the same Ampere card as Kiyoushii

**@⁠VertofChest** on GitHub · 2026-11-25 07:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7155658252) I've got a similar issue and also have the same Ampere card as Kiyoushii
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#4
No description provided.