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-24 19:25:34 +00:00 by domints · 5 comments
domints commented 2026-11-24 19:25:34 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by domints on 2026-11-24T19:25:34Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:issue:6589661545 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4). Originally posted by [domints](https://github.com/domints) on 2026-11-24T19:25:34Z. --- 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
leonardo-silva-pinheiro commented 2026-11-24 21:30:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by leonardo-silva-pinheiro on 2026-11-24T20:20:40Z.


#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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7143399217 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7143399217). Originally posted by [leonardo-silva-pinheiro](https://github.com/leonardo-silva-pinheiro) on 2026-11-24T20:20:40Z. --- #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.*
Revens2 commented 2026-11-24 22:07:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-24T21:58:35Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7145636802 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145636802). Originally posted by [Revens2](https://github.com/Revens2) on 2026-11-24T21:58:35Z. --- 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.
kiyoushii commented 2026-11-24 23:09:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by kiyoushii on 2026-11-24T22:11:50Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:comment:7145927600 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145927600). Originally posted by [kiyoushii](https://github.com/kiyoushii) on 2026-11-24T22:11:50Z. --- Passes on RTX 3060 12 GB (Ampere), driver 621.01, commit 4e17478 — full results in #157.
domints commented 2026-11-24 23:09:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by domints on 2026-11-24T22:14:57Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:comment:7145993219 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7145993219). Originally posted by [domints](https://github.com/domints) on 2026-11-24T22:14:57Z. --- @leonardo-silva-pinheiro it passes now, thank you!
VertofChest commented 2026-11-25 08:08:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by VertofChest on 2026-11-25T07:15:20Z.


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

<!-- greyfinch-sync:fxceless/victory-fork:comment:7155658252 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/4#issuecomment-7155658252). Originally posted by [VertofChest](https://github.com/VertofChest) on 2026-11-25T07:15:20Z. --- I've got a similar issue and also have the same Ampere card as Kiyoushii
Sign in to join this conversation.
No labels
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.

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