[Windows 10 / RX 6750 XT] Two victory-gpu unit tests fail #117

Open
opened 2026-11-27 02:27:17 +00:00 by github-bot · 8 comments
Owner

@⁠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

**@⁠Fredziu-MG** on GitHub · 2026-11-27 02:17 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117) 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](https://github.com/user-attachments/files/35490894/gpu-test-log.txt)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:27:17 +00:00
Author
Owner

@⁠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

**@⁠TaynanGT** on GitHub · 2026-11-27 02:21 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208054739) 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](https://learn.microsoft.com/en-us/windows/win32/direct3d12/copying-descriptors)
Author
Owner

@⁠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) at pipeline/host.rs:1333.

There is no root signature: diagnostic in the output.

I downloaded the ZIP from the main branch 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).

**@⁠Fredziu-MG** on GitHub · 2026-11-27 02:33 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208227389) · edited 2026-11-27 02:47 UTC [depth-bounds-log.txt](https://github.com/user-attachments/files/35492218/depth-bounds-log.txt) I reran the depth-bounds test and attached the full log. The test still fails with `HRESULT(0x80070057)` at `pipeline/host.rs:1333`. There is no `root signature:` diagnostic in the output. I downloaded the ZIP from the `main` branch 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).
Author
Owner

@⁠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.

**@⁠akimfomin** on GitHub · 2026-11-27 02:56 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208570407) · 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](https://github.com/akimfomin/PortBridge/issues/112) 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](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/121). [PortBridge #115](https://github.com/akimfomin/PortBridge/issues/115) now asks a second tester only for the descriptor bounds check at the final head `2b83218`, as described in [TaynanGT's follow-up](https://git.gtahub.st/github/TaynanGT--Vice-Tay/pulls/121). The result stays in this discussion.
Author
Owner

@⁠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-gpu suite passed (423 passed, 42 ignored). The depth-bounds test also passed on Microsoft's WARP software adapter. Could you rerun cargo test --locked -p victory-gpu --lib -- --test-threads=1 on 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.

**@⁠TaynanGT** on GitHub · 2026-11-27 02:59 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208611934) · 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-gpu` suite passed (423 passed, 42 ignored). The depth-bounds test also passed on Microsoft's WARP software adapter. Could you rerun `cargo test --locked -p victory-gpu --lib -- --test-threads=1` on your RX 6750 XT using [the ZIP for the exact test commit](https://github.com/TaynanGT/Vice-Tay/archive/2b832185a8ed54d13f1891c774836b34ed921ea3.zip)? @⁠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.
Author
Owner

@⁠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.

**@⁠itbegoose** on GitHub · 2026-11-27 03:19 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208888231) 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.
Author
Owner

@⁠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.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:19 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208895196) @⁠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.
Author
Owner

@⁠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_in passes at 2b832185a8ed54d13f1891c774836b34ed921ea3, on an RX 6800 XT under Windows 10.

  • GPU: AMD Radeon RX 6800 XT (RDNA 2). This PC also has the Ryzen 7 7800X3D's iGPU; the test was run on each separately.
  • Driver: 32.0.21045.5002.
  • OS: Windows 10 Pro 22H2, build 19045.7846.
  • D3D12 runtime: the system's runtime. No Agility SDK: the test executable has no D3D12SDKVersion export, and there is no D3D12\ folder beside it.
  • Toolchain: Rust 1.98.1.
  • Command: 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 through VICTORY_D3D12_ADAPTER.
VICTORY_D3D12_ADAPTER result
unset (default choice) pass
AMD Radeon RX 6800 XT pass
0 / 1 (both adapters by index) pass / pass

The test actually ran. It has three silent returns (no host, no heap, no staging), so a bare ok does not prove it ran. For these runs I added one local eprintln! after the final GetDeviceRemovedReason assert, 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=6800 ended 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).

**@⁠CocoBeans64** on GitHub · 2026-11-27 17:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7224583147) **Result for the request in akimfomin/PortBridge#115: `views_are_made_beside_the_heap_and_copied_in` passes at `2b832185a8ed54d13f1891c774836b34ed921ea3`, on an RX 6800 XT under Windows 10.** - **GPU:** AMD Radeon RX 6800 XT (RDNA 2). This PC also has the Ryzen 7 7800X3D's iGPU; the test was run on each separately. - **Driver:** 32.0.21045.5002. - **OS:** Windows 10 Pro 22H2, build 19045.7846. - **D3D12 runtime:** the system's runtime. No Agility SDK: the test executable has no `D3D12SDKVersion` export, and there is no `D3D12\` folder beside it. - **Toolchain:** Rust 1.98.1. - **Command:** `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 through `VICTORY_D3D12_ADAPTER`. | `VICTORY_D3D12_ADAPTER` | result | |---|---| | unset (default choice) | pass | | `AMD Radeon RX 6800 XT` | **pass** | | `0` / `1` (both adapters by index) | pass / pass | **The test actually ran.** It has three silent `return`s (no host, no heap, no staging), so a bare `ok` does not prove it ran. For these runs I added one local `eprintln!` after the final `GetDeviceRemovedReason` assert, 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=6800` ended 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).
Author
Owner

@⁠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 shorter 6800 selection as a skip. #338 adds a reason for each setup skip and a completion line you can see with --nocapture.

**@⁠TaynanGT** on GitHub · 2026-11-27 17:39 UTC · [original](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7224653668) @⁠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 shorter `6800` selection as a skip. #338 adds a reason for each setup skip and a completion line you can see with `--nocapture`.
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/TaynanGT--Vice-Tay#117
No description provided.