skip d32s8 memory test on GPUs with under 8 GB VRAM (#42) #1029

Closed
WASDeKeys wants to merge 3 commits from upstream-pr/1036 into main
WASDeKeys commented 2026-11-24 10:40:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-24T10:40:21Z.


Skip d32s8_targets_take_their_own_size_of_video_memory on adapters with under 8 GB of dedicated video memory. Fixes #42.

What is in it

  • In crates/xcl/src/hle/d3d12x/vram.rs, check DedicatedVideoMemory and call skip_test("< 8 GB VRAM") if under 8 GiB.

Tested

  • NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug).
  • cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored.
  • Skipped GPU tests on this adapter: d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM.

Test-only change

  • Test-only diff (touches only #[cfg(test)] mod tests in crates/xcl/src/hle/d3d12x/vram.rs).
  • Requesting the test-only label per CONTRIBUTING.md.

Not tested

  • Retail game runtime changes (test-only change in unit tests).

AI use

  • Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.
<!-- greyfinch-sync:ivall/xcl:issue:6579941643 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1036). Originally posted by [WASDeKeys](https://github.com/WASDeKeys) on 2026-11-24T10:40:21Z. --- Skip `d32s8_targets_take_their_own_size_of_video_memory` on adapters with under 8 GB of dedicated video memory. Fixes #42. **What is in it** - In `crates/xcl/src/hle/d3d12x/vram.rs`, check `DedicatedVideoMemory` and call `skip_test("< 8 GB VRAM")` if under 8 GiB. **Tested** - NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug). - `cargo test --workspace -- --test-threads=4`: 697 passed, 0 failed, 33 ignored. - Skipped GPU tests on this adapter: `d32s8_targets_take_their_own_size_of_video_memory`: `< 8 GB VRAM`. **Test-only change** - Test-only diff (touches only `#[cfg(test)] mod tests` in `crates/xcl/src/hle/d3d12x/vram.rs`). - Requesting the test-only label per CONTRIBUTING.md. **Not tested** - Retail game runtime changes (test-only change in unit tests). **AI use** - Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.
upstream-sync closed this pull request 2026-11-24 11:05:31 +00:00
WASDeKeys commented 2026-11-24 11:05:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-24T10:45:07Z.


Skip d32s8_targets_take_their_own_size_of_video_memory on adapters with under 8 GB of dedicated video memory. Fixes #42.

What is in it

crates/xcl/src/hle/d3d12x/vram.rs: check DedicatedVideoMemory and call skip_test("< 8 GB VRAM") if under 8 GiB.

Tested

NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug).
cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored.
SKIPPED GPU tests on this adapter: d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM.

Regression run Test-only diff (touches only #[cfg(test)] mod tests in crates/xcl/src/hle/d3d12x/vram.rs). Requesting the test-only label per CONTRIBUTING.md.

Not tested

Retail game runtime changes (test-only change in unit tests).

AI use

Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.

<!-- greyfinch-sync:ivall/xcl:comment:7129196376 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1036#issuecomment-7129196376). Originally posted by [WASDeKeys](https://github.com/WASDeKeys) on 2026-11-24T10:45:07Z. --- Skip d32s8_targets_take_their_own_size_of_video_memory on adapters with under 8 GB of dedicated video memory. Fixes #42. What is in it crates/xcl/src/hle/d3d12x/vram.rs: check DedicatedVideoMemory and call skip_test("< 8 GB VRAM") if under 8 GiB. Tested NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug). cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored. SKIPPED GPU tests on this adapter: d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM. Regression run Test-only diff (touches only #[cfg(test)] mod tests in crates/xcl/src/hle/d3d12x/vram.rs). Requesting the test-only label per CONTRIBUTING.md. Not tested Retail game runtime changes (test-only change in unit tests). AI use Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.
WASDeKeys commented 2026-11-24 11:05:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-24T10:45:14Z.


Skip d32s8_targets_take_their_own_size_of_video_memory on adapters with under 8 GB of dedicated video memory. Fixes #42.

What is in it

crates/xcl/src/hle/d3d12x/vram.rs: check DedicatedVideoMemory and call skip_test("< 8 GB VRAM") if under 8 GiB.

Tested

NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug).
cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored.
SKIPPED GPU tests on this adapter: d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM.

Regression run Test-only diff (touches only #[cfg(test)] mod tests in crates/xcl/src/hle/d3d12x/vram.rs). Requesting the test-only label per CONTRIBUTING.md.

Not tested

Retail game runtime changes (test-only change in unit tests).

AI use

Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.

<!-- greyfinch-sync:ivall/xcl:comment:7129199149 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1036#issuecomment-7129199149). Originally posted by [WASDeKeys](https://github.com/WASDeKeys) on 2026-11-24T10:45:14Z. --- Skip d32s8_targets_take_their_own_size_of_video_memory on adapters with under 8 GB of dedicated video memory. Fixes #42. What is in it crates/xcl/src/hle/d3d12x/vram.rs: check DedicatedVideoMemory and call skip_test("< 8 GB VRAM") if under 8 GiB. Tested NVIDIA GeForce RTX 3050 6GB Laptop GPU (driver 595.97, 6144 MiB), AMD64 CPU, Windows 11 x64 (build 26200), rustc 1.100.0 (MSVC x64, debug). cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored. SKIPPED GPU tests on this adapter: d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM. Regression run Test-only diff (touches only #[cfg(test)] mod tests in crates/xcl/src/hle/d3d12x/vram.rs). Requesting the test-only label per CONTRIBUTING.md. Not tested Retail game runtime changes (test-only change in unit tests). AI use Antigravity IDE (Claude Sonnet 4.6): analyzed VRAM allocation concurrency across thread counts and wrote the skip guard.
dcastell1 commented 2026-11-24 11:05:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by dcastell1 on 2026-11-24T10:51:46Z.


Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on main@67a3735 (baseline 735 passed, 0 failed, 41 ignored on this box):

patch -p1 < this PR            # clean, no fuzz
cargo test --workspace -- --test-threads=4
735 passed; 0 failed; 41 ignored   (exit 0)

Same count as the baseline: this card has 32 GB, so the under-8-GB skip does not trigger and the test runs as before — which is the point of the guard.

Tree restored afterwards (full diff against a clean checkout), hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.

<!-- greyfinch-sync:ivall/xcl:comment:7129343267 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1036#issuecomment-7129343267). Originally posted by [dcastell1](https://github.com/dcastell1) on 2026-11-24T10:51:46Z. --- Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on `main@67a3735` (baseline **735 passed, 0 failed, 41 ignored** on this box): ``` patch -p1 < this PR # clean, no fuzz cargo test --workspace -- --test-threads=4 735 passed; 0 failed; 41 ignored (exit 0) ``` Same count as the baseline: this card has 32 GB, so the under-8-GB skip does not trigger and the test runs as before — which is the point of the guard. Tree restored afterwards (full diff against a clean checkout), hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.

Pull request closed

Sign in to join this conversation.
No reviewers
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
xcl-dev/xcl!1029
No description provided.