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

Open
opened 2026-11-27 02:17:25 +00:00 by Fredziu-MG · 9 comments
Fredziu-MG commented 2026-11-27 02:17:25 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Fredziu-MG on 2026-11-27T02:17:25Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6638580510 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117). Originally posted by [Fredziu-MG](https://github.com/Fredziu-MG) on 2026-11-27T02:17:25Z. --- 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)
TaynanGT commented 2026-11-27 02:21:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T02:21:39Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208054739 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208054739). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T02:21:39Z. --- 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)
Fredziu-MG commented 2026-11-27 02:33:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by Fredziu-MG on 2026-11-27T02:33:02Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208227389 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208227389). Originally posted by [Fredziu-MG](https://github.com/Fredziu-MG) on 2026-11-27T02:33:02Z. --- [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).
akimfomin commented 2026-11-27 02:56:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by akimfomin on 2026-11-27T02:56:56Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208570407 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208570407). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-27T02:56:56Z. --- 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://github.com/TaynanGT/Vice-Tay/pull/121#issuecomment-7208747837). [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://github.com/TaynanGT/Vice-Tay/pull/121#issuecomment-7208766394). The result stays in this discussion.
TaynanGT commented 2026-11-27 02:59:58 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T02:59:58Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208611934 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208611934). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T02:59:58Z. --- @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.
itbegoose commented 2026-11-27 03:19:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by itbegoose on 2026-11-27T03:19:11Z.


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.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208888231 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208888231). Originally posted by [itbegoose](https://github.com/itbegoose) on 2026-11-27T03:19:11Z. --- 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 commented 2026-11-27 03:19:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T03:19:40Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7208895196 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7208895196). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T03:19:40Z. --- @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 commented 2026-11-27 17:35:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by CocoBeans64 on 2026-11-27T17:35:56Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224583147 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7224583147). Originally posted by [CocoBeans64](https://github.com/CocoBeans64) on 2026-11-27T17:35:56Z. --- **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).
TaynanGT commented 2026-11-27 17:39:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T17:39:54Z.


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

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7224653668 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7224653668). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T17:39:54Z. --- @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 commented 2026-11-30 17:03:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:03:37Z.


main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285655187 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/117#issuecomment-7285655187). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:03:37Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
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
TaynanGT/Vice-Tay#117
No description provided.