[Windows 10 / RX 6750 XT] Two victory-gpu unit tests fail #117
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#117
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?
@Fredziu-MG on GitHub · 2026-11-27 02:17 UTC · original
Hi! I'm testing Vice-Tay on an AMD Radeon RX 6750 XT under Windows 10.
The project builds successfully, and victory.exe --help and victory.exe config work correctly. However, two GPU unit tests consistently fail.
System specifications
GPU: AMD Radeon RX 6750 XT (12 GB)
GPU driver: 32.0.21045.29003
CPU: Intel Core i5-12500
RAM: 32 GB
OS: Windows 10 Pro 22H2, build 19045.6466
Direct3D: 12, feature level 12_1
WDDM: 2.7
Rust/Cargo: 1.100.0
Steps to reproduce
From the project root, run:
cargo test --locked -p victory-gpu --lib -- --test-threads=1
Actual results
408 tests passed, 2 failed, 41 ignored.
Failure 1:
descriptor::host::tests::views_are_made_beside_the_heap_and_copied_in
Location: crates/victory-gpu/src/descriptor/host.rs:5742
Assertion failed: left == right — "copied as it was made".
Failure 2:
pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws
Location: crates/victory-gpu/src/pipeline/host.rs:1333
Direct3D returned HRESULT(0x80070057) — "The parameter is incorrect".
Both failures persist when tests are executed sequentially. The first failure also reproduces when the test is run individually.
Expected result
All supported GPU tests should pass, or unsupported hardware features should be handled appropriately.
Additional information
No game executable was run during these tests.
dxdiag reports no Direct3D problems.
The original victory.example.toml has been restored.
Thanks for your work on this project!
gpu-test-log.txt
@TaynanGT on GitHub · 2026-11-27 02:21 UTC · original
Thanks for the standalone reproduction and the log. The descriptor test compares 32 bytes behind two Direct3D descriptor handles. Those bytes are driver-specific, so that assertion alone cannot tell us whether the copied view works on the RX 6750 XT. The depth-bounds test fails while creating the root signature, before it tests depth bounds. That helper requests direct heap indexing, which is also where the Windows 10 runtime failed in #84 and #98. Please share the exact Vice-Tay commit and the first
root signature:diagnostic from the depth-bounds test if it appears. That will help confirm the runtime path independently of the descriptor test. Microsoft: Copying descriptors@Fredziu-MG on GitHub · 2026-11-27 02:33 UTC · original · edited 2026-11-27 02:47 UTC
depth-bounds-log.txt
I reran the depth-bounds test and attached the full log.
The test still fails with
HRESULT(0x80070057)atpipeline/host.rs:1333.There is no
root signature:diagnostic in the output.I downloaded the ZIP from the
mainbranch on November 27, 2026, at approximately 01:25 CET (Poland time). Since I used Download ZIP rather than Git, I don't have the exact commit hash.Thanks for looking into this!
edit*
Quick update: I downloaded the latest Vice-Tay ZIP and reran the GPU tests on the same PC.
The result is now 409 passed, 2 failed, 41 ignored.
Both previously reported tests still fail:
views_are_made_beside_the_heap_and_copied_in
depth_bounds_pipeline_loads_and_filters_draws
The depth-bounds test still reports HRESULT(0x80070057).
@akimfomin on GitHub · 2026-11-27 02:56 UTC · original · edited 2026-11-27 03:16 UTC
Your title-free RX 6750 XT run already separates a descriptor-byte assertion from an earlier root-signature failure. That makes it a useful request for another Windows 10 / RDNA2 tester once the exact Git commit is known. A second report could run just those two named tests and record the OS, driver, and failing setup step. The original result can stay here so both people are credited.
Would you like to bring that single question to PortBridge Test Lab or pass the link to a colleague with this setup? One public issue link and the hardware needed are enough to start. The existing result can be used as a reference, so there is no need for you to repeat it for PortBridge.
Update: Fredziu-MG independently confirmed both fixes on Windows 10 and RX 6750 XT. PortBridge #115 now asks a second tester only for the descriptor bounds check at the final head
2b83218, as described in TaynanGT's follow-up. The result stays in this discussion.@TaynanGT on GitHub · 2026-11-27 02:59 UTC · original · edited 2026-11-27 03:04 UTC
@Fredziu-MG Thanks for rerunning both tests and attaching the log. I opened #121 with a fix for each failure. The descriptor test checks what the GPU reads through the copied view, including its bounds, and verifies that the same slot returns zeros after a null view is copied in. The depth-bounds test uses a basic root signature, so it can exercise the depth test without requiring direct heap indexing.
Both tests passed on my Windows 11 / RTX 4090 setup, and the full
victory-gpusuite passed (423 passed, 42 ignored). The depth-bounds test also passed on Microsoft's WARP software adapter. Could you reruncargo test --locked -p victory-gpu --lib -- --test-threads=1on your RX 6750 XT using the ZIP for the exact test commit?@akimfomin Thanks for suggesting a second Windows 10 / RDNA2 check. Please post any independent retest here so the result stays with the report and the exact patch.
@itbegoose on GitHub · 2026-11-27 03:19 UTC · original
I have a 5800X3D, 32GB Ram and a 6700XT. When updating to the latest AMD display driver (32.0.32029.2010) on Windows 11 LTSC it fails to start. However Driver version (32.0.21030.2001) works when installed via windows update.
@TaynanGT on GitHub · 2026-11-27 03:19 UTC · original
@itbegoose Thanks for checking both AMD drivers on the same machine. That gives us a working driver (
32.0.21030.2001) and a failing one (32.0.32029.2010) on the RX 6700 XT. The tests tracked here were fixed in #121. Your launch failure needs its own reproduction.Could you open a new issue with the exact Vice-Tay commit, Windows 11 LTSC build, launcher options and the first error from the failing startup? A few lines around that error are enough. If you used the same build and settings for the working driver, please mention that too.
@CocoBeans64 on GitHub · 2026-11-27 17:35 UTC · original
Result for the request in akimfomin/PortBridge#115:
views_are_made_beside_the_heap_and_copied_inpasses at2b832185a8ed54d13f1891c774836b34ed921ea3, on an RX 6800 XT under Windows 10.D3D12SDKVersionexport, and there is noD3D12\folder beside it.cargo test --locked -p victory-gpu --lib -- --test-threads=1 --exact descriptor::host::tests::views_are_made_beside_the_heap_and_copied_in, with the adapter chosen throughVICTORY_D3D12_ADAPTER.VICTORY_D3D12_ADAPTERAMD Radeon RX 6800 XT0/1(both adapters by index)The test actually ran. It has three silent
returns (no host, no heap, no staging), so a bareokdoes not prove it ran. For these runs I added one localeprintln!after the finalGetDeviceRemovedReasonassert, outside the source under test. That line printed in every run above, so every check ran: the copied descriptor reads the right data, and the null view and the bounds control read zeros. I removed it afterwards.One run did not count: an earlier run with
VICTORY_D3D12_ADAPTER=6800ended in 0.02 s without that line, so it returned early. I could not reproduce it: the full name and both indices ran the test.Generated test data only, no game files. AI-assisted (Claude).
@TaynanGT on GitHub · 2026-11-27 17:39 UTC · original
@CocoBeans64 The completion line confirms that the copied data, null view and bounds checks ran on the system D3D12 runtime at
2b832185. I’ll count the four completed runs and treat the shorter6800selection as a skip. #338 adds a reason for each setup skip and a completion line you can see with--nocapture.